Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 对齐原位改字与来源凭据布局

longmeidao2e64f8529953
diff --git a/docs/OPERATIONS.md b/docs/OPERATIONS.md
index e546c9704..c4efc5d07 100644
--- a/docs/OPERATIONS.md
+++ b/docs/OPERATIONS.md
@@ -342,7 +342,8 @@ curl -s --noproxy '*' -o /dev/null -w '%{http_code}\n' https://peach.local/healt
#### 源码环境改字
-页面地址加 `?edit` 开启文字编辑,点文字后回车保存、Esc 取消。「暂停编辑」可继续操作页面。
+页面地址加 `?edit` 开启文字编辑,悬停文字显示编辑范围,点文字在原位修改,回车或点别处保存、Esc 取消。
+按钮和链接的文字使用贴在文字位置的输入框。「暂停编辑」可继续操作页面。
静态文案写回 `web/index.html`、`web/app.js` 或 `frontend/src` 中选定的来源;同一文字有多个位置时需选择来源。
保存前校验源文件摘要,备份位于 `build/copy-editor/backups/`。React 文案重建前端后在普通模式生效。
修改记录可从工具栏导出。界面里的馆藏数据与动态计数没有静态文案来源,不能借此修改账本。
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 3190f13da..7ff14321e 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -399,3 +399,7 @@ Python、npm 与 GitHub Actions 的版本由 `.github/dependabot.yml` 每周检
115、PikPak;失效记录的永久删除复用 `web_batch.purge_assets`,文件仍在盘上的行进 `blocked`。展示复用 `frontend/` 构建链、Fieldset、Note、Toast 与 confirmModal;确认失败留在弹层,
危险动作初始聚焦取消,忙态阻止重入与关闭。无新增依赖,不引入另一套对话框库。
真实截图的 487 项/643 个缓存作为无写入渲染样本;配置历史及性能建议依据在 OPERATIONS。
+## 原位改字
+
+`scripts/dev/copy-editor.js` 复用官网本地预览的 `edit-client.js` 交互:文字范围提示、原位编辑、按钮文字就近输入、回车和失焦保存、Esc 取消。
+应用的 React 与动态页面使用现有静态文案定位、摘要校验和备份入口;演示站使用浏览器草稿。两者只在 `?edit` 启用,无新增依赖。
diff --git a/frontend/e2e/copy-editor.test.ts b/frontend/e2e/copy-editor.test.ts
new file mode 100644
index 000000000..23da1025a
--- /dev/null
+++ b/frontend/e2e/copy-editor.test.ts
@@ -0,0 +1,53 @@
+import assert from 'node:assert/strict';
+import { readFile } from 'node:fs/promises';
+import { after, before, describe, it } from 'node:test';
+import type { Browser } from 'playwright-core';
+import { launch, VIEWPORTS } from './harness.ts';
+
+describe('原位改字', () => {
+ let browser: Browser;
+ before(async () => { browser = await launch(); });
+ after(async () => { await browser?.close(); });
+ for (const viewport of VIEWPORTS) {
+ it(`回车、失焦保存与 Esc 取消(${viewport.name})`, async () => {
+ const context = await browser.newContext({ viewport });
+ try {
+ const page = await context.newPage();
+ await page.route('https://copy.example/**', route => route.fulfill({
+ contentType: 'text/html; charset=utf-8', body: '<meta charset="utf-8"><body data-peach-copy-mode="local"><main style="margin:80px 20px"><p id="copy" style="width:max-content">原位说明</p><button id="action">操作名称</button><div id="other" style="height:60px"></div></main></body>',
+ }));
+ await page.goto('https://copy.example/?edit');
+ await page.addScriptTag({ content: await readFile(new URL('../../scripts/dev/copy-editor.js', import.meta.url), 'utf8') });
+ await page.locator('#copy').click();
+ const inline = page.locator('#copy [contenteditable]');
+ await inline.waitFor();
+ await inline.fill('新的说明');
+ await inline.press('Escape');
+ assert.equal(await page.locator('#copy').innerText(), '原位说明');
+ assert.equal(await page.evaluate(() => localStorage.getItem('peach.copy-edits.v1')), null);
+ await page.locator('#copy').click();
+ await inline.fill('新的说明');
+ await inline.press('Enter');
+ assert.equal(await page.locator('#copy').innerText(), '新的说明');
+ await page.locator('#copy').click();
+ await inline.fill('点别处保存');
+ await page.locator('#other').click();
+ assert.equal(await page.locator('#copy').innerText(), '点别处保存');
+ await page.locator('#action').click();
+ const input = page.locator('input[data-copy-editor]');
+ await input.waitFor();
+ const a = await page.locator('#action').boundingBox(), b = await input.boundingBox();
+ assert.ok(a && b && Math.abs(a.y - b.y) < 20, '按钮输入框位于文字处');
+ await input.fill('修改按钮');
+ await input.press('Enter');
+ assert.equal(await page.locator('#action').innerText(), '修改按钮');
+ await page.getByRole('button', { name: '暂停编辑', exact: true }).click();
+ await page.locator('#copy').click();
+ assert.equal(await page.locator('[contenteditable]').count(), 0);
+ await page.getByRole('button', { name: '继续编辑', exact: true }).click();
+ const edits = await page.evaluate(() => JSON.parse(localStorage.getItem('peach.copy-edits.v1')!));
+ assert.equal(edits['原位说明'], '点别处保存');
+ } finally { await context.close(); }
+ });
+ }
+});
diff --git a/frontend/e2e/source-credentials-layout.test.ts b/frontend/e2e/source-credentials-layout.test.ts
new file mode 100644
index 000000000..001635823
--- /dev/null
+++ b/frontend/e2e/source-credentials-layout.test.ts
@@ -0,0 +1,56 @@
+import assert from 'node:assert/strict';
+import { after, before, describe, it } from 'node:test';
+import type { Browser } from 'playwright-core';
+import { launch, layout, settle, visit, VIEWPORTS } from './harness.ts';
+
+describe('来源链接与凭据布局', () => {
+ let browser: Browser;
+ before(async () => { browser = await launch(); });
+ after(async () => { await browser?.close(); });
+ for (const viewport of VIEWPORTS) {
+ it(`GitHub 标识、网址和外链箭头居中对齐(${viewport.name})`, async () => {
+ const opened = await visit(browser, '/scraping', viewport);
+ try {
+ await opened.page.route('**/api/scraping/amane-bridge', route => route.fulfill({ json: {
+ installed: true, installed_version: '0.17.0', version: '0.17.0',
+ repository: 'https://github.com/sgzw-x/amane', license: 'GPL-3.0', sites: [], job: { status: 'idle' },
+ } }));
+ await opened.page.reload();
+ const link = opened.page.locator('section[aria-label="amane"] a');
+ await link.waitFor(); await settle(opened.page);
+ const positions = await link.evaluate(node => {
+ const boxes = [node.querySelector('img')!, node.querySelector('span')!, node.querySelector('svg')!].map(el => {
+ const r = el.getBoundingClientRect(); return { center: r.y + r.height / 2, width: r.width };
+ });
+ return boxes;
+ });
+ assert.equal(positions.length, 3);
+ assert.ok(positions.every(p => p.width > 0));
+ assert.ok(Math.max(...positions.map(p => p.center)) - Math.min(...positions.map(p => p.center)) <= 1);
+ const dimensions = await layout(opened.page);
+ assert.ok(dimensions.scrollWidth <= dimensions.viewportWidth);
+ } finally { await opened.close(); }
+ });
+ it(`凭据的每个输入字段占满正文宽度(${viewport.name})`, async () => {
+ const opened = await visit(browser, '/follow-manage?tab=source', viewport);
+ try {
+ await opened.page.route('**/api/follow/credentials', route => route.fulfill({ json: {
+ root: '', providers: [{ provider: 'simpcity', provider_label: 'SimpCity', followable: true,
+ requirement: 'required', needs: ['cookie', 'user_agent'], fields: [], missing: ['cookie', 'user_agent'], why: '来源登录说明' }],
+ } }));
+ await opened.page.reload();
+ const field = opened.page.getByLabel('cookie', { exact: true });
+ await field.waitFor(); await settle(opened.page);
+ for (const name of ['cookie', 'user_agent']) {
+ const geometry = await opened.page.getByLabel(name, { exact: true }).evaluate(node => {
+ const wrapper = node.closest('[data-input-size]')!;
+ return { width: wrapper.getBoundingClientRect().width, available: wrapper.parentElement!.getBoundingClientRect().width };
+ });
+ assert.ok(Math.abs(geometry.width - geometry.available) <= 1, JSON.stringify(geometry));
+ }
+ const dimensions = await layout(opened.page);
+ assert.ok(dimensions.scrollWidth <= dimensions.viewportWidth);
+ } finally { await opened.close(); }
+ });
+ }
+});
diff --git a/frontend/src/react/follow-manage/credentials.tsx b/frontend/src/react/follow-manage/credentials.tsx
index 6d094a4e3..839f1b512 100644
--- a/frontend/src/react/follow-manage/credentials.tsx
+++ b/frontend/src/react/follow-manage/credentials.tsx
@@ -79,12 +79,12 @@ function CredentialForm({ row, readOnly, toast }:
{row.where ? <> <ExternalLink href={row.where}>去取</ExternalLink></> : null}
</Help>
{row.howto ? <Help>{row.howto}</Help> : null}
- <div className="flex flex-wrap items-end gap-3">
+ <div className="flex w-full flex-col gap-3">
{(row.needs || []).map((name) => (
<Input key={name} type="password" label={name} placeholder={fieldHint(row, name)}
autoComplete="off" spellCheck="false" isDisabled={readOnly}
value={values[name] || ''} onChange={(value) => setValues({ ...values, [name]: value })}
- className="w-48" />
+ className="w-full min-w-0" />
))}
</div>
<div className="flex flex-wrap items-center gap-2">
diff --git a/frontend/src/react/scraping/scraping-page.tsx b/frontend/src/react/scraping/scraping-page.tsx
index 5074af572..bda77e340 100644
--- a/frontend/src/react/scraping/scraping-page.tsx
+++ b/frontend/src/react/scraping/scraping-page.tsx
@@ -50,12 +50,16 @@ function SiteMark({ source }: { source: string }) {
// 这几站的公开图标随静态资源提供,验证页和离线回放不影响来源身份。
const bundled = ['javten', 'fc2ppvdb', 'avwikidb', 'github'].includes(source);
return (
- <img src={bundled ? `/vendor/site-marks/${source}.png` : siteMarkUrl({ source })} alt="" width={16} height={16} loading="lazy"
+ <img src={bundled ? `/site-icon/${source}.png` : siteMarkUrl({ source })} alt="" width={16} height={16} loading="lazy"
onError={(event) => event.currentTarget.remove()}
className="size-4 shrink-0 rounded-sm object-contain" />
);
}
+function GitHubMark() {
+ return <SiteMark source="github" />;
+}
+
/** 一个来源一张卡:怎么连、拿什么身份连,底下三个动作。 */
function SourceCard({ source, toast }: { source: Source } & ScrapingProps) {
const [network, setNetwork] = useState(source.network);
@@ -301,7 +305,7 @@ function AmaneBridgeCard({ toast }: ScrapingProps) {
: check.error ? errorMessage(check.error)
: outcome?.status === 'failed' ? (outcome.error || '重建未完成') : '';
return (
- <Section title="amane" aside={<ExternalLink href={data.repository}><SiteMark source="github" />{data.repository}</ExternalLink>}>
+ <Section title="amane" aside={<ExternalLink href={data.repository} leadingIcon={GitHubMark}>{data.repository}</ExternalLink>}>
<FactList>
<Fact term="已安装版本">{data.installed_version || '未安装'}</Fact>
<Fact term="上游最新版本">{check.data?.latest ?? '尚未检查'}</Fact>
diff --git a/frontend/src/react/settings/section.tsx b/frontend/src/react/settings/section.tsx
index 6df8592f0..402994615 100644
--- a/frontend/src/react/settings/section.tsx
+++ b/frontend/src/react/settings/section.tsx
@@ -4,7 +4,7 @@
* 注册表里没有折叠,它用 BoardUI token 组合,差异登记在 `boardui/ORIGIN.md`。
* 提示与进度条另有页面共用的一份,在 `../components/`。 */
import { useId, useRef, useState } from 'react';
-import type { FormEvent, MouseEvent, ReactNode } from 'react';
+import type { ComponentType, FormEvent, MouseEvent, ReactNode } from 'react';
import { RiArrowRightSLine, RiExternalLinkLine } from '@remixicon/react';
import { setCollapseOpen } from '@peach/legacy/ui';
@@ -79,10 +79,14 @@ export function FieldLabel({ children }: { children: ReactNode }) {
/** 新窗口打开的外部链接,尾部带外链字形。`rel` 两项都写:新标签页不继承这一页的会话,
* 来源地址也不带走 Peach 自己的地址。 */
-export function ExternalLink({ href, children }: { href: string; children: ReactNode }) {
+export function ExternalLink({ href, children, leadingIcon }: {
+ href: string; children: ReactNode;
+ leadingIcon?: ComponentType<{ className?: string; 'aria-hidden'?: boolean | 'true' | 'false' }>;
+}) {
return (
- <LinkButton href={href} target="_blank" rel="noopener noreferrer" size="small" trailingIcon={RiExternalLinkLine}>
- {children}
+ <LinkButton href={href} target="_blank" rel="noopener noreferrer" size="small"
+ leadingIcon={leadingIcon} trailingIcon={RiExternalLinkLine} className="min-w-0 max-w-full">
+ <span className="min-w-0 whitespace-normal break-all">{children}</span>
</LinkButton>
);
}
diff --git a/web/vendor/site-marks/ORIGIN.md b/resources/site-marks/ORIGIN.md
similarity index 82%
rename from web/vendor/site-marks/ORIGIN.md
rename to resources/site-marks/ORIGIN.md
index 4b0c71165..9ea9c4e12 100644
--- a/web/vendor/site-marks/ORIGIN.md
+++ b/resources/site-marks/ORIGIN.md
@@ -9,4 +9,4 @@
| avwikidb.png | `https://avwikidb.com/apple-touch-icon.png` | 首页有验证页,公开图标可读取 |
| github.png | `https://github.githubassets.com/favicons/favicon.svg` | 官方声明的矢量图标,经现有 `link_marks` 渲染 |
-取证:2026-09-30。前端直接读取静态文件,不向图标缓存服务发送访客请求;其余站点沿用 `/site-mark` 的发现与缓存。
+取证:2026-09-30。资源经 `/site-icon/{name}.png` 提供,前端不向图标缓存服务发送访客请求;其余站点沿用 `/site-mark` 的发现与缓存。
diff --git a/web/vendor/site-marks/avwikidb.png b/resources/site-marks/avwikidb.png
similarity index 100%
rename from web/vendor/site-marks/avwikidb.png
rename to resources/site-marks/avwikidb.png
diff --git a/web/vendor/site-marks/fc2ppvdb.png b/resources/site-marks/fc2ppvdb.png
similarity index 100%
rename from web/vendor/site-marks/fc2ppvdb.png
rename to resources/site-marks/fc2ppvdb.png
diff --git a/web/vendor/site-marks/github.png b/resources/site-marks/github.png
similarity index 100%
rename from web/vendor/site-marks/github.png
rename to resources/site-marks/github.png
diff --git a/web/vendor/site-marks/javten.png b/resources/site-marks/javten.png
similarity index 100%
rename from web/vendor/site-marks/javten.png
rename to resources/site-marks/javten.png
diff --git a/scripts/dev/copy-editor.js b/scripts/dev/copy-editor.js
index 543a09c02..078fd98f8 100644
--- a/scripts/dev/copy-editor.js
+++ b/scripts/dev/copy-editor.js
@@ -1,62 +1,134 @@
-/* 源码与演示预览的改字工具,仅由 ?edit 页面加载。 */
-(()=>{
- const source=document.body.dataset.peachCopyMode==='source',key='peach.copy-edits.v1';
- let edits={},active=true,editing=false;
- try{edits=JSON.parse(localStorage.getItem(key)||'{}')}catch{}
- const bar=document.createElement('div');bar.dataset.copyEditor='';
- Object.assign(bar.style,{position:'fixed',bottom:'calc(16px + var(--demo-notice-height,0px))',left:'50%',transform:'translateX(-50%)',zIndex:'2147483647',padding:'10px 14px',borderRadius:'12px',display:'flex',gap:'10px',alignItems:'center',background:'var(--ground,#fff)',color:'var(--ink,#111)',boxShadow:'0 2px 18px #0003',font:'13px system-ui',maxWidth:'calc(100vw - 32px)'});
- const label=document.createElement('b');label.textContent='改字模式';bar.append(label);
- const status=document.createElement('span');status.textContent=source?'点文字修改并保存到源码':'点文字修改,保存到本浏览器';bar.append(status);
- const button=(text,fn)=>{const b=document.createElement('button');b.textContent=text;b.type='button';b.onclick=fn;bar.append(b);return b};
- const toggle=button('暂停编辑',()=>{active=!active;toggle.textContent=active?'暂停编辑':'继续编辑'});
- button('导出修改',()=>{const url=URL.createObjectURL(new Blob([JSON.stringify(edits,null,2)],{type:'application/json'}));const a=document.createElement('a');a.href=url;a.download='peach-copy-edits.json';a.click();setTimeout(()=>URL.revokeObjectURL(url),1000)});
- button('退出',()=>{const url=new URL(location.href);url.searchParams.delete('edit');location.href=url});
- document.body.append(bar);
- const apply=()=>{
- if(editing)return;
- const walk=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);let node;
- while((node=walk.nextNode())){
- if(node.parentElement.closest('[data-copy-editor],script,style,textarea,input'))continue;
- const original=node.textContent.trim();if(original&&edits[original])node.textContent=node.textContent.replace(original,edits[original]);
- }
- };
- new MutationObserver(apply).observe(document.body,{childList:true,subtree:true});apply();
- if(source)fetch('/dev/copy-edits').then(r=>r.ok?r.json():{}).then(saved=>{edits={...edits,...saved};apply()});
- const textAt=(x,y)=>{if(document.caretPositionFromPoint){const p=document.caretPositionFromPoint(x,y);return p?.offsetNode?.nodeType===3?p.offsetNode:null}const r=document.caretRangeFromPoint?.(x,y);return r?.startContainer?.nodeType===3?r.startContainer:null};
- document.addEventListener('click',async event=>{
- if(!active||editing||event.target.closest('[data-copy-editor]'))return;
- const node=textAt(event.clientX,event.clientY);if(!node||!node.textContent.trim())return;
- event.preventDefault();event.stopImmediatePropagation();editing=true;
- const original=node.textContent.trim(),input=document.createElement('input');input.value=original;
- input.dataset.copyEditor='';input.style.cssText='position:fixed;z-index:2147483647;left:16px;right:16px;top:16px;padding:12px;font:16px system-ui;background:var(--ground,#fff);color:var(--ink,#111);border:2px solid var(--tungsten,#007aff);border-radius:10px';
- document.body.append(input);input.focus();input.select();status.textContent='回车保存,Esc 取消';
- const cancel=()=>{input.remove();editing=false};
- input.addEventListener('keydown',async event=>{
- if(event.key==='Escape'){cancel();status.textContent='已取消';return}
- if(event.key!=='Enter')return;
- event.preventDefault();const replacement=input.value.trim();if(!replacement)return;
- input.disabled=true;
- try{
- if(source){
- // 刷新后显示的是本地修改,源文件查找仍按当前可见文案。
- const response=await fetch('/dev/copy-candidates?text='+encodeURIComponent(original));
- const candidates=await response.json();if(!response.ok||!candidates.length)throw Error('未找到静态源文案;可先导出修改');
- let candidate=candidates[0];
- if(candidates.length>1){
- const select=document.createElement('select');select.dataset.copyEditor='';
- select.style.cssText=input.style.cssText+';top:70px';
- select.add(new Option('请选择文案来源',''));
- candidates.forEach((x,i)=>select.add(new Option(`${x.file}:${x.line}`,String(i))));
- document.body.append(select);status.textContent='这段文案有多个位置,请选择来源';
- candidate=await new Promise(resolve=>{select.onchange=()=>{select.remove();resolve(candidates[Number(select.value)])};input.addEventListener('keydown',event=>{if(event.key==='Escape'){select.remove();resolve(null)}},{once:true})});
- if(!candidate)throw Error('未选择源位置');
- }
- const saved=await fetch('/dev/copy-save',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({original,replacement,candidate})});
- const result=await saved.json();if(!saved.ok)throw Error(result.error||'保存失败');
- status.textContent=result.needs_build?'已保存源码;前端重建后在普通模式生效':'已保存源码';
- }else status.textContent='已保存到本浏览器,可导出修改';
- edits[original]=replacement;localStorage.setItem(key,JSON.stringify(edits));node.textContent=node.textContent.replace(original,replacement);cancel();apply();
- }catch(error){input.disabled=false;status.textContent=error.message}
+/* ?edit 原位交互复用官网 edit-client.js;源码与演示草稿使用各自的存储入口。 */
+(() => {
+ const source = document.body.dataset.peachCopyMode === 'source', key = 'peach.copy-edits.v1';
+ let edits = {}, active = true, editing = null, saving = false;
+ try { edits = JSON.parse(localStorage.getItem(key) || '{}'); } catch {}
+ const originals = new WeakMap(), skip = '[data-copy-editor],script,style,textarea,input,select,svg,[contenteditable]';
+ const css = document.createElement('style'); css.dataset.copyEditor = '';
+ css.textContent = `
+ [data-copy-highlight]{position:fixed;pointer-events:none;z-index:2147483646;outline:1.5px dashed var(--tungsten);outline-offset:3px;border-radius:var(--badge-radius);display:none}
+ [data-copy-inline]{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--badge-radius);background:var(--hover);user-select:text;cursor:text}
+ [data-copy-input]{position:fixed;z-index:2147483647;padding:2px 6px;border:0;border-radius:var(--badge-radius);outline:2px solid var(--tungsten);background:var(--ground);color:var(--ink)}
+ [data-copy-bar]{position:fixed;bottom:calc(16px + var(--demo-notice-height,0px));left:50%;transform:translateX(-50%);z-index:2147483647;padding:8px 14px;border-radius:var(--floating-radius);display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:var(--ground,#fff);color:var(--ink,#111);box-shadow:0 2px 18px #0003;font:13px/1.4 system-ui;max-width:calc(100vw - 32px);width:max-content}
+ [data-copy-bar] button{font:inherit;cursor:pointer}
+ [data-copy-bar] [role=status]{flex-basis:100%}
+ [data-copy-choice]{position:fixed;z-index:2147483647;background:var(--ground);color:var(--ink);border:1px solid var(--border-15);border-radius:var(--control-radius);padding:8px;max-width:calc(100vw - 32px)}
+ `;
+ document.head.append(css);
+ const highlight = document.createElement('div'); highlight.dataset.copyEditor = ''; highlight.dataset.copyHighlight = '';
+ const bar = document.createElement('div'); bar.dataset.copyEditor = ''; bar.dataset.copyBar = '';
+ const title = document.createElement('b'); title.textContent = '改字模式';
+ const hint = document.createElement('span'); hint.textContent = '点文字直接改,回车或点别处保存,Esc 取消';
+ const status = document.createElement('span'); status.setAttribute('role', 'status'); bar.append(title, hint);
+ const say = text => { status.textContent = text; };
+ const button = (text, fn) => { const b = document.createElement('button'); b.type = 'button'; b.textContent = text; b.onclick = fn; bar.append(b); return b; };
+ const toggle = button('暂停编辑', () => {
+ if (saving) return;
+ commit(); active = !active; highlight.style.display = 'none'; toggle.textContent = active ? '暂停编辑' : '继续编辑';
+ });
+ button('导出修改', () => {
+ const url = URL.createObjectURL(new Blob([JSON.stringify(edits, null, 2)], { type: 'application/json' }));
+ const a = document.createElement('a'); a.href = url; a.download = 'peach-copy-edits.json'; a.click(); setTimeout(() => URL.revokeObjectURL(url), 1000);
});
- },true);
+ button('退出', () => { if (saving) return; commit(true); const url = new URL(location.href); url.searchParams.delete('edit'); location.href = url; });
+ bar.append(status); document.body.append(highlight, bar);
+ function apply() {
+ if (editing || saving) return;
+ const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT);
+ for (let node = walker.nextNode(); node; node = walker.nextNode()) {
+ if (!node.parentElement || node.parentElement.closest(skip)) continue;
+ const original = originals.get(node) || node.data.trim();
+ if (Object.hasOwn(edits, original) && original !== edits[original]) {
+ originals.set(node, original);
+ const next = /^\s*/.exec(node.data)[0] + edits[original] + /\s*$/.exec(node.data)[0];
+ if (node.data !== next) node.data = next;
+ }
+ }
+ }
+ new MutationObserver(apply).observe(document.body, { childList: true, subtree: true, characterData: true }); apply();
+ if (source) fetch('/dev/copy-edits').then(r => r.ok ? r.json() : {}).then(saved => { edits = { ...edits, ...saved }; apply(); }).catch(() => say('暂时无法读取修改记录'));
+ const rectsOf = node => { const range = document.createRange(); range.selectNodeContents(node); return [...range.getClientRects()]; };
+ function textAt(x, y) {
+ const caret = document.caretPositionFromPoint?.(x, y), range = caret ? null : document.caretRangeFromPoint?.(x, y);
+ const node = caret?.offsetNode || range?.startContainer;
+ if (!node || node.nodeType !== 3 || !node.data.trim() || !node.parentElement || node.parentElement.closest(skip)) return null;
+ return rectsOf(node).some(r => x >= r.left - 2 && x <= r.right + 2 && y >= r.top - 2 && y <= r.bottom + 2) ? node : null;
+ }
+ document.addEventListener('mousemove', event => {
+ if (!active || editing || saving) return;
+ const node = textAt(event.clientX, event.clientY);
+ if (!node) { highlight.style.display = 'none'; return; }
+ const rects = rectsOf(node), left = Math.min(...rects.map(r => r.left)), top = Math.min(...rects.map(r => r.top));
+ Object.assign(highlight.style, { display: 'block', left: left + 'px', top: top + 'px', width: Math.max(...rects.map(r => r.right)) - left + 'px', height: Math.max(...rects.map(r => r.bottom)) - top + 'px' });
+ }, { passive: true });
+ addEventListener('scroll', () => { highlight.style.display = 'none'; }, true);
+ document.addEventListener('click', event => {
+ if (!active || saving || event.target.closest?.('[data-copy-editor]')) return;
+ if (editing) { event.preventDefault(); event.stopImmediatePropagation(); if (!editing.box.contains(event.target)) commit(); return; }
+ const node = textAt(event.clientX, event.clientY); if (!node) return;
+ event.preventDefault(); event.stopImmediatePropagation(); begin(node);
+ }, true);
+ function begin(node) {
+ const before = node.data, lead = /^\s*/.exec(before)[0], trail = /\s*$/.exec(before)[0], core = before.trim(); let box;
+ if (node.parentElement.closest('button,a,[role=button]')) {
+ const rect = rectsOf(node)[0], style = getComputedStyle(node.parentElement);
+ box = document.createElement('input'); box.value = core; box.dataset.copyEditor = ''; box.dataset.copyInput = '';
+ const width = Math.min(Math.max(140, rect.width + 60), innerWidth - 32);
+ Object.assign(box.style, { left: Math.max(16, Math.min(rect.left - 6, innerWidth - width - 16)) + 'px', top: rect.top - 2 + 'px', width: width + 'px', font: style.font, letterSpacing: style.letterSpacing });
+ (node.parentElement.closest('dialog[open]') || document.body).append(box);
+ } else {
+ box = document.createElement('span'); box.dataset.copyInline = ''; box.contentEditable = 'plaintext-only'; box.spellcheck = false; box.textContent = core;
+ node.replaceWith(...[lead, box, trail].filter(Boolean));
+ }
+ box.setAttribute('aria-label', '修改文字'); editing = { node, before, lead, trail, core, box, original: originals.get(node) || core }; box.focus();
+ if (box.tagName === 'INPUT') box.select();
+ else { const range = document.createRange(); range.selectNodeContents(box); getSelection().removeAllRanges(); getSelection().addRange(range); }
+ highlight.style.display = 'none'; say('回车或点别处保存,Esc 取消');
+ box.addEventListener('keydown', event => {
+ event.stopPropagation(); if (event.isComposing) return;
+ if (event.key === 'Enter') { event.preventDefault(); commit(); }
+ else if (event.key === 'Escape') { event.preventDefault(); commit(true); }
+ });
+ box.addEventListener('blur', () => commit());
+ }
+ function putBack(ed) {
+ if (ed.box.tagName === 'INPUT') { ed.box.remove(); return; }
+ const a = ed.box.previousSibling, c = ed.box.nextSibling;
+ if (ed.lead && a?.nodeType === 3) a.remove(); if (ed.trail && c?.nodeType === 3) c.remove(); ed.box.replaceWith(ed.node);
+ }
+ async function choose(candidates, rect) {
+ const select = document.createElement('select'); select.dataset.copyEditor = ''; select.dataset.copyChoice = ''; select.setAttribute('aria-label', '文案来源');
+ select.add(new Option('请选择文案来源', '')); candidates.forEach((x, i) => select.add(new Option(`${x.file}:${x.line}`, String(i))));
+ Object.assign(select.style, { left: Math.max(16, Math.min(rect.left, innerWidth - 300)) + 'px', top: Math.max(16, Math.min(rect.bottom + 8, innerHeight - 60)) + 'px' });
+ document.body.append(select); select.focus(); say('这段文案有多个来源,请选择要修改的位置');
+ return new Promise(resolve => {
+ const finish = value => { select.remove(); document.removeEventListener('keydown', cancel, true); resolve(value); };
+ const cancel = event => { if (event.key === 'Escape') { event.preventDefault(); event.stopImmediatePropagation(); finish(null); } };
+ select.onchange = () => { if (select.value !== '') finish(candidates[Number(select.value)]); }; document.addEventListener('keydown', cancel, true);
+ });
+ }
+ async function commit(cancel = false) {
+ const ed = editing; if (!ed) return; editing = null;
+ const replacement = (ed.box.tagName === 'INPUT' ? ed.box.value : ed.box.textContent).replace(/\s*\n\s*/g, ' ').trim();
+ const connected = ed.node.isConnected || ed.box.isConnected, rect = ed.box.getBoundingClientRect(); putBack(ed);
+ if (cancel || !connected) { say('已取消'); return; }
+ if (replacement === ed.core) return;
+ if (!replacement) { say('不能留空,没有保存'); return; }
+ saving = true; bar.setAttribute('aria-busy', 'true'); say('保存中…');
+ try {
+ let message = '已保存到本浏览器';
+ if (source) {
+ const response = await fetch('/dev/copy-candidates?text=' + encodeURIComponent(ed.core)), candidates = await response.json();
+ if (!response.ok || !candidates.length) throw Error('未找到静态源文案');
+ const candidate = candidates.length === 1 ? candidates[0] : await choose(candidates, rect);
+ if (!candidate) { say('已取消'); return; }
+ const saved = await fetch('/dev/copy-save', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ original: ed.core, replacement, candidate }) });
+ const result = await saved.json(); if (!saved.ok) throw Error(result.error || '保存失败');
+ message = result.needs_build ? '已保存源码;前端重建后在普通模式生效' : '已保存源码';
+ }
+ edits[ed.original] = replacement; originals.set(ed.node, ed.original); localStorage.setItem(key, JSON.stringify(edits)); ed.node.data = ed.lead + replacement + ed.trail;
+ say(message + '「' + replacement.slice(0, 24) + (replacement.length > 24 ? '…' : '') + '」');
+ } catch (error) { ed.node.data = ed.before; say('没保存:' + error.message); }
+ finally { saving = false; bar.removeAttribute('aria-busy'); apply(); }
+ }
})();
diff --git a/src/peach/routes_pages.py b/src/peach/routes_pages.py
index eabde1468..81a956163 100644
--- a/src/peach/routes_pages.py
+++ b/src/peach/routes_pages.py
@@ -794,6 +794,18 @@ def agentation_bundle(request: Request, args: dict[str, str] = Depends(require_a
return asset_response(request, path, "text/javascript")
[email protected]_route("/site-icon/{name}", methods=["GET", "HEAD"])
+def bundled_site_icon(request: Request, name: str,
+ args: dict[str, str] = Depends(require_asset_auth)):
+ """随应用提供的来源标识,文件名只认已登记的四个来源。"""
+ if name not in {"javten.png", "fc2ppvdb.png", "avwikidb.png", "github.png"}:
+ return PlainTextResponse("missing", status_code=404)
+ path = PROJECT_ROOT / "resources" / "site-marks" / name
+ if not path.is_file():
+ return PlainTextResponse("missing", status_code=404)
+ return asset_response(request, path, "image/png")
+
+
@router.api_route("/robots.txt", methods=["GET", "HEAD"])
def robots_txt():
"""不要求登录:爬虫拿不到会话,被 401 挡住就等于没读到这份声明。
diff --git a/tests/test_fastapi_api.py b/tests/test_fastapi_api.py
index 2f585b2de..4926cee9a 100644
--- a/tests/test_fastapi_api.py
+++ b/tests/test_fastapi_api.py
@@ -888,6 +888,19 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):
headers={'Origin': 'https://another.example'})
self.assertEqual(refused.status_code, 403)
+ async def test_bundled_site_icons_require_auth_and_validate_names(self):
+ from peach.config import PROJECT_ROOT
+ self.assertEqual((await self.client.get('/site-icon/github.png')).status_code, 401)
+ for name in ('javten', 'fc2ppvdb', 'avwikidb', 'github'):
+ response = await self.client.get(f'/site-icon/{name}.png?t=secret')
+ self.assertEqual(response.status_code, 200)
+ self.assertEqual(response.headers['content-type'], 'image/png')
+ self.assertEqual(response.content, (PROJECT_ROOT / 'resources/site-marks' / f'{name}.png').read_bytes())
+ cached = await self.client.get(f'/site-icon/{name}.png?t=secret', headers={'If-None-Match': response.headers['etag']})
+ self.assertEqual(cached.status_code, 304)
+ for name in ('unknown.png', 'github.svg', '..%2Fgithub.png'):
+ self.assertEqual((await self.client.get(f'/site-icon/{name}?t=secret')).status_code, 404)
+
def _archive_links(self, colour_of):
"""两条存档链接;上游按 `colour_of(url)` 给一枚圆形图标,给 None 就 404。返回请求过的地址。"""
from PIL import Image, ImageDraw
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index e3880a58a..ac23216b3 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.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\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);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-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .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] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .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] .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] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.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(--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-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.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] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react [data-entity-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react [data-entity-filter-glass]>[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 [data-entity-filter-glass]>[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-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{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]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.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\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);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-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .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] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .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] .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] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.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(--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-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.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] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react [data-entity-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react [data-entity-filter-glass]>[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 [data-entity-filter-glass]>[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-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{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]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 1a45ba81a..701cfb72d 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -27376,17 +27376,17 @@ function qw({ name: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var Mre = {
+var Jw = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, Jw = (e) => e.is_jav ? "女优" : "艺人";
-function Yw(e, t, n) {
+}, Yw = (e) => e.is_jav ? "女优" : "艺人";
+function Xw(e, t, n) {
return t === "short" || n.portrait ? jre : n.active && n.size === "big" ? Are : 16 / 9;
}
-function Xw(e, t) {
- let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Jw(e);
+function Zw(e, t) {
+ let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Yw(e);
return {
avatar: c ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-avatars": "",
@@ -27432,7 +27432,7 @@ function Xw(e, t) {
})
};
}
-function Zw() {
+function Qw() {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -27451,7 +27451,7 @@ function Zw() {
})]
});
}
-function Qw({ item: e, actions: t }) {
+function $w({ item: e, actions: t }) {
let [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-media-later": "",
@@ -27473,11 +27473,11 @@ function Qw({ item: e, actions: t }) {
})
});
}
-function $w(e, t) {
+function eT(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 eT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function tT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
let d = (0, I.useRef)(null), f = (0, I.useRef)({
item: e,
helpers: c
@@ -27489,7 +27489,7 @@ function eT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
let p = (0, I.useCallback)((e) => {
let { item: t, helpers: n } = f.current;
d.current && d.current !== e && n.releaseHover(d.current), d.current = e, e && (!t.medium || t.medium === "video") && n.wireHover(e, t);
- }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = Gw(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Gw(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = Xw(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = Gw(e, _, !1, n.javImage, c.coverHtml), y = _ === "small" ? v.html : Gw(e, "small", !1, n.javImage, c.coverHtml).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = Zw(e, c), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -27523,7 +27523,7 @@ function eT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
u(e, r);
}, A = /* @__PURE__ */ (0, L.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(Yw(e, t, n)) },
+ style: { "--card-ratio": String(Xw(e, t, n)) },
children: [
v.html ? /* @__PURE__ */ (0, L.jsx)(Kw, {
artwork: v,
@@ -27570,8 +27570,8 @@ function eT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
"data-media-scrub": "",
children: /* @__PURE__ */ (0, L.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, L.jsx)(Zw, {}),
- /* @__PURE__ */ (0, L.jsx)(Qw, {
+ /* @__PURE__ */ (0, L.jsx)(Qw, {}),
+ /* @__PURE__ */ (0, L.jsx)($w, {
item: e,
actions: l
}),
@@ -27581,7 +27581,7 @@ function eT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), $w(d.current, -s);
+ e.stopPropagation(), eT(d.current, -s);
},
title: `后退 ${s} 秒`,
"aria-label": `后退 ${s} 秒`,
@@ -27590,7 +27590,7 @@ function eT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), $w(d.current, s);
+ e.stopPropagation(), eT(d.current, s);
},
title: `前进 ${s} 秒`,
"aria-label": `前进 ${s} 秒`,
@@ -27677,8 +27677,8 @@ function eT({ item: e, variant: t, layout: n, selected: r, selectMode: o, seekSe
]
});
}
-function tT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Mre[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
+function nT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpen: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Jw[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), o.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, v = (t) => {
if (c.current) {
@@ -27768,14 +27768,14 @@ function tT({ item: e, selected: t, selectMode: n, helpers: i, actions: o, onOpe
})]
});
}
-function nT(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(tT, { ...e }) : /* @__PURE__ */ (0, L.jsx)(eT, { ...e });
+function rT(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, L.jsx)(nT, { ...e }) : /* @__PURE__ */ (0, L.jsx)(tT, { ...e });
}
-var rT = (0, I.memo)(nT), iT = { "text-aa": 1.435 }, aT = /* @__PURE__ */ new Map();
-function oT(e) {
- let t = aT.get(e);
+var iT = (0, I.memo)(rT), aT = { "text-aa": 1.435 }, oT = /* @__PURE__ */ new Map();
+function sT(e) {
+ let t = oT.get(e);
if (t) return t;
- let n = iT[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
+ let n = aT[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -27789,18 +27789,18 @@ function oT(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, aT.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, oT.set(e, r), r;
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var sT = 1100, cT = 340, lT = 5e3;
-function uT(e, t, n) {
+var cT = 1100, lT = 340, uT = 5e3;
+function dT(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, lT);
+ }, s = () => o(!1), c = setTimeout(s, uT);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -27810,7 +27810,7 @@ function uT(e, t, n) {
}, i.src = e;
});
}
-function dT({ load: e, canFlip: t, referrerPolicy: n }) {
+function fT({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, I.useState)([]), [a, o] = (0, I.useState)(0), [s, c] = (0, I.useState)(null), l = (0, I.useRef)({
live: !1,
generation: 0,
@@ -27852,11 +27852,11 @@ function dT({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => uT(t, e, n)));
+ let s = await Promise.all(a.map((t) => dT(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, sT);
+ p(), e.cycle = setInterval(p, cT);
}));
};
return (0, I.useEffect)(() => d, [d]), {
@@ -27865,7 +27865,7 @@ function dT({ 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(cT, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(lT, () => {
e.armed = null, m();
});
},
@@ -27876,8 +27876,8 @@ function dT({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var fT = oT("play");
-function pT({ src: e }) {
+var pT = sT("play");
+function mT({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
"data-mix-poster": "",
@@ -27888,8 +27888,8 @@ function pT({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var mT = "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 hT({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+var hT = "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 gT({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, L.jsx)("button", {
@@ -27897,18 +27897,18 @@ function hT({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => r(e.kind, e.name),
- className: `${mT} cursor-pointer outline-none`,
+ className: `${hT} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: n(e) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${mT} mt-0.5`,
+ className: `${hT} mt-0.5`,
children: t
});
}
-function gT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, artworkIdentity: m, relayoutArt: h, faceHtml: g, badge: _, glyph: v, wholeCard: y, ...b }) {
- let x = dT({
+function _T({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, artworkIdentity: m, relayoutArt: h, faceHtml: g, badge: _, glyph: v, wholeCard: y, ...b }) {
+ let x = fT({
load: i,
canFlip: a
}), S = (0, I.useRef)(x.onPointerLeave);
@@ -27939,7 +27939,7 @@ function gT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
artwork: p,
identity: m,
relayout: h
- }) : r ? /* @__PURE__ */ (0, L.jsx)(pT, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, L.jsx)(mT, { src: r }, r) : /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -27969,7 +27969,7 @@ function gT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, L.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, L.jsx)(fT, {
+ children: [/* @__PURE__ */ (0, L.jsx)(pT, {
"aria-hidden": !0,
className: "size-3.75"
}), _ ?? `${n} 个视频`]
@@ -27982,8 +27982,8 @@ function gT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, L.jsx)(fT, {})
- }) : /* @__PURE__ */ (0, L.jsx)(hT, {
+ children: /* @__PURE__ */ (0, L.jsx)(pT, {})
+ }) : /* @__PURE__ */ (0, L.jsx)(gT, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -28008,21 +28008,21 @@ function gT({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-var _T = "";
-function vT(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(bT, { ...e });
+var vT = "";
+function yT(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, L.jsx)(xT, { ...e });
let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${Rw(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, L.jsx)(xT, { ...e }, t);
+ return /* @__PURE__ */ (0, L.jsx)(ST, { ...e }, t);
}
-function yT({ name: e }) {
+function bT({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function bT(e) {
- let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(rT, {
+function xT(e) {
+ let { actions: t } = e, n = (0, I.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, L.jsx)(iT, {
item: i,
variant: r,
layout: e.layout,
@@ -28042,7 +28042,7 @@ function bT(e) {
children: i
});
}
-function xT(e) {
+function ST(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? bre(e) : zw(e), s = i && e.initial ? {
pages: [{
...e.initial,
@@ -28073,14 +28073,14 @@ function xT(e) {
e.mix,
a,
r.javImage
- ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Vw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = CT(e, c.data, u, f, g);
+ ]), p = u.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(c.data?.pages[0]?.total || 0), h = Vw(c.isPending, e.skeletonHtml), g = (0, I.useRef)(null), _ = wT(e, c.data, u, f, g);
(0, I.useLayoutEffect)(() => {
if (!c.data) return;
e.onCount?.(m, p);
let t = a ? null : e.countRow?.querySelector("[data-count-readout]");
if (!t) return;
let n = `${m.toLocaleString()} 个符合 · 显示 ${p}`;
- _T && (t.dataset.popCount = _T), _T = n, T(t, n);
+ vT && (t.dataset.popCount = vT), vT = n, T(t, n);
}, [
c.data,
m,
@@ -28089,12 +28089,12 @@ function xT(e) {
let v = (0, I.useCallback)((e, t) => n.open(e, t), [n]), y = (0, I.useCallback)((e, t) => n.openResource(e, t), [n]), b = (0, I.useCallback)((e) => n.openShort(e), [n]), x = (0, I.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(ET, {
+ }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)(DT, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(rT, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, L.jsx)(iT, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -28131,12 +28131,12 @@ function xT(e) {
children: Ore(u, _).map((t) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
- }), t.strip ? /* @__PURE__ */ (0, L.jsx)(wT, {
+ }), t.strip ? /* @__PURE__ */ (0, L.jsx)(TT, {
cut: t.strip,
props: e,
onOpen: b
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(ST, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, L.jsx)(CT, {
entity: i,
load: x,
enabled: () => e.canLoadMore?.() !== !1
@@ -28144,7 +28144,7 @@ function xT(e) {
})()]
});
}
-function ST({ entity: e, load: t, enabled: n, children: r }) {
+function CT({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(!1), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)({
busy: !1,
error: ""
@@ -28210,7 +28210,7 @@ function ST({ entity: e, load: t, enabled: n, children: r }) {
onRetry: () => void u(!0)
}) : null] });
}
-function CT(e, t, n, r, i) {
+function wT(e, t, n, r, i) {
let [a, o] = (0, I.useState)([]), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(0), u = (0, I.useRef)(0), d = (0, I.useRef)([]);
return (0, I.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, I.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -28245,7 +28245,7 @@ function CT(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function wT({ cut: e, props: t, onOpen: n }) {
+function TT({ cut: e, props: t, onOpen: n }) {
let r = (0, I.useRef)(null), { wireDrag: i } = t;
return (0, I.useEffect)(() => {
r.current && i(r.current);
@@ -28261,12 +28261,12 @@ function wT({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, L.jsx)(yT, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(bT, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, L.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(rT, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, L.jsx)(iT, {
item: e,
variant: "short",
layout: t.layout,
@@ -28280,7 +28280,7 @@ function wT({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function TT(e, t, n, r) {
+function ET(e, t, n, r) {
let i = t.active && !!e.is_jav;
return e.is_jav ? Ww(e, i ? t.size : "small", n, t.javImage, r.coverHtml) : !e.has_thumb && !e.has_local_poster ? {
kind: "",
@@ -28290,18 +28290,18 @@ function TT(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function ET({ seed: e, layout: t, helpers: n, actions: r }) {
+function DT({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, I.useRef)(/* @__PURE__ */ new Map()), a = (0, I.useRef)(t);
a.current = t;
let o = Cre(e, n.tagLabel), s = (0, I.useCallback)(async () => {
let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => Bw(e, t.javImage)).slice(0, 9);
- return i.current = new Map(o.map((e) => [String(e.id), TT(e, t, !0, n).html])), o.map((e) => String(e.id));
+ return i.current = new Map(o.map((e) => [String(e.id), ET(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
e,
r,
n
- ]), c = t.active && e.is_jav ? t.size : "small", l = TT(e, t, !1, n);
- return /* @__PURE__ */ (0, L.jsx)(gT, {
+ ]), c = t.active && e.is_jav ? t.size : "small", l = ET(e, t, !1, n);
+ return /* @__PURE__ */ (0, L.jsx)(_T, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -28311,12 +28311,12 @@ function ET({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : TT(e, {
+ artworkIdentity: c === "small" ? l.html : ET(e, {
...t,
size: "small"
}, !1, n).html,
relayoutArt: (e) => n.relayoutArt(e, c),
- ratio: Yw(e, "grid", t),
+ ratio: Xw(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -28329,32 +28329,32 @@ function ET({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-var DT = "/api/sources", OT = ["media-sources"], kT = (e) => hw(DT, e);
-async function AT(e) {
+var OT = "/api/sources", kT = ["media-sources"], AT = (e) => hw(OT, e);
+async function jT(e) {
await X.fetchQuery({
- queryKey: OT,
- queryFn: () => kT(e)
+ queryKey: kT,
+ queryFn: () => AT(e)
});
}
-var jT = [
+var MT = [
"local",
"115",
"pikpak"
-], MT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), NT = "/api/duplicates?limit=120", PT = ["duplicates"], FT = "/api/batch", IT = (e) => hw(NT, e);
-async function LT(e) {
+], NT = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), PT = "/api/duplicates?limit=120", FT = ["duplicates"], IT = "/api/batch", LT = (e) => hw(PT, e);
+async function RT(e) {
await Promise.all([X.fetchQuery({
- queryKey: PT,
- queryFn: () => IT(e)
- }), AT(e)]);
+ queryKey: FT,
+ queryFn: () => LT(e)
+ }), jT(e)]);
}
-var RT = {
+var zT = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, zT = (e, t) => t.filter((t) => e.some((e) => e.location === t)), BT = (e, t) => zT(e, t).filter((t) => e.some((e) => e.location !== t)), VT = (e, t) => t.filter((t) => e.some((e) => BT(e.files, [t]).length));
-function HT(e, t) {
+}, BT = (e, t) => t.filter((t) => e.some((e) => e.location === t)), VT = (e, t) => BT(e, t).filter((t) => e.some((e) => e.location !== t)), HT = (e, t) => t.filter((t) => e.some((e) => VT(e.files, [t]).length));
+function UT(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -28373,47 +28373,47 @@ function HT(e, t) {
}
return n;
}
-function UT(e, t) {
+function WT(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 WT(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(FT, {
+async function GT(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(IT, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var GT = "/api/library-processing", KT = ["library-processing"], qT = (e) => hw(GT, e);
-async function JT(e) {
+var KT = "/api/library-processing", qT = ["library-processing"], JT = (e) => hw(KT, e);
+async function YT(e) {
await X.fetchQuery({
- queryKey: KT,
- queryFn: () => qT(e)
+ queryKey: qT,
+ queryFn: () => JT(e)
});
}
-var YT = 2e3, XT = 1e4, ZT = "连接中断,正在重新读取处理进度";
-function QT(e, t) {
- return e?.status === "running" ? YT : t ? XT : !1;
+var XT = 2e3, ZT = 1e4, QT = "连接中断,正在重新读取处理进度";
+function $T(e, t) {
+ return e?.status === "running" ? XT : t ? ZT : !1;
}
-var $T = {
+var eE = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, eE = {
+}, tE = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function tE(e) {
- let t = Object.entries(e).filter(([e, t]) => eE[e] && t > 0).map(([e, t]) => `${eE[e]} ${t} 部`);
+function nE(e) {
+ let t = Object.entries(e).filter(([e, t]) => tE[e] && t > 0).map(([e, t]) => `${tE[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function nE(e) {
- let t = $T[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function rE(e) {
+ let t = eE[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function rE(e) {
+function iE(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -28427,21 +28427,21 @@ function rE(e) {
log: e.issues_log || ""
} : null;
}
-var iE = "peach.library-processing.announced", aE = 120;
-function oE(e, t, n) {
+var aE = "peach.library-processing.announced", oE = 120;
+function sE(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < aE;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < oE;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(iE) === e.job_id) return;
- e.job_id && localStorage.setItem(iE, e.job_id);
+ if (e.job_id && localStorage.getItem(aE) === e.job_id) return;
+ e.job_id && localStorage.setItem(aE, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var sE = "/api/media-repair", cE = ["media-repair"], lE = ["media-repair", "libraries"], uE = {
+var cE = "/api/media-repair", lE = ["media-repair"], uE = ["media-repair", "libraries"], dE = {
status: "idle",
library: "",
stage: "",
@@ -28453,33 +28453,33 @@ var sE = "/api/media-repair", cE = ["media-repair"], lE = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, dE = (e) => hw(sE, e), fE = async (e) => (await hw("/api/libraries", e)).libraries || [];
-async function pE(e) {
+}, fE = (e) => hw(cE, e), pE = async (e) => (await hw("/api/libraries", e)).libraries || [];
+async function mE(e) {
await Promise.all([X.fetchQuery({
- queryKey: cE,
- queryFn: () => dE(e)
- }), X.fetchQuery({
queryKey: lE,
queryFn: () => fE(e)
+ }), X.fetchQuery({
+ queryKey: uE,
+ queryFn: () => pE(e)
})]);
}
-var mE = (e) => Number(e).toLocaleString();
-function hE(e) {
+var hE = (e) => Number(e).toLocaleString();
+function gE(e) {
if (e.status === "running") {
- let t = e.total ? `${mE(e.checked)} / ${mE(e.total)}` : "准备中";
+ let t = e.total ? `${hE(e.checked)} / ${hE(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${mE(e.repaired)} 部,${mE(e.failed)} 部修不了` : `修好 ${mE(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${hE(e.repaired)} 部,${hE(e.failed)} 部修不了` : `修好 ${hE(e.repaired)} 部` : "";
}
-var gE = (e) => `${mE(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, _E = "/api/quality-goals?limit=200", vE = ["quality-goals"], yE = (e) => hw(_E, e);
-async function bE(e) {
+var _E = (e) => `${hE(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, vE = "/api/quality-goals?limit=200", yE = ["quality-goals"], bE = (e) => hw(vE, e);
+async function xE(e) {
await X.fetchQuery({
- queryKey: vE,
- queryFn: () => yE(e)
+ queryKey: yE,
+ queryFn: () => bE(e)
});
}
-var xE = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
-function SE(e, t, n = 1) {
+var SE = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function CE(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -28499,21 +28499,21 @@ function SE(e, t, n = 1) {
t
];
}
-function CE(e, t) {
+function wE(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function wE(e, t) {
+function TE(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function TE(e, t, n, r, i, a = i || !e.has(r)) {
+function EE(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/time.ts
-function EE(e) {
+function DE(e) {
if (!e) return "";
let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);
if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);
@@ -28522,7 +28522,7 @@ function EE(e) {
}
//#endregion
//#region src/react/review/review.ts
-var DE = "/api/review", OE = "/api/review/decision", kE = "/api/review/genre", AE = ["review"], jE = {
+var OE = "/api/review", kE = "/api/review/decision", AE = "/api/review/genre", jE = ["review"], ME = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -28532,15 +28532,15 @@ var DE = "/api/review", OE = "/api/review/decision", kE = "/api/review/genre", A
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, ME = Object.keys(jE), NE = "metadata_fields", PE = (e) => typeof e == "string" && Object.hasOwn(jE, e), FE = {
+}, NE = Object.keys(ME), PE = "metadata_fields", FE = (e) => typeof e == "string" && Object.hasOwn(ME, e), IE = {
creator_tags: "creator",
western_identity: "creator"
};
-function IE(e, t) {
+function LE(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 LE(e, t) {
+function RE(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -28557,43 +28557,43 @@ function LE(e, t) {
}
return [...n.values()];
}
-function RE(e, t, n) {
- return n && LE(e, t).find((e) => e.key === n)?.rows || e;
+function zE(e, t, n) {
+ return n && RE(e, t).find((e) => e.key === n)?.rows || e;
}
-function zE(e, t) {
- let n = CE(e.length, 20), r = wE(t, n);
+function BE(e, t) {
+ let n = wE(e.length, 20), r = TE(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function BE(e) {
+function VE(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 VE(e, t, n, r, i, a) {
- return TE(e, t, n, r, i, a);
+function HE(e, t, n, r, i, a) {
+ return EE(e, t, n, r, i, a);
}
-function HE(e, t) {
+function UE(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function UE(e, t) {
+function WE(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var WE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function GE(e, t) {
- let n = UE(e, t), r = WE(e, t);
+var GE = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function KE(e, t) {
+ let n = WE(e, t), r = GE(e, t);
return r ? `${n} · ${r}` : n;
}
-var KE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", qE = (e) => String(e.tags || "").split("|").filter(Boolean), JE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function YE(e) {
+var qE = (e) => e.reason || e.evidence || e.note || e.decision_note || "", JE = (e) => String(e.tags || "").split("|").filter(Boolean), YE = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function XE(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function XE(e, t, n, r) {
+function ZE(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -28609,19 +28609,19 @@ function XE(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Nre = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", ZE = (e) => hw(DE, e), QE = (e) => q(OE, e), Pre = (e, t) => q(kE, {
+var Mre = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", QE = (e) => hw(OE, e), $E = (e) => q(kE, e), Nre = (e, t) => q(AE, {
genre: e,
tag: t
});
-async function Fre(e) {
+async function Pre(e) {
await X.fetchQuery({
- queryKey: AE,
- queryFn: () => ZE(e)
+ queryKey: jE,
+ queryFn: () => QE(e)
});
}
-function $E(e, t) {
+function eD(e, t) {
let n = new Set(t);
- n.size && X.setQueryData(AE, (t) => {
+ n.size && X.setQueryData(jE, (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 : {
@@ -28637,161 +28637,161 @@ function $E(e, t) {
};
});
}
-var Ire = () => X.invalidateQueries({
- queryKey: AE,
+var Fre = () => X.invalidateQueries({
+ queryKey: jE,
exact: !0
});
-function Lre(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${EE(e.fetched_at)} 的缓存` : e?.error || t;
+function Ire(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${DE(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Rre = "/api/links", eD = "/api/links/check", tD = "/api/links/prune", nD = ["links"], rD = ["links", "check"], iD = ["links", "prune"], aD = {
+var Lre = "/api/links", tD = "/api/links/check", nD = "/api/links/prune", rD = ["links"], iD = ["links", "check"], aD = ["links", "prune"], oD = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function oD(e) {
+async function sD(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var sD = (e) => hw(Rre, e), cD = (e) => q(eD, { status_only: !0 }, "POST", e), zre = ({ retry: e, checkId: t }) => oD(q(eD, e ? {
+var cD = (e) => hw(Lre, e), lD = (e) => q(tD, { status_only: !0 }, "POST", e), Rre = ({ retry: e, checkId: t }) => sD(q(tD, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), lD = (e) => hw(tD, e), Bre = (e) => oD(q(tD, {
+} : { restart: !0 })), uD = (e) => hw(nD, e), zre = (e) => sD(q(nD, {
confirm: !0,
check_id: e,
background: !0
-})), uD = (e) => Number(e || 0).toLocaleString(), Vre = (e) => `已删除 ${uD(e.removed)} 条;${e.marked ? `已隐退女优的 ${uD(e.marked)} 条留作不可点的记录;` : ""}保留 ${uD(e.recovered)} 条未确认失效的链接。`;
-function Hre(e) {
+})), dD = (e) => Number(e || 0).toLocaleString(), Bre = (e) => `已删除 ${dD(e.removed)} 条;${e.marked ? `已隐退女优的 ${dD(e.marked)} 条留作不可点的记录;` : ""}保留 ${dD(e.recovered)} 条未确认失效的链接。`;
+function Vre(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${uD(e.checked)} / ${uD(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${dD(e.checked)} / ${dD(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Ure = "/api/organize", Wre = "/api/organize/preview", Gre = "/api/organize/apply", Kre = "/api/organize/rollback", qre = "/api/settings", dD = ["organize"], fD = (e) => hw(Ure, e);
-async function Jre(e) {
+var Hre = "/api/organize", Ure = "/api/organize/preview", Wre = "/api/organize/apply", Gre = "/api/organize/rollback", Kre = "/api/settings", fD = ["organize"], pD = (e) => hw(Hre, e);
+async function qre(e) {
await X.fetchQuery({
- queryKey: dD,
- queryFn: () => fD(e)
+ queryKey: fD,
+ queryFn: () => pD(e)
});
}
-var Yre = (e) => q(Wre, e), Xre = (e) => e.kind === "apply" ? q(Gre, {
+var Jre = (e) => q(Ure, e), Yre = (e) => e.kind === "apply" ? q(Wre, {
...e.request,
confirm: !0
-}) : q(Kre, { confirm: !0 });
-async function Zre(e) {
- X.setQueryData(dD, (t) => t && {
+}) : q(Gre, { confirm: !0 });
+async function Xre(e) {
+ X.setQueryData(fD, (t) => t && {
...t,
templates: e
});
try {
- await q(qre, { organizeTemplates: e });
+ await q(Kre, { organizeTemplates: e });
} catch {}
}
-var Qre = (e, t) => e && {
+var Zre = (e, t) => e && {
...e,
...t
-}, $re = /目录模板|分隔符|盘符|`\.`/;
-function pD(e) {
+}, Qre = /目录模板|分隔符|盘符|`\.`/;
+function mD(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var mD = (e) => Number(e || 0).toLocaleString();
-function eie(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${mD(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${mD(e.counts.change)} 个文件会改名或移动,${mD(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var hD = (e) => Number(e || 0).toLocaleString();
+function $re(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${hD(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${hD(e.counts.change)} 个文件会改名或移动,${hD(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function hD(e) {
+function gD(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${mD(r)} 个文件${n ? `,${mD(n)} 行未能退回` : ""}。` : `已整理 ${mD(r)} 个文件${n ? `,${mD(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${hD(r)} 个文件${n ? `,${hD(n)} 行未能退回` : ""}。` : `已整理 ${hD(r)} 个文件${n ? `,${hD(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var gD = "/api/resource-sync/scan", _D = "/api/resource-sync/apply", vD = ["resource-sync", "scan"], yD = ["resource-sync", "apply"], bD = (e) => q(gD, {
+var _D = "/api/resource-sync/scan", vD = "/api/resource-sync/apply", yD = ["resource-sync", "scan"], bD = ["resource-sync", "apply"], xD = (e) => q(_D, {
background: !0,
status_only: !0
-}, "POST", e), tie = () => q(gD, {
+}, "POST", e), eie = () => q(_D, {
background: !0,
restart: !0
-}), xD = (e) => hw(_D, e), nie = (e) => q(_D, {
+}), SD = (e) => hw(vD, e), tie = (e) => q(vD, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), SD = (e) => (e?.sources ?? []).some((e) => jT.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function rie(e) {
- SD(X.getQueryData(OT)) && await Promise.all([X.fetchQuery({
- queryKey: vD,
- queryFn: () => bD(e)
- }), X.fetchQuery({
+}), CD = (e) => (e?.sources ?? []).some((e) => MT.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function nie(e) {
+ CD(X.getQueryData(kT)) && await Promise.all([X.fetchQuery({
queryKey: yD,
queryFn: () => xD(e)
+ }), X.fetchQuery({
+ queryKey: bD,
+ queryFn: () => SD(e)
})]);
}
-var iie = (e) => !!(e?.missing || e?.empty || e?.cache?.files), aie = {
+var rie = (e) => !!(e?.missing || e?.empty || e?.cache?.files), iie = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, CD = (e) => Number(e || 0).toLocaleString(), oie = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", sie = (e) => `将永久删除文件已不在盘上的 ${CD(e.missing)} 条记录和 ${CD(e.empty)} 个空文件夹,并清理 ${CD(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, cie = (e) => `将永久删除文件已不在盘上的 ${CD(e.missing)} 条记录(含回收站里的)、${CD(e.empty)} 个空文件夹,并清理 ${CD(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, lie = (e) => e.online ? [
- `找不到文件 · 共 ${CD(e.total)} 项`,
- e.empty ? `空文件夹 ${CD(e.empty)} 个` : "",
- e.unreadable ? `${CD(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${CD(e.total)} 项`;
-function wD(e) {
+}, wD = (e) => Number(e || 0).toLocaleString(), aie = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", oie = (e) => `将永久删除文件已不在盘上的 ${wD(e.missing)} 条记录和 ${wD(e.empty)} 个空文件夹,并清理 ${wD(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, sie = (e) => `将永久删除文件已不在盘上的 ${wD(e.missing)} 条记录(含回收站里的)、${wD(e.empty)} 个空文件夹,并清理 ${wD(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, cie = (e) => e.online ? [
+ `找不到文件 · 共 ${wD(e.total)} 项`,
+ e.empty ? `空文件夹 ${wD(e.empty)} 个` : "",
+ e.unreadable ? `${wD(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${wD(e.total)} 项`;
+function TD(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 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 ? `${CD(t.length)} 条记录没有删除(${o})` : "",
- n ? `${CD(n)} 个文件夹没有删除` : "",
- r.length ? `${CD(r.length)} 个缓存没有清理` : ""
+ t.length ? `${wD(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${wD(n)} 个文件夹没有删除` : "",
+ r.length ? `${wD(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var uie = (e, t) => {
- let { rest: n } = wD(e), r = `已永久删除 ${CD(e.purged)} 条失效记录和 ${CD(e.dirs_removed)} 个空文件夹,清理 ${CD(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
+var lie = (e, t) => {
+ let { rest: n } = TD(e), r = `已永久删除 ${wD(e.purged)} 条失效记录和 ${wD(e.dirs_removed)} 个空文件夹,清理 ${wD(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
return n ? `${r}${n},重新检查后可再试。` : r;
-}, die = "/api/review?counts=1", TD = ["review", "counts"], fie = "/api/ads?limit=1", ED = ["junk-summary"], DD = "/api/items?state=trash&limit=1", OD = ["trash-summary"], pie = [
+}, uie = "/api/review?counts=1", ED = ["review", "counts"], die = "/api/ads?limit=1", DD = ["junk-summary"], OD = "/api/items?state=trash&limit=1", kD = ["trash-summary"], fie = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], kD = (e) => hw(die, e), AD = (e) => hw(fie, e), jD = (e) => {
+], AD = (e) => hw(uie, e), jD = (e) => hw(die, e), MD = (e) => {
let t = sessionStorage.getItem("peach.library");
- return hw(t ? `${DD}&library=${encodeURIComponent(t)}` : DD, e);
-}, MD = (e) => Number(e || 0).toLocaleString();
-function mie(e) {
- let t = jE, 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 hw(t ? `${OD}&library=${encodeURIComponent(t)}` : OD, e);
+}, ND = (e) => Number(e || 0).toLocaleString();
+function pie(e) {
+ let t = ME, 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 hie(e) {
+function mie(e) {
if (!e) return "";
- let t = pie.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${MD(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${MD(e.dismissed_total)}`), t.join(" · ");
-}
-var gie = [
- [TD, ({ signal: e }) => kD(e)],
- [vE, ({ signal: e }) => yE(e)],
- [OD, ({ signal: e }) => jD(e)],
- [nD, ({ signal: e }) => sD(e)],
+ let t = fie.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${ND(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${ND(e.dismissed_total)}`), t.join(" · ");
+}
+var hie = [
+ [ED, ({ signal: e }) => AD(e)],
+ [yE, ({ signal: e }) => bE(e)],
+ [kD, ({ signal: e }) => MD(e)],
[rD, ({ signal: e }) => cD(e)],
- [iD, ({ signal: e }) => lD(e)]
+ [iD, ({ signal: e }) => lD(e)],
+ [aD, ({ signal: e }) => uD(e)]
];
-async function _ie(e) {
- let t = location.hash === "#resource-sync", n = gie.map(([n, r]) => {
+async function gie(e) {
+ let t = location.hash === "#resource-sync", n = hie.map(([n, r]) => {
if (t) return X.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -28804,40 +28804,40 @@ async function _ie(e) {
await Promise.all([
...n,
X.fetchQuery({
- queryKey: ED,
- queryFn: () => AD(e)
+ queryKey: DD,
+ queryFn: () => jD(e)
}),
X.fetchQuery({
- queryKey: PT,
- queryFn: () => IT(e)
+ queryKey: FT,
+ queryFn: () => LT(e)
}),
- AT(e).then(() => rie(e)),
- JT(e),
- pE(e),
- Jre(e)
+ jT(e).then(() => nie(e)),
+ YT(e),
+ mE(e),
+ qre(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var vie = [
+var _ie = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], yie = [
+], vie = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function ND(e = {}) {
+function PD(e = {}) {
return `${gw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var PD = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", bie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function FD({ interactive: e = !1 } = {}) {
+var FD = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", yie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function ID({ interactive: e = !1 } = {}) {
return gw({
padding: "none",
radius: "plain",
@@ -28845,8 +28845,8 @@ function FD({ interactive: e = !1 } = {}) {
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var xie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function ID({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var bie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function LD({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -28879,13 +28879,13 @@ function ID({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function LD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function RD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.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, L.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${vie[n % 4]} ${yie[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${_ie[n % 4]} ${vie[n % 4]}`,
children: /* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -28907,12 +28907,12 @@ function LD({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var RD = Symbol("default");
-function zD({ values: e, children: t }) {
+var zD = Symbol("default");
+function BD({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ I.createElement(n.Provider, { value: r }, t);
return t;
}
-function BD(e) {
+function VD(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, I.useMemo)(() => {
let e, l, u;
@@ -28946,11 +28946,11 @@ function BD(e) {
c
]);
}
-function VD(e, t) {
+function HD(e, t) {
let n = (0, I.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || RD;
+ let e = t || zD;
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}.`);
@@ -28959,8 +28959,8 @@ function VD(e, t) {
}
return n;
}
-function HD(e, t, n) {
- let { ref: r, ...i } = VD(n, e.slot) || {}, a = Ih((0, I.useMemo)(() => _h(t, r), [t, r])), o = H(i, e);
+function UD(e, t, n) {
+ let { ref: r, ...i } = HD(n, e.slot) || {}, a = Ih((0, I.useMemo)(() => _h(t, r), [t, r])), o = H(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,
@@ -28978,7 +28978,7 @@ function HD(e, t, n) {
...e.style
}), [o, a];
}
-function UD(e = !0) {
+function WD(e = !0) {
let [t, n] = (0, I.useState)(e), r = (0, I.useRef)(!1), i = (0, I.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -28986,12 +28986,12 @@ function UD(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function WD(e) {
+function GD(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function Sie(e, t, n) {
+function xie(e, t, n) {
let { render: r, ...i } = t, a = (0, I.useRef)(null), o = (0, I.useMemo)(() => _h(n, a), [n, a]);
Gp(() => {}, [e, r]);
let s = {
@@ -29000,19 +29000,19 @@ function Sie(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ I.createElement(e, s);
}
-var GD = {}, KD = new Proxy({}, { get(e, t) {
+var KD = {}, qD = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = GD[t];
- return n || (n = /*#__PURE__*/ (0, I.forwardRef)(Sie.bind(null, t)), GD[t] = n), n;
-} }), qD = /*#__PURE__*/ (0, I.createContext)(null), JD = /*#__PURE__*/ (0, I.createContext)(null), YD = /*#__PURE__*/ (0, I.createContext)(null), XD = {
+ let n = KD[t];
+ return n || (n = /*#__PURE__*/ (0, I.forwardRef)(xie.bind(null, t)), KD[t] = n), n;
+} }), JD = /*#__PURE__*/ (0, I.createContext)(null), YD = /*#__PURE__*/ (0, I.createContext)(null), XD = /*#__PURE__*/ (0, I.createContext)(null), ZD = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return ZD(e, null, t);
+ return QD(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return ZD(e, t, n);
+ return QD(e, t, n);
}
};
-function ZD(e, t, n) {
+function QD(e, t, n) {
return mp({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -29023,11 +29023,11 @@ function ZD(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, Cie(e, t, n));
+ }), r, Sie(e, t, n));
}
});
}
-function Cie(e, t, n) {
+function Sie(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);
@@ -29046,24 +29046,24 @@ function Cie(e, t, n) {
}
return s;
}
-var QD = /*#__PURE__*/ (0, I.createContext)(XD);
-function $D(e) {
+var $D = /*#__PURE__*/ (0, I.createContext)(ZD);
+function eO(e) {
return (0, I.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var eO = /*#__PURE__*/ (0, I.createContext)({}), wie = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = HD(e, t, eO);
- let { elementType: n = "label", ...r } = e, i = KD[n];
+var tO = /*#__PURE__*/ (0, I.createContext)({}), Cie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = UD(e, t, tO);
+ let { elementType: n = "label", ...r } = e, i = qD[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Tie = /*#__PURE__*/ (0, I.createContext)(null), tO = /*#__PURE__*/ (0, I.createContext)({}), nO = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = HD(e, t, tO);
+}), wie = /*#__PURE__*/ (0, I.createContext)(null), nO = /*#__PURE__*/ (0, I.createContext)({}), rO = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = UD(e, t, nO);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = See(e, t);
- i = Die(i, r);
+ i = Eie(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = wy(e), { hoverProps: l, isHovered: u } = jy({
...e,
isDisabled: e.isDisabled || r
@@ -29074,7 +29074,7 @@ var eO = /*#__PURE__*/ (0, I.createContext)({}), wie = /*#__PURE__*/ Uh(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = BD({
+ }, f = VD({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -29091,7 +29091,7 @@ var eO = /*#__PURE__*/ (0, I.createContext)({}), wie = /*#__PURE__*/ Uh(function
p
]);
let _ = zg(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ I.createElement(KD.button, {
+ return delete _.onClick, /*#__PURE__*/ I.createElement(qD.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -29105,62 +29105,62 @@ var eO = /*#__PURE__*/ (0, I.createContext)({}), wie = /*#__PURE__*/ Uh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ I.createElement(Tie.Provider, { value: { id: m } }, f.children));
-}), Eie = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Die(e, t) {
+ }, /*#__PURE__*/ I.createElement(wie.Provider, { value: { id: m } }, f.children));
+}), Tie = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Eie(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Eie.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Tie.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 rO = /*#__PURE__*/ (0, I.createContext)({}), iO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = HD(e, t, rO);
- let { children: n, level: r = 3, className: i, ...a } = e, o = KD[`h${r}`];
+var iO = /*#__PURE__*/ (0, I.createContext)({}), aO = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = UD(e, t, iO);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = qD[`h${r}`];
return /*#__PURE__*/ I.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), aO = /*#__PURE__*/ (0, I.createContext)({}), Oie = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = HD(e, t, aO);
- let { elementType: n = "span", ...r } = e, i = KD[n];
+}), oO = /*#__PURE__*/ (0, I.createContext)({}), Die = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = UD(e, t, oO);
+ let { elementType: n = "span", ...r } = e, i = qD[n];
return /*#__PURE__*/ I.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), oO = /*#__PURE__*/ (0, I.createContext)(null), sO = /*#__PURE__*/ (0, I.createContext)(null), cO = /*#__PURE__*/ (0, I.createContext)(null), lO = /*#__PURE__*/ (0, I.createContext)(null), kie = /*#__PURE__*/ (0, I.createContext)(null), uO = /*#__PURE__*/ (0, I.createContext)(null);
-function Aie(e, t) {
- let { validationBehavior: n } = VD(sO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(kie), a = Ih((0, I.useMemo)(() => _h(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...WD(e),
+}), sO = /*#__PURE__*/ (0, I.createContext)(null), cO = /*#__PURE__*/ (0, I.createContext)(null), lO = /*#__PURE__*/ (0, I.createContext)(null), uO = /*#__PURE__*/ (0, I.createContext)(null), Oie = /*#__PURE__*/ (0, I.createContext)(null), dO = /*#__PURE__*/ (0, I.createContext)(null);
+function kie(e, t) {
+ let { validationBehavior: n } = HD(cO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useContext)(Oie), a = Ih((0, I.useMemo)(() => _h(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...GD(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
return [i ? Uee(o, i, a) : Y_(o, ev(e), a), a];
}
-var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var Aie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = HD(r, t, cO);
- let [i, a] = Aie(e, n);
- return /*#__PURE__*/ I.createElement(uO.Provider, { value: {
+ [e, t] = UD(r, t, lO);
+ let [i, a] = kie(e, n);
+ return /*#__PURE__*/ I.createElement(dO.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ I.createElement(Mie, {
+ } }, /*#__PURE__*/ I.createElement(jie, {
...e,
ref: t
}));
-}), Mie = /*#__PURE__*/ (0, I.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, I.useContext)(uO), { isFocused: p, isFocusVisible: m, focusProps: h } = wy(), g = a || o, { hoverProps: _, isHovered: v } = jy({
+}), jie = /*#__PURE__*/ (0, I.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, I.useContext)(dO), { isFocused: p, isFocusVisible: m, focusProps: h } = wy(), g = a || o, { hoverProps: _, isHovered: v } = jy({
...e,
isDisabled: g
- }), y = BD({
+ }), y = VD({
...e,
defaultClassName: u,
values: {
@@ -29176,7 +29176,7 @@ var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), b = zg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(KD.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(qD.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -29194,8 +29194,8 @@ var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
...H(r, h),
ref: l
})), y.children);
-}), dO = /*#__PURE__*/ (0, I.createContext)({}), Nie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = HD(e, t, dO);
+}), fO = /*#__PURE__*/ (0, I.createContext)({}), Mie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = UD(e, t, fO);
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 } = jy({
@@ -29203,7 +29203,7 @@ var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = wy({ within: !0 }), m = BD({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = wy({ within: !0 }), m = VD({
...e,
values: {
isHovered: u,
@@ -29214,7 +29214,7 @@ var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(qD.div, {
...H(c, p, l),
...m,
ref: t,
@@ -29227,18 +29227,18 @@ var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), fO = /*#__PURE__*/ (0, I.createContext)({}), Pie = (e) => {
+}), pO = /*#__PURE__*/ (0, I.createContext)({}), Nie = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Fie = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = HD(e, t, fO);
+}, Pie = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = UD(e, t, pO);
let { hoverProps: n, isHovered: r } = jy({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = wy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = BD({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = VD({
...e,
values: {
isHovered: r,
@@ -29249,8 +29249,8 @@ var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ I.createElement(KD.input, {
- ...H(Pie(e), o, n),
+ return /*#__PURE__*/ I.createElement(qD.input, {
+ ...H(Nie(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -29259,8 +29259,8 @@ var jie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), pO = {};
-pO = {
+}), mO = {};
+mO = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -29268,8 +29268,8 @@ pO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var mO = {};
-mO = {
+var hO = {};
+hO = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -29277,8 +29277,8 @@ mO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var hO = {};
-hO = {
+var gO = {};
+gO = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -29286,8 +29286,8 @@ hO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var gO = {};
-gO = {
+var _O = {};
+_O = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -29295,8 +29295,8 @@ gO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var _O = {};
-_O = {
+var vO = {};
+vO = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -29304,8 +29304,8 @@ _O = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var vO = {};
-vO = {
+var yO = {};
+yO = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -29313,8 +29313,8 @@ vO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var yO = {};
-yO = {
+var bO = {};
+bO = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -29322,8 +29322,8 @@ yO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var bO = {};
-bO = {
+var xO = {};
+xO = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -29331,8 +29331,8 @@ bO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var xO = {};
-xO = {
+var SO = {};
+SO = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -29340,8 +29340,8 @@ xO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var SO = {};
-SO = {
+var CO = {};
+CO = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -29349,8 +29349,8 @@ SO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var CO = {};
-CO = {
+var wO = {};
+wO = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -29358,8 +29358,8 @@ CO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var wO = {};
-wO = {
+var TO = {};
+TO = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -29367,8 +29367,8 @@ wO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var TO = {};
-TO = {
+var EO = {};
+EO = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -29376,8 +29376,8 @@ TO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var EO = {};
-EO = {
+var DO = {};
+DO = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -29385,8 +29385,8 @@ EO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var DO = {};
-DO = {
+var OO = {};
+OO = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -29394,8 +29394,8 @@ DO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var OO = {};
-OO = {
+var kO = {};
+kO = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -29403,8 +29403,8 @@ OO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var kO = {};
-kO = {
+var AO = {};
+AO = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -29412,8 +29412,8 @@ kO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var AO = {};
-AO = {
+var jO = {};
+jO = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -29421,8 +29421,8 @@ AO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var jO = {};
-jO = {
+var MO = {};
+MO = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -29430,8 +29430,8 @@ jO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var MO = {};
-MO = {
+var NO = {};
+NO = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -29439,8 +29439,8 @@ MO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var NO = {};
-NO = {
+var PO = {};
+PO = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -29448,8 +29448,8 @@ NO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var PO = {};
-PO = {
+var FO = {};
+FO = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -29457,8 +29457,8 @@ PO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var FO = {};
-FO = {
+var IO = {};
+IO = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -29466,8 +29466,8 @@ FO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var IO = {};
-IO = {
+var LO = {};
+LO = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -29475,8 +29475,8 @@ IO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var LO = {};
-LO = {
+var RO = {};
+RO = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -29484,8 +29484,8 @@ LO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var RO = {};
-RO = {
+var zO = {};
+zO = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -29493,8 +29493,8 @@ RO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var zO = {};
-zO = {
+var BO = {};
+BO = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -29502,8 +29502,8 @@ zO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var BO = {};
-BO = {
+var VO = {};
+VO = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -29511,8 +29511,8 @@ BO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var VO = {};
-VO = {
+var HO = {};
+HO = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -29520,8 +29520,8 @@ VO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var HO = {};
-HO = {
+var UO = {};
+UO = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -29529,8 +29529,8 @@ HO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var UO = {};
-UO = {
+var WO = {};
+WO = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -29538,8 +29538,8 @@ UO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var WO = {};
-WO = {
+var GO = {};
+GO = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -29547,8 +29547,8 @@ WO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var GO = {};
-GO = {
+var KO = {};
+KO = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -29556,8 +29556,8 @@ GO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var KO = {};
-KO = {
+var qO = {};
+qO = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -29565,52 +29565,52 @@ KO = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var qO = {};
-qO = {
- "ar-AE": pO,
- "bg-BG": mO,
- "cs-CZ": hO,
- "da-DK": gO,
- "de-DE": _O,
- "el-GR": vO,
- "en-US": yO,
- "es-ES": bO,
- "et-EE": xO,
- "fi-FI": SO,
- "fr-FR": CO,
- "he-IL": wO,
- "hr-HR": TO,
- "hu-HU": EO,
- "it-IT": DO,
- "ja-JP": OO,
- "ko-KR": kO,
- "lt-LT": AO,
- "lv-LV": jO,
- "nb-NO": MO,
- "nl-NL": NO,
- "pl-PL": PO,
- "pt-BR": FO,
- "pt-PT": IO,
- "ro-RO": LO,
- "ru-RU": RO,
- "sk-SK": zO,
- "sl-SI": BO,
- "sr-SP": VO,
- "sv-SE": HO,
- "tr-TR": UO,
- "uk-UA": WO,
- "zh-CN": GO,
- "zh-TW": KO
+var JO = {};
+JO = {
+ "ar-AE": mO,
+ "bg-BG": hO,
+ "cs-CZ": gO,
+ "da-DK": _O,
+ "de-DE": vO,
+ "el-GR": yO,
+ "en-US": bO,
+ "es-ES": xO,
+ "et-EE": SO,
+ "fi-FI": CO,
+ "fr-FR": wO,
+ "he-IL": TO,
+ "hr-HR": EO,
+ "hu-HU": DO,
+ "it-IT": OO,
+ "ja-JP": kO,
+ "ko-KR": AO,
+ "lt-LT": jO,
+ "lv-LV": MO,
+ "nb-NO": NO,
+ "nl-NL": PO,
+ "pl-PL": FO,
+ "pt-BR": IO,
+ "pt-PT": LO,
+ "ro-RO": RO,
+ "ru-RU": zO,
+ "sk-SK": BO,
+ "sl-SI": VO,
+ "sr-SP": HO,
+ "sv-SE": UO,
+ "tr-TR": WO,
+ "uk-UA": GO,
+ "zh-CN": KO,
+ "zh-TW": qO
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var JO = /*#__PURE__*/ (0, I.createContext)({}), YO = /*#__PURE__*/ (0, I.createContext)(null), Iie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { render: n } = (0, I.useContext)(YO);
+var YO = /*#__PURE__*/ (0, I.createContext)({}), XO = /*#__PURE__*/ (0, I.createContext)(null), Fie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { render: n } = (0, I.useContext)(XO);
return /*#__PURE__*/ I.createElement(I.Fragment, null, n(e, t));
});
-function XO(e, t) {
+function ZO(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, I.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(Iie, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ I.createElement(Fie, { target: e });
}, [
t?.target,
r,
@@ -29618,7 +29618,7 @@ function XO(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function ZO(e, t, n) {
+function QO(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;
@@ -29641,14 +29641,14 @@ function ZO(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var QO = /*#__PURE__*/ (0, I.createContext)({}), Lie = /*#__PURE__*/ (0, I.createContext)(null);
-function $O(e) {
+var $O = /*#__PURE__*/ (0, I.createContext)({}), Iie = /*#__PURE__*/ (0, I.createContext)(null);
+function ek(e) {
let t = (0, I.useRef)({});
- return /*#__PURE__*/ I.createElement(Lie.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ I.createElement(Iie.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var ek = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), tk = /*#__PURE__*/ (0, I.createContext)({}), Rie = /*#__PURE__*/ og(class extends ip {
+var tk = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), nk = /*#__PURE__*/ (0, I.createContext)({}), Lie = /*#__PURE__*/ og(class extends ip {
static {
this.type = "separator";
}
@@ -29661,10 +29661,10 @@ var ek = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), tk = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = HD(e, t, tk);
+ [e, t] = UD(e, t, nk);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = KD[c], { separatorProps: u } = Fte({
+ let l = qD[c], { separatorProps: u } = Fte({
...s,
elementType: n,
orientation: r
@@ -29680,13 +29680,13 @@ var ek = /*#__PURE__*/ (0, I.createContext)({ isSelected: !1 }), tk = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function nk(e) {
+function rk(e) {
let t = I.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 rk = class {
+var ik = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -29730,20 +29730,20 @@ var rk = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, ik = class e extends Set {
+}, ak = 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 zie(e, t) {
+function Rie(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function ak(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = $_((0, I.useMemo)(() => ok(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => ok(e.defaultSelectedKeys, new ik()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
+function ok(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, I.useRef)(!1), [, s] = (0, I.useState)(!1), c = (0, I.useRef)(null), l = (0, I.useRef)(null), [, u] = (0, I.useState)(null), [d, f] = $_((0, I.useMemo)(() => sk(e.selectedKeys), [e.selectedKeys]), (0, I.useMemo)(() => sk(e.defaultSelectedKeys, new ak()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, I.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
@@ -29770,18 +29770,18 @@ function ak(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !zie(e, d)) && f(e);
+ (r || !Rie(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function ok(e, t) {
- return e ? e === "all" ? "all" : new ik(e) : t;
+function sk(e, t) {
+ return e ? e === "all" ? "all" : new ak(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var sk = class e {
+var ck = 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;
}
@@ -29864,10 +29864,10 @@ var sk = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new ik([t], t, t);
+ if (this.state.selectedKeys === "all") n = new ak([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new ik(e, r, t);
+ n = new ak(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);
}
@@ -29901,19 +29901,19 @@ var sk = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new ik(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new ak(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 ik([t], t, t) : new ik();
+ let n = this.canSelectItem(t) ? new ak([t], t, t) : new ak();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new ik();
+ let t = new ak();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -29936,7 +29936,7 @@ var sk = 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 ik());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new ak());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -29977,9 +29977,9 @@ var sk = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Bie = class {
+}, zie = class {
build(e, t) {
- return this.context = t, ck(() => this.iterateCollection(e));
+ return this.context = t, lk(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -30061,10 +30061,10 @@ var sk = class e {
...a,
key: l,
index: s,
- wrapper: Vie(e.wrapper, a.wrapper)
+ wrapper: Bie(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 <${lk(t.type)}> in <${lk(r?.type ?? "unknown parent type")}>. Only <${lk(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 <${uk(t.type)}> in <${uk(r?.type ?? "unknown parent type")}>. Only <${uk(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -30086,7 +30086,7 @@ var sk = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: ck(function* () {
+ childNodes: lk(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -30105,7 +30105,7 @@ var sk = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function ck(e) {
+function lk(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -30113,18 +30113,18 @@ function ck(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Vie(e, t) {
+function Bie(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function lk(e) {
+function uk(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function uk(e, t, n) {
- let r = (0, I.useMemo)(() => new Bie(), []), { children: i, items: a, collection: o } = e;
+function dk(e, t, n) {
+ let r = (0, I.useMemo)(() => new zie(), []), { children: i, items: a, collection: o } = e;
return (0, I.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -30139,27 +30139,27 @@ function uk(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function dk(e) {
- let { filter: t, layoutDelegate: n } = e, r = ak(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = uk(e, (0, I.useCallback)((e) => t ? new rk(t(e)) : new rk(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new sk(a, r, { layoutDelegate: n }), [
+function fk(e) {
+ let { filter: t, layoutDelegate: n } = e, r = ok(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = dk(e, (0, I.useCallback)((e) => t ? new ik(t(e)) : new ik(e), [t]), (0, I.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, I.useMemo)(() => new ck(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return fk(a, o), {
+ return pk(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Hie(e, t) {
+function Vie(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return fk(n, r), {
+ return pk(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function fk(e, t) {
+function pk(e, t) {
let n = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -30187,7 +30187,7 @@ function fk(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function pk(e, t) {
+function mk(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, I.useRef)(null), s = _g((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -30211,42 +30211,42 @@ function pk(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var mk = /*#__PURE__*/ (0, I.createContext)(null), hk = /*#__PURE__*/ (0, I.createContext)(null), Uie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = HD(e, t, mk);
- let n = (0, I.useContext)(hk);
- return n ? /*#__PURE__*/ I.createElement(gk, {
+var hk = /*#__PURE__*/ (0, I.createContext)(null), gk = /*#__PURE__*/ (0, I.createContext)(null), Hie = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = UD(e, t, hk);
+ let n = (0, I.useContext)(gk);
+ return n ? /*#__PURE__*/ I.createElement(_k, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(Wie, {
+ }) : /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(Uie, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Wie({ props: e, listBoxRef: t, collection: n }) {
+function Uie({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, I.useContext)(QD), i = dk({
+ let { layoutDelegate: r } = (0, I.useContext)($D), i = fk({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ I.createElement(gk, {
+ return /*#__PURE__*/ I.createElement(_k, {
state: i,
props: e,
listBoxRef: t
});
}
-function gk({ state: e, props: t, listBoxRef: n }) {
- [t, n] = HD(t, n, qD);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Hie(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Eg(), { disabledBehavior: p, disabledKeys: m } = l, h = gy({
+function _k({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = UD(t, n, JD);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Vie(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Eg(), { disabledBehavior: p, disabledKeys: m } = l, h = gy({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)(QD), b = (0, I.useMemo)(() => t.keyboardDelegate || new vv({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, I.useContext)($D), b = (0, I.useMemo)(() => t.keyboardDelegate || new vv({
collection: c,
collator: h,
ref: n,
@@ -30307,7 +30307,7 @@ function gk({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = BD({
+ }, N = VD({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -30318,7 +30318,7 @@ function gk({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(M)));
let te = zg(t, { global: !0 });
- return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(qD.div, {
...H(te, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -30329,52 +30329,52 @@ function gk({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ I.createElement(zD, { values: [
- [mk, t],
- [hk, s],
- [JO, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [hk, t],
+ [gk, s],
+ [YO, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [tk, { elementType: "div" }],
- [YO, { render: qie }],
- [YD, {
+ [nk, { elementType: "div" }],
+ [XO, { render: Kie }],
+ [XD, {
name: "ListBoxSection",
- render: Gie
+ render: Wie
}]
- ] }, /*#__PURE__*/ I.createElement($O, null, /*#__PURE__*/ I.createElement(y, {
+ ] }, /*#__PURE__*/ I.createElement(ek, null, /*#__PURE__*/ I.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: ZO(l, r, C),
- renderDropIndicator: XO(r, C)
+ persistedKeys: QO(l, r, C),
+ renderDropIndicator: ZO(r, C)
}))), ee, E));
}
-function Gie(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, I.useContext)(hk), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(JO), { CollectionBranch: s } = (0, I.useContext)(QD), [c, l] = UD(), { headingProps: u, groupProps: d } = cte({
+function Wie(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, I.useContext)(gk), { dragAndDropHooks: a, dropState: o } = (0, I.useContext)(YO), { CollectionBranch: s } = (0, I.useContext)($D), [c, l] = WD(), { headingProps: u, groupProps: d } = cte({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = BD({
+ }), f = VD({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = zg(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ I.createElement(KD.section, {
+ return delete p.id, /*#__PURE__*/ I.createElement(qD.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ I.createElement(QO.Provider, { value: {
+ }, /*#__PURE__*/ I.createElement($O.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ I.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: XO(a, o)
+ renderDropIndicator: ZO(a, o)
})));
}
-var Kie = /*#__PURE__*/ og(sp, function(e, t, n) {
- let r = Ih(t), i = (0, I.useContext)(hk), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(JO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = lte({
+var Gie = /*#__PURE__*/ og(sp, function(e, t, n) {
+ let r = Ih(t), i = (0, I.useContext)(gk), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(YO), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = lte({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = jy({
@@ -30393,7 +30393,7 @@ var Kie = /*#__PURE__*/ og(sp, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = BD({
+ let y = o && o.isDragging(n.key), b = VD({
...e,
id: void 0,
children: e.children,
@@ -30411,7 +30411,7 @@ var Kie = /*#__PURE__*/ og(sp, function(e, t, n) {
(0, I.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? KD.a : KD.div, S = zg(e, { global: !0 });
+ let x = e.href ? qD.a : qD.div, S = zg(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ I.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -30425,29 +30425,29 @@ var Kie = /*#__PURE__*/ og(sp, 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__*/ I.createElement(zD, { values: [[aO, { slots: {
- [RD]: u,
+ }, /*#__PURE__*/ I.createElement(BD, { values: [[oO, { slots: {
+ [zD]: u,
label: u,
description: d
- } }], [ek, { isSelected: f.isSelected }]] }, b.children));
+ } }], [tk, { isSelected: f.isSelected }]] }, b.children));
});
-function qie(e, t) {
+function Kie(e, t) {
t = Ih(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(JO), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ I.createElement(Yie, {
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(YO), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ I.createElement(Jie, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Jie(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = BD({
+function qie(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = VD({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(qD.div, {
...n,
...a,
role: "option",
@@ -30455,10 +30455,10 @@ function Jie(e, t) {
"data-drop-target": r || void 0
}));
}
-var Yie = /*#__PURE__*/ (0, I.forwardRef)(Jie);
+var Jie = /*#__PURE__*/ (0, I.forwardRef)(qie);
og(op, function(e, t, n) {
- let r = (0, I.useContext)(hk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- pk((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(gk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ mk((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30468,7 +30468,7 @@ og(op, function(e, t, n) {
o,
r?.collection
]), c);
- let l = BD({
+ let l = VD({
...s,
id: void 0,
children: n.rendered,
@@ -30481,7 +30481,7 @@ og(op, function(e, t, n) {
width: 0,
height: 0
},
- inert: nk(!0)
+ inert: rk(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30490,7 +30490,7 @@ og(op, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(KD.div, {
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(qD.div, {
...H(zg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -30499,10 +30499,10 @@ og(op, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Xie = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
+var Yie = /*#__PURE__*/ (0, I.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function _k(e) {
+function vk(e) {
let [t, n] = $_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, I.useState)(null);
return {
isOpen: t,
@@ -30522,13 +30522,13 @@ function _k(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function vk(e, t = !0) {
+function yk(e, t = !0) {
let [n, r] = (0, I.useState)(!0), i = n && t;
return Gp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), bk(e, i, (0, I.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), xk(e, i, (0, I.useCallback)(() => r(!1), [])), i;
}
-function yk(e, t) {
+function bk(e, t) {
let [n, r] = (0, I.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -30538,11 +30538,11 @@ function yk(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return bk(e, i, (0, I.useCallback)(() => {
+ return xk(e, i, (0, I.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function bk(e, t, n) {
+function xk(e, t, n) {
Gp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -30571,9 +30571,9 @@ function bk(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var xk = /*#__PURE__*/ (0, I.createContext)(null), Sk = /*#__PURE__*/ (0, I.createContext)(null), Ck = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = HD(e, t, xk);
- let n = (0, I.useContext)(Nk), r = _k(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = yk(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Wh(), { direction: c } = Eg();
+var Sk = /*#__PURE__*/ (0, I.createContext)(null), Ck = /*#__PURE__*/ (0, I.createContext)(null), wk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = UD(e, t, Sk);
+ let n = (0, I.useContext)(Pk), r = vk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = bk(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Wh(), { direction: c } = Eg();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -30584,7 +30584,7 @@ var xk = /*#__PURE__*/ (0, I.createContext)(null), Sk = /*#__PURE__*/ (0, I.crea
defaultChildren: null
})), /*#__PURE__*/ I.createElement(I.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Zie, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ I.createElement(Xie, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -30593,13 +30593,13 @@ var xk = /*#__PURE__*/ (0, I.createContext)(null), Sk = /*#__PURE__*/ (0, I.crea
dir: c
});
});
-function Zie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(Sk), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = kte({
+function Xie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = (0, I.useContext)(Ck), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = kte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = vk(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = BD({
+ }, e), m = i.popoverRef, h = yk(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = VD({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -30634,7 +30634,7 @@ function Zie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, E = /*#__PURE__*/ I.createElement(KD.div, {
+ }, E = /*#__PURE__*/ I.createElement(qD.div, {
...H(zg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
@@ -30650,7 +30650,7 @@ function Zie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ I.createElement(ix, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(Xie.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ I.createElement(ix, { onDismiss: e.close }), /*#__PURE__*/ I.createElement(Yie.Provider, { value: {
...d,
placement: f,
ref: a
@@ -30675,15 +30675,15 @@ function Zie({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ I.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ I.createElement(Sk.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ I.createElement(Ck.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Qie = /*#__PURE__*/ (0, I.createContext)({});
+var Zie = /*#__PURE__*/ (0, I.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function wk(e) {
- let t = _k(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
+function Tk(e) {
+ let t = vk(e), [n, r] = (0, I.useState)(null), [i, a] = (0, I.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -30709,7 +30709,7 @@ function wk(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var $ie = class {
+var Qie = 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) => {
@@ -30753,8 +30753,8 @@ var $ie = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function eae(e) {
- let { onExpandedChange: t } = e, [n, r] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = ak(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = uk(e, (0, I.useCallback)((e) => new $ie(e, { expandedKeys: n }), [n]), null);
+function $ie(e) {
+ let { onExpandedChange: t } = e, [n, r] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = ok(e), a = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = dk(e, (0, I.useCallback)((e) => new Qie(e, { expandedKeys: n }), [n]), null);
return (0, I.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -30762,32 +30762,32 @@ function eae(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(tae(n, e));
+ r(eae(n, e));
},
setExpandedKeys: r,
- selectionManager: new sk(o, i)
+ selectionManager: new ck(o, i)
};
}
-function tae(e, t) {
+function eae(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 Tk = /*#__PURE__*/ (0, I.createContext)(null), Ek = /*#__PURE__*/ (0, I.createContext)(null), Dk = /*#__PURE__*/ (0, I.createContext)(null), Ok = /*#__PURE__*/ (0, I.createContext)(null);
-function nae(e) {
- let t = wk(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = ny({
+var Ek = /*#__PURE__*/ (0, I.createContext)(null), Dk = /*#__PURE__*/ (0, I.createContext)(null), Ok = /*#__PURE__*/ (0, I.createContext)(null), kk = /*#__PURE__*/ (0, I.createContext)(null);
+function tae(e) {
+ let t = Tk(e), n = (0, I.useRef)(null), { menuTriggerProps: r, menuProps: i } = ny({
...e,
type: "menu"
}, t, n), a = (0, I.useRef)(null);
- return Wh() ? null : /*#__PURE__*/ I.createElement(zD, { values: [
- [Tk, {
+ return Wh() ? null : /*#__PURE__*/ I.createElement(BD, { values: [
+ [Ek, {
...i,
ref: a
}],
- [Nk, t],
- [Dk, t],
- [xk, {
+ [Pk, t],
+ [Ok, t],
+ [Sk, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -30801,7 +30801,7 @@ function nae(e) {
isPressed: t.isOpen
}, e.children));
}
-var rae = /*#__PURE__*/ (0, I.createContext)(null);
+var nae = /*#__PURE__*/ (0, I.createContext)(null);
(class extends ip {
static {
this.type = "submenutrigger";
@@ -30815,24 +30815,24 @@ var rae = /*#__PURE__*/ (0, I.createContext)(null);
return null;
}
});
-var iae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return [e, t] = HD(e, t, Tk), /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(aae, {
+var rae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return [e, t] = UD(e, t, Ek), /*#__PURE__*/ I.createElement($h, { content: /*#__PURE__*/ I.createElement(ug, e) }, (n) => /*#__PURE__*/ I.createElement(iae, {
props: e,
collection: n,
menuRef: t
}));
});
-function aae({ props: e, collection: t, menuRef: n }) {
- [e, n] = HD(e, n, qD);
- let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = eae({
+function iae({ props: e, collection: t, menuRef: n }) {
+ [e, n] = UD(e, n, JD);
+ let { filter: r, ...i } = e, a = (0, I.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = $ie({
...e,
collection: a,
children: void 0
- }), s = (0, I.useContext)(Dk), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)(QD), { menuProps: u } = ute({
+ }), s = (0, I.useContext)(Ok), { isVirtualized: c, CollectionRoot: l } = (0, I.useContext)($D), { menuProps: u } = ute({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = BD({
+ }, o, n), d = VD({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -30843,35 +30843,35 @@ function aae({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(qD.div, {
...H(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ I.createElement(zD, { values: [
- [Ek, o],
- [tk, { elementType: "div" }],
- [YD, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [Dk, o],
+ [nk, { elementType: "div" }],
+ [XD, {
name: "MenuSection",
- render: kk
+ render: Ak
}],
- [rae, {
+ [nae, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [jk, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [qD, null],
+ [Mk, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
[JD, null],
- [Ok, o.selectionManager],
- [Dk, s ?? wk({})]
- ] }, /*#__PURE__*/ I.createElement($O, null, /*#__PURE__*/ I.createElement(l, {
+ [YD, null],
+ [kk, o.selectionManager],
+ [Ok, s ?? Tk({})]
+ ] }, /*#__PURE__*/ I.createElement(ek, null, /*#__PURE__*/ I.createElement(l, {
collection: o.collection,
- persistedKeys: $D(o.selectionManager.focusedKey),
+ persistedKeys: eO(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var oae = class extends sk {
+var aae = class extends ck {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -30891,11 +30891,11 @@ var oae = class extends sk {
return this.parent.childFocusStrategy;
}
};
-function kk(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, I.useContext)(Ek), { CollectionBranch: a } = (0, I.useContext)(QD), [o, s] = UD(), { headingProps: c, groupProps: l } = fte({
+function Ak(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, I.useContext)(Dk), { CollectionBranch: a } = (0, I.useContext)($D), [o, s] = WD(), { headingProps: c, groupProps: l } = fte({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = BD({
+ }), u = VD({
...e,
id: void 0,
children: void 0,
@@ -30903,31 +30903,31 @@ function kk(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, I.useContext)(Ok), f = ak(e), p = e.selectionMode == null ? d : new oae(d, f), m = VD(jk)?.shouldCloseOnSelect, h = zg(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ I.createElement(KD.section, {
+ }), d = (0, I.useContext)(kk), f = ok(e), p = e.selectionMode == null ? d : new aae(d, f), m = HD(Mk)?.shouldCloseOnSelect, h = zg(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ I.createElement(qD.section, {
...H(h, u, l),
ref: t
- }, /*#__PURE__*/ I.createElement(zD, { values: [
- [QO, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [$O, {
...c,
ref: o
}],
- [Ok, p],
- [jk, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [kk, p],
+ [Mk, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ I.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Ak = /*#__PURE__*/ sg(cp, kk), jk = /*#__PURE__*/ (0, I.createContext)(null), Mk = /*#__PURE__*/ og(sp, function(e, t, n) {
- [e, t] = HD(e, t, jk);
- let r = VD(jk)?.id, i = (0, I.useContext)(Ek), a = Ih(t), o = (0, I.useContext)(Ok), { isVirtualized: s } = (0, I.useContext)(QD), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = dte({
+var jk = /*#__PURE__*/ sg(cp, Ak), Mk = /*#__PURE__*/ (0, I.createContext)(null), Nk = /*#__PURE__*/ og(sp, function(e, t, n) {
+ [e, t] = UD(e, t, Mk);
+ let r = HD(Mk)?.id, i = (0, I.useContext)(Dk), a = Ih(t), o = (0, I.useContext)(kk), { isVirtualized: s } = (0, I.useContext)($D), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = dte({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = jy({ isDisabled: f.isDisabled }), h = BD({
+ }, i, a), { hoverProps: p, isHovered: m } = jy({ isDisabled: f.isDisabled }), h = VD({
...e,
id: void 0,
children: n.rendered,
@@ -30941,7 +30941,7 @@ var Ak = /*#__PURE__*/ sg(cp, kk), jk = /*#__PURE__*/ (0, I.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? KD.a : KD.div, _ = zg(e, { global: !0 });
+ }), g = e.href ? qD.a : qD.div, _ = zg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -30954,19 +30954,19 @@ var Ak = /*#__PURE__*/ sg(cp, kk), jk = /*#__PURE__*/ (0, I.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__*/ I.createElement(zD, { values: [
- [aO, { slots: {
- [RD]: l,
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [oO, { slots: {
+ [zD]: l,
label: l,
description: u
} }],
- [Qie, d],
- [ek, { isSelected: f.isSelected }]
+ [Zie, d],
+ [tk, { isSelected: f.isSelected }]
] }, h.children));
});
og(op, function(e, t, n) {
- let r = (0, I.useContext)(Ek), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
- pk((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(Dk), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, I.useRef)(null);
+ mk((0, I.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -30976,7 +30976,7 @@ og(op, function(e, t, n) {
o,
r?.collection
]), c);
- let l = BD({
+ let l = VD({
...s,
id: void 0,
children: n.rendered,
@@ -30989,7 +30989,7 @@ og(op, function(e, t, n) {
width: 0,
height: 0
},
- inert: nk(!0)
+ inert: rk(!0)
}, /*#__PURE__*/ I.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -30998,7 +30998,7 @@ og(op, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(KD.div, {
+ })), i && l.children && /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(qD.div, {
...H(zg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -31007,56 +31007,56 @@ og(op, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var sae = /*#__PURE__*/ (0, I.createContext)(null), Nk = /*#__PURE__*/ (0, I.createContext)(null), Pk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+var oae = /*#__PURE__*/ (0, I.createContext)(null), Pk = /*#__PURE__*/ (0, I.createContext)(null), Fk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = HD(e, t, sae);
+ [e, t] = UD(e, t, oae);
let { dialogProps: r, titleProps: i, contentProps: a } = Cy({
...e,
"aria-labelledby": n
- }, t), o = (0, I.useContext)(Nk);
+ }, t), o = (0, I.useContext)(Pk);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = BD({
+ let s = VD({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(KD.section, {
+ return /*#__PURE__*/ I.createElement(qD.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ I.createElement(zD, { values: [
- [rO, { slots: {
- [RD]: {},
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [iO, { slots: {
+ [zD]: {},
title: {
...i,
level: 2
}
} }],
- [aO, { slots: {
- [RD]: {},
+ [oO, { slots: {
+ [zD]: {},
description: a
} }],
- [tO, { slots: {
- [RD]: {},
+ [nO, { slots: {
+ [zD]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), Fk = typeof document < "u" && window.visualViewport;
-function cae() {
+}), Ik = typeof document < "u" && window.visualViewport;
+function sae() {
let e = jm(), [t, n] = (0, I.useState)(() => e ? {
width: 0,
height: 0
- } : Ik());
+ } : Lk());
return (0, I.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- Fk && Fk.scale > 1 || e(Ik());
+ Ik && Ik.scale > 1 || e(Lk());
}, r, i = (t) => {
- Fk && Fk.scale > 1 || gg(V(t)) && (r = requestAnimationFrame(() => {
+ Ik && Ik.scale > 1 || gg(V(t)) && (r = requestAnimationFrame(() => {
let t = Mp();
(!t || !gg(t)) && e({
width: document.documentElement.clientWidth,
@@ -31064,26 +31064,26 @@ function cae() {
});
}));
};
- return e(Ik()), rm() && am() && window.addEventListener("blur", i, !0), Fk ? Fk.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), rm() && am() && window.removeEventListener("blur", i, !0), Fk ? Fk.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(Lk()), rm() && am() && window.addEventListener("blur", i, !0), Ik ? Ik.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), rm() && am() && window.removeEventListener("blur", i, !0), Ik ? Ik.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function Ik() {
+function Lk() {
return {
- width: Fk ? Math.min(Fk.width * Fk.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Fk ? Fk.height * Fk.scale : document.documentElement.clientHeight
+ width: Ik ? Math.min(Ik.width * Ik.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Ik ? Ik.height * Ik.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var lae = /*#__PURE__*/ (0, I.createContext)(null), Lk = /*#__PURE__*/ (0, I.createContext)(null), uae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- if ((0, I.useContext)(Lk)) return /*#__PURE__*/ I.createElement(zk, {
+var cae = /*#__PURE__*/ (0, I.createContext)(null), Rk = /*#__PURE__*/ (0, I.createContext)(null), lae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ if ((0, I.useContext)(Rk)) return /*#__PURE__*/ I.createElement(Bk, {
...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__*/ I.createElement(Rk, {
+ return /*#__PURE__*/ I.createElement(zk, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -31093,15 +31093,15 @@ var lae = /*#__PURE__*/ (0, I.createContext)(null), Lk = /*#__PURE__*/ (0, I.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ I.createElement(zk, {
+ }, /*#__PURE__*/ I.createElement(Bk, {
...f,
modalRef: t
}, s));
});
-function dae(e, t) {
- [e, t] = HD(e, t, lae);
- let n = (0, I.useContext)(Nk), r = _k(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Ih(t), o = (0, I.useRef)(null), s = yk(a, i.isOpen), c = yk(o, i.isOpen), l = s || c || e.isExiting || !1, u = jm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(fae, {
+function uae(e, t) {
+ [e, t] = UD(e, t, cae);
+ let n = (0, I.useContext)(Pk), r = vk(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Ih(t), o = (0, I.useRef)(null), s = bk(a, i.isOpen), c = bk(o, i.isOpen), l = s || c || e.isExiting || !1, u = jm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ I.createElement(dae, {
...e,
state: i,
isExiting: l,
@@ -31109,9 +31109,9 @@ function dae(e, t) {
modalRef: o
});
}
-var Rk = /*#__PURE__*/ (0, I.forwardRef)(dae);
-function fae({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = _te(t, r, n), o = vk(t.overlayRef) || t.isEntering || !1, s = BD({
+var zk = /*#__PURE__*/ (0, I.forwardRef)(uae);
+function dae({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = _te(t, r, n), o = yk(t.overlayRef) || t.isEntering || !1, s = VD({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -31119,7 +31119,7 @@ function fae({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = cae(), l, u;
+ }), c = sae(), l, u;
if (typeof document < "u") {
let e = A_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
l = e.scrollWidth - t, u = e.scrollHeight - n;
@@ -31134,22 +31134,22 @@ function fae({ UNSTABLE_portalContainer: e, ...t }) {
return /*#__PURE__*/ I.createElement(xy, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ I.createElement(KD.div, {
+ }, /*#__PURE__*/ I.createElement(qD.div, {
...H(zg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ I.createElement(zD, { values: [[Lk, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [[Rk, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [Nk, r]] }, s.children)));
+ }], [Pk, r]] }, s.children)));
}
-function zk(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(Lk), a = (0, I.useContext)(Nk), o = Ih((0, I.useMemo)(() => _h(e.modalRef, n), [e.modalRef, n])), s = vk(o), c = BD({
+function Bk(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, I.useContext)(Rk), a = (0, I.useContext)(Pk), o = Ih((0, I.useMemo)(() => _h(e.modalRef, n), [e.modalRef, n])), s = yk(o), c = VD({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -31158,7 +31158,7 @@ function zk(e) {
state: a
}
});
- return /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(qD.div, {
...H(zg(e, { global: !0 }), t),
...c,
ref: o,
@@ -31168,9 +31168,9 @@ function zk(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var pae = Math.round(Math.random() * 1e10), mae = 0;
-function hae(e) {
- let t = (0, I.useMemo)(() => e.name || `radio-group-${pae}-${++mae}`, [e.name]), [n, r] = $_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = W_({
+var fae = Math.round(Math.random() * 1e10), pae = 0;
+function mae(e) {
+ let t = (0, I.useMemo)(() => e.name || `radio-group-${fae}-${++pae}`, [e.name]), [n, r] = $_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, I.useState)(n), [a, o] = (0, I.useState)(null), s = W_({
...e,
value: n
}), c = (t) => {
@@ -31193,16 +31193,16 @@ function hae(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var gae = /*#__PURE__*/ (0, I.createContext)(null), _ae = /*#__PURE__*/ (0, I.createContext)(null), Bk = /*#__PURE__*/ (0, I.createContext)(null), Vk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = HD(e, t, gae);
- let { validationBehavior: n } = VD(sO) || {}, r = e.validationBehavior ?? n ?? "native", i = hae({
+var hae = /*#__PURE__*/ (0, I.createContext)(null), gae = /*#__PURE__*/ (0, I.createContext)(null), Vk = /*#__PURE__*/ (0, I.createContext)(null), Hk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = UD(e, t, hae);
+ let { validationBehavior: n } = HD(cO) || {}, r = e.validationBehavior ?? n ?? "native", i = mae({
...e,
validationBehavior: r
- }), [a, o] = UD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = jte({
+ }), [a, o] = WD(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = jte({
...e,
label: o,
validationBehavior: r
- }, i), f = BD({
+ }, i), f = VD({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -31214,7 +31214,7 @@ var gae = /*#__PURE__*/ (0, I.createContext)(null), _ae = /*#__PURE__*/ (0, I.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(qD.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -31223,39 +31223,39 @@ var gae = /*#__PURE__*/ (0, I.createContext)(null), _ae = /*#__PURE__*/ (0, I.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(zD, { values: [
- [Bk, i],
- [eO, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [Vk, i],
+ [tO, {
...c,
ref: a,
elementType: "span"
}],
- [aO, { slots: {
+ [oO, { slots: {
description: l,
errorMessage: u
} }],
- [oO, d]
- ] }, /*#__PURE__*/ I.createElement($O, null, f.children)));
-}), Hk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [sO, d]
+ ] }, /*#__PURE__*/ I.createElement(ek, null, f.children)));
+}), Uk = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = HD(r, t, _ae);
- let i = I.useContext(Bk), a = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Ate({
- ...WD(e),
+ [e, t] = UD(r, t, gae);
+ let i = I.useContext(Vk), a = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Ate({
+ ...GD(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ I.createElement(Uk.Provider, { value: {
+ return /*#__PURE__*/ I.createElement(Wk.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ I.createElement(vae, {
+ } }, /*#__PURE__*/ I.createElement(_ae, {
...e,
ref: t
}));
-}), Uk = /*#__PURE__*/ (0, I.createContext)(null), vae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(Uk), l = I.useContext(Bk), { isFocused: u, isFocusVisible: d, focusProps: f } = wy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = jy({
+}), Wk = /*#__PURE__*/ (0, I.createContext)(null), _ae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, I.useContext)(Wk), l = I.useContext(Vk), { isFocused: u, isFocusVisible: d, focusProps: f } = wy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = jy({
...e,
isDisabled: p
- }), g = BD({
+ }), g = VD({
...e,
defaultClassName: s,
values: {
@@ -31270,7 +31270,7 @@ var gae = /*#__PURE__*/ (0, I.createContext)(null), _ae = /*#__PURE__*/ (0, I.cr
isRequired: l.isRequired
}
}), _ = zg(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(KD.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ I.createElement(qD.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -31289,8 +31289,8 @@ var gae = /*#__PURE__*/ (0, I.createContext)(null), _ae = /*#__PURE__*/ (0, I.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function yae(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = _k(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function vae(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = vk(e), [i, a] = (0, I.useState)(null), o = (0, I.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -31306,12 +31306,12 @@ function yae(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = dk({
+ }, d = fk({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, I.useMemo)(() => bae(l), [l]),
+ selectedKeys: (0, I.useMemo)(() => yae(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -31348,16 +31348,16 @@ function yae(e) {
setFocused: g
};
}
-function bae(e) {
+function yae(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 xae(e) {
+function bae(e) {
return e && e.__esModule ? e.default : e;
}
-var Wk = /*#__PURE__*/ (0, I.createContext)(null), Gk = /*#__PURE__*/ (0, I.createContext)(null), Sae = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = HD(e, t, Wk);
+var Gk = /*#__PURE__*/ (0, I.createContext)(null), Kk = /*#__PURE__*/ (0, I.createContext)(null), xae = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = UD(e, t, Gk);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, I.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -31372,24 +31372,24 @@ var Wk = /*#__PURE__*/ (0, I.createContext)(null), Gk = /*#__PURE__*/ (0, I.crea
i,
a
]);
- return /*#__PURE__*/ I.createElement($h, { content: o }, (n) => /*#__PURE__*/ I.createElement(wae, {
+ return /*#__PURE__*/ I.createElement($h, { content: o }, (n) => /*#__PURE__*/ I.createElement(Cae, {
props: e,
collection: n,
selectRef: t
}));
-}), Cae = [
- eO,
+}), Sae = [
tO,
- aO
+ nO,
+ oO
];
-function wae({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = VD(sO) || {}, i = e.validationBehavior ?? r ?? "native", a = yae({
+function Cae({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = HD(cO) || {}, i = e.validationBehavior ?? r ?? "native", a = vae({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = wy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = UD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Mte({
- ...WD(e),
+ }), { isFocusVisible: o, focusProps: s } = wy({ within: !0 }), c = (0, I.useRef)(null), [l, u] = WD(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Mte({
+ ...GD(e),
label: u,
validationBehavior: i
}, a, c), y = (0, I.useMemo)(() => ({
@@ -31406,48 +31406,48 @@ function wae({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = BD({
+ ]), b = VD({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), x = zg(e, { global: !0 });
delete x.id;
let S = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(zD, { values: [
- [Wk, e],
- [Gk, a],
- [Kk, p],
- [eO, {
+ return /*#__PURE__*/ I.createElement(BD, { values: [
+ [Gk, e],
+ [Kk, a],
+ [qk, p],
+ [tO, {
...d,
ref: l,
elementType: "span"
}],
- [tO, {
+ [nO, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [Nk, a],
- [xk, {
+ [Pk, a],
+ [Sk, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Cae
+ clearContexts: Sae
}],
- [mk, {
+ [hk, {
...m,
ref: S
}],
- [hk, a],
- [aO, { slots: {
+ [gk, a],
+ [oO, { slots: {
description: h,
errorMessage: g
} }],
- [oO, v]
- ] }, /*#__PURE__*/ I.createElement(KD.div, {
+ [sO, v]
+ ] }, /*#__PURE__*/ I.createElement(qD.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -31462,9 +31462,9 @@ function wae({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = HD(e, t, Kk);
- let n = (0, I.useContext)(Gk), { placeholder: r } = VD(Wk), i = n.selectedItems.map((e) => {
+for (var qk = /*#__PURE__*/ (0, I.createContext)(null), wae = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = UD(e, t, qk);
+ let n = (0, I.useContext)(Kk), { placeholder: r } = HD(Gk), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -31491,7 +31491,7 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(f
a,
o,
i
- ]), u = Lg(xae(qO), "react-aria-components"), d = BD({
+ ]), u = Lg(bae(JO), "react-aria-components"), d = VD({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -31503,32 +31503,32 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(f
state: n
}
}), f = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(KD.span, {
+ return /*#__PURE__*/ I.createElement(qD.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ I.createElement(aO.Provider, { value: void 0 }, d.children));
-}), Eae = /*#__PURE__*/ (0, I.createContext)(null), qk = /*#__PURE__*/ (0, I.createContext)(null), Dae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ I.createElement(oO.Provider, { value: void 0 }, d.children));
+}), Tae = /*#__PURE__*/ (0, I.createContext)(null), Jk = /*#__PURE__*/ (0, I.createContext)(null), Eae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = HD(r, t, Eae);
+ [e, t] = UD(r, t, Tae);
let i = Ih((0, I.useMemo)(() => _h(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ev(e), o = Ite({
- ...WD(e),
+ ...GD(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ I.createElement(zD, { values: [[qk, a], [Jk, {
+ return /*#__PURE__*/ I.createElement(BD, { values: [[Jk, a], [Yk, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ I.createElement(Oae, {
+ }]] }, /*#__PURE__*/ I.createElement(Dae, {
...e,
ref: t
}));
-}), Jk = /*#__PURE__*/ (0, I.createContext)(null), Oae = /*#__PURE__*/ (0, I.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, I.useContext)(Jk), { isFocused: f, isFocusVisible: p, focusProps: m } = wy(), h = a || o, g = (0, I.useContext)(qk), { hoverProps: _, isHovered: v } = jy({
+}), Yk = /*#__PURE__*/ (0, I.createContext)(null), Dae = /*#__PURE__*/ (0, I.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, I.useContext)(Yk), { isFocused: f, isFocusVisible: p, focusProps: m } = wy(), h = a || o, g = (0, I.useContext)(Jk), { hoverProps: _, isHovered: v } = jy({
...e,
isDisabled: h
- }), y = BD({
+ }), y = VD({
...e,
defaultClassName: u,
values: {
@@ -31544,7 +31544,7 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(f
state: g
}
}), b = zg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(KD.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ I.createElement(qD.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -31561,7 +31561,7 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(f
...H(r, m),
ref: l
})), y.children);
-}), Yk = 10, Xk = 5, kae = class {
+}), Xk = 10, Zk = 5, Oae = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -31571,7 +31571,7 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(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) > Xk && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Yk && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > Zk && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Xk && (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);
@@ -31650,11 +31650,11 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > Xk && i) {
+ if (Math.abs(r - c.lastSwitchY) > Zk && 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 > Yk && a) {
+ if (l > Xk && 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;
}
@@ -31669,7 +31669,7 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(f
boundaryContext: null
};
}
-}, Aae = class {
+}, kae = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -31739,8 +31739,8 @@ for (var Kk = /*#__PURE__*/ (0, I.createContext)(null), Tae = /*#__PURE__*/ Uh(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, Zk = "row-header-column-" + Math.random().toString(36).slice(2), Qk = "row-header-column-" + Math.random().toString(36).slice(2); Zk === Qk;) Qk = "row-header-column-" + Math.random().toString(36).slice(2);
-function $k(e, t) {
+}, Qk = "row-header-column-" + Math.random().toString(36).slice(2), $k = "row-header-column-" + Math.random().toString(36).slice(2); Qk === $k;) $k = "row-header-column-" + Math.random().toString(36).slice(2);
+function eA(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -31824,13 +31824,13 @@ function $k(e, t) {
textValue: ""
}));
}
-var jae = class extends Aae {
+var Aae = class extends kae {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: Zk,
+ key: Qk,
value: null,
textValue: "",
level: 0,
@@ -31845,7 +31845,7 @@ var jae = class extends Aae {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: Qk,
+ key: $k,
value: null,
textValue: "",
level: 0,
@@ -31872,7 +31872,7 @@ var jae = class extends Aae {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = $k(s, a);
+ let l = eA(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -31933,8 +31933,8 @@ var jae = class extends Aae {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Mae(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || ak(e), i = (0, I.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function jae(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || ok(e), i = (0, I.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);
@@ -31945,7 +31945,7 @@ function Mae(e) {
}
a(e, r);
};
- let o = (0, I.useMemo)(() => new sk(t, r), [t, r]), s = (0, I.useRef)(null);
+ let o = (0, I.useMemo)(() => new ck(t, r), [t, r]), s = (0, I.useRef)(null);
return (0, I.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;
@@ -31984,11 +31984,11 @@ function Mae(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Nae = {
+var Mae = {
ascending: "descending",
descending: "ascending"
};
-function Pae(e) {
+function Nae(e) {
let [t, n] = (0, I.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, I.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -31999,7 +31999,7 @@ function Pae(e) {
i,
r,
a
- ]), c = uk(e, (0, I.useCallback)((e) => new jae(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Mae({
+ ]), c = dk(e, (0, I.useCallback)((e) => new Aae(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = jae({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -32015,7 +32015,7 @@ function Pae(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Nae[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Mae[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -32028,7 +32028,7 @@ function Pae(e) {
treeColumn: o
};
}
-function Fae(e, t) {
+function Pae(e, t) {
let n = (0, I.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -32038,7 +32038,7 @@ function Fae(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Iae = class extends lp {
+var Fae = class extends lp {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -32053,7 +32053,7 @@ var Iae = class extends lp {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new oA(-2);
+ return new sA(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -32079,7 +32079,7 @@ var Iae = class extends lp {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = $k(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 = eA(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;
@@ -32160,11 +32160,11 @@ var Iae = class extends lp {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new rA(-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 iA(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Lae = /*#__PURE__*/ (0, I.createContext)(null), Rae = /*#__PURE__*/ (0, I.createContext)(null), eA = /*#__PURE__*/ (0, I.createContext)(null), tA = /*#__PURE__*/ (0, I.createContext)(null), zae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = HD(e, t, Rae);
- let n = ak(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
+}, Iae = /*#__PURE__*/ (0, I.createContext)(null), Lae = /*#__PURE__*/ (0, I.createContext)(null), tA = /*#__PURE__*/ (0, I.createContext)(null), nA = /*#__PURE__*/ (0, I.createContext)(null), Rae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = UD(e, t, Lae);
+ let n = ok(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, I.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -32174,26 +32174,26 @@ var Iae = class extends lp {
i,
a,
o
- ]), c = /*#__PURE__*/ I.createElement(Hae.Provider, { value: s }, /*#__PURE__*/ I.createElement(ug, e));
+ ]), c = /*#__PURE__*/ I.createElement(Vae.Provider, { value: s }, /*#__PURE__*/ I.createElement(ug, e));
return /*#__PURE__*/ I.createElement($h, {
content: c,
- createCollection: () => new Iae()
- }, (r) => /*#__PURE__*/ I.createElement(Vae, {
+ createCollection: () => new Fae()
+ }, (r) => /*#__PURE__*/ I.createElement(Bae, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Bae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+}), zae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.table, {
+ }) : /*#__PURE__*/ I.createElement(qD.table, {
...e,
ref: t
});
-}), nA = {
+}), rA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -32203,26 +32203,26 @@ var Iae = class extends lp {
rtl: "ArrowRight"
}
};
-function Vae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = HD(e, t, qD);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(Lae);
+function Bae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = UD(e, t, JD);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, I.useContext)(Iae);
t = Ih((0, I.useMemo)(() => _h(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = $_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, I.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Pae({
+ let d = Nae({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Fae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)(QD), { dragAndDropHooks: _ } = e, { gridProps: v } = Hte({
+ }), f = Pae(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, I.useContext)($D), { dragAndDropHooks: _ } = e, { gridProps: v } = Hte({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, I.useRef)(b), (0, I.useRef)(x), (0, I.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = Eg(), [k] = (0, I.useState)(() => new kae());
+ let S, C, w, T = !1, E = null, D = (0, I.useRef)(null), { direction: O } = Eg(), [k] = (0, I.useState)(() => new Oae());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -32257,12 +32257,12 @@ function Vae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === nA.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === nA.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === rA.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === rA.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = wy(), N = BD({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = wy(), N = VD({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -32279,18 +32279,18 @@ function Vae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let ne = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(zD, { values: [
- [eA, f],
- [tA, P],
- [JO, {
+ return /*#__PURE__*/ I.createElement(BD, { values: [
+ [tA, f],
+ [nA, P],
+ [YO, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [YO, { render: Qae }],
- [qD, null],
- [JD, null]
- ] }, /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(Bae, {
+ [XO, { render: Zae }],
+ [JD, null],
+ [YD, null]
+ ] }, /*#__PURE__*/ I.createElement(l_, null, /*#__PURE__*/ I.createElement(zae, {
...H(ne, N, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -32300,31 +32300,31 @@ function Vae({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ I.createElement($O, null, /*#__PURE__*/ I.createElement(g, {
+ }, /*#__PURE__*/ I.createElement(ek, null, /*#__PURE__*/ I.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: ZO(y, _, C)
+ persistedKeys: QO(y, _, C)
})))), E);
}
-var Hae = /*#__PURE__*/ (0, I.createContext)(null), rA = class extends ip {
+var Vae = /*#__PURE__*/ (0, I.createContext)(null), iA = class extends ip {
static {
this.type = "tableheader";
}
-}, Uae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+}, Hae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.thead, {
+ }) : /*#__PURE__*/ I.createElement(qD.thead, {
...e,
ref: t
});
-}), iA = /*#__PURE__*/ sg(rA, (e, t) => {
- let n = (0, I.useContext)(eA).collection, r = mp({
+}), aA = /*#__PURE__*/ sg(iA, (e, t) => {
+ let n = (0, I.useContext)(tA).collection, r = mp({
items: n.headerRows,
children: (0, I.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ I.createElement(Gae, { item: e });
+ case "headerrow": return /*#__PURE__*/ I.createElement(Wae, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
@@ -32332,13 +32332,13 @@ var Hae = /*#__PURE__*/ (0, I.createContext)(null), rA = class extends ip {
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = BD({
+ }), s = VD({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ I.createElement(Uae, {
+ return /*#__PURE__*/ I.createElement(Hae, {
...H(zg(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -32347,8 +32347,8 @@ var Hae = /*#__PURE__*/ (0, I.createContext)(null), rA = class extends ip {
}, (e) => /*#__PURE__*/ I.createElement(ug, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Wae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
+}, e.children)), Uae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
return n ? /*#__PURE__*/ I.createElement("div", {
...e,
ref: t
@@ -32357,41 +32357,41 @@ var Hae = /*#__PURE__*/ (0, I.createContext)(null), rA = class extends ip {
ref: t
});
});
-function Gae({ item: e }) {
- let t = (0, I.useRef)(null), n = (0, I.useContext)(eA), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)(QD), { rowProps: a } = SS({
+function Wae({ item: e }) {
+ let t = (0, I.useRef)(null), n = (0, I.useContext)(tA), { isVirtualized: r, CollectionBranch: i } = (0, I.useContext)($D), { rowProps: a } = SS({
node: e,
isVirtualized: r
}, n, t), { checkboxProps: o } = MS(n);
- return /*#__PURE__*/ I.createElement(Wae, {
+ return /*#__PURE__*/ I.createElement(Uae, {
...a,
ref: t
- }, /*#__PURE__*/ I.createElement(zD, { values: [[cO, { slots: { selection: o } }], [lO, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [[lO, { slots: { selection: o } }], [uO, { slots: { selection: o } }]] }, /*#__PURE__*/ I.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Kae = class extends ip {
+var Gae = class extends ip {
static {
this.type = "column";
}
-}, qae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+}, Kae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.th, {
+ }) : /*#__PURE__*/ I.createElement(qD.th, {
...e,
ref: t
});
-}), aA = /*#__PURE__*/ og(Kae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(eA), { isVirtualized: a } = (0, I.useContext)(QD), { columnHeaderProps: o, isPressed: s } = xS({
+}), oA = /*#__PURE__*/ og(Gae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(tA), { isVirtualized: a } = (0, I.useContext)($D), { columnHeaderProps: o, isPressed: s } = xS({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wy(), d = (0, I.useContext)(tA), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wy(), d = (0, I.useContext)(nA), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = jy({ isDisabled: !e.allowsSorting }), h = BD({
+ let { hoverProps: p, isHovered: m } = jy({ isDisabled: !e.allowsSorting }), h = VD({
...e,
id: void 0,
children: n.rendered,
@@ -32418,7 +32418,7 @@ var Kae = class extends ip {
width: d.getColumnWidth(n.key)
});
let _ = zg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ I.createElement(qae, {
+ return delete _.id, /*#__PURE__*/ I.createElement(Kae, {
...H(_, o, u, p),
...h,
style: g,
@@ -32430,28 +32430,28 @@ var Kae = class extends ip {
"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__*/ I.createElement(zD, { values: [[Jae, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [[qae, {
column: n,
triggerRef: r
- }], [QD, XD]] }, h.children));
-}), Jae = /*#__PURE__*/ (0, I.createContext)(null), oA = class extends ap {
+ }], [$D, ZD]] }, h.children));
+}), qae = /*#__PURE__*/ (0, I.createContext)(null), sA = class extends ap {
static {
this.type = "tablebody";
}
-}, Yae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+}, Jae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.tbody, {
+ }) : /*#__PURE__*/ I.createElement(qD.tbody, {
...e,
ref: t
});
-}), sA = /*#__PURE__*/ sg(oA, (e, t, n) => {
- let r = (0, I.useContext)(eA), { isVirtualized: i } = (0, I.useContext)(QD), a = r.collection, { CollectionBranch: o } = (0, I.useContext)(QD), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(JO), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), cA = /*#__PURE__*/ sg(sA, (e, t, n) => {
+ let r = (0, I.useContext)(tA), { isVirtualized: i } = (0, I.useContext)($D), a = r.collection, { CollectionBranch: o } = (0, I.useContext)($D), { dragAndDropHooks: s, dropState: c } = (0, I.useContext)(YO), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = BD({
+ }, p = VD({
...e,
id: void 0,
children: void 0,
@@ -32460,25 +32460,25 @@ var Kae = class extends ip {
}), 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__*/ I.createElement(lA, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ I.createElement(uA, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ I.createElement(dA, {
+ }, /*#__PURE__*/ I.createElement(fA, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
let { rowGroupProps: g } = kS(), _ = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(Yae, {
+ return /*#__PURE__*/ I.createElement(Jae, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ I.createElement(roe, null), /*#__PURE__*/ I.createElement(o, {
+ }, l && /*#__PURE__*/ I.createElement(noe, null), /*#__PURE__*/ I.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: XO(s, c)
+ renderDropIndicator: ZO(s, c)
}), m);
});
(class extends ap {
@@ -32486,7 +32486,7 @@ var Kae = class extends ip {
this.type = "tablefooter";
}
});
-var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xae = class extends ip {
+var lA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Yae = class extends ip {
static {
this.type = "item";
}
@@ -32498,17 +32498,17 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
}
return null;
}
-}, lA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+}, uA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.tr, {
+ }) : /*#__PURE__*/ I.createElement(qD.tr, {
...e,
ref: t
});
-}), uA = /*#__PURE__*/ sg(Xae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(eA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(JO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)(QD), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ES({
+}), dA = /*#__PURE__*/ sg(Yae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(tA), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, I.useContext)(YO), { isVirtualized: c, CollectionBranch: l } = (0, I.useContext)($D), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ES({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -32532,7 +32532,7 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
(0, I.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = BD({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = VD({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -32554,10 +32554,10 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
level: n.level + 1
}
}), N = zg(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(lA, {
+ return delete N.id, delete N.onClick, /*#__PURE__*/ I.createElement(I.Fragment, null, C && !C.isHidden && /*#__PURE__*/ I.createElement(uA, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(dA, {
+ }, /*#__PURE__*/ I.createElement(fA, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -32566,7 +32566,7 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ I.createElement(lA, {
+ }))), /*#__PURE__*/ I.createElement(uA, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -32582,17 +32582,17 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(zD, { values: [
- [cO, { slots: {
- [RD]: {},
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [lO, { slots: {
+ [zD]: {},
selection: x
} }],
- [lO, { slots: {
- [RD]: {},
+ [uO, { slots: {
+ [zD]: {},
selection: x
} }],
- [tO, { slots: {
- [RD]: {},
+ [nO, { slots: {
+ [zD]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -32600,8 +32600,8 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
style: { pointerEvents: "none" }
}
} }],
- [ek, { isSelected: p.isSelected }],
- [cA, { isFocusVisibleWithinRow: _ }]
+ [tk, { isSelected: p.isSelected }],
+ [lA, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ I.createElement(l, {
collection: i.collection,
parent: n
@@ -32614,21 +32614,21 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
items: e.columns,
idScope: e.id
}, e.children);
-}), Zae = class extends ip {
+}), Xae = class extends ip {
static {
this.type = "cell";
}
-}, dA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+}, fA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.td, {
+ }) : /*#__PURE__*/ I.createElement(qD.td, {
...e,
ref: t
});
-}), fA = /*#__PURE__*/ og(Zae, (e, t, n) => {
- let r = Ih(t), i = (0, I.useContext)(eA), { dragState: a } = (0, I.useContext)(JO), { isVirtualized: o } = (0, I.useContext)(QD);
+}), pA = /*#__PURE__*/ og(Xae, (e, t, n) => {
+ let r = Ih(t), i = (0, I.useContext)(tA), { dragState: a } = (0, I.useContext)(YO), { isVirtualized: o } = (0, I.useContext)($D);
n.column = i.collection.columns[n.index];
let { gridCellProps: s, isPressed: c } = yS({
node: n,
@@ -32636,7 +32636,7 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wy(), { hoverProps: f, isHovered: p } = jy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(cA), 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 = BD({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wy(), { hoverProps: f, isHovered: p } = jy({}), { isFocusVisibleWithinRow: m } = (0, I.useContext)(lA), 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 = VD({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -32656,7 +32656,7 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
isTreeColumn: n.column.key === i.treeColumn
}
}), S = zg(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ I.createElement(dA, {
+ return delete S.id, /*#__PURE__*/ I.createElement(fA, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -32670,14 +32670,14 @@ var cA = /*#__PURE__*/ (0, I.createContext)({ isFocusVisibleWithinRow: !1 }), Xa
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ I.createElement(QD.Provider, { value: XD }, x.children));
+ }, /*#__PURE__*/ I.createElement($D.Provider, { value: ZD }, x.children));
});
-function Qae(e, t) {
+function Zae(e, t) {
t = Ih(t);
- let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(JO), i = (0, I.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, I.useContext)(YO), i = (0, I.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__*/ I.createElement(noe, {
+ return /*#__PURE__*/ I.createElement(toe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -32686,40 +32686,40 @@ function Qae(e, t) {
ref: t
});
}
-var $ae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+var Qae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.tr, {
+ }) : /*#__PURE__*/ I.createElement(qD.tr, {
...e,
ref: t
});
-}), eoe = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, I.useContext)(QD);
- return n ? /*#__PURE__*/ I.createElement(KD.div, {
+}), $ae = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, I.useContext)($D);
+ return n ? /*#__PURE__*/ I.createElement(qD.div, {
...e,
ref: t
- }) : /*#__PURE__*/ I.createElement(KD.td, {
+ }) : /*#__PURE__*/ I.createElement(qD.td, {
...e,
ref: t
});
});
-function toe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(eA), { visuallyHiddenProps: c } = rv(), l = BD({
+function eoe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, I.useContext)(tA), { visuallyHiddenProps: c } = rv(), l = VD({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ I.createElement($ae, {
+ return /*#__PURE__*/ I.createElement(Qae, {
...zg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ I.createElement(eoe, {
+ }, /*#__PURE__*/ I.createElement($ae, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -32730,14 +32730,14 @@ function toe(e, t) {
ref: i
}), l.children));
}
-var noe = /*#__PURE__*/ (0, I.forwardRef)(toe);
-function roe() {
- let e = (0, I.useContext)(eA), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(JO), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = rv();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(lA, {
+var toe = /*#__PURE__*/ (0, I.forwardRef)(eoe);
+function noe() {
+ let e = (0, I.useContext)(tA), { dragAndDropHooks: t, dropState: n } = (0, I.useContext)(YO), r = (0, I.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = rv();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ I.createElement(uA, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ I.createElement(dA, {
+ }, /*#__PURE__*/ I.createElement(fA, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -32749,8 +32749,8 @@ function roe() {
})));
}
og(op, function(e, t, n) {
- let r = (0, I.useContext)(eA), { isVirtualized: i } = (0, I.useContext)(QD), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
- pk((0, I.useMemo)(() => ({
+ let r = (0, I.useContext)(tA), { isVirtualized: i } = (0, I.useContext)($D), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, I.useRef)(null);
+ mk((0, I.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -32760,7 +32760,7 @@ og(op, function(e, t, n) {
s,
r?.collection
]), u);
- let d = BD({
+ let d = VD({
...c,
id: void 0,
children: n.rendered,
@@ -32768,10 +32768,10 @@ og(op, 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__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(lA, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(uA, {
style: { height: 0 },
- inert: nk(!0)
- }, /*#__PURE__*/ I.createElement(dA, { style: {
+ inert: rk(!0)
+ }, /*#__PURE__*/ I.createElement(fA, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ I.createElement("div", {
@@ -32782,14 +32782,14 @@ og(op, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ I.createElement(lA, {
+ }))), a && d.children && /*#__PURE__*/ I.createElement(uA, {
...H(zg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ I.createElement(dA, {
+ }, /*#__PURE__*/ I.createElement(fA, {
role: "rowheader",
...p,
style: m
@@ -32797,8 +32797,8 @@ og(op, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function ioe(e) {
- let [t, n] = $_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = dk({
+function roe(e) {
+ let [t, n] = $_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, I.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = fk({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -32821,24 +32821,24 @@ function ioe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function aoe(e) {
- let t = ioe({
+function ioe(e) {
+ let t = roe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? pA(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? mA(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, I.useRef)(i);
return (0, I.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = pA(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 = mA(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 pA(e, t) {
+function mA(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);
@@ -32848,20 +32848,20 @@ function pA(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var mA = /*#__PURE__*/ (0, I.createContext)(null), hA = /*#__PURE__*/ (0, I.createContext)(null), gA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- [e, t] = HD(e, t, mA);
+var hA = /*#__PURE__*/ (0, I.createContext)(null), gA = /*#__PURE__*/ (0, I.createContext)(null), _A = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ [e, t] = UD(e, t, hA);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, I.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ I.createElement($h, { content: n }, (n) => /*#__PURE__*/ I.createElement(ooe, {
+ }) : n, [n, r]), /*#__PURE__*/ I.createElement($h, { content: n }, (n) => /*#__PURE__*/ I.createElement(aoe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function ooe({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = aoe({
+function aoe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = ioe({
...e,
collection: n,
children: void 0
@@ -32873,12 +32873,12 @@ function ooe({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = BD({
+ ]), l = VD({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = zg(e, { global: !0 });
- return /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(qD.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -32886,20 +32886,20 @@ function ooe({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ I.createElement(zD, { values: [[mA, e], [hA, i]] }, l.children));
+ }, /*#__PURE__*/ I.createElement(BD, { values: [[hA, e], [gA, i]] }, l.children));
}
-var _A = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- return (0, I.useContext)(hA) ? /*#__PURE__*/ I.createElement(soe, {
+var vA = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
+ return (0, I.useContext)(gA) ? /*#__PURE__*/ I.createElement(ooe, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ I.createElement(ug, e);
});
-function soe({ props: e, forwardedRef: t }) {
- let n = (0, I.useContext)(hA), { CollectionRoot: r } = (0, I.useContext)(QD), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = VD(mA), o = Ih(t), { tabListProps: s } = LS({
+function ooe({ props: e, forwardedRef: t }) {
+ let n = (0, I.useContext)(gA), { CollectionRoot: r } = (0, I.useContext)($D), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = HD(hA), o = Ih(t), { tabListProps: s } = LS({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = BD({
+ }, n, o), c = VD({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -32908,21 +32908,21 @@ function soe({ props: e, forwardedRef: t }) {
state: n
}
}), l = zg(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ I.createElement(KD.div, {
+ return delete l.id, /*#__PURE__*/ I.createElement(qD.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ I.createElement($O, null, /*#__PURE__*/ I.createElement(r, {
+ }, /*#__PURE__*/ I.createElement(ek, null, /*#__PURE__*/ I.createElement(r, {
collection: n.collection,
- persistedKeys: $D(n.selectionManager.focusedKey)
+ persistedKeys: eO(n.selectionManager.focusedKey)
})));
}
-var vA = /*#__PURE__*/ og(class extends ip {
+var yA = /*#__PURE__*/ og(class extends ip {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, I.useContext)(hA), i = Ih(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = FS({
+ let r = (0, I.useContext)(gA), i = Ih(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = FS({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = wy(), { hoverProps: f, isHovered: p } = jy({
@@ -32930,7 +32930,7 @@ var vA = /*#__PURE__*/ og(class extends ip {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = BD({
+ }), m = VD({
...e,
id: void 0,
children: n.rendered,
@@ -32943,7 +32943,7 @@ var vA = /*#__PURE__*/ og(class extends ip {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? KD.a : KD.div, g = zg(e, { global: !0 });
+ }), h = n.props.href ? qD.a : qD.div, g = zg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ I.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -32953,26 +32953,26 @@ var vA = /*#__PURE__*/ og(class extends ip {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ I.createElement(ek.Provider, { value: { isSelected: o } }, m.children));
-}), yA = /*#__PURE__*/ Uh(function(e, t) {
- let n = (0, I.useContext)(hA), r = Ih(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ I.createElement(tk.Provider, { value: { isSelected: o } }, m.children));
+}), bA = /*#__PURE__*/ Uh(function(e, t) {
+ let n = (0, I.useContext)(gA), r = Ih(t), i = n.selectedKey === e.id, [a, o] = (0, I.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = yk(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(coe, {
+ let s = bk(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ I.createElement(soe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function coe(e) {
- let t = (0, I.useContext)(hA), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = RS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wy(), d = t.selectedKey === e.id, f = vk(r) && !i, p = BD({
+function soe(e) {
+ let t = (0, I.useContext)(gA), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = RS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wy(), d = t.selectedKey === e.id, f = yk(r) && !i, p = VD({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: nk(!d),
+ isInert: rk(!d),
isEntering: f,
isExiting: a,
state: t
@@ -32980,31 +32980,31 @@ function coe(e) {
}), m = zg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ I.createElement(KD.div, {
+ return /*#__PURE__*/ I.createElement(qD.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: nk(!d || e.inert),
+ inert: rk(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ I.createElement(zD, { values: [[mA, null], [hA, null]] }, /*#__PURE__*/ I.createElement(QD.Provider, { value: XD }, p.children)));
+ }, /*#__PURE__*/ I.createElement(BD, { values: [[hA, null], [gA, null]] }, /*#__PURE__*/ I.createElement($D.Provider, { value: ZD }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var loe = /*#__PURE__*/ (0, I.createContext)({}), uoe = /*#__PURE__*/ (0, I.createContext)(null), doe = /*#__PURE__*/ Uh(function(e, t) {
- [e, t] = HD(e, t, uoe);
- let { validationBehavior: n } = VD(sO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
- [e, i] = HD(e, i, JD);
- let [a, o] = UD(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Wee({
- ...WD(e),
+var coe = /*#__PURE__*/ (0, I.createContext)({}), loe = /*#__PURE__*/ (0, I.createContext)(null), uoe = /*#__PURE__*/ Uh(function(e, t) {
+ [e, t] = UD(e, t, loe);
+ let { validationBehavior: n } = HD(cO) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, I.useRef)(null);
+ [e, i] = UD(e, i, YD);
+ let [a, o] = WD(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, I.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Wee({
+ ...GD(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, I.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = BD({
+ }, [i]), h = VD({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -33014,7 +33014,7 @@ var loe = /*#__PURE__*/ (0, I.createContext)({}), uoe = /*#__PURE__*/ (0, I.crea
},
defaultClassName: "react-aria-TextField"
}), g = zg(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ I.createElement(KD.div, {
+ return delete g.id, /*#__PURE__*/ I.createElement(qD.div, {
...g,
...h,
ref: t,
@@ -33023,31 +33023,31 @@ var loe = /*#__PURE__*/ (0, I.createContext)({}), uoe = /*#__PURE__*/ (0, I.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ I.createElement(zD, { values: [
- [eO, {
+ }, /*#__PURE__*/ I.createElement(BD, { values: [
+ [tO, {
...l,
ref: a
}],
- [fO, {
+ [pO, {
...u,
ref: m
}],
- [loe, {
+ [coe, {
...u,
ref: m
}],
- [dO, {
+ [fO, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [aO, { slots: {
+ [oO, { slots: {
description: d,
errorMessage: f
} }],
- [oO, p]
+ [sO, p]
] }, h.children));
-}), foe = {
+}), doe = {
selection: {
type: oi,
duration: .16,
@@ -33059,7 +33059,7 @@ var loe = /*#__PURE__*/ (0, I.createContext)({}), uoe = /*#__PURE__*/ (0, I.crea
bounce: 0
}
};
-function bA(e) {
+function xA(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!t) return;
@@ -33080,7 +33080,7 @@ function bA(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 = np(n, { transform: [r, E] }, foe[e]);
+ l = np(n, { transform: [r, E] }, doe[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -33117,16 +33117,16 @@ function bA(e) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function xA(e) {
- let t = bA("hover");
- return /* @__PURE__ */ (0, L.jsx)(Pk, {
+function SA(e) {
+ let t = xA("hover");
+ return /* @__PURE__ */ (0, L.jsx)(Fk, {
...e,
ref: t
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var SA = cw({
+var CA = cw({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33150,15 +33150,15 @@ var SA = cw({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function CA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = sw(SA.base, SA.size[t], SA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+function wA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = sw(CA.base, CA.size[t], CA.variant[e], a), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: SA.icon[t],
+ className: CA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, L.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, L.jsx)(r, {
- className: SA.icon[t],
+ className: CA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -33185,7 +33185,7 @@ function CA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var wA = [
+var TA = [
"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",
@@ -33193,74 +33193,74 @@ var wA = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), poe = "w-[266px]", moe = "flex w-full flex-col gap-1 outline-none", TA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), EA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), foe = "w-[266px]", poe = "flex w-full flex-col gap-1 outline-none", EA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), DA = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var hoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", goe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", _oe = gw({
+var moe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", hoe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", goe = gw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), voe = {
+}), _oe = {
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"
-}, yoe = {
+}, voe = {
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"
-}, boe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", xoe = {
+}, yoe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", boe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, Soe = gw({
+}, xoe = gw({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), DA = "border-t border-border-button-default p-4 first:border-t-0";
-function OA({ tone: e = "neutral", status: t, children: n }) {
+}), OA = "border-t border-border-button-default p-4 first:border-t-0";
+function kA({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${boe} ${xoe[e]}`,
+ className: `${yoe} ${boe[e]}`,
children: [t ? /* @__PURE__ */ (0, L.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 kA({ id: e, children: t }) {
+function AA({ id: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function AA({ id: e, gap: t = "none", children: n }) {
+function jA({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, L.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function jA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function MA({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${_oe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${goe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: voe[e],
+ className: _oe[e],
children: a
}), i ? /* @__PURE__ */ (0, L.jsx)("footer", {
- className: yoe[e],
+ className: voe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function MA() {
+function NA() {
let e = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
h(e.current);
@@ -33268,7 +33268,7 @@ function MA() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var NA = cw({
+var PA = cw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -33289,21 +33289,21 @@ var NA = cw({
small: "size-4 shrink-0"
}
});
-function PA({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function FA({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
ref: i,
type: r,
- className: sw(NA.base, NA.size[t], n),
+ className: sw(PA.base, PA.size[t], n),
...a,
children: /* @__PURE__ */ (0, L.jsx)(e, {
- className: NA.icon[t],
+ className: PA.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function FA({ className: e }) {
+function IA({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33316,8 +33316,8 @@ function FA({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-open" })
});
}
-var IA = "打开文件管理器失败,请重试";
-function LA({ path: e, prefix: t, className: n, onRevealed: r }) {
+var LA = "打开文件管理器失败,请重试";
+function RA({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(""), c = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
c.current = !1;
@@ -33328,7 +33328,7 @@ function LA({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof pw ? e.message : IA);
+ c.current && s(e instanceof pw ? e.message : LA);
} finally {
c.current && a(!1);
}
@@ -33341,8 +33341,8 @@ function LA({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, L.jsxs)("p", {
className: sw("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, L.jsx)(PA, {
- icon: FA,
+ }), /* @__PURE__ */ (0, L.jsx)(FA, {
+ icon: IA,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -33357,7 +33357,7 @@ function LA({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function RA({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function zA({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-task-progress": !0,
className: r ? "flex flex-col gap-1.5" : gw({
@@ -33377,19 +33377,19 @@ function RA({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function zA({ className: e, children: t }) {
+function BA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: sw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function BA({ className: e, children: t }) {
+function VA({ className: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
className: sw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function VA({ label: e, description: t, children: n }) {
+function HA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: sw("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -33406,14 +33406,14 @@ function VA({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function HA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function UA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(BA, { children: e })
+ children: /* @__PURE__ */ (0, L.jsx)(VA, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, L.jsx)(BA, { children: e }), /* @__PURE__ */ (0, L.jsx)(zA, { children: i })] });
+ }) : /* @__PURE__ */ (0, L.jsx)(VA, { children: e }), /* @__PURE__ */ (0, L.jsx)(BA, { children: i })] });
return r ? /* @__PURE__ */ (0, L.jsx)("form", {
id: t,
"aria-label": e,
@@ -33428,13 +33428,13 @@ function HA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function UA({ children: e }) {
+function WA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function WA({ divided: e = !1, children: t }) {
+function GA({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -33443,7 +33443,7 @@ function WA({ divided: e = !1, children: t }) {
children: t
});
}
-function GA({ status: e, children: t }) {
+function KA({ status: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -33452,43 +33452,48 @@ function GA({ status: e, children: t }) {
}) : null, t]
});
}
-function KA({ role: e, children: t }) {
+function qA({ role: e, children: t }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function qA({ children: e }) {
+function JA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function JA({ children: e }) {
+function YA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function YA({ href: e, children: t }) {
- return /* @__PURE__ */ (0, L.jsx)(CA, {
+function XA({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, L.jsx)(wA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
+ leadingIcon: n,
trailingIcon: rC,
- children: t
+ className: "min-w-0 max-w-full",
+ children: /* @__PURE__ */ (0, L.jsx)("span", {
+ className: "min-w-0 whitespace-normal break-all",
+ children: t
+ })
});
}
-function XA({ children: e }) {
+function ZA({ children: e }) {
return /* @__PURE__ */ (0, L.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function ZA({ term: e, children: t }) {
+function QA({ term: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, L.jsx)("dt", {
@@ -33500,7 +33505,7 @@ function ZA({ term: e, children: t }) {
})]
});
}
-function QA({ summary: e, defaultOpen: t = !1, children: n }) {
+function $A({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, I.useId)(), i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)(t);
return /* @__PURE__ */ (0, L.jsxs)("details", {
ref: (e) => {
@@ -33528,7 +33533,7 @@ function QA({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function $A({ name: e }) {
+function ej({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -33537,29 +33542,29 @@ function $A({ name: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function ej({ mark: e }) {
+function tj({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, L.jsx)($A, { name: e });
+ }) : /* @__PURE__ */ (0, L.jsx)(ej, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function tj({ toast: e, mode: t, monitor: n }) {
+function nj({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Ft({
- queryKey: KT,
- queryFn: ({ signal: e }) => qT(e),
- refetchInterval: (e) => QT(e.state.data, r)
+ queryKey: qT,
+ queryFn: ({ signal: e }) => JT(e),
+ refetchInterval: (e) => $T(e.state.data, r)
}), [a, o] = (0, I.useState)(null), s = (0, I.useRef)(void 0), c = i.data;
return (0, I.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") && oE(c, e, r);
+ r && o(c), (r || t === "notice") && sE(c, e, r);
}, [
c,
t,
@@ -33572,7 +33577,7 @@ function tj({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var nj = [
+var rj = [
{
label: "扫描并补全资料",
icon: eC,
@@ -33588,13 +33593,13 @@ var nj = [
icon: oC,
command: { stage: "collect" }
}
-], rj = sw(TA, EA, "text-body-2-medium"), ij = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", aj = (e) => {
+], ij = sw(EA, DA, "text-body-2-medium"), aj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", oj = (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(",")}。`;
-}, oj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + aj(e);
-function sj({ busy: e, onRun: t }) {
+}, sj = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + oj(e);
+function cj({ busy: e, onRun: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -33619,19 +33624,19 @@ function sj({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, L.jsx)(Ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(wk, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: wA,
- children: /* @__PURE__ */ (0, L.jsx)(xA, {
+ className: TA,
+ children: /* @__PURE__ */ (0, L.jsx)(SA, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: nj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
+ children: rj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: rj,
+ className: ij,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, L.jsx)(t, {
"aria-hidden": !0,
@@ -33641,8 +33646,8 @@ function sj({ busy: e, onRun: t }) {
})
})] });
}
-function cj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = rE(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = tE(e.notes || {}), c = MA();
+function lj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = iE(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = nE(e.notes || {}), c = NA();
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33650,7 +33655,7 @@ function cj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "处理较慢",
- children: ij
+ children: aj
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -33662,7 +33667,7 @@ function cj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, L.jsxs)(QA, {
+ children: /* @__PURE__ */ (0, L.jsxs)($A, {
summary: a.label,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -33693,7 +33698,7 @@ function cj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(LA, {
+ children: /* @__PURE__ */ (0, L.jsx)(RA, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33707,13 +33712,13 @@ function cj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "处理完成",
- children: oj(n)
+ children: sj(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, L.jsx)(LA, {
+ children: /* @__PURE__ */ (0, L.jsx)(RA, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -33725,38 +33730,38 @@ function cj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function lj(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = tj(e), o = It({
- mutationFn: (e) => q(GT, e),
+function uj(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = nj(e), o = It({
+ mutationFn: (e) => q(KT, e),
onSuccess: (e) => {
- a(), X.setQueryData(KT, e), X.invalidateQueries({ queryKey: KT });
+ a(), X.setQueryData(qT, e), X.invalidateQueries({ queryKey: qT });
}
});
(0, I.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? ZT : K(r.error) : "", l = o.isPending || s.status === "running", u = nE(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? QT : K(r.error) : "", l = o.isPending || s.status === "running", u = rE(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(jA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(MA, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(CA, {
+ /* @__PURE__ */ (0, L.jsx)(wA, {
href: "/scraping",
size: "small",
trailingIcon: KS,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, L.jsx)(CA, {
+ s.candidates ? /* @__PURE__ */ (0, L.jsx)(wA, {
href: "/review",
size: "small",
trailingIcon: KS,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, L.jsx)(sj, {
+ /* @__PURE__ */ (0, L.jsx)(cj, {
busy: l,
onRun: d
})
@@ -33764,12 +33769,12 @@ function lj(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(AA, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, L.jsx)(jA, { children: "扫描与采集" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: hoe
+ children: moe
}),
- s.status === "running" ? /* @__PURE__ */ (0, L.jsx)(RA, {
+ s.status === "running" ? /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
label: u,
value: s.checked,
@@ -33777,7 +33782,7 @@ function lj(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(cj, {
+ }), /* @__PURE__ */ (0, L.jsx)(lj, {
state: s,
problem: c,
settled: i,
@@ -33793,7 +33798,7 @@ function lj(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function uj(e) {
+function dj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33807,7 +33812,7 @@ function uj(e) {
})
});
}
-function dj(e) {
+function fj(e) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -33821,7 +33826,7 @@ function dj(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function fj(e, t, n) {
+function pj(e, t, n) {
(0, I.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -33835,7 +33840,7 @@ function fj(e, t, n) {
n
]);
}
-function pj(e, t) {
+function mj(e, t) {
let n = (0, I.useRef)(!1);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -33849,33 +33854,33 @@ function pj(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var mj = (0, I.createContext)("md");
-function hj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var hj = (0, I.createContext)("md");
+function gj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, I.useRef)(null), u = (0, I.useRef)(null), [d, f] = (0, I.useState)(!1);
- fj(d, () => f(!1), [l, u]);
- let p = pj(d, l);
- return /* @__PURE__ */ (0, L.jsx)(Sae, {
+ pj(d, () => f(!1), [l, u]);
+ let p = mj(d, l);
+ return /* @__PURE__ */ (0, L.jsx)(xae, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
className: sw("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(nO, {
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)(rO, {
ref: l,
className: sw("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, L.jsx)(Tae, {
+ children: [/* @__PURE__ */ (0, L.jsx)(wae, {
className: sw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, L.jsx)(uj, { className: sw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, L.jsx)(Ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(dj, { className: sw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, L.jsx)(wk, {
ref: u,
isNonModal: !0,
offset: 4,
- className: sw(poe, wA, "p-2", n),
- children: /* @__PURE__ */ (0, L.jsx)(Uie, {
+ className: sw(foe, TA, "p-2", n),
+ children: /* @__PURE__ */ (0, L.jsx)(Hie, {
items: a,
- className: sw(moe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, L.jsx)(mj.Provider, {
+ className: sw(poe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, L.jsx)(hj.Provider, {
value: r,
children: i
})
@@ -33883,19 +33888,19 @@ function hj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function gj({ className: e, children: t, ...n }) {
- let r = (0, I.useContext)(mj);
- return /* @__PURE__ */ (0, L.jsx)(Kie, {
+function _j({ className: e, children: t, ...n }) {
+ let r = (0, I.useContext)(hj);
+ return /* @__PURE__ */ (0, L.jsx)(Gie, {
...n,
- className: (t) => sw(TA, 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) => sw(EA, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/background-job.ts
-var _j = 2e3, vj = (e) => e, yj = (e, t) => t;
-function bj(e) {
- let { queryKey: t, jobOf: n = vj, withJob: r = yj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
+var vj = 2e3, yj = (e) => e, bj = (e, t) => t;
+function xj(e) {
+ let { queryKey: t, jobOf: n = yj, withJob: r = bj, idlePollMs: i } = e, [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(e);
(0, I.useEffect)(() => {
l.current = e;
});
@@ -33904,7 +33909,7 @@ function bj(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? _j : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? vj : i ?? !1;
}
}), d = It({
mutationFn: (e) => l.current.start(e),
@@ -33935,32 +33940,32 @@ function bj(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var xj = (e) => m[e] || e, Sj = (e) => X.setQueryData(cE, e);
-function Cj() {
+var Sj = (e) => m[e] || e, Cj = (e) => X.setQueryData(lE, e);
+function wj() {
let e = Ft({
- queryKey: cE,
- queryFn: ({ signal: e }) => dE(e),
- refetchInterval: (e) => e.state.data?.status === "running" && _j
- }), t = Ft({
queryKey: lE,
- queryFn: ({ signal: e }) => fE(e)
- }), [n, r] = (0, I.useState)(""), i = Sw(), a = e.data ?? uE, 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 }) => fE(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && vj
+ }), t = Ft({
+ queryKey: uE,
+ queryFn: ({ signal: e }) => pE(e)
+ }), [n, r] = (0, I.useState)(""), i = Sw(), a = e.data ?? dE, 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 && g({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => Sj(await q(sE, {
+ onConfirm: async () => Cj(await q(cE, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => q(sE, { stop: !0 }, "POST", e), Sj), d = hE(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => q(cE, { stop: !0 }, "POST", e), Cj), d = gE(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, L.jsx)(jA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(MA, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(hj, {
+ footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -33968,10 +33973,10 @@ function Cj() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(gj, {
+ children: o.map((e) => /* @__PURE__ */ (0, L.jsxs)(_j, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)(ej, { mark: xj(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { mark: Sj(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: u,
@@ -33985,10 +33990,10 @@ function Cj() {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(AA, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, L.jsx)(jA, { children: "媒体修复" }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: goe
+ children: hoe
}),
s && a.total ? /* @__PURE__ */ (0, L.jsx)(xw, {
label: "修复进度",
@@ -34014,7 +34019,7 @@ function Cj() {
f && a.missing_tool ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: gE(a)
+ children: _E(a)
}) : null,
p ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34026,7 +34031,7 @@ function Cj() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var wj = {
+var Tj = {
md: {
box: "size-4",
glyph: "size-4",
@@ -34040,8 +34045,8 @@ var wj = {
gap: "gap-1.5"
}
};
-function Tj({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = wj[t], c = n || r, l = o && !a;
+function Ej({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Tj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: sw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? sw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : sw("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"),
@@ -34068,13 +34073,13 @@ function Tj({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function Ej({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = wj[n];
- return /* @__PURE__ */ (0, L.jsx)(jie, {
+function Dj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = Tj[n];
+ return /* @__PURE__ */ (0, L.jsx)(Aie, {
ref: r,
...i,
className: (t) => sw("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, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Tj, {
+ children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Ej, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, L.jsx)("span", {
@@ -34085,10 +34090,10 @@ function Ej({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function Dj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function Oj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
className: sw("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, L.jsx)(zae, {
+ children: /* @__PURE__ */ (0, L.jsx)(Rae, {
ref: r,
...i,
className: sw("bui-table", e === "sm" && "bui-table-sm", t)
@@ -34097,7 +34102,7 @@ function Dj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/row-click.ts
-var Oj = [
+var kj = [
"a",
"button",
"input",
@@ -34110,15 +34115,15 @@ var Oj = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function kj(e, t) {
+function Aj(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Oj);
+ let r = n.closest(kj);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function Aj({ children: e, follow: t = !1, onRowClick: n }) {
+function jj({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -34126,15 +34131,15 @@ function Aj({ 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 && kj(e, r) && n(r.dataset.key);
+ r && Aj(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var jj = oT("unlink"), Mj = oT("rotate-cw"), Nj = "站点返回 404 或 410,确认这个地址不存在。", Pj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Fj = "删除前会逐条重验一次;此操作不可撤销。", Ij = "暂时无法读取进度,正在重新连接…", Lj = (e) => Number(e || 0).toLocaleString();
-function Rj({ label: e, value: t, note: n }) {
+var Mj = sT("unlink"), Nj = sT("rotate-cw"), Pj = "站点返回 404 或 410,确认这个地址不存在。", Fj = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Ij = "删除前会逐条重验一次;此操作不可撤销。", Lj = "暂时无法读取进度,正在重新连接…", Rj = (e) => Number(e || 0).toLocaleString();
+function zj({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -34153,11 +34158,11 @@ function Rj({ label: e, value: t, note: n }) {
]
});
}
-function zj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function Bj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: DA,
+ className: OA,
children: [
/* @__PURE__ */ (0, L.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -34170,13 +34175,13 @@ function zj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, L.jsx)(Aj, { children: /* @__PURE__ */ (0, L.jsxs)(Dj, {
+ /* @__PURE__ */ (0, L.jsx)(jj, { children: /* @__PURE__ */ (0, L.jsxs)(Oj, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(iA, { children: [
- i ? /* @__PURE__ */ (0, L.jsx)(aA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(aA, { children: [
+ i ? /* @__PURE__ */ (0, L.jsx)(oA, {
id: "pick",
- children: /* @__PURE__ */ (0, L.jsx)(Ej, {
+ children: /* @__PURE__ */ (0, L.jsx)(Dj, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -34184,44 +34189,44 @@ function zj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(sA, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(uA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(cA, { children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(dA, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)(Ej, {
+ i ? /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)(Dj, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, L.jsx)(fA, { children: e.entity }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: aD[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: e.label || "" }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: e.entity }),
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: oD[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: e.label || "" }),
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -34243,27 +34248,27 @@ function zj({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Bj() {
+function Vj() {
let e = Ft({
- queryKey: nD,
- queryFn: ({ signal: e }) => sD(e)
- }), [t, n] = (0, I.useState)([]), r = bj({
- queryKey: iD,
- queryFn: ({ signal: e }) => lD(e),
- start: Bre,
+ queryKey: rD,
+ queryFn: ({ signal: e }) => cD(e)
+ }), [t, n] = (0, I.useState)([]), r = xj({
+ queryKey: aD,
+ queryFn: ({ signal: e }) => uD(e),
+ start: zre,
onFinish: () => {
X.invalidateQueries({
- queryKey: nD,
+ queryKey: rD,
exact: !0
}), X.invalidateQueries({
- queryKey: rD,
+ queryKey: iD,
exact: !0
});
}
- }), i = bj({
- queryKey: rD,
- queryFn: ({ signal: e }) => cD(e),
- start: zre,
+ }), i = xj({
+ queryKey: iD,
+ queryFn: ({ signal: e }) => lD(e),
+ start: Rre,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -34293,7 +34298,7 @@ function Bj() {
else if (v) x = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "success",
title: "完成",
- children: Vre(v)
+ children: Bre(v)
});
else if (y) x = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34303,7 +34308,7 @@ function Bj() {
else if (i.query.isError && a) x = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: Ij
+ children: Lj
});
else if (a?.status === "failed") x = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -34311,12 +34316,12 @@ function Bj() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- b = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(RA, {
+ b = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
- label: Hre(a),
+ label: Vre(a),
value: a.checked,
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, L.jsx)(RA, {
+ }) : null, c ? /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
@@ -34324,38 +34329,38 @@ function Bj() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = l || u.length || d.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
- className: Soe,
+ className: xoe,
children: [
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Bj, {
title: "地址已失效",
items: u,
- hint: Nj
+ hint: Pj
}),
- /* @__PURE__ */ (0, L.jsx)(zj, {
+ /* @__PURE__ */ (0, L.jsx)(Bj, {
title: "本次未访问成功",
items: d,
- hint: Pj,
+ hint: Fj,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, L.jsxs)(OA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Mj,
+ children: /* @__PURE__ */ (0, L.jsxs)(kA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ leadingIcon: Nj,
disabled: !t.length,
...Y(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: Mj,
+ leadingIcon: Nj,
...Y(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, L.jsx)(OA, {
+ l && u.length ? /* @__PURE__ */ (0, L.jsx)(kA, {
tone: "error",
- status: Fj,
+ status: Ij,
children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "danger",
...Y(c),
@@ -34364,7 +34369,7 @@ function Bj() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, L.jsx)("p", {
- className: `${DA} text-body-regular text-notification-success-foreground`,
+ className: `${OA} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -34375,21 +34380,21 @@ function Bj() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(kA, {
+ /* @__PURE__ */ (0, L.jsx)(AA, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, L.jsxs)(jA, {
+ /* @__PURE__ */ (0, L.jsxs)(MA, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
- leadingIcon: jj,
+ leadingIcon: Mj,
...Y(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, L.jsx)(AA, {
+ /* @__PURE__ */ (0, L.jsx)(jA, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -34400,13 +34405,13 @@ function Bj() {
children: K(e.error)
}) : p ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, L.jsx)(Rj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(zj, {
label: "链接总数",
- value: Lj(p.total),
- note: `分布在 ${Lj(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Rj, {
- label: aD[e] || e,
- value: Lj(t)
+ value: Rj(p.total),
+ note: `分布在 ${Rj(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(zj, {
+ label: oD[e] || e,
+ value: Rj(t)
}, e))]
}), m ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -34435,8 +34440,8 @@ function Bj() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Vj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsxs)(wie, {
+function Hj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsxs)(Cie, {
"data-label": "true",
...a,
className: sw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
@@ -34456,8 +34461,8 @@ function Vj({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Hj({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, L.jsx)(Oie, {
+function Uj({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, L.jsx)(Die, {
slot: e ? "errorMessage" : "description",
...n,
className: sw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
@@ -34465,15 +34470,15 @@ function Hj({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var Uj = (0, I.createContext)({});
-function Wj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(Uj.Provider, {
+var Wj = (0, I.createContext)({});
+function Gj({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(Wj.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, L.jsx)(doe, {
+ children: /* @__PURE__ */ (0, L.jsx)(uoe, {
...a,
"data-input-size": e,
className: sw("group flex h-max w-full flex-col items-start gap-1", r),
@@ -34481,8 +34486,8 @@ function Wj({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-Wj.displayName = "TextField";
-var Gj = cw({
+Gj.displayName = "TextField";
+var Kj = cw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34511,44 +34516,44 @@ var Gj = cw({
].join(" "),
icon: "size-5 shrink-0"
});
-function Kj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, I.useContext)(Uj), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, L.jsx)(Nie, {
+function qj({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, I.useContext)(Wj), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, L.jsx)(Mie, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => sw(Gj.field, d ? Gj.fieldWithAddonSize[u] : Gj.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 }) => sw(Kj.field, d ? Kj.fieldWithAddonSize[u] : Kj.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, L.jsxs)("div", {
- className: Gj.content,
+ className: Kj.content,
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
- className: Gj.leftSection,
+ className: Kj.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, L.jsx)(t, {
- className: Gj.icon,
+ className: Kj.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, L.jsx)(Fie, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(Pie, {
ref: o,
...c,
- className: sw(Gj.input, l.inputClassName, a)
+ className: sw(Kj.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, L.jsx)(n, {
- className: Gj.icon,
+ className: Kj.icon,
"aria-hidden": !0
}) : null]
})
});
}
-Kj.displayName = "InputBase";
-function qj({ 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, L.jsx)(Wj, {
+qj.displayName = "InputBase";
+function Jj({ 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, L.jsx)(Gj, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- e && /* @__PURE__ */ (0, L.jsx)(Vj, {
+ e && /* @__PURE__ */ (0, L.jsx)(Hj, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(Kj, {
+ /* @__PURE__ */ (0, L.jsx)(qj, {
ref: c,
groupRef: l,
placeholder: r,
@@ -34557,28 +34562,28 @@ function qj({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, L.jsx)(Hj, {
+ t && /* @__PURE__ */ (0, L.jsx)(Uj, {
isInvalid: d,
children: t
})
] })
});
}
-qj.displayName = "Input";
+Jj.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Jj = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Yj = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Xj = 8;
-function Zj({ plan: e }) {
+var Yj = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Xj = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Zj = 8;
+function Qj({ plan: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Xj).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
+ children: e.rows.slice(0, Zj).map((e) => /* @__PURE__ */ (0, L.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: pD(e.current_path)
+ children: mD(e.current_path)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
@@ -34588,7 +34593,7 @@ function Zj({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: pD(e.target_path)
+ children: mD(e.target_path)
})
]
}, e.current_path))
@@ -34597,10 +34602,10 @@ function Zj({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Qj({ toast: t, failure: n }) {
+function $j({ toast: t, failure: n }) {
let r = Ft({
- queryKey: dD,
- queryFn: ({ signal: e }) => fD(e)
+ queryKey: fD,
+ queryFn: ({ signal: e }) => pD(e)
}), i = r.data, a = i?.locations ?? [], [o, s] = (0, I.useState)(""), c = a.some((e) => e.location === o) ? o : a[0]?.location ?? "", l = i?.templates?.[c], [u, d] = (0, I.useState)(null), f = u?.location === c ? u : {
location: c,
file: l?.file ?? "",
@@ -34613,8 +34618,8 @@ function Qj({ toast: t, failure: n }) {
file_template: f.file.trim(),
dir_template: f.dir.trim()
}), x = It({
- mutationFn: Yre,
- onSuccess: (e, t) => void Zre({
+ mutationFn: Jre,
+ onSuccess: (e, t) => void Xre({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -34622,29 +34627,29 @@ function Qj({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = $re.test(K(e)) ? "dir" : "file";
+ let t = Qre.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
- }), S = bj({
- queryKey: dD,
- queryFn: ({ signal: e }) => fD(e),
- start: Xre,
+ }), S = xj({
+ queryKey: fD,
+ queryFn: ({ signal: e }) => pD(e),
+ start: Yre,
jobOf: (e) => e,
- withJob: Qre,
+ withJob: Zre,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
- queryKey: dD,
+ queryKey: fD,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = hD(e);
+ let { text: r, failed: i } = gD(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), C = S.running || S.start.isPending, w = x.data, T = Number(w?.counts?.change || 0), E = e[c] || c, D = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), O = () => {
x.isPending || !c || (_(null), x.mutate(b()));
}, k = () => void g({
title: "按模板整理文件",
- body: Jj(E),
+ body: Yj(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -34652,13 +34657,13 @@ function Qj({ toast: t, failure: n }) {
})
}), A = () => void g({
title: "回滚上一批整理",
- body: Yj,
+ body: Xj,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
if (M?.status === "running") {
let e = M.message || M.stage || "正在整理文件…";
- j = /* @__PURE__ */ (0, L.jsx)(RA, {
+ j = /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
label: e,
value: M.checked,
@@ -34670,7 +34675,7 @@ function Qj({ toast: t, failure: n }) {
children: N.error || "请查看任务记录,核对已处理的文件。"
});
else if (N) {
- let { text: e, failed: t } = hD(N);
+ let { text: e, failed: t } = gD(N);
j = /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -34680,7 +34685,7 @@ function Qj({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(RA, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
label: "正在按模板算计划…"
}) : x.isError ? j = /* @__PURE__ */ (0, L.jsx)(J, {
@@ -34690,9 +34695,9 @@ function Qj({ toast: t, failure: n }) {
}) : w && (j = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "预览结果",
- children: eie(w)
- }), T ? /* @__PURE__ */ (0, L.jsx)(Zj, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, L.jsxs)(jA, {
+ children: $re(w)
+ }), T ? /* @__PURE__ */ (0, L.jsx)(Qj, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, L.jsxs)(MA, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -34716,7 +34721,7 @@ function Qj({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, L.jsx)(AA, {
+ /* @__PURE__ */ (0, L.jsx)(jA, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -34736,20 +34741,20 @@ function Qj({ toast: t, failure: n }) {
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, L.jsx)(hj, {
+ a.length ? /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: c || null,
onSelectionChange: (e) => {
e !== null && (s(String(e)), _(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(gj, {
+ children: a.map((t) => /* @__PURE__ */ (0, L.jsxs)(_j, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, L.jsx)(ej, { mark: m[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { mark: m[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(Jj, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -34760,7 +34765,7 @@ function Qj({ toast: t, failure: n }) {
p({ file: e }), _(null);
}
}),
- /* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(Jj, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -34800,91 +34805,91 @@ function Qj({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var $j = oT("git-compare"), eM = oT("rotate-cw"), tM = "暂时无法读取进度,正在重新连接…", nM = "清理失效条目", rM = "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", iM = (e) => Number(e || 0).toLocaleString();
-function aM({ scan: e }) {
+var eM = sT("git-compare"), tM = sT("rotate-cw"), nM = "暂时无法读取进度,正在重新连接…", rM = "清理失效条目", iM = "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", aM = (e) => Number(e || 0).toLocaleString();
+function oM({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", {
- className: rM,
+ className: iM,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, L.jsx)("article", {
- className: FD(),
- children: /* @__PURE__ */ (0, L.jsx)(ID, {
- label: aie[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, L.jsx)(ej, { mark: m[e.location] ?? "database" }),
+ className: ID(),
+ children: /* @__PURE__ */ (0, L.jsx)(LD, {
+ label: iie[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, L.jsx)(tj, { mark: m[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, L.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${iM(e.missing)} 项` : "—",
- meta: lie(e),
+ figure: e.online ? `${aM(e.missing)} 项` : "—",
+ meta: cie(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, L.jsxs)("div", {
- className: rM,
+ className: iM,
children: [
/* @__PURE__ */ (0, L.jsx)("article", {
- className: FD(),
- children: /* @__PURE__ */ (0, L.jsx)(ID, {
+ className: ID(),
+ children: /* @__PURE__ */ (0, L.jsx)(LD, {
label: "待永久删除",
- figure: `${iM(e.missing)} 项`,
+ figure: `${aM(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: FD(),
- children: /* @__PURE__ */ (0, L.jsx)(ID, {
+ className: ID(),
+ children: /* @__PURE__ */ (0, L.jsx)(LD, {
label: "空文件夹",
- figure: `${iM(e.empty)} 个`,
+ figure: `${aM(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, L.jsx)("article", {
- className: FD(),
- children: /* @__PURE__ */ (0, L.jsx)(ID, {
+ className: ID(),
+ children: /* @__PURE__ */ (0, L.jsx)(LD, {
label: "可清理的缓存",
- figure: `${iM(t.files)} 个`,
+ figure: `${aM(t.files)} 个`,
meta: t.files ? a(t.bytes) : ""
})
})
]
})] });
}
-function oM({ toast: e }) {
- let t = bj({
- queryKey: yD,
- queryFn: ({ signal: e }) => xD(e),
- start: nie,
+function sM({ toast: e }) {
+ let t = xj({
+ queryKey: bD,
+ queryFn: ({ signal: e }) => SD(e),
+ start: tie,
onFinish: (t) => {
if (X.invalidateQueries({
- queryKey: OD,
+ queryKey: kD,
exact: !0
}), X.invalidateQueries({
- queryKey: vD,
+ queryKey: yD,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = wD(t);
- r ? e(`已完成 ${iM(n)} 项,${iM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = TD(t);
+ r ? e(`已完成 ${aM(n)} 项,${aM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = bj({
- queryKey: vD,
- queryFn: ({ signal: e }) => bD(e),
- start: tie,
+ }), n = xj({
+ queryKey: yD,
+ queryFn: ({ signal: e }) => xD(e),
+ start: eie,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, o = t.running || t.start.isPending, s = r?.status === "complete" || r?.status === "failed", c = i ? "扫描中" : s ? "重新扫描" : "检查文件", l = (e) => void g({
- title: nM,
- body: cie(e),
- confirmLabel: nM,
+ title: rM,
+ body: sie(e),
+ confirmLabel: rM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = wD(e).left > 0;
+ let t = TD(e).left > 0;
return /* @__PURE__ */ (0, L.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: uie(e, a)
+ children: lie(e, a)
});
}, f = null, p = null;
if (u?.status === "failed") p = /* @__PURE__ */ (0, L.jsx)(J, {
@@ -34893,7 +34898,7 @@ function oM({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) p = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(RA, {
+ else if (t.running) f = /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -34905,11 +34910,11 @@ function oM({ toast: e }) {
else if (n.query.isError && r) p = /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: tM
+ children: nM
});
else if (r?.status === "running") {
- let e = oie(r);
- f = /* @__PURE__ */ (0, L.jsx)(RA, {
+ let e = aie(r);
+ f = /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -34926,13 +34931,13 @@ function oM({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = iie(r);
+ let e = rie(r);
p = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- /* @__PURE__ */ (0, L.jsx)(aM, { scan: r }),
+ /* @__PURE__ */ (0, L.jsx)(oM, { scan: r }),
e ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: sie(r)
+ children: oie(r)
}) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -34940,7 +34945,7 @@ function oM({ toast: e }) {
variant: "danger",
...Y(o),
onClick: () => l(r),
- children: o ? "正在复核并清理…" : nM
+ children: o ? "正在复核并清理…" : rM
}) : /* @__PURE__ */ (0, L.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -34957,16 +34962,16 @@ function oM({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsx)(kA, {
+ /* @__PURE__ */ (0, L.jsx)(AA, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, L.jsxs)(jA, {
+ /* @__PURE__ */ (0, L.jsxs)(MA, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, L.jsx)(G, {
"data-resource-scan": !0,
- leadingIcon: s && !i ? eM : $j,
+ leadingIcon: s && !i ? tM : eM,
...Y(i),
onClick: () => {
i || n.start.mutate();
@@ -34974,7 +34979,7 @@ function oM({ toast: e }) {
children: c
}),
children: [
- /* @__PURE__ */ (0, L.jsx)(AA, {
+ /* @__PURE__ */ (0, L.jsx)(jA, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -35000,16 +35005,16 @@ function oM({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function sM(e, t) {
+function cM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function cM({ section: e, label: t, icon: n, value: r, open: i }) {
+function lM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: FD({ interactive: !0 }),
+ className: ID({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, L.jsx)(ID, {
+ children: /* @__PURE__ */ (0, L.jsx)(LD, {
label: t,
icon: n,
figure: r.figure,
@@ -35017,80 +35022,80 @@ function cM({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var lM = oT("square-check-big"), uM = oT("sparkles"), dM = oT("file-stack"), fM = oT("file-archive"), pM = oT("trash"), mM = [
- TD,
- vE,
- PT
-], hM = () => {
- for (let e of mM) X.invalidateQueries({
+var uM = sT("square-check-big"), dM = sT("sparkles"), fM = sT("file-stack"), pM = sT("file-archive"), mM = sT("trash"), hM = [
+ ED,
+ yE,
+ FT
+], gM = () => {
+ for (let e of hM) X.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function gM({ toast: e, failure: t, open: n }) {
+function _M({ toast: e, failure: t, open: n }) {
let r = Ft({
- queryKey: TD,
- queryFn: ({ signal: e }) => kD(e)
+ queryKey: ED,
+ queryFn: ({ signal: e }) => AD(e)
}), i = Ft({
- queryKey: vE,
- queryFn: ({ signal: e }) => yE(e)
+ queryKey: yE,
+ queryFn: ({ signal: e }) => bE(e)
}), o = Ft({
- queryKey: PT,
- queryFn: ({ signal: e }) => IT(e)
+ queryKey: FT,
+ queryFn: ({ signal: e }) => LT(e)
}), s = Ft({
- queryKey: ED,
- queryFn: ({ signal: e }) => AD(e)
- }), c = Ft({
- queryKey: OD,
+ queryKey: DD,
queryFn: ({ signal: e }) => jD(e)
+ }), c = Ft({
+ queryKey: kD,
+ queryFn: ({ signal: e }) => MD(e)
}), l = Ft({
- queryKey: OT,
- queryFn: ({ signal: e }) => kT(e)
+ queryKey: kT,
+ queryFn: ({ signal: e }) => AT(e)
}), u = (t) => e(t);
return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: xie,
+ className: bie,
children: [
- /* @__PURE__ */ (0, L.jsx)(cM, {
+ /* @__PURE__ */ (0, L.jsx)(lM, {
section: "review",
label: "人工复核",
- icon: lM,
+ icon: uM,
open: n,
- value: sM(r, mie)
+ value: cM(r, pie)
}),
- /* @__PURE__ */ (0, L.jsx)(cM, {
+ /* @__PURE__ */ (0, L.jsx)(lM, {
section: "quality",
label: "高清版",
- icon: uM,
+ icon: dM,
open: n,
- value: sM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: cM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, L.jsx)(cM, {
+ /* @__PURE__ */ (0, L.jsx)(lM, {
section: "duplicates",
label: "重复文件",
- icon: dM,
+ icon: fM,
open: n,
- value: sM(o, (e) => Number(e.total || 0) ? {
+ value: cM(o, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${a(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, L.jsx)(cM, {
+ /* @__PURE__ */ (0, L.jsx)(lM, {
section: "ads",
label: "垃圾文件",
- icon: fM,
+ icon: pM,
open: n,
- value: sM(s, (e) => ({
+ value: cM(s, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: hie(e)
+ meta: mie(e)
}))
}),
- /* @__PURE__ */ (0, L.jsx)(cM, {
+ /* @__PURE__ */ (0, L.jsx)(lM, {
section: "trash",
label: "回收站",
- icon: pM,
+ icon: mM,
open: n,
- value: sM(c, (e) => ({
+ value: cM(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${a(e.bytes || 0)}` : ""
}))
@@ -35103,29 +35108,29 @@ function gM({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, L.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, L.jsx)(lj, {
+ children: /* @__PURE__ */ (0, L.jsx)(uj, {
toast: u,
monitor: !0,
- onComplete: hM
+ onComplete: gM
})
}),
/* @__PURE__ */ (0, L.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, L.jsx)(Cj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(wj, {})
}),
- /* @__PURE__ */ (0, L.jsx)(Qj, {
+ /* @__PURE__ */ (0, L.jsx)($j, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(Bj, {}),
- SD(l.data) ? /* @__PURE__ */ (0, L.jsx)(oM, { toast: e }) : null
+ /* @__PURE__ */ (0, L.jsx)(Vj, {}),
+ CD(l.data) ? /* @__PURE__ */ (0, L.jsx)(sM, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function _M({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function vM({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, L.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
@@ -35152,7 +35157,7 @@ function _M({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function vM(e) {
+function yM(e) {
(0, I.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -35170,9 +35175,9 @@ function vM(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function yM({ title: e, children: t }) {
+function bM({ title: e, children: t }) {
let n = (0, I.useRef)(null);
- return vM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return yM(n), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -35185,9 +35190,9 @@ function yM({ title: e, children: t }) {
}), t]
});
}
-function bM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function xM({ 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, I.useRef)(null);
- return vM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
+ return yM(d), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
@@ -35214,22 +35219,22 @@ function bM({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
]
});
}
-var xM = "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 SM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var SM = "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 CM({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: sw(xM, r),
+ className: sw(SM, r),
onClick: n,
children: e
});
}
-var CM = "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 hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function wM({ children: e, onPress: t, busy: n = !1 }) {
+var wM = "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 hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function TM({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
- className: CM,
+ className: wM,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -35240,29 +35245,29 @@ function wM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var TM = oT("play"), EM = oT("file-stack"), DM = gw({
+var EM = sT("play"), DM = sT("file-stack"), OM = gw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), OM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", kM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", AM = "font-mono text-caption-1-regular leading-5 text-text-secondary", jM = () => {
+}), kM = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", AM = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", jM = "font-mono text-caption-1-regular leading-5 text-text-secondary", MM = () => {
X.invalidateQueries({
- queryKey: PT,
+ queryKey: FT,
exact: !0
}), X.invalidateQueries({
- queryKey: OD,
+ queryKey: kD,
exact: !0
});
};
-function MM(e) {
+function NM(e) {
return e.identical ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${kM} text-(--keep)`,
+ className: `${AM} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${kM} text-text-secondary`,
+ className: `${AM} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function NM({ file: t, openItem: n }) {
+function PM({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -35272,7 +35277,7 @@ function NM({ file: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${t.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, L.jsx)(TM, {
+ children: [/* @__PURE__ */ (0, L.jsx)(EM, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, L.jsx)("img", {
@@ -35296,55 +35301,55 @@ function NM({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${OM} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${kM} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `${OM} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${kM} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
- className: `${AM} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, L.jsx)(ej, { mark: m[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ className: `${jM} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { mark: m[t.location] || "database" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: AM,
+ className: jM,
children: a(t.size || 0)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
- className: AM,
+ className: jM,
children: i(t.duration)
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${AM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${jM} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function PM({ openItem: t, toast: n, failure: r }) {
+function FM({ openItem: t, toast: n, failure: r }) {
let i = Ft({
- queryKey: PT,
- queryFn: ({ signal: e }) => IT(e)
+ queryKey: FT,
+ queryFn: ({ signal: e }) => LT(e)
}), o = Ft({
- queryKey: OT,
- queryFn: ({ signal: e }) => kT(e)
+ queryKey: kT,
+ queryFn: ({ signal: e }) => AT(e)
}), [s, c] = (0, I.useState)(""), l = It({
- mutationFn: (e) => WT(e, "dispose"),
+ mutationFn: (e) => GT(e, "dispose"),
onSuccess: (e, t) => {
- jM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ MM(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
- await WT(t, "restore");
+ await GT(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- jM();
+ MM();
}
} });
},
@@ -35358,12 +35363,12 @@ function PM({ openItem: t, toast: n, failure: r }) {
children: i.error ? K(i.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let d = u.groups ?? [], f = MT(o.data), p = ({ groups: e, keep: t, key: n }) => {
+ let d = u.groups ?? [], f = NT(o.data), p = ({ groups: e, keep: t, key: n }) => {
if (l.isPending) return;
- let r = HT(e, t);
+ let r = UT(e, t);
r.length && g({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${RT[t] ?? RT.largest}。文件共 ${a(UT(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${zT[t] ?? zT.largest}。文件共 ${a(WT(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), l.mutateAsync(r))
});
@@ -35371,15 +35376,15 @@ function PM({ openItem: t, toast: n, failure: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(_M, {
+ /* @__PURE__ */ (0, L.jsx)(vM, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${a(u.reclaimable)}`
}),
- d.length ? /* @__PURE__ */ (0, L.jsxs)(yM, {
+ d.length ? /* @__PURE__ */ (0, L.jsxs)(bM, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, L.jsx)(wM, {
+ /* @__PURE__ */ (0, L.jsx)(TM, {
busy: s === "all:largest",
onPress: () => p({
groups: d,
@@ -35388,7 +35393,7 @@ function PM({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, L.jsx)(wM, {
+ /* @__PURE__ */ (0, L.jsx)(TM, {
busy: s === "all:longest",
onPress: () => p({
groups: d,
@@ -35397,7 +35402,7 @@ function PM({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- VT(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(wM, {
+ HT(d, f).map((t) => /* @__PURE__ */ (0, L.jsx)(TM, {
busy: s === `all:${t}`,
onPress: () => p({
groups: d,
@@ -35420,7 +35425,7 @@ function PM({ openItem: t, toast: n, failure: r }) {
let i = [n], o = (e) => `${r}:${e}`;
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": n.code,
- className: DM,
+ className: OM,
children: [/* @__PURE__ */ (0, L.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: [
@@ -35432,9 +35437,9 @@ function PM({ openItem: t, toast: n, failure: r }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${a(n.reclaimable)}`
}),
- MM(n),
+ NM(n),
n.cross_drive ? /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${kM} text-text-secondary`,
+ className: `${AM} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -35462,7 +35467,7 @@ function PM({ openItem: t, toast: n, failure: r }) {
}),
children: "留最长"
}),
- BT(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
+ VT(n.files, f).map((t) => /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
...m(o(t)),
@@ -35487,13 +35492,13 @@ function PM({ openItem: t, toast: n, failure: r }) {
]
})
]
- }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(NM, {
+ }), /* @__PURE__ */ (0, L.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, L.jsx)(PM, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
}) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: EM,
+ icon: DM,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -35502,43 +35507,43 @@ function PM({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var FM = "/api/follow/authors", IM = "/api/follow/tags", LM = (e) => [
+var IM = "/api/follow/authors", LM = "/api/follow/tags", RM = (e) => [
"follow",
"authors",
e
-], RM = (e, t) => [
+], zM = (e, t) => [
"follow",
"tags",
e,
t
];
-function zM(e, t, n) {
+function BM(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${FM}?${r}`;
+ return e && r.set("q", e), `${IM}?${r}`;
}
-function BM(e, t, n, r) {
+function VM(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), `${IM}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${LM}?${i}`;
}
-var VM = (e, t, n, r) => hw(zM(e, t, n), r), HM = (e, t, n, r, i) => hw(BM(e, t, n, r), i), UM = "/api/index", WM = {
+var HM = (e, t, n, r) => hw(BM(e, t, n), r), UM = (e, t, n, r, i) => hw(VM(e, t, n, r), i), WM = "/api/index", GM = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, GM = {
+}, KM = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, KM = [
+}, qM = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -35548,26 +35553,26 @@ var VM = (e, t, n, r) => hw(zM(e, t, n), r), HM = (e, t, n, r, i) => hw(BM(e, t,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], qM = [
+], JM = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], JM = {
+], YM = {
people: 120,
tags: 180
-}, YM = (e) => e !== "tags", XM = (e) => e === "studios" || e === "agencies";
-function ZM(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? qM : KM).some(([t]) => t === e.category);
+}, XM = (e) => e !== "tags", ZM = (e) => e === "studios" || e === "agencies";
+function QM(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? JM : qM).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function QM(e) {
+function $M(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -35586,50 +35591,50 @@ function QM(e) {
q: n
};
}
-var $M = (e, t, n = "all") => [
+var eN = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function eN(e, t, n, r, i) {
+function tN(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${UM}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${WM}?${a}`;
}
-function tN(e) {
- let t = e.what === "people" || e.what === "online-authors" ? JM.people : JM.tags, n = {
+function nN(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? YM.people : YM.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: $M(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => hw(eN(e.kind, e.q, "all", t, n), r)
+ queryKey: eN(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => hw(tN(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: $M("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => hw(eN("tags", e.q, e.category, t, n), r)
+ queryKey: eN("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => hw(tN("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: LM(e.q),
- queryFn: ({ pageParam: n, signal: r }) => VM(e.q, t, n, r)
+ queryKey: RM(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => HM(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: RM(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => HM(e.q, e.category, t, n, r)
+ queryKey: zM(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => UM(e.q, e.category, t, n, r)
};
}
}
-async function nN(e, t) {
- let n = tN(QM(ZM(e)));
+async function rN(e, t) {
+ let n = nN($M(QM(e)));
X.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -35643,13 +35648,13 @@ async function nN(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var rN = (e) => e ? e.pages.flatMap((e) => e.items) : [], iN = (e, t) => `${e}${t ? "+" : ""} 项`, aN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", oN = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), sN = {
+var iN = (e) => e ? e.pages.flatMap((e) => e.items) : [], aN = (e, t) => `${e}${t ? "+" : ""} 项`, oN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", sN = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), cN = {
numeric: !0,
sensitivity: "base"
};
-function cN(e, t) {
+function lN(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", sN))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", cN))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -35657,7 +35662,7 @@ function cN(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function lN({ html: e, face: t, company: n, big: r }) {
+function uN({ html: e, face: t, company: n, big: r }) {
let i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -35669,8 +35674,8 @@ function lN({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var uN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function dN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var dN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function fN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
...a,
@@ -35680,7 +35685,7 @@ function dN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
radius: "plain",
padding: "none",
interactive: !0,
- className: `${uN} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${dN} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -35697,8 +35702,8 @@ function dN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function fN({ kind: e, items: t, layout: n, props: r }) {
- let i = GM[e], a = XM(e), o = n === "big";
+function pN({ kind: e, items: t, layout: n, props: r }) {
+ let i = KM[e], a = ZM(e), o = n === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -35706,14 +35711,14 @@ function fN({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, L.jsx)(dN, {
+ return /* @__PURE__ */ (0, L.jsx)(fN, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: oN(e, t),
+ readout: sN(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, L.jsx)(lN, {
+ children: /* @__PURE__ */ (0, L.jsx)(uN, {
html: n.html,
face: n.face,
company: a,
@@ -35723,21 +35728,21 @@ function fN({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function pN({ items: e, layout: t, props: n }) {
+function mN({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(dN, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(fN, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, L.jsx)(lN, {
+ children: /* @__PURE__ */ (0, L.jsx)(uN, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -35747,7 +35752,7 @@ function pN({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function mN(e) {
+function hN(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}%`);
let a = e.closest(".dual-range");
@@ -35759,8 +35764,8 @@ function mN(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var hN = "/vendor/swiper/14.2.0/", gN = null, _N = () => gN ??= Promise.all([new Promise((e, t) => {
- let n = `${hN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var gN = "/vendor/swiper/14.2.0/", _N = null, vN = () => _N ??= Promise.all([new Promise((e, t) => {
+ let n = `${gN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -35774,11 +35779,11 @@ var hN = "/vendor/swiper/14.2.0/", gN = null, _N = () => gN ??= Promise.all([new
return;
}
let r = document.createElement("script");
- r.src = `${hN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${gN}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 gN = null, e;
+ throw _N = null, e;
});
-function vN(e, t, n) {
+function yN(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);
@@ -35799,48 +35804,48 @@ function vN(e, t, n) {
}
};
}
-var yN = (e) => {
+var bN = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : a(t)).replace(" ", "\xA0") : "大小未知";
-}, bN = (e) => e.asset?.name || e.name || "未命名图片";
-function xN(t, n) {
+}, xN = (e) => e.asset?.name || e.name || "未命名图片";
+function SN(t, n) {
let r = t.asset;
- if (r) return [e[r.location ?? ""] || r.location || "来源未知", yN(r.size)].join(" · ");
+ if (r) return [e[r.location ?? ""] || r.location || "来源未知", bN(r.size)].join(" · ");
let i = (t.total ?? 0) > 1 ? `第 ${t.position} / ${t.total} 张` : "", a = n?.[0] && n[1] ? `${n[0]} × ${n[1]}` : "";
return [
t.source || "在线图片",
i,
a,
- t.size ? yN(t.size) : ""
+ t.size ? bN(t.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var SN = null, CN = null, wN = 0;
-function TN() {
- return (!CN || !SN?.isConnected) && (CN?.unmount(), SN = document.createElement("div"), SN.className = "peach-react", SN.dataset.photoLightboxHost = "", document.body.append(SN), CN = (0, HS.createRoot)(SN)), CN;
+var CN = null, wN = null, TN = 0;
+function EN() {
+ return (!wN || !CN?.isConnected) && (wN?.unmount(), CN = document.createElement("div"), CN.className = "peach-react", CN.dataset.photoLightboxHost = "", document.body.append(CN), wN = (0, HS.createRoot)(CN)), wN;
}
-async function EN(e, t, n) {
+async function DN(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await _N();
+ r = await vN();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = TN();
- (0, Yh.flushSync)(() => i.render(/* @__PURE__ */ (0, L.jsx)(ON, {
+ let i = EN();
+ (0, Yh.flushSync)(() => i.render(/* @__PURE__ */ (0, L.jsx)(kN, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++wN)));
+ }, ++TN)));
}
-function DN() {
- CN && (0, Yh.flushSync)(() => CN.render(null));
+function ON() {
+ wN && (0, Yh.flushSync)(() => wN.render(null));
}
-function ON({ slides: e, index: t, Swiper: n, host: r }) {
+function kN({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, I.useId)(), o = (0, I.useRef)(null), c = (0, I.useRef)(null), l = (0, I.useRef)(null), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = (0, I.useRef)(null), [v, y] = (0, I.useState)(t), [b, x] = (0, I.useState)(100), [S, C] = (0, I.useState)({}), [w, T] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [E, O] = (0, I.useState)(!1), [j, M] = (0, I.useState)({
at: t,
text: ""
@@ -35883,7 +35888,7 @@ function ON({ slides: e, index: t, Swiper: n, host: r }) {
y(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), g.current = vN(e, a, x);
+ i(t, 0), g.current = yN(e, a, x);
let s = A(e, p.current, m.current), h = (e = !1) => {
s.hide(), p.current?.setAttribute("aria-expanded", "false"), e && p.current && document.contains(p.current) && p.current.focus();
};
@@ -35900,13 +35905,13 @@ function ON({ slides: e, index: t, Swiper: n, host: r }) {
});
v.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : DN());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : ON());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), h(), v.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), g.current = null, _.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, I.useLayoutEffect)(() => {
- h.current && mN(h.current);
+ h.current && hN(h.current);
}, [b]);
let N = e[v], ee = N.asset ?? null, te = async (e) => {
if (!ee || !r || e.getAttribute("aria-busy") === "true") return;
@@ -35937,18 +35942,18 @@ function ON({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), DN();
+ e.preventDefault(), ON();
},
onClick: (e) => {
let t = e.target;
- _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && DN();
+ _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && ON();
},
children: [
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: DN,
+ onClick: ON,
dangerouslySetInnerHTML: { __html: s("x") }
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36081,10 +36086,10 @@ function ON({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: bN(N)
+ children: xN(N)
}, v), /* @__PURE__ */ (0, L.jsx)("span", {
"data-photo-detail-meta": "",
- children: xN(N, S[v])
+ children: SN(N, S[v])
})]
}),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -36123,33 +36128,33 @@ function ON({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function kN(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, L.jsx)(AN, {
+function AN(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, L.jsx)(jN, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, L.jsx)(jN, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, L.jsx)(LN, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, L.jsx)(MN, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, L.jsx)(RN, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function AN({ roster: e, props: t }) {
+function jN({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, I.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, L.jsx)(fN, {
+ return /* @__PURE__ */ (0, L.jsx)(pN, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function jN(e) {
+function MN(e) {
let t = Vw(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, L.jsx)(vT, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, L.jsx)(yT, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -36169,16 +36174,16 @@ function jN(e) {
}) : null]
});
}
-var MN = (e) => Array.from({ length: e.n }, (t, n) => ({
+var NN = (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 || "官方样张"
-})), NN = (e) => e.sample === !0, PN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, FN = (e) => NN(e) ? `/sample-thumb?${PN(e)}` : `/photo-thumb?id=${e.id}`, IN = (e) => NN(e) ? {
- src: `/sample-image?${PN(e)}`,
- thumb: FN(e),
+})), PN = (e) => e.sample === !0, FN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, IN = (e) => PN(e) ? `/sample-thumb?${FN(e)}` : `/photo-thumb?id=${e.id}`, LN = (e) => PN(e) ? {
+ src: `/sample-image?${FN(e)}`,
+ thumb: IN(e),
name: e.name,
asset: null,
source: e.source,
@@ -36186,18 +36191,18 @@ var MN = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: FN(e),
+ thumb: IN(e),
name: e.name || "",
asset: e
};
-function LN({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, I.useMemo)(() => [...e.codeSets.flatMap(MN), ...e.items], [e]), [s, c] = (0, I.useState)(() => /* @__PURE__ */ new Set()), l = (0, I.useCallback)((e) => c((t) => {
+function RN({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, I.useMemo)(() => [...e.codeSets.flatMap(NN), ...e.items], [e]), [s, c] = (0, I.useState)(() => /* @__PURE__ */ new Set()), l = (0, I.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, I.useCallback)((e) => {
- EN(e, o.map(IN), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, L.jsx)(zN, {
+ DN(e, o.map(LN), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, L.jsx)(BN, {
item: e,
index: t,
lost: s.has(t),
@@ -36215,7 +36220,7 @@ function LN({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(RN, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, L.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(zN, {
label: e.code,
title: e.name,
meta: [
@@ -36227,7 +36232,7 @@ function LN({ 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, L.jsx)(RN, {
+ m.length && e.total ? /* @__PURE__ */ (0, L.jsx)(zN, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -36236,14 +36241,14 @@ function LN({ 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, L.jsx)(ST, {
+ e.hasMore ? /* @__PURE__ */ (0, L.jsx)(CT, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function RN({ label: e, title: t, meta: n }) {
+function zN({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -36260,7 +36265,7 @@ function RN({ label: e, title: t, meta: n }) {
]
});
}
-function zN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function BN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -36269,7 +36274,7 @@ function zN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, L.jsx)("img", {
- src: FN(e),
+ src: IN(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -36280,24 +36285,24 @@ function zN({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function BN(e) {
- let t = bA("selection");
- return /* @__PURE__ */ (0, L.jsx)(_A, {
+function VN(e) {
+ let t = xA("selection");
+ return /* @__PURE__ */ (0, L.jsx)(vA, {
...e,
ref: t
});
}
-function VN(e) {
- let t = bA("selection");
- return /* @__PURE__ */ (0, L.jsx)(Vk, {
+function HN(e) {
+ let t = xA("selection");
+ return /* @__PURE__ */ (0, L.jsx)(Hk, {
...e,
ref: t
});
}
-var HN = "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", UN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", WN = "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", GN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", KN = "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 UN = "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", WN = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", GN = "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", KN = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", qN = "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/components/use-view-glide.ts
-function qN(e, t) {
+function JN(e, t) {
if (!t.contains(e)) return null;
let n = 0, r = 0;
for (let i = e; i && i !== t; i = i.offsetParent) n += i.offsetLeft, r += i.offsetTop;
@@ -36313,11 +36318,11 @@ function qN(e, t) {
h: e.offsetHeight
};
}
-function JN(e, t, n, r) {
+function YN(e, t, n, r) {
let i = (0, I.useRef)(null), a = (0, I.useCallback)((r, a) => {
let o = e.current, s = t.current, c = o?.parentElement;
if (!o) return;
- let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? qN(l, c) : null;
+ let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? JN(l, c) : null;
if (!u || !u.w) {
o.hidden = !0;
return;
@@ -36355,19 +36360,19 @@ function JN(e, t, n, r) {
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var YN = (e) => e === "videos", XN = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var XN = (e) => e === "videos", ZN = () => /* @__PURE__ */ (0, L.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function ZN(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = YN(t), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = JN(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = JN(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function QN(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = XN(t), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = (0, I.useRef)(null), g = (0, I.useRef)(null), _ = YN(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = YN(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, I.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($N, {
+ }, [c]), /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(eP, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, L.jsx)(bM, {
+ }), /* @__PURE__ */ (0, L.jsx)(xM, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -36387,13 +36392,13 @@ function ZN(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(QN, {
+ top: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [n ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)($N, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, L.jsx)(XN, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, L.jsx)(ZN, {}) : null] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -36413,11 +36418,11 @@ function ZN(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, L.jsx)(XN, {})]
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)(ZN, {})]
}), /* @__PURE__ */ (0, L.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(SM, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, L.jsxs)(CM, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -36429,10 +36434,10 @@ function ZN(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, L.jsx)(eP, { ...e })
+ bottom: /* @__PURE__ */ (0, L.jsx)(tP, { ...e })
})] });
}
-function QN({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function $N({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -36474,7 +36479,7 @@ function QN({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function $N({ items: e, hidden: t, actions: n }) {
+function eP({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -36494,7 +36499,7 @@ function $N({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function eP(e) {
+function tP(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: c } = e;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, L.jsxs)("button", {
@@ -36506,22 +36511,22 @@ function eP(e) {
dangerouslySetInnerHTML: { __html: s("chevron-left") }
}), /* @__PURE__ */ (0, L.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(tP, {
+ /* @__PURE__ */ (0, L.jsx)(nP, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, L.jsx)(iP, {
+ t === "videos" && i ? /* @__PURE__ */ (0, L.jsx)(aP, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, L.jsx)(aP, {
+ t === "photos" && a ? /* @__PURE__ */ (0, L.jsx)(oP, {
head: a,
actions: o,
helpers: c
}) : null
] });
}
-function tP({ text: e, busy: t }) {
+function nP({ text: e, busy: t }) {
return /* @__PURE__ */ (0, L.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, L.jsx)("span", {
@@ -36531,21 +36536,21 @@ function tP({ text: e, busy: t }) {
}) : e
});
}
-function nP({ label: e, value: t, options: n, onChange: r }) {
- return /* @__PURE__ */ (0, L.jsx)(Vk, {
+function rP({ label: e, value: t, options: n, onChange: r }) {
+ return /* @__PURE__ */ (0, L.jsx)(Hk, {
"aria-label": e,
orientation: "horizontal",
value: t,
onChange: r,
"data-entity-layout": "",
- className: GN,
+ className: KN,
children: n.map(([e, t, n]) => {
- let r = oT(n);
- return /* @__PURE__ */ (0, L.jsx)(Hk, {
+ let r = sT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Uk, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: KN,
+ className: qN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -36555,7 +36560,7 @@ function nP({ label: e, value: t, options: n, onChange: r }) {
})
});
}
-function rP({ onPress: e, busy: t = !1 }) {
+function iP({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -36569,19 +36574,19 @@ function rP({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? k("正在换一批") : s("shuffle") }
});
}
-function iP({ head: e, actions: t }) {
+function aP({ head: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(rP, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, L.jsx)(nP, {
+ /* @__PURE__ */ (0, L.jsx)(iP, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, L.jsx)(rP, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
e.sorts.map((e) => {
- let n = oT(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = sT(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -36595,20 +36600,20 @@ function iP({ head: e, actions: t }) {
]
});
}
-function aP({ head: e, actions: t, helpers: n }) {
+function oP({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, I.useState)(!1), a = (0, I.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, I.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, L.jsx)(rP, {
+ e.shuffle ? /* @__PURE__ */ (0, L.jsx)(iP, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, L.jsx)(nP, {
+ /* @__PURE__ */ (0, L.jsx)(rP, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -36622,7 +36627,7 @@ function aP({ head: e, actions: t, helpers: n }) {
]
});
}
-function oP(e) {
+function sP(e) {
return {
x0: 0,
y0: 0,
@@ -36630,7 +36635,7 @@ function oP(e) {
y1: e.height
};
}
-function sP(e) {
+function cP(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -36638,40 +36643,40 @@ function sP(e) {
y1: Math.round(e.y1)
};
}
-function cP(e) {
+function lP(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function lP(e, t) {
- if (!cP(e)) return {
+function uP(e, t) {
+ if (!lP(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return oP(e);
+ if (t == null || !(t > 0)) return sP(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 sP({
+ return cP({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function uP(e, t) {
- if (!cP(e) || !(t > 0)) return oP(e);
+function dP(e, t) {
+ if (!lP(e) || !(t > 0)) return sP(e);
let n = Math.min(e.width, e.height * t);
- return sP({
+ return cP({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function dP(e, t, n) {
- if (!cP(t) || !(n > 0)) return oP(t);
- let r = fP(e, t), i = lP({
+function fP(e, t, n) {
+ if (!lP(t) || !(n > 0)) return sP(t);
+ let r = pP(e, t), i = uP({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -36682,8 +36687,8 @@ function dP(e, t, n) {
y1: r.y0 + i.y1
};
}
-function fP(e, t, n = null, r = "width") {
- if (!cP(t)) return {
+function pP(e, t, n = null, r = "width") {
+ if (!lP(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -36692,43 +36697,43 @@ function fP(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 sP({
+ return cP({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function pP(e, t, n, r) {
+function mP(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 sP({
+ return cP({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function mP(e, t, n, r = null) {
- if (!cP(n) || !(t > 0)) return e;
+function hP(e, t, n, r = null) {
+ if (!lP(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 fP({
+ return pP({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function hP(e, t, n, r, i = null) {
+function gP(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 fP(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return pP(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function gP(e, t) {
- return cP(t) ? {
+function _P(e, t) {
+ return lP(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -36740,8 +36745,8 @@ function gP(e, t) {
height: 0
};
}
-function _P(e, t) {
- if (!cP(t)) return {
+function vP(e, t) {
+ if (!lP(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -36751,7 +36756,7 @@ function _P(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function vP(e, t) {
+function yP(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}%`,
@@ -36760,29 +36765,29 @@ function vP(e, t) {
height: `${t.height / r * 100}%`
};
}
-function yP(e, t, n) {
+function bP(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var bP = {
+var xP = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function xP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function SP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = eh();
- return /* @__PURE__ */ (0, L.jsx)(Rk, {
+ return /* @__PURE__ */ (0, L.jsx)(zk, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, L.jsx)(uae, {
+ children: /* @__PURE__ */ (0, L.jsx)(lae, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${bP[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, L.jsx)(Pk, {
+ className: `flex max-h-full w-full ${xP[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, L.jsx)(Fk, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -36790,7 +36795,7 @@ function xP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function SP({ children: e }) {
+function CP({ children: e }) {
return /* @__PURE__ */ (0, L.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",
@@ -36799,8 +36804,8 @@ function SP({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var CP = .02, wP = 1.08;
-function TP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var wP = .02, TP = 1.08;
+function EP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, I.useRef)(null), c = (0, I.useRef)(null), [l, u] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
u(!1);
@@ -36811,8 +36816,8 @@ function TP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: yP(e, n.clientWidth, r.width),
- dy: yP(t, n.clientHeight, r.height)
+ dx: bP(e, n.clientWidth, r.width),
+ dy: bP(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -36830,29 +36835,29 @@ function TP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(pP(n.box, o.dx, o.dy, r));
+ i(mP(n.box, o.dx, o.dy, r));
return;
}
- i(hP(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(gP(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * CP), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * wP), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(pP(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(mP(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(mP(n, e.key === "-" ? 1 / wP : wP, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(hP(n, e.key === "-" ? 1 / TP : TP, r, t)));
}
- let g = n && r ? gP(fP(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? _P(pP(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -36871,7 +36876,7 @@ function TP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- cP({
+ lP({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -36910,7 +36915,7 @@ function TP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(mP(n, e.deltaY > 0 ? wP : 1 / wP, r, t));
+ !n || !r || i(hP(n, e.deltaY > 0 ? TP : 1 / TP, 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, L.jsx)("span", {
@@ -36932,29 +36937,29 @@ function TP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var EP = "/api/avatar-choices", DP = "/api/avatar-pick", OP = "/api/avatar-code-cover", kP = "/avatar-choice", AP = (e, t) => [
+var DP = "/api/avatar-choices", OP = "/api/avatar-pick", kP = "/api/avatar-code-cover", AP = "/avatar-choice", jP = (e, t) => [
"avatar-choices",
e,
t
-], jP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, MP = (e, t, n) => `${kP}${jP(e, t)}&ref=${encodeURIComponent(n)}`, NP = (e, t, n) => hw(EP + jP(e, t), n), PP = (e) => q(OP, { code: e });
-function FP(e, t, n) {
+], MP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, NP = (e, t, n) => `${AP}${MP(e, t)}&ref=${encodeURIComponent(n)}`, PP = (e, t, n) => hw(DP + MP(e, t), n), FP = (e) => q(kP, { code: e });
+function IP(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? dP(e.focus, t, n) : lP(t, n);
+ return e.focus && r ? fP(e.focus, t, n) : uP(t, n);
}
-var IP = (e) => e.crop && cP({
+var LP = (e) => e.crop && lP({
width: e.width,
height: e.height
});
-async function LP(e, t, n) {
+async function RP(e, t, n) {
if (!("file" in n)) {
- await q(DP, {
+ await q(OP, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${DP}${jP(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${OP}${MP(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
@@ -36963,30 +36968,30 @@ async function LP(e, t, n) {
let a = await i.json().catch(() => null);
throw new pw(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function RP(e, t) {
+function zP(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var zP = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function BP(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${zP(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var BP = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function VP(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${BP(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var VP = (e) => e.cast > 1, Coe = (e) => VP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, woe = {
+var HP = (e) => e.cast > 1, Soe = (e) => HP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Coe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function Toe(e) {
+function woe(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var Eoe = (e) => `${woe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (VP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Doe = 8, Ooe = 3 / 4;
-function koe({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Toe = (e) => `${Coe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (HP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Eoe = 8, Doe = 3 / 4;
+function Ooe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -37001,12 +37006,12 @@ function koe({ kind: e, entityId: t, name: n, onPicked: r }) {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, L.jsx)(xP, {
+ }), /* @__PURE__ */ (0, L.jsx)(SP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, L.jsx)(Aoe, {
+ children: /* @__PURE__ */ (0, L.jsx)(koe, {
kind: e,
entityId: t,
name: n,
@@ -37015,39 +37020,39 @@ function koe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, I.useRef)(null), o = MA(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = AP(e, t), g = (0, I.useRef)(!1), _ = Ft({
+function koe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, I.useRef)(null), o = NA(), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(null), h = jP(e, t), g = (0, I.useRef)(!1), _ = Ft({
queryKey: h,
- queryFn: ({ signal: n }) => NP(e, t, n),
+ queryFn: ({ signal: n }) => PP(e, t, n),
retryOnMount: !0
});
(0, I.useEffect)(() => () => {
- g.current && X.removeQueries({ queryKey: AP(e, t) });
+ g.current && X.removeQueries({ queryKey: jP(e, t) });
}, [e, t]);
let v = It({
- mutationFn: (n) => LP(e, t, n),
+ mutationFn: (n) => RP(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = It({
- mutationFn: (e) => PP(e),
+ mutationFn: (e) => FP(e),
onSuccess: (e) => m(e)
});
function b(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && v.mutate({ file: n });
}
- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : BP(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : VP(x);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, L.jsx)(SP, { children: /* @__PURE__ */ (0, L.jsx)(vC, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(CP, { children: /* @__PURE__ */ (0, L.jsx)(vC, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(iO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(aO, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
@@ -37058,7 +37063,7 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? Coe(p) : RP(n, x)
+ children: p ? Soe(p) : zP(n, x)
}),
T ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "neutral",
@@ -37070,14 +37075,14 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(PA, {
+ /* @__PURE__ */ (0, L.jsx)(FA, {
icon: QS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, L.jsx)(Moe, {
+ }), p ? /* @__PURE__ */ (0, L.jsx)(joe, {
kind: e,
entityId: t,
choice: p,
@@ -37100,7 +37105,7 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": _.isPending || void 0,
"data-skeleton": _.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: _.isPending ? Array.from({ length: Doe }, (e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Eoe }, (e, t) => /* @__PURE__ */ (0, L.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",
@@ -37113,15 +37118,15 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: Eoe(n),
+ title: Toe(n),
...Y(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, L.jsx)(joe, {
- src: MP(e, t, n.ref),
+ /* @__PURE__ */ (0, L.jsx)(Aoe, {
+ src: NP(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -37136,7 +37141,7 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- VP(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ HP(n) ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, L.jsxs)(uw, {
variant: "caption",
@@ -37157,7 +37162,7 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(qj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Jj, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -37192,7 +37197,7 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(qj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Jj, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -37212,7 +37217,7 @@ function Aoe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function joe({ src: e, choice: t }) {
+function Aoe({ src: e, choice: t }) {
let n = (0, I.useRef)(null), [r, i] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -37220,7 +37225,7 @@ function joe({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = IP(t) ? vP(FP(t, a, Ooe), a) : null, s = r ? !0 : void 0;
+ }, o = LP(t) ? yP(IP(t, a, Doe), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, L.jsx)("img", {
@@ -37245,23 +37250,23 @@ function joe({ src: e, choice: t }) {
})]
});
}
-function Moe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = MP(e, t, s), m = MA();
+function joe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, I.useState)(o[0]), [l, u] = (0, I.useState)(null), [d, f] = (0, I.useState)(null), p = NP(e, t, s), m = NA();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? _P(d, l) : null;
+ let g = d && l ? vP(d, l) : null;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
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, L.jsx)(TP, {
+ children: [/* @__PURE__ */ (0, L.jsx)(EP, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), cP(e) && f(s === n.ref ? FP(n, e, 1) : lP(e, 1));
+ u(e), lP(e) && f(s === n.ref ? IP(n, e, 1) : uP(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -37275,7 +37280,7 @@ function Moe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => h(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: Toe(e)
+ children: woe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -37309,12 +37314,12 @@ function Moe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var Noe = {
+var Moe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function HP({ name: e }) {
- let t = Noe[e];
+function UP({ name: e }) {
+ let t = Moe[e];
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -37324,19 +37329,19 @@ function HP({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function UP(e, t) {
+function WP(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var WP = (e) => !!e?.isConnected && e.matches(":popover-open");
-function GP(e, t, n, r) {
+var GP = (e) => !!e?.isConnected && e.matches(":popover-open");
+function KP(e, t, n, r) {
let i = (0, I.useRef)(r);
i.current = r, (0, I.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && WP(n.current) ? UP(t.current, n.current) : i.current();
+ t.current && GP(n.current) ? WP(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -37350,17 +37355,17 @@ function GP(e, t, n, r) {
n
]);
}
-function KP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function qP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, I.useRef)(null), s = (0, I.useRef)(null), [c, l] = (0, I.useState)(!1), u = (0, I.useRef)(!1), d = (0, I.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, WP(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, GP(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || WP(s.current)) && (s.current.showPopover(), UP(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || GP(s.current)) && (s.current.showPopover(), WP(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 GP(c, o, s, f), (0, I.useEffect)(() => {
+ return KP(c, o, s, f), (0, I.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -37386,7 +37391,7 @@ function KP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && WP(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && GP(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -37404,16 +37409,16 @@ function KP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Poe({ following: e, busy: t, onToggle: n, tip: r }) {
+function Noe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(null), [s, c] = (0, I.useState)(!1), l = (0, I.useRef)(!1), u = () => {
- WP(o.current) && o.current.hidePopover(), c(!1);
+ GP(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || WP(o.current) || (o.current.showPopover(), UP(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || GP(o.current) || (o.current.showPopover(), WP(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return GP(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
- i.current && WP(o.current) && UP(i.current, o.current);
+ return KP(s, i, o, () => c(!1)), (0, I.useEffect)(() => {
+ i.current && GP(o.current) && WP(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, L.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -37422,7 +37427,7 @@ function Poe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, L.jsx)(HP, { name: "rss" }),
+ /* @__PURE__ */ (0, L.jsx)(UP, { name: "rss" }),
/* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
type: "checkbox",
@@ -37457,29 +37462,29 @@ function Poe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Foe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Poe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, L.jsxs)(nae, {
+ }, []), /* @__PURE__ */ (0, L.jsxs)(tae, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, L.jsx)(nO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(rO, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, L.jsx)(HP, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, L.jsx)(Ck, {
+ children: /* @__PURE__ */ (0, L.jsx)(UP, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, L.jsx)(wk, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: wA,
+ className: TA,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, L.jsxs)(iae, {
+ children: /* @__PURE__ */ (0, L.jsxs)(rae, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(Ak, {
+ /* @__PURE__ */ (0, L.jsx)(jk, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -37487,31 +37492,31 @@ function Foe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(Mk, {
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsxs)(Nk, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, L.jsx)(HP, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, L.jsx)(UP, { name: "check" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(Rie, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, L.jsx)(Ak, { children: /* @__PURE__ */ (0, L.jsxs)(Mk, {
+ /* @__PURE__ */ (0, L.jsx)(Lie, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, L.jsx)(jk, { children: /* @__PURE__ */ (0, L.jsxs)(Nk, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, L.jsx)(HP, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, L.jsx)(UP, { name: "plus" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Ioe = (e) => e === "studio" || e === "agency", Loe = (e) => e === "performer" || e === "creator", Roe = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function zoe(e) {
+var Foe = (e) => e === "studio" || e === "agency", Ioe = (e) => e === "performer" || e === "creator", Loe = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function Roe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function qP(e) {
+function JP(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -37522,13 +37527,13 @@ function qP(e) {
linked: !1
} : null;
}
-function JP(e, t) {
+function YP(e, t) {
let n = u(e, "performer"), r = o(t);
return r && [e.label, n].map(o).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var YP = (e) => ({ site: c(e) });
-function Boe(e, n) {
- let r = qP(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var XP = (e) => ({ site: c(e) });
+function zoe(e, n) {
+ let r = JP(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -37538,7 +37543,7 @@ function Boe(e, n) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${JP(e, r)} · ${t}`
+ title: `${YP(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -37549,8 +37554,8 @@ function Boe(e, n) {
if (n === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: JP(e, r),
- mark: YP(e)
+ title: YP(e, r),
+ mark: XP(e)
};
if (e.link_kind === "social") {
let n = t(i);
@@ -37558,7 +37563,7 @@ function Boe(e, n) {
type: "icon",
url: i,
title: e.label || "",
- mark: n ? { brand: n } : YP(e)
+ mark: n ? { brand: n } : XP(e)
};
}
return {
@@ -37566,13 +37571,13 @@ function Boe(e, n) {
url: i,
title: e.label || "",
text: u(e, n, a),
- mark: YP(e)
+ mark: XP(e)
};
});
return [...i, ...o];
}
-var XP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function Voe(e) {
+var ZP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Boe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -37629,14 +37634,14 @@ function Voe(e) {
tags: e.tags
}), t;
}
-function Hoe(e) {
+function Voe(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function Uoe(e) {
+function Hoe(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 ? {
@@ -37647,8 +37652,8 @@ function Uoe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Woe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
- let c = Loe(e), l = Ioe(e), u = e === "performer" ? Voe(n.profile) : [], d = Boe(n, e), f = XP(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
+function Uoe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o, helpers: s }) {
+ let c = Ioe(e), l = Foe(e), u = e === "performer" ? Boe(n.profile) : [], d = zoe(n, e), f = ZP(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, I.useRef)(null), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, I.useEffect)(() => {
@@ -37661,7 +37666,7 @@ function Woe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, L.jsx)(Goe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Woe, {
kind: e,
name: t,
helpers: s,
@@ -37669,7 +37674,7 @@ function Woe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
company: l
}), c && n.id ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, L.jsx)(koe, {
+ children: /* @__PURE__ */ (0, L.jsx)(Ooe, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -37682,14 +37687,14 @@ function Woe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(Foe, {
+ children: [/* @__PURE__ */ (0, L.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, L.jsx)(Poe, {
current: n.canonical_name,
- choices: zoe(n),
+ choices: Roe(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, L.jsx)(Koe, {
+ /* @__PURE__ */ (0, L.jsx)(Goe, {
kind: e,
entity: n,
actions: o
@@ -37697,9 +37702,9 @@ function Woe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
"data-entity-links": "",
- children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Xoe, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Yoe, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(Zoe, {
+ f.length || n.feed ? /* @__PURE__ */ (0, L.jsx)(Xoe, {
entity: n,
actions: o,
helpers: s
@@ -37708,11 +37713,11 @@ function Woe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}),
u.length ? /* @__PURE__ */ (0, L.jsx)("dl", {
"data-entity-facts": "",
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(Joe, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(qoe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, L.jsx)(Yoe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, L.jsx)(Joe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -37739,14 +37744,14 @@ function Woe({ kind: e, name: t, entity: n, feedNew: i, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Qoe, {
+ }), a ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Zoe, {
feedNew: i,
host: a,
actions: o,
helpers: s
}), a) : null] });
}
-function Goe({ kind: e, name: t, helpers: n, people: i, company: a }) {
+function Woe({ kind: e, name: t, helpers: n, people: i, company: a }) {
let [o] = (0, I.useState)(() => `${n.portraitImg()}<span>${r(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-portrait": i ? "round" : "square",
@@ -37755,8 +37760,8 @@ function Goe({ kind: e, name: t, helpers: n, people: i, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function Koe({ kind: e, entity: t, actions: r }) {
- let i = qP(t), a = (e, t) => (n) => {
+function Goe({ kind: e, entity: t, actions: r }) {
+ let i = JP(t), a = (e, t) => (n) => {
n.preventDefault(), r.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, L.jsx)("a", {
href: n("agency", i.name),
@@ -37765,36 +37770,36 @@ function Koe({ kind: e, entity: t, actions: r }) {
children: i.name
}) : i.name : null, s = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = Uoe(t.name_groups);
+ let e = Hoe(t.name_groups);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, L.jsx)(HP, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, L.jsx)(UP, { name: "film" }), /* @__PURE__ */ (0, L.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, L.jsx)(HP, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, L.jsx)(UP, { name: "briefcase" }), /* @__PURE__ */ (0, L.jsx)("span", { children: o })]
}) : null,
e ? /* @__PURE__ */ (0, L.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, L.jsx)(HP, { name: "id-card" }),
+ /* @__PURE__ */ (0, L.jsx)(UP, { name: "id-card" }),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, L.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(KP, {
+ e.rest > 0 ? /* @__PURE__ */ (0, L.jsx)(qP, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(qoe, {
+ children: /* @__PURE__ */ (0, L.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, L.jsx)(Koe, {
label: e.label,
names: e.names
}, t)) })
@@ -37829,25 +37834,25 @@ function Koe({ kind: e, entity: t, actions: r }) {
]
});
}
-function qoe({ label: e, names: t }) {
+function Koe({ label: e, names: t }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [e ? /* @__PURE__ */ (0, L.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, L.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, L.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function Joe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(HP, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
+function qoe({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("dt", { children: [/* @__PURE__ */ (0, L.jsx)(UP, { name: e }), t] }), /* @__PURE__ */ (0, L.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function Yoe({ tags: e }) {
- let { shown: t, rest: n } = Hoe(e);
+function Joe({ tags: e }) {
+ let { shown: t, rest: n } = Voe(e);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, L.jsx)(KP, {
+ }, e)), n ? /* @__PURE__ */ (0, L.jsx)(qP, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -37862,10 +37867,10 @@ function Yoe({ tags: e }) {
})
}) : null] });
}
-function ZP({ mark: e }) {
+function QP({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, L.jsx)(HP, { name: e.brand })
+ children: /* @__PURE__ */ (0, L.jsx)(UP, { name: e.brand })
});
let t = s("globe") + ("site" in e ? `<img src="${r(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, L.jsx)("span", {
@@ -37873,7 +37878,7 @@ function ZP({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Xoe({ link: e }) {
+function Yoe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, L.jsx)("a", {
"data-link": "icon",
@@ -37882,19 +37887,19 @@ function Xoe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(ZP, { mark: e.mark })
+ children: /* @__PURE__ */ (0, L.jsx)(QP, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, L.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, L.jsx)(ZP, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, L.jsx)(QP, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, L.jsx)(ZP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(QP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -37905,14 +37910,14 @@ function Xoe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, L.jsx)(ZP, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(QP, { mark: e.mark }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Zoe({ entity: e, actions: t, helpers: n }) {
+function Xoe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, I.useState)(!!e.feed?.following), [a, o] = (0, I.useState)(!1), s = (0, I.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -37930,31 +37935,31 @@ function Zoe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-entry-marks": "",
- children: [XP(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ children: [ZP(e).map((e, t) => /* @__PURE__ */ (0, L.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(HP, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, L.jsx)(UP, { name: e.mark }) : /* @__PURE__ */ (0, L.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, L.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(Poe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, L.jsx)(Noe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Roe(r)
+ tip: Loe(r)
}) : null]
});
}
-function Qoe({ feedNew: e, host: t, actions: n, helpers: r }) {
+function Zoe({ feedNew: e, host: t, actions: n, helpers: r }) {
let i = (0, I.useRef)(null), a = e?.items.length ? e.html : "";
(0, I.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !a;
@@ -37978,7 +37983,7 @@ function Qoe({ feedNew: e, host: t, actions: n, helpers: r }) {
}
//#endregion
//#region src/follow-sort.ts
-var QP = [
+var $P = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -37986,7 +37991,7 @@ var QP = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], $oe = "checked", $P = {
+], Qoe = "checked", eF = {
checked: "desc",
added: "desc",
name: "asc",
@@ -37994,32 +37999,32 @@ var QP = [
source: "asc",
provider: "asc",
status: "asc"
-}, ese = (e) => QP.some(([t]) => t === e);
-function eF(e, t) {
- let n = ese(e) ? e : $oe;
+}, $oe = (e) => $P.some(([t]) => t === e);
+function tF(e, t) {
+ let n = $oe(e) ? e : Qoe;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : $P[n]
+ dir: t === "asc" || t === "desc" ? t : eF[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var tF = "/api/follow", nF = "/api/follow/credentials", rF = "/api/follow/check", iF = "/api/follow/source", aF = "/api/follow/resolve", tse = "/api/follow/suggest", oF = "/api/follow/author-alias", nse = "/api/follow/credential", sF = "/api/follow/status", rse = "/api/feeds", cF = "/api/feeds/source", ise = "/api/feeds/check", ase = "/api/feeds/lookup", lF = ["follow-manage"], uF = ["follow-manage", "credentials"], ose = ["follow-manage", "check"], sse = ["follow-manage", "resolve"], dF = ["follow-manage", "feeds"], cse = (e) => [
+var nF = "/api/follow", rF = "/api/follow/credentials", iF = "/api/follow/check", aF = "/api/follow/source", oF = "/api/follow/resolve", ese = "/api/follow/suggest", sF = "/api/follow/author-alias", tse = "/api/follow/credential", cF = "/api/follow/status", nse = "/api/feeds", lF = "/api/feeds/source", rse = "/api/feeds/check", ise = "/api/feeds/lookup", uF = ["follow-manage"], dF = ["follow-manage", "credentials"], ase = ["follow-manage", "check"], ose = ["follow-manage", "resolve"], fF = ["follow-manage", "feeds"], sse = (e) => [
"follow-manage",
"suggest",
e
-], fF = [["default", "默认视图"], ["table", "表格视图"]], pF = [
+], pF = [["default", "默认视图"], ["table", "表格视图"]], mF = [
10,
20,
50,
100
-], lse = Object.fromEntries(QP), mF = {
+], cse = Object.fromEntries($P), hF = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, use = (e) => fF.some(([t]) => t === e), dse = (e) => pF.includes(Number(e)) ? Number(e) : 20, fse = {
+}, lse = (e) => pF.some(([t]) => t === e), use = (e) => mF.includes(Number(e)) ? Number(e) : 20, dse = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -38027,25 +38032,25 @@ var tF = "/api/follow", nF = "/api/follow/credentials", rF = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, pse = (e, t) => `按${lse[e]}${fse[e][t === "asc" ? 0 : 1]}排序`;
-function hF(e) {
+}, fse = (e, t) => `按${cse[e]}${dse[e][t === "asc" ? 0 : 1]}排序`;
+function gF(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function mse(e) {
+function pse(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var gF = (e) => e.last_status === "error" || e.last_status === "unauthorized", _F = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), vF = {
- source: _F,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || _F(e, t),
- status: (e, t) => hF(e) - hF(t) || _F(e, t)
-}, yF = (e) => Date.parse(e || "") || 0, bF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function xF(e, t = []) {
+var _F = (e) => e.last_status === "error" || e.last_status === "unauthorized", vF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), yF = {
+ source: vF,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || vF(e, t),
+ status: (e, t) => gF(e) - gF(t) || vF(e, t)
+}, bF = (e) => Date.parse(e || "") || 0, xF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function SF(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || bF(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || xF(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return bF(i.canonical_name);
+ if (i) return xF(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -38053,18 +38058,18 @@ function xF(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function hse(e) {
+function mse(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function gse(e) {
+function hse(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function SF(e) {
+function CF(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -38072,32 +38077,32 @@ function SF(e) {
}
return t.map((e) => n.get(e));
}
-function _se(e, t, n, r = []) {
- let i = SF(e), a = n === $P[t] ? 1 : -1, o = (e) => xF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = vF[t];
+function gse(e, t, n, r = []) {
+ let i = CF(e), a = n === eF[t] ? 1 : -1, o = (e) => SF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = yF[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => yF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => yF(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => bF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => bF(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
-function vse(e, t, n, r = []) {
+function _se(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = xF(e, r);
+ let t = SF(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = vF[t];
+ }), a = yF[t];
if (a) {
- let e = n === $P[t] ? 1 : -1;
+ let e = n === eF[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function CF(e, t, n) {
- let r = CE(e, t), i = wE(n, r), a = (i - 1) * t;
+function wF(e, t, n) {
+ let r = wE(e, t), i = TE(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -38106,91 +38111,91 @@ function CF(e, t, n) {
end: Math.min(a + t, e)
};
}
-function yse(e, t) {
+function vse(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function wF(e, t) {
+function TF(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function TF(e, t, n) {
+function EF(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var EF = (e) => hw(`${tF}?summary=1`, e), DF = (e) => hw(nF, e), bse = (e) => hw(rF, e), xse = (e) => hw(aF, e), Sse = (e, t) => hw(`${tse}?q=${encodeURIComponent(e)}`, t), OF = (e) => q(rF, {
+var DF = (e) => hw(`${nF}?summary=1`, e), OF = (e) => hw(rF, e), yse = (e) => hw(iF, e), bse = (e) => hw(oF, e), xse = (e, t) => hw(`${ese}?q=${encodeURIComponent(e)}`, t), kF = (e) => q(iF, {
...e?.length ? { sources: e } : {},
background: !0
-}), Cse = (e) => q(aF, {
+}), Sse = (e) => q(oF, {
lines: e,
background: !0
-}), kF = (e, t) => q(iF, {
+}), AF = (e, t) => q(aF, {
action: "enabled",
id: e,
enabled: t
-}), AF = (e) => q(iF, {
+}), jF = (e) => q(aF, {
action: "remove",
id: e
-}), wse = (e) => q(iF, {
+}), Cse = (e) => q(aF, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), jF = (e, t) => q(oF, {
+}), MF = (e, t) => q(sF, {
action: "add",
canonical: e,
alias: t
-}), Tse = (e) => q(oF, {
+}), wse = (e) => q(sF, {
action: "remove",
alias: e
-}), Ese = (e, t) => q(nse, {
+}), Tse = (e, t) => q(tse, {
provider: e,
values: t
-}), Dse = (e, t) => q(sF, {
+}), Ese = (e, t) => q(cF, {
item: e,
to: t
-}), Ose = () => hw(`${tF}?status=new&limit=1000`);
-async function MF(e) {
- let t = await hw(rse, e);
+}), Dse = () => hw(`${nF}?status=new&limit=1000`);
+async function NF(e) {
+ let t = await hw(nse, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var NF = (e, t, n) => q(cF, {
+var PF = (e, t, n) => q(lF, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), PF = (e, t) => q(cF, {
+}, "POST", n), FF = (e, t) => q(lF, {
action: "remove",
id: e
-}, "POST", t), FF = (e, t) => q(ise, t?.length ? { sources: t } : { all: !0 }, "POST", e), kse = (e, t) => hw(`${ase}?q=${encodeURIComponent(e)}`, t), Ase = (e, t, n) => q(cF, {
+}, "POST", t), IF = (e, t) => q(rse, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ose = (e, t) => hw(`${ise}?q=${encodeURIComponent(e)}`, t), kse = (e, t, n) => q(lF, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function jse(e, t = "") {
+async function Ase(e, t = "") {
await Promise.all([
- X.fetchQuery({
- queryKey: lF,
- queryFn: () => EF(e)
- }),
X.fetchQuery({
queryKey: uF,
queryFn: () => DF(e)
}),
- t === "feeds" ? X.fetchQuery({
+ X.fetchQuery({
queryKey: dF,
- queryFn: () => MF(e)
+ queryFn: () => OF(e)
+ }),
+ t === "feeds" ? X.fetchQuery({
+ queryKey: fF,
+ queryFn: () => NF(e)
}) : null
]);
}
-function IF(e, t) {
- X.setQueryData(lF, (n) => n && {
+function LF(e, t) {
+ X.setQueryData(uF, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -38198,24 +38203,24 @@ function IF(e, t) {
} : n)
});
}
-function LF(e) {
+function RF(e) {
let t = new Set(e);
- X.setQueryData(lF, (e) => e && {
+ X.setQueryData(uF, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var RF = () => X.invalidateQueries({
- queryKey: lF,
+var zF = () => X.invalidateQueries({
+ queryKey: uF,
exact: !0
});
-function Mse(e) {
+function jse(e) {
let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];
r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var Nse = (e) => (e?.results || []).filter((e) => !e.ok), Pse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", zF = (e) => e.last_checked_at ? EE(e.last_checked_at) : "未检查", Fse = /* @__PURE__ */ new Set([
+var Mse = (e) => (e?.results || []).filter((e) => !e.ok), Nse = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", BF = (e) => e.last_checked_at ? DE(e.last_checked_at) : "未检查", Pse = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -38228,50 +38233,50 @@ var Nse = (e) => (e?.results || []).filter((e) => !e.ok), Pse = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), Ise = (e) => Fse.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Lse = {
+]), Fse = (e) => Pse.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Ise = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, BF = (e) => !!e.present && !e.missing.length, Rse = [
+}, VF = (e) => !!e.present && !e.missing.length, Lse = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], zse = [
+], Rse = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], VF = {
+], HF = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function HF(e, t) {
+function UF(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function UF(e, t) {
+function WF(e, t) {
return {
queryKey: [
"follow-feed",
- HF(e, 0),
+ UF(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => hw(HF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => hw(UF(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
placeholderData: Pe
};
}
-var WF = ["follow-feed", "credentials"], GF = (e) => hw(nF, e).catch(() => ({ providers: [] }));
-async function Bse(e, t) {
- let n = UF(e.view, e.revision);
+var GF = ["follow-feed", "credentials"], KF = (e) => hw(rF, e).catch(() => ({ providers: [] }));
+async function zse(e, t) {
+ let n = WF(e.view, e.revision);
X.removeQueries({
queryKey: n.queryKey,
exact: !0
}), X.removeQueries({
- queryKey: WF,
+ queryKey: GF,
exact: !0
}), await Promise.all([X.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -38282,11 +38287,11 @@ async function Bse(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), X.fetchQuery({
- queryKey: WF,
- queryFn: () => GF(t)
+ queryKey: GF,
+ queryFn: () => KF(t)
})]);
}
-function KF(e) {
+function qF(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -38295,10 +38300,10 @@ function KF(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function qF(e, t, n) {
+function JF(e, t, n) {
return [...e].sort((e, r) => f(n, t(e)) - f(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function JF(e) {
+function YF(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -38306,12 +38311,12 @@ function JF(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function Vse(e) {
+function Bse(e) {
for (let [, t] of X.getQueriesData({ queryKey: ["follow-feed"] })) {
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let n = t.pages[t.pages.length - 1];
for (let r of t.pages) for (let t of r.groups || []) {
- let r = JF(t).find((t) => t.id === e);
+ let r = YF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -38322,7 +38327,7 @@ function Vse(e) {
}
return null;
}
-function Hse(e) {
+function Vse(e) {
X.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -38332,7 +38337,7 @@ function Hse(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return JF(t).some((t) => t.id === e.id) ? {
+ return YF(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -38342,39 +38347,39 @@ function Hse(e) {
}))
});
}
-function Use(e, t) {
+function Hse(e, t) {
X.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && nI(n, null, e, t));
-}
-function YF(e) {
- return JF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+ }, (n) => n && rI(n, null, e, t));
}
function XF(e) {
+ return YF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+}
+function ZF(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function ZF(e) {
+function QF(e) {
let t = /* @__PURE__ */ new Set();
- return JF(e).forEach((e) => XF(e).forEach((e) => t.add(e))), t;
+ return YF(e).forEach((e) => ZF(e).forEach((e) => t.add(e))), t;
}
-function QF(e, t) {
+function $F(e, t) {
let n = t === "images" ? "image" : "video";
- return YF(e).find((e) => XF(e).has(n)) || e.primary;
+ return XF(e).find((e) => ZF(e).has(n)) || e.primary;
}
-function $F(e) {
- return YF(e).filter((e) => e.playable && e.media_kind === "video");
+function eI(e) {
+ return XF(e).filter((e) => e.playable && e.media_kind === "video");
}
-var eI = {
+var tI = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function Wse({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${eI[s] || eI.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function Use({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${tI[s] || tI.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -38383,14 +38388,14 @@ function Wse({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function Gse(e) {
+function Wse(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function tI(e, t, n) {
- return e === t ? VF[e] ? {
+function nI(e, t, n) {
+ return e === t ? HF[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -38398,13 +38403,13 @@ function tI(e, t, n) {
dir: "desc"
};
}
-function Kse(e, t, n, r) {
- let i = tI(e, n, r);
+function Gse(e, t, n, r) {
+ let i = nI(e, n, r);
if (!i) return "";
- let a = VF[i.sort];
+ let a = HF[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function nI(e, t, n, r) {
+function rI(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -38434,7 +38439,7 @@ function nI(e, t, n, r) {
})
};
}
-function qse(e, t) {
+function Kse(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -38454,7 +38459,7 @@ function qse(e, t) {
label: e
})), n;
}
-function Jse(e, t) {
+function qse(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -38469,7 +38474,7 @@ function Jse(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function Yse(e, t) {
+function Jse(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -38478,11 +38483,11 @@ function Yse(e, t) {
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var rI = (e) => ["follow-item", e], Xse = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Zse = "/api/follow/save", Qse = "/api/follow/media/hide";
-async function iI(e, t) {
- let n = await hw(Xse(e), t);
+var iI = (e) => ["follow-item", e], Yse = (e) => `/api/follow?item=${encodeURIComponent(e)}`, Xse = "/api/follow/save", Zse = "/api/follow/media/hide";
+async function aI(e, t) {
+ let n = await hw(Yse(e), t);
for (let t of n.groups || []) {
- let r = JF(t).find((t) => t.id === e);
+ let r = YF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -38492,21 +38497,21 @@ async function iI(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function $se(e, t) {
- let n = rI(e.id), r = Vse(e.id), i = X.getQueryData(WF) ? null : X.fetchQuery({
- queryKey: WF,
- queryFn: () => GF(t)
+async function Qse(e, t) {
+ let n = iI(e.id), r = Bse(e.id), i = X.getQueryData(GF) ? null : X.fetchQuery({
+ queryKey: GF,
+ queryFn: () => KF(t)
});
r ? X.setQueryData(n, {
...r,
item: r.item
}) : await X.fetchQuery({
queryKey: n,
- queryFn: () => iI(e.id, t)
+ queryFn: () => aI(e.id, t)
}), await i;
}
-function ece(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 && $F(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+function $se(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 && eI(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -38520,32 +38525,32 @@ function ece(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var tce = (e) => JF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), nce = {
+var ece = (e) => YF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), tce = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, rce = {
+}, nce = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function ice(e) {
+function rce(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return nce[t] || t;
+ return tce[t] || t;
} catch {
return "外部文件页";
}
}
-function aI(e, t) {
- return rce[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function oI(e, t) {
+ return nce[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function ace(e, t, n = "") {
+function ice(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;
@@ -38554,56 +38559,56 @@ function ace(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var oce = (e) => String(e.name || "").trim(), oI = (e, t) => e.tag_types?.[t] || "unknown", sce = /* @__PURE__ */ new Set([
+var ace = (e) => String(e.name || "").trim(), sI = (e, t) => e.tag_types?.[t] || "unknown", oce = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function cce(e, t) {
- let n = oI(e, t);
- return `r34-${sce.has(n) ? n : "general"}`;
+function sce(e, t) {
+ let n = sI(e, t);
+ return `r34-${oce.has(n) ? n : "general"}`;
}
-var sI = [
+var cI = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function lce(e, t) {
+function cce(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = sI.indexOf(oI(e, t));
- return n < 0 ? sI.length : n;
+ let n = cI.indexOf(sI(e, t));
+ return n < 0 ? cI.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function uce(e, t) {
+function lce(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 dce = (e, t) => ({
+var uce = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), cI = (e) => e?.size ? { size: e.size } : {};
-function fce(e, t) {
+}), lI = (e) => e?.size ? { size: e.size } : {};
+function dce(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,
name: t.name || e.title,
- source: aI(t, e),
- ...cI(t),
+ source: oI(t, e),
+ ...lI(t),
position: r + 1,
total: n.length
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: aI(a, e),
- ...cI(a),
+ source: oI(a, e),
+ ...lI(a),
position: 1,
total: 1
}] : e.thumb_url ? [{
@@ -38615,10 +38620,10 @@ function fce(e, t) {
total: 1
}] : [];
}
-var pce = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var fce = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
-function lI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...c }) {
+function uI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...c }) {
return /* @__PURE__ */ (0, L.jsxs)("aside", {
className: "mixqueue",
"data-queue-kind": e,
@@ -38646,7 +38651,7 @@ function lI({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function uI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function dI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, L.jsx)("span", {
className: "mixitemtext",
children: a
@@ -38669,29 +38674,29 @@ function uI({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var mce = ({ label: e, count: t }) => /* @__PURE__ */ (0, L.jsxs)("h3", {
+var pce = ({ label: e, count: t }) => /* @__PURE__ */ (0, L.jsxs)("h3", {
className: "mixgrouplabel",
children: [
e,
" ",
/* @__PURE__ */ (0, L.jsx)("span", { children: t })
]
-}), dI = (e) => Number(e) > 0, hce = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+}), fI = (e) => Number(e) > 0, mce = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: s(e) }
-}), fI = s("external-link", "externalmark");
-function gce(e) {
+}), pI = s("external-link", "externalmark");
+function hce(e) {
let { id: t, actions: n } = e, r = Ft({
- queryKey: rI(t),
- queryFn: ({ signal: e }) => iI(t, e)
+ queryKey: iI(t),
+ queryFn: ({ signal: e }) => aI(t, e)
}), i = Ft({
- queryKey: WF,
- queryFn: ({ signal: e }) => GF(e)
+ queryKey: GF,
+ queryFn: ({ signal: e }) => KF(e)
}), a = (0, I.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, I.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, L.jsx)(_ce, {
+ return r.data ? /* @__PURE__ */ (0, L.jsx)(gce, {
...e,
data: r.data,
- context: dce(r.data, a),
+ context: uce(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, L.jsx)("div", {
@@ -38700,7 +38705,7 @@ function gce(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "vwrap",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, L.jsx)(pI, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(mI, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-detail-placeholder": "",
children: r.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(r.error),
@@ -38710,7 +38715,7 @@ function gce(e) {
})
});
}
-var pI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
+var mI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "closestage",
id: "closeStage",
@@ -38719,8 +38724,8 @@ var pI = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: s("x") }
});
-function _ce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = ece(s, c, n, i), u = xce(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, I.useState)({
+function gce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = $se(s, c, n, i), u = bce(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, I.useState)({
key: "",
kind: ""
}), m = {
@@ -38740,20 +38745,20 @@ function _ce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? tce(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, L.jsx)(_I, {
+ let h = !l.embedded.length && l.collection ? ece(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, L.jsx)(vI, {
item: s,
current: l.selected.index,
helpers: a,
actions: o,
onMedia: r
- }) : l.collection ? h ? /* @__PURE__ */ (0, L.jsx)(_I, {
+ }) : l.collection ? h ? /* @__PURE__ */ (0, L.jsx)(vI, {
item: h,
current: null,
helpers: a,
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, L.jsx)(yce, {
+ }) : /* @__PURE__ */ (0, L.jsx)(vce, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -38763,7 +38768,7 @@ function _ce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
className: g ? "sgrid mixgrid" : "sgrid",
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(vce, {
+ /* @__PURE__ */ (0, L.jsx)(_ce, {
item: s,
media: l,
helpers: a,
@@ -38772,7 +38777,7 @@ function _ce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, L.jsx)(bce, {
+ /* @__PURE__ */ (0, L.jsx)(yce, {
item: s,
data: e,
context: t,
@@ -38785,8 +38790,8 @@ function _ce({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function vce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
- let { kind: o, selected: c, src: l, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, I.useRef)(null), [h, g] = (0, I.useState)(null), _ = fce(e, t), v = c?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? l : e.thumb_url || "", x = e.playable && o === "image" && v && v !== l ? v : "", [S, C] = (0, I.useState)(b), w = (0, I.useRef)(null), T = (0, I.useRef)({
+function _ce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
+ let { kind: o, selected: c, src: l, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, I.useRef)(null), [h, g] = (0, I.useState)(null), _ = dce(e, t), v = c?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? l : e.thumb_url || "", x = e.playable && o === "image" && v && v !== l ? v : "", [S, C] = (0, I.useState)(b), w = (0, I.useRef)(null), T = (0, I.useRef)({
item: e,
selected: c
});
@@ -38816,7 +38821,7 @@ function vce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
"--follow-image-arrow-inset": h === null ? void 0 : `${h}px`
},
children: [
- /* @__PURE__ */ (0, L.jsx)(pI, { onClose: r.close }),
+ /* @__PURE__ */ (0, L.jsx)(mI, { onClose: r.close }),
y ? /* @__PURE__ */ (0, L.jsx)("video", {
ref: w,
className: "video-js vjs-big-play-centered",
@@ -38831,7 +38836,7 @@ function vce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
src: S,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: _.length ? () => void EN(Math.max(0, d), _) : void 0,
+ onClick: _.length ? () => void DN(Math.max(0, d), _) : void 0,
onError: () => {
if (x && S !== x) {
C(x), a.thumbFallback();
@@ -38882,11 +38887,11 @@ function vce({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
]
});
}
-var mI = ({ kind: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+var hI = ({ kind: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: s(e === "image" ? "image-off" : "play") }
});
-function hI({ src: e }) {
+function gI({ src: e }) {
let [t, n] = (0, I.useState)(!1);
return t ? null : /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
@@ -38896,14 +38901,14 @@ function hI({ src: e }) {
onError: () => n(!0)
});
}
-function gI(e) {
+function _I(e) {
return (0, I.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function yce({ group: e, itemId: t, helpers: n, actions: r }) {
- let a = $F(e), o = gI(n);
- return /* @__PURE__ */ (0, L.jsx)(lI, {
+function vce({ group: e, itemId: t, helpers: n, actions: r }) {
+ let a = eI(e), o = _I(n);
+ return /* @__PURE__ */ (0, L.jsx)(uI, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
@@ -38911,12 +38916,12 @@ function yce({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: o,
summary: `${e.primary.title || "未命名合集"} · ${a.length} 个视频`,
children: a.map((a) => {
- let o = e.duplicates.includes(a), s = ace(e, a, o ? a.provider_label : ""), c = o ? n.sourceIcon(a.provider, a.provider_label) : "";
- return /* @__PURE__ */ (0, L.jsxs)(uI, {
+ let o = e.duplicates.includes(a), s = ice(e, a, o ? a.provider_label : ""), c = o ? n.sourceIcon(a.provider, a.provider_label) : "";
+ return /* @__PURE__ */ (0, L.jsxs)(dI, {
current: a.id === t,
"data-follow-queue-item": a.id,
onClick: () => r.openItem(a.id),
- pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.thumb_url ? /* @__PURE__ */ (0, L.jsx)(hI, { src: a.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(mI, { kind: "video" }), dI(a.duration) ? /* @__PURE__ */ (0, L.jsx)("i", {
+ pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [a.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: a.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(hI, { kind: "video" }), fI(a.duration) ? /* @__PURE__ */ (0, L.jsx)("i", {
className: "dur mono",
children: i(a.duration)
}) : null] }),
@@ -38940,8 +38945,8 @@ function yce({ group: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function _I({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = gI(r), c = [];
+function vI({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = _I(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -38951,26 +38956,26 @@ function _I({ 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, L.jsx)(lI, {
+ return /* @__PURE__ */ (0, L.jsx)(uI, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, L.jsx)(mce, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, L.jsx)(pce, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, L.jsxs)(uI, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, L.jsxs)(dI, {
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, L.jsx)(hI, { src: n.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(mI, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: n.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(hI, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, L.jsx)("b", {
"data-middle-truncate": "",
- children: oce(n)
+ children: ace(n)
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -38978,13 +38983,13 @@ function _I({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function bce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpers: u, actions: d }) {
+function yce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpers: u, actions: d }) {
let { kind: f, selected: p, src: m } = a, h = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, g = u.badges(h, e), _ = u.identity(e, uce(e, t.sources), n), v = _.credited ? "" : e.author && o(e.author) !== o(_.author) ? e.author : "", y = u.mediaIssue(e, n), b = lce(e, u.tagLabel), x = e.status === "saved", { busy: S } = c, C = (e) => S.has(e) ? {
+ }, g = u.badges(h, e), _ = u.identity(e, lce(e, t.sources), n), v = _.credited ? "" : e.author && o(e.author) !== o(_.author) ? e.author : "", y = u.mediaIssue(e, n), b = cce(e, u.tagLabel), x = e.status === "saved", { busy: S } = c, C = (e) => S.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -39009,7 +39014,7 @@ function bce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: fI }
+ dangerouslySetInnerHTML: { __html: pI }
}) : null]
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -39029,7 +39034,7 @@ function bce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
"data-reveal-line": "",
children: [
/* @__PURE__ */ (0, L.jsx)("span", { children: u.when(e) }),
- dI(e.duration) ? /* @__PURE__ */ (0, L.jsx)("span", { children: i(e.duration) }) : null,
+ fI(e.duration) ? /* @__PURE__ */ (0, L.jsx)("span", { children: i(e.duration) }) : null,
g ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: g }
@@ -39063,9 +39068,9 @@ function bce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [ice(e), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [rce(e), /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: fI }
+ dangerouslySetInnerHTML: { __html: pI }
})]
}, e))
}) : null,
@@ -39153,7 +39158,7 @@ function bce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...C(`restore:${e.index}`),
onClick: () => c.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, L.jsx)(hI, { src: e.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(hce, { name: "image-off" }), /* @__PURE__ */ (0, L.jsx)("i", { dangerouslySetInnerHTML: { __html: s("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, L.jsx)(gI, { src: e.thumb_url }) : /* @__PURE__ */ (0, L.jsx)(mce, { name: "image-off" }), /* @__PURE__ */ (0, L.jsx)("i", { dangerouslySetInnerHTML: { __html: s("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -39168,7 +39173,7 @@ function bce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
children: b.map((t) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "tg",
- "data-tag-cat": cce(e, t),
+ "data-tag-cat": sce(e, t),
"data-follow-tag": t,
onClick: () => d.openTag(t),
children: u.tagLabel(t)
@@ -39178,8 +39183,8 @@ function bce({ item: e, data: t, context: n, media: a, write: c, issue: l, helpe
})
});
}
-function xce(e, t, n) {
- let r = e.id, i = rI(r), [a, o] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), l = (e, t) => o((n) => {
+function bce(e, t, n) {
+ let r = e.id, i = iI(r), [a, o] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -39189,17 +39194,17 @@ function xce(e, t, n) {
...t.item,
status: e
}
- }), Use(r, e);
+ }), Hse(r, e);
}, f = (e) => {
c(d(e) || "操作失败"), t.failure("更新关注状态", e);
}, p = It({
- mutationFn: ({ to: e }) => q(sF, {
+ mutationFn: ({ to: e }) => q(cF, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), t.toast(pce(n), { undo: i === "saved" ? void 0 : async () => {
- await q(sF, {
+ u(n), c(""), t.toast(fce(n), { undo: i === "saved" ? void 0 : async () => {
+ await q(cF, {
item: r,
to: i
}), u(i);
@@ -39208,7 +39213,7 @@ function xce(e, t, n) {
onError: f,
onSettled: (e, t, { to: n }) => l(n, !1)
}), m = It({
- mutationFn: () => q(Zse, { item: r }),
+ mutationFn: () => q(Xse, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -39216,7 +39221,7 @@ function xce(e, t, n) {
onSettled: () => l("save", !1)
}), h = It({
mutationFn: async ({ index: e, hidden: t }) => {
- await q(Qse, {
+ await q(Zse, {
item: r,
media: e,
hidden: t
@@ -39227,7 +39232,7 @@ function xce(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = X.getQueryData(i);
- o && Hse(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && Vse(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: f,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
@@ -39263,18 +39268,18 @@ function xce(e, t, n) {
}
//#endregion
//#region src/sidebar.ts
-function Sce(e) {
+function xce(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var Cce = (e) => Number(e) > 0;
-function wce(e) {
+var Sce = (e) => Number(e) > 0;
+function Cce(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function Tce({ src: e, width: t, height: n, onLearn: r }) {
+function wce({ src: e, width: t, height: n, onLearn: r }) {
let [i, a] = (0, I.useState)(!1);
return i ? null : /* @__PURE__ */ (0, L.jsx)("img", {
src: e,
@@ -39290,8 +39295,8 @@ function Tce({ src: e, width: t, height: n, onLearn: r }) {
} : void 0
});
}
-function Ece(e) {
- let { group: t, authorSources: n, media: a, context: o, selected: c, selectMode: l, busy: u, failure: d, helpers: f, actions: p } = e, m = QF(t, a), h = a === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = a === "videos" ? $F(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = Wse({
+function Tce(e) {
+ let { group: t, authorSources: n, media: a, context: o, selected: c, selectMode: l, busy: u, failure: d, helpers: f, actions: p } = e, m = $F(t, a), h = a === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = a === "videos" ? eI(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = Use({
cover: _,
coverFace: (g?.thumb_url ? g : m).face,
stack: t.stack,
@@ -39299,7 +39304,7 @@ function Ece(e) {
limit: 9
}), T = (0, I.useRef)(w.faces);
T.current = w.faces;
- let E = dT({
+ let E = fT({
load: async () => T.current,
canFlip: () => T.current.length > 1 && p.canFlip(),
referrerPolicy: "no-referrer"
@@ -39341,7 +39346,7 @@ function Ece(e) {
"data-follow-open": "",
"aria-label": `打开 ${m.title} 详情`
}),
- _ ? /* @__PURE__ */ (0, L.jsx)(Tce, {
+ _ ? /* @__PURE__ */ (0, L.jsx)(wce, {
src: _,
width: b?.width,
height: b?.height,
@@ -39376,7 +39381,7 @@ function Ece(e) {
},
dangerouslySetInnerHTML: { __html: s("check") }
}),
- Cce(m.duration) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ Sce(m.duration) ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-duration": "",
children: i(m.duration)
}) : null,
@@ -39469,7 +39474,7 @@ function Ece(e) {
}), /* @__PURE__ */ (0, L.jsx)("time", {
dateTime: m.published_at || "",
title: A,
- children: wce(A)
+ children: Cce(A)
})]
}),
k.credited ? /* @__PURE__ */ (0, L.jsx)("div", {
@@ -39505,10 +39510,10 @@ function Ece(e) {
]
});
}
-var Dce = (0, I.memo)(Ece), vI = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var Ece = (0, I.memo)(Tce), yI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Oce = oT("settings"), kce = oT("chevron-down"), Ace = oT("history"), jce = [[
+}), Dce = sT("settings"), Oce = sT("chevron-down"), kce = sT("history"), Ace = [[
"fixed",
"固定比例",
"layout-grid"
@@ -39517,19 +39522,19 @@ var Dce = (0, I.memo)(Ece), vI = () => /* @__PURE__ */ (0, L.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function Mce(e, t, n) {
+function jce(e, t, n) {
return (0, I.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = qF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = qF(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = JF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = JF(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = qF([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = JF([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -39537,7 +39542,7 @@ function Mce(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => ZF(e).forEach((e) => {
+ r.forEach((e) => QF(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -39552,7 +39557,7 @@ function Mce(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => ZF(e).has(_)),
+ visible: r.filter((e) => QF(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -39565,15 +39570,15 @@ function Mce(e, t, n) {
n
]);
}
-function Nce(e) {
- let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = UF(t, r), s = Lt(o), c = Ft({
- queryKey: WF,
- queryFn: ({ signal: e }) => GF(e)
- }), l = (0, I.useMemo)(() => KF(s.data), [s.data]), u = (0, I.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), f = (0, I.useMemo)(() => ({
+function Mce(e) {
+ let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = WF(t, r), s = Lt(o), c = Ft({
+ queryKey: GF,
+ queryFn: ({ signal: e }) => KF(e)
+ }), l = (0, I.useMemo)(() => qF(s.data), [s.data]), u = (0, I.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), f = (0, I.useMemo)(() => ({
sources: l?.sources || [],
aliases: l?.author_aliases || [],
credentials: u
- }), [l, u]), p = Mce(l, t, n), m = s.isPending || s.isPlaceholderData, h = !m && !!l, g = (0, I.useMemo)(() => Sce(p.visible.flatMap(JF).map((e) => ({ tags: e.tags || [] }))), [p.visible]);
+ }), [l, u]), p = jce(l, t, n), m = s.isPending || s.isPlaceholderData, h = !m && !!l, g = (0, I.useMemo)(() => xce(p.visible.flatMap(YF).map((e) => ({ tags: e.tags || [] }))), [p.visible]);
(0, I.useEffect)(() => {
h && a.loaded(g);
}, [
@@ -39581,7 +39586,7 @@ function Nce(e) {
g,
a
]);
- let _ = Pce(e, !!l);
+ let _ = Nce(e, !!l);
if (!l) return s.isError ? /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(s.error),
onRetry: () => void s.refetch()
@@ -39589,7 +39594,7 @@ function Nce(e) {
let v = (e) => a.route({
...t,
...e
- }), y = qse({
+ }), y = Kse({
...t,
author: p.author,
provider: p.provider
@@ -39614,7 +39619,7 @@ function Nce(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
- leadingIcon: Oce,
+ leadingIcon: Dce,
"data-follow-manage": "",
onClick: a.openManage,
children: "管理关注"
@@ -39631,20 +39636,20 @@ function Nce(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(Fce, {
+ /* @__PURE__ */ (0, L.jsx)(Pce, {
facets: p,
pressed: p.author,
context: f,
props: e,
onPick: (e) => v({ author: p.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, L.jsx)(Ice, {
+ /* @__PURE__ */ (0, L.jsx)(Fce, {
rows: p.workRows,
pressed: t.work,
props: e,
onPick: (e) => v({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, L.jsx)(Lce, {
+ /* @__PURE__ */ (0, L.jsx)(Ice, {
facets: p,
view: t,
total: b,
@@ -39652,9 +39657,9 @@ function Nce(e) {
props: e,
route: v
}),
- /* @__PURE__ */ (0, L.jsx)(Rce, {
+ /* @__PURE__ */ (0, L.jsx)(Lce, {
conditions: y,
- onDrop: (e) => a.route(Jse(t, e)),
+ onDrop: (e) => a.route(qse(t, e)),
onClear: () => v({
author: "",
provider: "",
@@ -39662,11 +39667,11 @@ function Nce(e) {
tags: []
})
}),
- p.broken.length ? /* @__PURE__ */ (0, L.jsx)(zce, {
+ p.broken.length ? /* @__PURE__ */ (0, L.jsx)(Rce, {
count: p.broken.length,
onManage: a.openManage
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Bce, {
+ /* @__PURE__ */ (0, L.jsx)(zce, {
pending: m,
facets: p,
data: l,
@@ -39677,19 +39682,19 @@ function Nce(e) {
"data-follow-pagination": "",
children: [l.has_more ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, L.jsxs)(ST, {
+ children: /* @__PURE__ */ (0, L.jsxs)(CT, {
entity: !0,
enabled: () => !_.busyRef.current,
load: async () => {
await s.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, L.jsx)(kce, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, L.jsx)(Oce, { className: "size-3.5" }), "加载更多"]
}, s.data?.pages.length)
}) : null, x ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
- leadingIcon: _.olderBusy ? void 0 : Ace,
+ leadingIcon: _.olderBusy ? void 0 : kce,
"data-follow-older": "",
"aria-busy": _.busy || void 0,
onClick: () => void _.start(!0),
@@ -39699,14 +39704,14 @@ function Nce(e) {
}), /* @__PURE__ */ (0, L.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-follow-backfill": "",
- children: Gse(p.sources)
+ children: Wse(p.sources)
})]
}) : null]
}) : null
]
})] });
}
-function Pce(e, t) {
+function Nce(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, I.useState)(0), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(""), [u, f] = (0, I.useState)(!1), p = (0, I.useRef)(!1), m = (0, I.useRef)(null), h = (0, I.useRef)({
helpers: n,
actions: r
@@ -39721,7 +39726,7 @@ function Pce(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => hw(rF, e),
+ read: (e) => hw(iF, e),
busy: (e) => {
t && (p.current = e, s(e));
},
@@ -39746,7 +39751,7 @@ function Pce(e, t) {
p.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await q(rF, e ? {
+ let n = await q(iF, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -39764,7 +39769,7 @@ function Pce(e, t) {
olderBusy: c === "older" || u && o
};
}
-function Fce({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function Pce({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -39790,7 +39795,7 @@ function Fce({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function Ice({ rows: e, pressed: t, props: n, onPick: r }) {
+function Fce({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -39811,13 +39816,13 @@ function Ice({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: c } = i, l = (0, I.useRef)(null), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = JN(l, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = JN(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
+function Ice({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: c } = i, l = (0, I.useRef)(null), u = (0, I.useRef)(null), d = (0, I.useRef)(null), f = (0, I.useRef)(null), p = (0, I.useRef)(null), m = (0, I.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = YN(l, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = YN(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
(0, I.useEffect)(() => {
o.wireDrag(p.current), o.wireDrag(m.current), o.wireScroller(m.current);
}, [o]);
let v = [...e.providers], y = v.length + e.tagRows.length > 0, b = t.media === "images";
- return /* @__PURE__ */ (0, L.jsx)(bM, {
+ return /* @__PURE__ */ (0, L.jsx)(xM, {
label: "筛选与排序",
topLabel: h ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -39869,7 +39874,7 @@ function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: s(i) }
}, e);
})
- }), /* @__PURE__ */ (0, L.jsx)(vI, {})] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
+ }), /* @__PURE__ */ (0, L.jsx)(yI, {})] }) : null, /* @__PURE__ */ (0, L.jsxs)("div", {
ref: p,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -39878,7 +39883,7 @@ function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: g.leave,
- children: [Rse.map(([e, n]) => /* @__PURE__ */ (0, L.jsx)("button", {
+ children: [Lse.map(([e, n]) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -39889,7 +39894,7 @@ function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), y ? /* @__PURE__ */ (0, L.jsx)(vI, {}) : null]
+ }, e)), y ? /* @__PURE__ */ (0, L.jsx)(yI, {}) : null]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: m,
"data-entity-tags": "",
@@ -39904,11 +39909,11 @@ function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
onClick: () => a({ provider: e.provider === t ? "" : t }),
dangerouslySetInnerHTML: { __html: o.sourceIcon(t) }
}, t)),
- v.length && e.tagRows.length ? /* @__PURE__ */ (0, L.jsx)(vI, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, L.jsxs)(SM, {
+ v.length && e.tagRows.length ? /* @__PURE__ */ (0, L.jsx)(yI, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, L.jsxs)(CM, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${Yse(e.groups, n)}`,
+ "data-tag-cat": `r34-${Jse(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
children: [o.tagLabel(n), r ? /* @__PURE__ */ (0, L.jsx)("span", {
@@ -39926,11 +39931,11 @@ function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(rP, { onPress: c.shuffle }),
- b ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(nP, {
+ /* @__PURE__ */ (0, L.jsx)(iP, { onPress: c.shuffle }),
+ b ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(rP, {
label: "图片布局",
value: i.photoLayout,
- options: jce,
+ options: Ace,
onChange: (e) => c.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
@@ -39947,17 +39952,17 @@ function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: s("captions-off") }
})]
})] }) : null,
- zse.map(([e, n]) => {
- let r = t.sort === e, i = oT(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ Rse.map(([e, n]) => {
+ let r = t.sort === e, i = sT(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-entity-sort": e,
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": Kse(e, n, t.sort, t.dir) || void 0,
+ "aria-label": Gse(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = tI(e, t.sort, t.dir);
+ let n = nI(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, L.jsx)(i, { className: "size-3.5" }) : null]
@@ -39967,7 +39972,7 @@ function Lce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Rce({ conditions: e, onDrop: t, onClear: n }) {
+function Lce({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -39992,7 +39997,7 @@ function Rce({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function zce({ count: e, onManage: t }) {
+function Rce({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -40001,12 +40006,12 @@ function zce({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${s("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function Bce({ pending: e, facets: t, data: n, context: r, props: i }) {
+function zce({ pending: e, facets: t, data: n, context: r, props: i }) {
let { view: a, helpers: o } = i, s = a.media === "images", c = Vw(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, L.jsx)(Vce, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, L.jsx)(Bce, {
facets: t,
data: n,
context: r,
@@ -40015,39 +40020,39 @@ function Bce({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function Vce({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, helpers: o, actions: s } = r, c = Wce(r), l = i ? {
+function Bce({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, helpers: o, actions: s } = r, c = Uce(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, u;
return u = 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, L.jsx)(Dce, {
+ return /* @__PURE__ */ (0, L.jsx)(Ece, {
group: t,
authorSources: l,
media: a.media,
context: n,
- selected: r.selected.has(yI(t, a)),
+ selected: r.selected.has(bI(t, a)),
selectMode: r.selectMode,
- busy: c.busy.get(yI(t, a)) || "",
- failure: c.failures.get(yI(t, a)) || "",
+ busy: c.busy.get(bI(t, a)) || "",
+ failure: c.failures.get(bI(t, a)) || "",
helpers: o,
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${a.media}`);
- }) : /* @__PURE__ */ (0, L.jsx)(Hce, { data: t }), /* @__PURE__ */ (0, L.jsx)("div", {
+ }) : /* @__PURE__ */ (0, L.jsx)(Vce, { data: t }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...l,
children: u
});
}
-function yI(e, t) {
- return QF(e, t.media).id;
+function bI(e, t) {
+ return $F(e, t.media).id;
}
-function Hce({ data: e }) {
+function Vce({ data: e }) {
let t = (e.groups || []).length ? v("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? v("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : v("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-follow-empty": "",
@@ -40055,22 +40060,22 @@ function Hce({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var Uce = {
+var Hce = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function Wce(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, I.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Map()), c = UF(t, n).queryKey, l = (e, t, n) => n((n) => {
+function Uce(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, I.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Map()), c = WF(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- X.setQueryData(c, (r) => r && nI(r, t, e, n));
+ X.setQueryData(c, (r) => r && rI(r, t, e, n));
}, f = () => void X.invalidateQueries({
queryKey: c,
exact: !0
}), p = (e) => {
- let t = KF(X.getQueryData(c));
+ let t = qF(X.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
@@ -40078,13 +40083,13 @@ function Wce(e) {
]) if (t.id === e) return t.status;
return "new";
}, m = It({
- mutationFn: ({ id: e, to: t }) => q(sF, {
+ mutationFn: ({ id: e, to: t }) => q(cF, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), f(), r.toast(Uce[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await q(sF, {
+ u(t, n), f(), r.toast(Hce[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await q(cF, {
item: t,
to: i
}), u(t, i), f();
@@ -40129,8 +40134,8 @@ function Wce(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function bI({ provider: e, label: t }) {
- let n = Ise(e), [r, i] = (0, I.useState)(!1);
+function xI({ provider: e, label: t }) {
+ let n = Fse(e), [r, i] = (0, I.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: t }) : null : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("img", {
src: n,
alt: "",
@@ -40141,8 +40146,8 @@ function bI({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, L.jsx)(iv, { children: t }) : null] });
}
-function xI({ group: e, name: t }) {
- let { src: n, fallback: r } = gse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
+function SI({ group: e, name: t }) {
+ let { src: n, fallback: r } = hse(e), [i, a] = (0, I.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, L.jsx)("img", {
src: o,
alt: "",
@@ -40155,18 +40160,18 @@ function xI({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, L.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: hse(t)
+ children: mse(t)
});
}
-function SI({ source: e }) {
- let t = gF(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+function CI({ source: e }) {
+ let t = _F(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: t,
- children: mse(e)
+ children: pse(e)
});
}
-function CI({ source: e }) {
+function wI({ source: e }) {
return /* @__PURE__ */ (0, L.jsx)("a", {
href: e.url,
target: "_blank",
@@ -40178,11 +40183,11 @@ function CI({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var wI = sw(TA, EA, "text-body-2-medium"), Gce = "粘贴来源链接,或输入创作者名、id…", Kce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", qce = "识别中…", Jce = "站内没有查到来源", TI = (e, t) => `${e}:${t.url}`;
-function Yce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var TI = sw(EA, DA, "text-body-2-medium"), Wce = "粘贴来源链接,或输入创作者名、id…", Gce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Kce = "识别中…", qce = "站内没有查到来源", EI = (e, t) => `${e}:${t.url}`;
+function Jce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, I.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(Ck, {
+ }, [t, r]), /* @__PURE__ */ (0, L.jsxs)(wk, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -40194,7 +40199,7 @@ function Yce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: sw(wA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: sw(TA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "px-2 py-1.5",
children: /* @__PURE__ */ (0, L.jsx)(vw, { label: "正在查找建议" })
@@ -40204,7 +40209,7 @@ function Yce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? sw(wI, "bg-background-secondary-default") : wI,
+ className: t === r ? sw(TI, "bg-background-secondary-default") : TI,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -40224,7 +40229,7 @@ function Yce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function Xce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Yce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, I.useRef)(null), [a, o] = (0, I.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);
@@ -40238,14 +40243,14 @@ function Xce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, L.jsx)(Ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(wk, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: wA,
- children: /* @__PURE__ */ (0, L.jsxs)(Pk, {
+ className: TA,
+ children: /* @__PURE__ */ (0, L.jsxs)(Fk, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -40261,16 +40266,16 @@ function Xce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, L.jsx)(KA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, L.jsx)(qA, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(Ej, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(bI, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
@@ -40286,7 +40291,7 @@ function Xce({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function Zce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Xce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: e.line,
@@ -40305,15 +40310,15 @@ function Zce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = TI(t, e);
- return /* @__PURE__ */ (0, L.jsx)(Ej, {
+ let n = EI(t, e);
+ return /* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, L.jsx)(bI, { provider: e.provider }),
+ /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -40329,22 +40334,22 @@ function Zce({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, L.jsx)(KA, { children: Jce }),
+ }) : /* @__PURE__ */ (0, L.jsx)(qA, { children: qce }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, L.jsx)(YA, {
+ }), /* @__PURE__ */ (0, L.jsx)(XA, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, L.jsx)(KA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, L.jsx)(qA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Zce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, I.useState)(""), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(!1), [p, m] = (0, I.useState)(null), [h, g] = (0, I.useState)(-1), _ = (0, I.useRef)(null), v = (0, I.useRef)(null), [y, b] = (0, I.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, I.useState)(""), [T, E] = (0, I.useState)(0);
(0, I.useEffect)(() => {
let e = a.trim();
@@ -40356,18 +40361,18 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
return () => clearTimeout(t);
}, [a]);
let D = Ft({
- queryKey: cse(l),
- queryFn: ({ signal: e }) => Sse(l, e),
+ queryKey: sse(l),
+ queryFn: ({ signal: e }) => xse(l, e),
enabled: l.length > 0 && d
}), O = (0, I.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = bj({
- queryKey: sse,
- queryFn: ({ signal: e }) => xse(e),
- start: (e) => Cse([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = xj({
+ queryKey: ose,
+ queryFn: ({ signal: e }) => bse(e),
+ start: (e) => Sse([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(K(e)),
onFinish: (e) => {
@@ -40401,14 +40406,14 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: TI(t, e)
+ key: EI(t, e)
})).filter((e) => !x.has(e.key))), ae = It({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await wse(r.candidate);
+ let e = await Cse(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${K(e)}`);
@@ -40416,7 +40421,7 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await OF(n);
+ await kF(n);
} catch (e) {
t.push(K(e));
}
@@ -40426,7 +40431,7 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (RF(), e.failures.length) {
+ if (zF(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -40455,15 +40460,15 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, L.jsx)(qj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Jj, {
"aria-label": "来源链接、名字或 id",
- placeholder: Gce,
+ placeholder: Wce,
value: a,
leadingIcon: gC,
isDisabled: n,
onChange: o,
onKeyDown: F
- }), P ? /* @__PURE__ */ (0, L.jsx)(Yce, {
+ }), P ? /* @__PURE__ */ (0, L.jsx)(Jce, {
field: _,
menu: v,
options: O,
@@ -40473,7 +40478,7 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: ne
}) : null]
}),
- /* @__PURE__ */ (0, L.jsx)(Xce, {
+ /* @__PURE__ */ (0, L.jsx)(Yce, {
credentials: t,
hidden: y,
onHidden: b,
@@ -40491,9 +40496,9 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, L.jsx)(RA, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Kce : qce),
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Gce : Kce),
value: k?.checked,
total: k?.total
}) : null, C ? /* @__PURE__ */ (0, L.jsx)(J, {
@@ -40505,8 +40510,8 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
re.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Zce, {
+ /* @__PURE__ */ (0, L.jsx)(YA, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, L.jsx)(Xce, {
row: e,
at: t,
hidden: y,
@@ -40561,16 +40566,16 @@ function Qce({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var $ce = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, EI = (e) => e.alias;
-function ele(e, t, n) {
+var Qce = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, DI = (e) => e.alias;
+function $ce(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 DI({ sources: e, name: t, canonicalKey: n }) {
+function OI({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(xI, {
- group: ele(e, t, n),
+ children: [/* @__PURE__ */ (0, L.jsx)(SI, {
+ group: $ce(e, t, n),
name: t
}), /* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium",
@@ -40578,15 +40583,15 @@ function DI({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function ele({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)(""), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = It({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await jF(n.canonical, n.alias);
+ await MF(n.canonical, n.alias);
} catch (n) {
- throw t && RF(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && zF(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -40596,19 +40601,19 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), RF(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), zF(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(K(e))
}), m = It({
- mutationFn: (e) => jF(e.canonical, e.alias),
+ mutationFn: (e) => MF(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), RF(), i("已保存创作者别名");
+ c(""), u(""), f(""), zF(), i("已保存创作者别名");
},
onError: (e) => c(K(e))
}), h = It({
- mutationFn: (e) => Tse(e),
+ mutationFn: (e) => wse(e),
onSuccess: () => {
- c(""), RF(), i("已移除创作者别名");
+ c(""), zF(), i("已移除创作者别名");
},
onError: (e) => c(K(e))
}), _ = (e, t) => {
@@ -40618,7 +40623,7 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(EI(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
+ }, v = t.filter((e) => a.has(DI(e))), y = t.length > 0 && v.length === t.length, b = Y(p.isPending);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: gw({
padding: "none",
@@ -40631,10 +40636,10 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(JA, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(YA, { children: "手动添加别名" }), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(Jj, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -40642,7 +40647,7 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(Jj, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -40663,13 +40668,13 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, L.jsx)(qA, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, L.jsx)(JA, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: "待合并" }),
+ /* @__PURE__ */ (0, L.jsx)(YA, { children: "待合并" }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -40691,44 +40696,44 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, L.jsx)(Aj, { children: /* @__PURE__ */ (0, L.jsxs)(Dj, {
+ }), /* @__PURE__ */ (0, L.jsx)(jj, { children: /* @__PURE__ */ (0, L.jsxs)(Oj, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(iA, { children: [
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(aA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "select",
- children: /* @__PURE__ */ (0, L.jsx)(Ej, {
+ children: /* @__PURE__ */ (0, L.jsx)(Dj, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(EI)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(DI)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, L.jsx)(aA, {
+ /* @__PURE__ */ (0, L.jsx)(oA, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, L.jsx)(sA, { children: t.map((e) => {
- let t = EI(e);
- return /* @__PURE__ */ (0, L.jsxs)(uA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(cA, { children: t.map((e) => {
+ let t = DI(e);
+ return /* @__PURE__ */ (0, L.jsxs)(dA, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)(Ej, {
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)(Dj, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -40737,16 +40742,16 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)(DI, {
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)(OI, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: e.alias }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: e.alias }),
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -40763,27 +40768,27 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(JA, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(YA, { children: "已保存别名" }), /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, L.jsx)(Aj, { children: /* @__PURE__ */ (0, L.jsxs)(Dj, {
+ }), e.length ? /* @__PURE__ */ (0, L.jsx)(jj, { children: /* @__PURE__ */ (0, L.jsxs)(Oj, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsxs)(iA, { children: [/* @__PURE__ */ (0, L.jsx)(aA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(aA, { children: [/* @__PURE__ */ (0, L.jsx)(oA, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, L.jsx)(aA, {
+ }), /* @__PURE__ */ (0, L.jsx)(oA, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, L.jsx)(sA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(uA, {
+ })] }), /* @__PURE__ */ (0, L.jsx)(cA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(dA, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)(DI, {
+ children: [/* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)(OI, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, L.jsx)(fA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, L.jsx)(pA, { children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -40797,7 +40802,7 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
...Y(h.isPending),
onClick: () => void g({
title: "移除创作者别名",
- body: $ce(e.name),
+ body: Qce(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -40817,12 +40822,12 @@ function tle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var nle = "这些账号信息存在哪里", rle = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", ile = "将清除这个来源在本机和共享副本中的登录凭据。", ale = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function ole(e, t) {
+var tle = "这些账号信息存在哪里", nle = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", rle = "将清除这个来源在本机和共享副本中的登录凭据。", ile = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function ale(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function sle({ row: e }) {
- if (BF(e)) return /* @__PURE__ */ (0, L.jsx)(uw, {
+function ole({ row: e }) {
+ if (VF(e)) return /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "lime",
children: "已配置"
@@ -40831,19 +40836,19 @@ function sle({ row: e }) {
return /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: t,
- children: Lse[e.requirement] || ""
+ children: Ise[e.requirement] || ""
});
}
-function cle({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = BF(e), c = It({
- mutationFn: (t) => Ese(e.provider, t),
+function sle({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, I.useState)({}), [a, o] = (0, I.useState)(""), s = VF(e), c = It({
+ mutationFn: (t) => Tse(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), X.invalidateQueries({
- queryKey: uF,
+ queryKey: dF,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -40859,17 +40864,17 @@ function cle({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsxs)(KA, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsxs)(qA, { children: [e.why, e.where ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)(XA, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, L.jsx)(KA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, L.jsx)(qA, { children: e.howto }) : null,
/* @__PURE__ */ (0, L.jsx)("div", {
- className: "flex flex-wrap items-end gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)(qj, {
+ className: "flex w-full flex-col gap-3",
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, L.jsx)(Jj, {
type: "password",
label: n,
- placeholder: ole(e, n),
+ placeholder: ale(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -40878,7 +40883,7 @@ function cle({ row: e, readOnly: t, toast: n }) {
...r,
[n]: e
}),
- className: "w-48"
+ className: "w-full min-w-0"
}, n))
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -40897,7 +40902,7 @@ function cle({ row: e, readOnly: t, toast: n }) {
...Y(c.isPending),
onClick: () => void g({
title: "清除来源凭据",
- body: ile,
+ body: rle,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -40905,9 +40910,9 @@ function cle({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, L.jsx)(qA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(KA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, L.jsx)(LA, {
+ a ? /* @__PURE__ */ (0, L.jsx)(JA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, L.jsx)(qA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, L.jsx)(RA, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -40915,24 +40920,24 @@ function cle({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "凭据文件权限过宽",
- children: ale
+ children: ile
}) : null
]
});
}
-function lle({ row: e, readOnly: t, toast: n }) {
+function cle({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, L.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, L.jsx)(bI, { provider: e.provider })
+ children: /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider })
}),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, L.jsx)(sle, { row: e }),
+ /* @__PURE__ */ (0, L.jsx)(ole, { row: e }),
e.missing.length ? /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "rose",
@@ -40942,13 +40947,13 @@ function lle({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(KA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, L.jsx)(qA, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, /* @__PURE__ */ (0, L.jsx)(QA, {
- summary: BF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !BF(e),
- children: /* @__PURE__ */ (0, L.jsx)(cle, {
+ children: [r, /* @__PURE__ */ (0, L.jsx)($A, {
+ summary: VF(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !VF(e),
+ children: /* @__PURE__ */ (0, L.jsx)(sle, {
row: e,
readOnly: t,
toast: n
@@ -40956,8 +40961,8 @@ function lle({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function ule({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !BF(e));
+function lle({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !VF(e));
return r.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: gw({
padding: "none",
@@ -40999,7 +41004,7 @@ function ule({ data: e, readOnly: t, toast: n }) {
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(lle, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(cle, {
row: e,
readOnly: t,
toast: n
@@ -41011,13 +41016,13 @@ function ule({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, L.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: nle
+ children: tle
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: rle
+ children: nle
}),
- /* @__PURE__ */ (0, L.jsx)(LA, {
+ /* @__PURE__ */ (0, L.jsx)(RA, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -41035,7 +41040,7 @@ function ule({ data: e, readOnly: t, toast: n }) {
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function OI() {
+function kI() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -41048,24 +41053,24 @@ function OI() {
group: (e) => e
};
}
-function kI(e, t) {
+function AI(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function AI(e, t) {
+function jI(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: kI(n, t[e])
+ [e]: AI(n, t[e])
}));
};
}
-function jI(e) {
+function MI(e) {
return e instanceof Function;
}
-function dle(e) {
+function ule(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function fle(e, t) {
+function dle(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -41075,7 +41080,7 @@ function fle(e, t) {
};
return r(e), n;
}
-function MI(e, t, n) {
+function NI(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -41097,21 +41102,21 @@ function MI(e, t, n) {
return i;
};
}
-function NI(e, t, n, r) {
+function PI(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function ple(e, t, n, r) {
+function fle(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: MI(() => [
+ getContext: NI(() => [
e,
n,
t,
@@ -41123,13 +41128,13 @@ function ple(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), NI(e.options, "debugCells", "cell.getContext"))
+ }), PI(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function mle(e, t, n, r) {
+function ple(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -41146,17 +41151,17 @@ function mle(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: MI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], NI(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: MI(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: NI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], PI(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: NI(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, NI(e.options, "debugColumns", "column.getLeafColumns"))
+ }, PI(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var PI = "debugHeaders";
-function FI(e, t, n) {
+var FI = "debugHeaders";
+function II(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -41184,42 +41189,42 @@ function FI(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var hle = { createTable: (e) => {
- e.getHeaderGroups = MI(() => [
+var mle = { createTable: (e) => {
+ e.getHeaderGroups = NI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (t, n, r, i) => {
let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
- return II(t, [
+ return LI(t, [
...a,
...s,
...o
], e);
- }, NI(e.options, PI, "getHeaderGroups")), e.getCenterHeaderGroups = MI(() => [
+ }, PI(e.options, FI, "getHeaderGroups")), e.getCenterHeaderGroups = NI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), II(t, n, e, "center")), NI(e.options, PI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = MI(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), LI(t, n, e, "center")), PI(e.options, FI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = NI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => II(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), NI(e.options, PI, "getLeftHeaderGroups")), e.getRightHeaderGroups = MI(() => [
+ ], (t, n, r) => LI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), PI(e.options, FI, "getLeftHeaderGroups")), e.getRightHeaderGroups = NI(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => II(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), NI(e.options, PI, "getRightHeaderGroups")), e.getFooterGroups = MI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), NI(e.options, PI, "getFooterGroups")), e.getLeftFooterGroups = MI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), NI(e.options, PI, "getLeftFooterGroups")), e.getCenterFooterGroups = MI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), NI(e.options, PI, "getCenterFooterGroups")), e.getRightFooterGroups = MI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), NI(e.options, PI, "getRightFooterGroups")), e.getFlatHeaders = MI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), NI(e.options, PI, "getFlatHeaders")), e.getLeftFlatHeaders = MI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), NI(e.options, PI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = MI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), NI(e.options, PI, "getCenterFlatHeaders")), e.getRightFlatHeaders = MI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), NI(e.options, PI, "getRightFlatHeaders")), e.getCenterLeafHeaders = MI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => LI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), PI(e.options, FI, "getRightHeaderGroups")), e.getFooterGroups = NI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getFooterGroups")), e.getLeftFooterGroups = NI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getLeftFooterGroups")), e.getCenterFooterGroups = NI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getCenterFooterGroups")), e.getRightFooterGroups = NI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), PI(e.options, FI, "getRightFooterGroups")), e.getFlatHeaders = NI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getFlatHeaders")), e.getLeftFlatHeaders = NI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = NI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getCenterFlatHeaders")), e.getRightFlatHeaders = NI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), PI(e.options, FI, "getRightFlatHeaders")), e.getCenterLeafHeaders = NI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), NI(e.options, PI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = MI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), PI(e.options, FI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = NI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), NI(e.options, PI, "getLeftLeafHeaders")), e.getRightLeafHeaders = MI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), PI(e.options, FI, "getLeftLeafHeaders")), e.getRightLeafHeaders = NI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), NI(e.options, PI, "getRightLeafHeaders")), e.getLeafHeaders = MI(() => [
+ }), PI(e.options, FI, "getRightLeafHeaders")), e.getLeafHeaders = NI(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -41227,9 +41232,9 @@ var hle = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), NI(e.options, PI, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), PI(e.options, FI, "getLeafHeaders"));
} };
-function II(e, t, n, r) {
+function LI(e, t, n, r) {
let i = 0, a = function(e, t) {
t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
var n;
@@ -41247,7 +41252,7 @@ function II(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = FI(n, c, {
+ let i = II(n, c, {
id: [
r,
t,
@@ -41264,7 +41269,7 @@ function II(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => FI(n, e, {
+ s(t.map((e, t) => II(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -41282,7 +41287,7 @@ function II(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var gle = (e, t, n, r, i, a, o) => {
+var hle = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -41303,7 +41308,7 @@ var gle = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => fle(s.subRows, (e) => e.subRows),
+ getLeafRows: () => dle(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -41314,95 +41319,95 @@ var gle = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: MI(() => [e.getAllLeafColumns()], (t) => t.map((t) => ple(e, s, t, t.id)), NI(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: MI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), NI(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: NI(() => [e.getAllLeafColumns()], (t) => t.map((t) => fle(e, s, t, t.id)), PI(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: NI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), PI(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, _le = { createColumn: (e, t) => {
+}, gle = { createColumn: (e, t) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, LI = (e, t, n) => {
+} }, RI = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-LI.autoRemove = (e) => qI(e);
-var RI = (e, t, n) => {
+RI.autoRemove = (e) => JI(e);
+var zI = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-RI.autoRemove = (e) => qI(e);
-var zI = (e, t, n) => {
+zI.autoRemove = (e) => JI(e);
+var BI = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-zI.autoRemove = (e) => qI(e);
-var BI = (e, t, n) => e.getValue(t)?.includes(n);
-BI.autoRemove = (e) => qI(e);
-var VI = (e, t, n) => !n.some((n) => {
+BI.autoRemove = (e) => JI(e);
+var VI = (e, t, n) => e.getValue(t)?.includes(n);
+VI.autoRemove = (e) => JI(e);
+var HI = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-VI.autoRemove = (e) => qI(e) || !(e != null && e.length);
-var HI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-HI.autoRemove = (e) => qI(e) || !(e != null && e.length);
-var UI = (e, t, n) => e.getValue(t) === n;
-UI.autoRemove = (e) => qI(e);
-var WI = (e, t, n) => e.getValue(t) == n;
-WI.autoRemove = (e) => qI(e);
-var GI = (e, t, n) => {
+HI.autoRemove = (e) => JI(e) || !(e != null && e.length);
+var UI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+UI.autoRemove = (e) => JI(e) || !(e != null && e.length);
+var WI = (e, t, n) => e.getValue(t) === n;
+WI.autoRemove = (e) => JI(e);
+var GI = (e, t, n) => e.getValue(t) == n;
+GI.autoRemove = (e) => JI(e);
+var KI = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-GI.resolveFilterValue = (e) => {
+KI.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, GI.autoRemove = (e) => qI(e) || qI(e[0]) && qI(e[1]);
-var KI = {
- includesString: LI,
- includesStringSensitive: RI,
- equalsString: zI,
- arrIncludes: BI,
- arrIncludesAll: VI,
- arrIncludesSome: HI,
- equals: UI,
- weakEquals: WI,
- inNumberRange: GI
+}, KI.autoRemove = (e) => JI(e) || JI(e[0]) && JI(e[1]);
+var qI = {
+ includesString: RI,
+ includesStringSensitive: zI,
+ equalsString: BI,
+ arrIncludes: VI,
+ arrIncludesAll: HI,
+ arrIncludesSome: UI,
+ equals: WI,
+ weakEquals: GI,
+ inNumberRange: KI
};
-function qI(e) {
+function JI(e) {
return e == null || e === "";
}
-var vle = {
+var _le = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: AI("columnFilters", e),
+ onColumnFiltersChange: jI("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? KI.includesString : typeof n == "number" ? KI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? KI.equals : Array.isArray(n) ? KI.arrIncludes : KI.weakEquals;
- }, e.getFilterFn = () => jI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? KI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? qI.includesString : typeof n == "number" ? qI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? qI.equals : Array.isArray(n) ? qI.arrIncludes : qI.weakEquals;
+ }, e.getFilterFn = () => MI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? qI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
var n;
return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
t.setColumnFilters((t) => {
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = kI(n, i ? i.value : void 0);
- if (JI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = AI(n, i ? i.value : void 0);
+ if (YI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -41417,19 +41422,19 @@ var vle = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => kI(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => AI(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && JI(t.getFilterFn(), e.value, t));
+ return !(t && YI(t.getFilterFn(), e.value, t));
}));
}, e.resetColumnFilters = (t) => {
e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
}
};
-function JI(e, t, n) {
+function YI(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var YI = {
+var XI = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -41465,7 +41470,7 @@ var YI = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!dle(n)) return;
+ if (!ule(n)) return;
if (n.length === 1) return n[0];
let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -41473,7 +41478,7 @@ var YI = {
unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
count: (e, t) => t.length
-}, yle = {
+}, vle = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -41486,7 +41491,7 @@ var YI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: AI("grouping", e),
+ onGroupingChange: jI("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -41499,11 +41504,11 @@ var YI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return YI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return YI.extent;
+ if (typeof n == "number") return XI.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return XI.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return jI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? YI[e.columnDef.aggregationFn];
+ return MI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? XI[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -41525,27 +41530,27 @@ var YI = {
};
}
};
-function ble(e, t, n) {
+function yle(e, t, n) {
if (!(t != null && t.length) || !n) return e;
let r = e.filter((e) => !t.includes(e.id));
return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
}
-var xle = {
+var ble = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: AI("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: jI("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = MI((e) => [tL(t, e)], (t) => t.findIndex((t) => t.id === e.id), NI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => tL(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = tL(t, n);
+ e.getIndex = NI((e) => [nL(t, e)], (t) => t.findIndex((t) => t.id === e.id), PI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => nL(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = nL(t, n);
return r[r.length - 1]?.id === e.id;
};
},
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = MI(() => [
+ }, e._getOrderColumnsFn = NI(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -41560,18 +41565,18 @@ var xle = {
}
i = [...i, ...n];
}
- return ble(i, t, n);
- }, NI(e.options, "debugTable", "_getOrderColumnsFn"));
+ return yle(i, t, n);
+ }, PI(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, XI = () => ({
+}, ZI = () => ({
left: [],
right: []
-}), Sle = {
+}), xle = {
getInitialState: (e) => ({
- columnPinning: XI(),
+ columnPinning: ZI(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: AI("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: jI("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -41595,75 +41600,75 @@ var xle = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = MI(() => [
+ e.getCenterVisibleCells = NI(() => [
e._getAllVisibleCells(),
t.getState().columnPinning.left,
t.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.column.id));
- }, NI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = MI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, PI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = NI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), NI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = MI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), PI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = NI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), NI(t.options, "debugRows", "getRightVisibleCells"));
+ })), PI(t.options, "debugRows", "getRightVisibleCells"));
},
createTable: (e) => {
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? XI() : e.initialState?.columnPinning ?? XI()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? ZI() : e.initialState?.columnPinning ?? ZI()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = MI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), NI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = MI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), NI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = MI(() => [
+ }, e.getLeftLeafColumns = NI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), PI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = NI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), PI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = NI(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, NI(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, PI(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function Cle(e) {
+function Sle(e) {
return e || (typeof document < "u" ? document : null);
}
-var ZI = {
+var QI = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, QI = () => ({
+}, $I = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), wle = {
- getDefaultColumnDef: () => ZI,
+}), Cle = {
+ getDefaultColumnDef: () => QI,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: QI(),
+ columnSizingInfo: $I(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: AI("columnSizing", e),
- onColumnSizingInfoChange: AI("columnSizingInfo", e)
+ onColumnSizingChange: jI("columnSizing", e),
+ onColumnSizingInfoChange: jI("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? ZI.minSize, n ?? e.columnDef.size ?? ZI.size), e.columnDef.maxSize ?? ZI.maxSize);
- }, e.getStart = MI((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? QI.minSize, n ?? e.columnDef.size ?? QI.size), e.columnDef.maxSize ?? QI.maxSize);
+ }, e.getStart = NI((e) => [
e,
- tL(t, e),
+ nL(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), NI(t.options, "debugColumns", "getStart")), e.getAfter = MI((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), PI(t.options, "debugColumns", "getStart")), e.getAfter = NI((e) => [
e,
- tL(t, e),
+ nL(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), NI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), PI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -41685,8 +41690,8 @@ var ZI = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), eL(a) && a.touches && a.touches.length > 1)) return;
- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = eL(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), tL(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = tL(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
typeof n == "number" && (t.setColumnSizingInfo((e) => {
let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);
return e.columnSizingStart.forEach((e) => {
@@ -41711,7 +41716,7 @@ var ZI = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = Cle(n), m = {
+ }, p = Sle(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -41721,8 +41726,8 @@ var ZI = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = Tle() ? { passive: !1 } : !1;
- eL(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ }, g = wle() ? { passive: !1 } : !1;
+ tL(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -41738,12 +41743,12 @@ var ZI = {
e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
}, e.resetHeaderSizeInfo = (t) => {
- e.setColumnSizingInfo(t ? QI() : e.initialState.columnSizingInfo ?? QI());
+ e.setColumnSizingInfo(t ? $I() : e.initialState.columnSizingInfo ?? $I());
}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
}
-}, $I = null;
-function Tle() {
- if (typeof $I == "boolean") return $I;
+}, eL = null;
+function wle() {
+ if (typeof eL == "boolean") return eL;
let e = !1;
try {
let t = { get passive() {
@@ -41753,17 +41758,17 @@ function Tle() {
} catch {
e = !1;
}
- return $I = e, $I;
+ return eL = e, eL;
}
-function eL(e) {
+function tL(e) {
return e.type === "touchstart";
}
-var Ele = {
+var Tle = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: AI("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: jI("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -41778,7 +41783,7 @@ var Ele = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = MI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), NI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = MI(() => [
+ e._getAllVisibleCells = NI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), PI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = NI(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -41786,10 +41791,10 @@ var Ele = {
...e,
...t,
...n
- ], NI(t.options, "debugRows", "getVisibleCells"));
+ ], PI(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => MI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), NI(e.options, "debugColumns", t));
+ let t = (t, n) => NI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), PI(e.options, "debugColumns", t));
e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});
}, e.toggleAllColumnsVisible = (t) => {
@@ -41802,20 +41807,20 @@ var Ele = {
};
}
};
-function tL(e, t) {
+function nL(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var Dle = { createTable: (e) => {
+var Ele = { createTable: (e) => {
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
};
-} }, Ole = {
+} }, Dle = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: AI("globalFilter", e),
+ onGlobalFilterChange: jI("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -41827,22 +41832,22 @@ var Dle = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => KI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => qI.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return jI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? KI[t];
+ return MI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? qI[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, kle = {
+}, Ole = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: AI("expanded", e),
+ onExpandedChange: jI("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -41913,18 +41918,18 @@ var Dle = { createTable: (e) => {
};
};
}
-}, nL = 0, rL = 10, iL = () => ({
- pageIndex: nL,
- pageSize: rL
-}), Ale = {
+}, rL = 0, iL = 10, aL = () => ({
+ pageIndex: rL,
+ pageSize: iL
+}), kle = {
getInitialState: (e) => ({
...e,
pagination: {
- ...iL(),
+ ...aL(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: AI("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: jI("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -41940,11 +41945,11 @@ var Dle = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => kI(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? iL() : e.initialState.pagination ?? iL());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => AI(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? aL() : e.initialState.pagination ?? aL());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = kI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = AI(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
@@ -41952,13 +41957,13 @@ var Dle = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? nL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? nL);
+ e.setPageIndex(t ? rL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? rL);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? rL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? rL);
+ e.setPageSize(t ? iL : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? iL);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, kI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, AI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -41966,28 +41971,28 @@ var Dle = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = kI(t, e.options.pageCount ?? -1);
+ let r = AI(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = MI(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = NI(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, NI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, PI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();
return n === -1 || n !== 0 && t < n - 1;
}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
}
-}, aL = () => ({
+}, oL = () => ({
top: [],
bottom: []
-}), jle = {
+}), Ale = {
getInitialState: (e) => ({
- rowPinning: aL(),
+ rowPinning: oL(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: AI("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: jI("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -42026,7 +42031,7 @@ var Dle = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? aL() : e.initialState?.rowPinning ?? aL()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? oL() : e.initialState?.rowPinning ?? oL()), e.getIsSomeRowsPinned = (t) => {
let n = e.getState().rowPinning;
return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);
}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {
@@ -42035,22 +42040,22 @@ var Dle = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = MI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), NI(e.options, "debugRows", "getTopRows")), e.getBottomRows = MI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), NI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = MI(() => [
+ })), e.getTopRows = NI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), PI(e.options, "debugRows", "getTopRows")), e.getBottomRows = NI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), PI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = NI(() => [
e.getRowModel().rows,
e.getState().rowPinning.top,
e.getState().rowPinning.bottom
], (e, t, n) => {
let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);
return e.filter((e) => !r.has(e.id));
- }, NI(e.options, "debugRows", "getCenterRows"));
+ }, PI(e.options, "debugRows", "getCenterRows"));
}
-}, Mle = {
+}, jle = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: AI("rowSelection", e),
+ onRowSelectionChange: jI("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -42069,21 +42074,21 @@ var Dle = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- oL(i, t.id, r, !0, e);
+ sL(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = MI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? sL(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = NI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, NI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = MI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? sL(e, n) : {
+ }, PI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = NI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, NI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = MI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? sL(e, n) : {
+ }, PI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = NI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? cL(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, NI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, PI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);
return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;
}, e.getIsAllPageRowsSelected = () => {
@@ -42107,17 +42112,17 @@ var Dle = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return oL(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return sL(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return cL(e, n);
+ return lL(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return lL(e, n) === "some";
+ return uL(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return lL(e, n) === "all";
+ return uL(e, n) === "all";
}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {
let t = e.getCanSelect();
return (n) => {
@@ -42125,16 +42130,16 @@ var Dle = { createTable: (e) => {
};
};
}
-}, oL = (e, t, n, r, i) => {
+}, sL = (e, t, n, r, i) => {
var a;
let o = i.getRow(t, !0);
- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => oL(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => sL(e, t.id, n, r, i));
};
-function sL(e, t) {
+function cL(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = cL(e, n);
+ let o = lL(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -42147,32 +42152,32 @@ function sL(e, t) {
rowsById: i
};
}
-function cL(e, t) {
+function lL(e, t) {
return t[e.id] ?? !1;
}
-function lL(e, t, n) {
+function uL(e, t, n) {
var r;
if (!((r = e.subRows) != null && r.length)) return !1;
let i = !0, a = !1;
return e.subRows.forEach((e) => {
- if (!(a && !i) && (e.getCanSelect() && (cL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = lL(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (lL(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = uL(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var uL = /([0-9]+)/gm, Nle = (e, t, n) => pL(fL(e.getValue(n)).toLowerCase(), fL(t.getValue(n)).toLowerCase()), Ple = (e, t, n) => pL(fL(e.getValue(n)), fL(t.getValue(n))), Fle = (e, t, n) => dL(fL(e.getValue(n)).toLowerCase(), fL(t.getValue(n)).toLowerCase()), Ile = (e, t, n) => dL(fL(e.getValue(n)), fL(t.getValue(n))), Lle = (e, t, n) => {
+var dL = /([0-9]+)/gm, Mle = (e, t, n) => mL(pL(e.getValue(n)).toLowerCase(), pL(t.getValue(n)).toLowerCase()), Nle = (e, t, n) => mL(pL(e.getValue(n)), pL(t.getValue(n))), Ple = (e, t, n) => fL(pL(e.getValue(n)).toLowerCase(), pL(t.getValue(n)).toLowerCase()), Fle = (e, t, n) => fL(pL(e.getValue(n)), pL(t.getValue(n))), Ile = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Rle = (e, t, n) => dL(e.getValue(n), t.getValue(n));
-function dL(e, t) {
+}, Lle = (e, t, n) => fL(e.getValue(n), t.getValue(n));
+function fL(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function fL(e) {
+function pL(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function pL(e, t) {
- let n = e.split(uL).filter(Boolean), r = t.split(uL).filter(Boolean);
+function mL(e, t) {
+ let n = e.split(dL).filter(Boolean), r = t.split(dL).filter(Boolean);
for (; n.length && r.length;) {
let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();
if (isNaN(o[0])) {
@@ -42186,22 +42191,22 @@ function pL(e, t) {
}
return n.length - r.length;
}
-var mL = {
- alphanumeric: Nle,
- alphanumericCaseSensitive: Ple,
- text: Fle,
- textCaseSensitive: Ile,
- datetime: Lle,
- basic: Rle
-}, zle = [
- hle,
- Ele,
+var hL = {
+ alphanumeric: Mle,
+ alphanumericCaseSensitive: Nle,
+ text: Ple,
+ textCaseSensitive: Fle,
+ datetime: Ile,
+ basic: Lle
+}, Rle = [
+ mle,
+ Tle,
+ ble,
xle,
- Sle,
+ gle,
_le,
- vle,
+ Ele,
Dle,
- Ole,
{
getInitialState: (e) => ({
sorting: [],
@@ -42212,7 +42217,7 @@ var mL = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: AI("sorting", e),
+ onSortingChange: jI("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -42220,13 +42225,13 @@ var mL = {
let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;
for (let t of n) {
let n = t?.getValue(e.id);
- if (Object.prototype.toString.call(n) === "[object Date]") return mL.datetime;
- if (typeof n == "string" && (r = !0, n.split(uL).length > 1)) return mL.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return hL.datetime;
+ if (typeof n == "string" && (r = !0, n.split(dL).length > 1)) return hL.alphanumeric;
}
- return r ? mL.text : mL.basic;
+ return r ? hL.text : hL.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return jI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? mL[e.columnDef.sortingFn];
+ return MI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? hL[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -42263,15 +42268,15 @@ var mL = {
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
}
},
- yle,
+ vle,
+ Ole,
kle,
Ale,
jle,
- Mle,
- wle
+ Cle
];
-function Ble(e) {
- let t = [...zle, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function zle(e) {
+ let t = [...Rle, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
...r,
...e
}, a = { ...e.initialState ?? {} };
@@ -42297,7 +42302,7 @@ function Ble(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = kI(e, n.options);
+ let t = AI(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -42312,7 +42317,7 @@ function Ble(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: MI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: NI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -42323,20 +42328,20 @@ function Ble(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), NI(e, "debugColumns", "_getDefaultColumnDef")),
+ }), PI(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: MI(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: NI(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = mle(n, e, i, r), o = e;
+ let a = ple(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, NI(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: MI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), NI(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: MI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), NI(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: MI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), NI(e, "debugColumns", "getAllLeafColumns")),
+ }, PI(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: NI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), PI(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: NI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), PI(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: NI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), PI(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -42346,8 +42351,8 @@ function Ble(e) {
}
return n;
}
-function hL() {
- return (e) => MI(() => [e.options.data], (t) => {
+function gL() {
+ return (e) => NI(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -42356,7 +42361,7 @@ function hL() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = gle(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = hle(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
var s;
l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -42365,9 +42370,9 @@ function hL() {
return o;
};
return n.rows = r(t), n;
- }, NI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, PI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function Vle(e) {
+function Ble(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -42378,8 +42383,8 @@ function Vle(e) {
rowsById: e.rowsById
};
}
-function gL(e) {
- return (e) => MI(() => [
+function _L(e) {
+ return (e) => NI(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -42392,7 +42397,7 @@ function gL(e) {
rows: a,
flatRows: o,
rowsById: s
- } : Vle({
+ } : Ble({
rows: a,
flatRows: o,
rowsById: s
@@ -42401,32 +42406,32 @@ function gL(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, NI(e.options, "debugTable", "getPaginationRowModel"));
+ }, PI(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function _L(e, t) {
- return e ? Hle(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
+function vL(e, t) {
+ return e ? Vle(e) ? /*#__PURE__*/ I.createElement(e, t) : e : null;
}
-function Hle(e) {
- return Ule(e) || typeof e == "function" || Wle(e);
+function Vle(e) {
+ return Hle(e) || typeof e == "function" || Ule(e);
}
-function Ule(e) {
+function Hle(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Wle(e) {
+function Ule(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function vL(e) {
+function yL(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = I.useState(() => ({ current: Ble(t) })), [r, i] = I.useState(() => n.current.initialState);
+ }, [n] = I.useState(() => ({ current: zle(t) })), [r, i] = I.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -42441,7 +42446,7 @@ function vL(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Gle = cw({
+var Wle = cw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -42503,8 +42508,8 @@ var Gle = cw({
}
}
});
-function Kle({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Gle[t];
+function Gle({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Wle[t];
return /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: sw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? sw("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"),
@@ -42514,12 +42519,12 @@ function Kle({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function yL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, L.jsx)(Dae, {
+function bL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, L.jsx)(Eae, {
ref: i,
...a,
className: (t) => sw("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, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Kle, {
+ children: (e) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Gle, {
state: e,
size: n,
shape: r
@@ -42531,12 +42536,12 @@ function yL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var bL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", xL = "(prefers-reduced-motion: reduce)", qle = () => matchMedia(xL).matches, Jle = (e) => {
- let t = matchMedia(xL);
+var xL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", SL = "(prefers-reduced-motion: reduce)", Kle = () => matchMedia(SL).matches, qle = (e) => {
+ let t = matchMedia(SL);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function Yle({ children: e, count: t, label: n }) {
- let r = Hu(), i = (0, I.useSyncExternalStore)(Jle, qle, () => !1), { isFocusVisible: a } = eh(), o = i || a, s = {
+function Jle({ children: e, count: t, label: n }) {
+ let r = Hu(), i = (0, I.useSyncExternalStore)(qle, Kle, () => !1), { isFocusVisible: a } = eh(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -42572,13 +42577,13 @@ function Yle({ children: e, count: t, label: n }) {
}), e]
});
}
-function SL({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, L.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, L.jsx)(Yle, { ...t }, "selection") : null });
+function CL({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, L.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, L.jsx)(Jle, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var Xle = "输入女优名,到 JavDB 找她的演员页";
-function Zle(e, t) {
+var Yle = "输入女优名,到 JavDB 找她的演员页";
+function Xle(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 {
@@ -42597,10 +42602,10 @@ function Zle(e, t) {
blocked: !1
};
}
-function Qle({ card: e, picked: t, onPick: n }) {
+function Zle({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(Ej, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -42621,16 +42626,16 @@ function Qle({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, L.jsx)(YA, {
+ }), /* @__PURE__ */ (0, L.jsx)(XA, {
href: e.url,
children: e.id
})]
});
}
-function $le({ readOnly: e, toast: t, onAdded: n }) {
+function Qle({ readOnly: e, toast: t, onAdded: n }) {
let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), l = Sw(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => kse(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => Ose(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -42638,10 +42643,10 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => Ase(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => kse(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? Zle(a, s) : null;
+ }, m = a ? Xle(a, s) : null;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: gw({
padding: "none",
@@ -42656,9 +42661,9 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, L.jsx)(qj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Jj, {
"aria-label": "女优名",
- placeholder: Xle,
+ placeholder: Yle,
value: r,
leadingIcon: gC,
isDisabled: e,
@@ -42681,16 +42686,16 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(Qle, {
+ /* @__PURE__ */ (0, L.jsx)(YA, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, L.jsx)(Zle, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, L.jsx)(KA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(KA, {
+ }, e.id)) : /* @__PURE__ */ (0, L.jsx)(qA, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, L.jsx)(qA, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -42717,19 +42722,19 @@ function $le({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var eue = Object.fromEntries(Object.entries(mF).map(([e, t]) => [t, e])), CL = 740;
-function tue() {
+var $le = Object.fromEntries(Object.entries(hF).map(([e, t]) => [t, e])), wL = 740;
+function eue() {
let [e, t] = (0, I.useState)(!1), n = (0, I.useRef)(null), r = (0, I.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < CL));
- r.observe(e), n.current = r, t(e.clientWidth < CL);
+ let r = new ResizeObserver(() => t(e.clientWidth < wL));
+ r.observe(e), n.current = r, t(e.clientWidth < wL);
}, []);
return (0, I.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var nue = {
+var tue = {
select: "选择",
author: "创作者",
source: "来源",
@@ -42738,7 +42743,7 @@ var nue = {
checked: "上次检查",
actions: "操作"
};
-function wL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function TL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -42752,7 +42757,7 @@ function wL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: SE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: CE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -42775,22 +42780,22 @@ function wL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function rue({ source: e, selected: t, onToggle: n, handlers: r }) {
+function nue({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- kj(e, e.currentTarget) && n(!t);
+ Aj(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, L.jsx)(Ej, {
+ /* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(CI, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(wI, { source: e }), e.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -42798,17 +42803,17 @@ function rue({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, L.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, L.jsx)(bI, {
+ children: /* @__PURE__ */ (0, L.jsx)(xI, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, L.jsx)(SI, { source: e }),
+ /* @__PURE__ */ (0, L.jsx)(CI, { source: e }),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: zF(e)
+ children: BF(e)
}),
- /* @__PURE__ */ (0, L.jsx)(yL, {
+ /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -42838,8 +42843,8 @@ function rue({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function iue({ 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(gF).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = wF(r, c);
+function rue({ 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(_F).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = TF(r, c);
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
className: gw({
@@ -42852,7 +42857,7 @@ function iue({ 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, L.jsx)(xI, {
+ /* @__PURE__ */ (0, L.jsx)(SI, {
group: e,
name: t
}),
@@ -42873,7 +42878,7 @@ function iue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(bI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(iv, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, L.jsx)(xI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, L.jsx)(iv, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -42903,7 +42908,7 @@ function iue({ 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, L.jsx)(rue, {
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(nue, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -42912,37 +42917,37 @@ function iue({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function aue(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = tue(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => _se(v, n, r, y), [
+function iue(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: _ } = e, v = t.sources, y = (0, I.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, I.useState)(/* @__PURE__ */ new Set()), [C, w] = eue(), [T, E] = (0, I.useState)(""), D = (0, I.useMemo)(() => gse(v, n, r, y), [
v,
n,
r,
y
- ]), O = (0, I.useMemo)(() => vse(D, n, r, y), [
+ ]), O = (0, I.useMemo)(() => _se(D, n, r, y), [
D,
n,
r,
y
- ]), { job: k, running: A, outcome: j, start: M } = bj({
- queryKey: ose,
- queryFn: ({ signal: e }) => bse(e),
- start: (e) => OF(e),
+ ]), { job: k, running: A, outcome: j, start: M } = xj({
+ queryKey: ase,
+ queryFn: ({ signal: e }) => yse(e),
+ start: (e) => kF(e),
onError: (e) => E(K(e)),
onFinish: (e) => {
- RF(), h(e.status === "failed" ? e.error || "检查失败" : Mse(e));
+ zF(), h(e.status === "failed" ? e.error || "检查失败" : jse(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, ee = (e, t) => m(TF(s, [e], t)), te = (e, t) => m(TF(s, e, t)), P = It({
- mutationFn: (e) => AF(e),
+ }, ee = (e, t) => m(EF(s, [e], t)), te = (e, t) => m(EF(s, e, t)), P = It({
+ mutationFn: (e) => jF(e),
onSuccess: (e, t) => {
- LF([t]), m(TF(s, [t], !1)), h("已取消关注来源");
+ RF([t]), m(EF(s, [t], !1)), h("已取消关注来源");
},
onError: (e) => E(K(e))
}), ne = It({
- mutationFn: (e) => kF(e.id, e.enabled),
+ mutationFn: (e) => AF(e.id, e.enabled),
onSuccess: (e, t) => {
- IF(t.id, { enabled: t.enabled }), E("");
+ LF(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(K(e))
}), F = (e) => void g({
@@ -42954,7 +42959,7 @@ function aue(e) {
}), re = It({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await AF(t) : await kF(t, e.action === "enabled");
+ e.action === "remove" ? await jF(t) : await AF(t, e.action === "enabled");
});
return {
...e,
@@ -42963,9 +42968,9 @@ function aue(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") LF(e.done);
- else for (let t of e.done) IF(t, { enabled: e.action === "enabled" });
- m(TF(s, e.done, !1));
+ if (e.action === "remove") RF(e.done);
+ else for (let t of e.done) LF(t, { enabled: e.action === "enabled" });
+ m(EF(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
@@ -42978,18 +42983,18 @@ function aue(e) {
onError: (e) => E(K(e))
}), ie = It({
mutationFn: async (e) => {
- let t = ((await Ose()).groups || []).flatMap((e) => [
+ let t = ((await Dse()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await l(t, 6, (t) => Dse(t, e))).filter((e) => !e.ok)
+ failed: (await l(t, 6, (t) => Ese(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (RF(), e.failed.length) {
+ if (zF(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -43014,12 +43019,12 @@ function aue(e) {
readOnly: c
};
let se = oe.current, ce = (0, I.useMemo)(() => {
- let e = OI(), t = (e) => () => nue[e] || e;
+ let e = kI(), t = (e) => () => tue[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(Ej, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(Dj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -43031,7 +43036,7 @@ function aue(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(xI, {
+ children: [/* @__PURE__ */ (0, L.jsx)(SI, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, L.jsx)("span", {
@@ -43045,7 +43050,7 @@ function aue(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, L.jsx)(CI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
+ children: [/* @__PURE__ */ (0, L.jsx)(wI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -43056,18 +43061,18 @@ function aue(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(bI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, L.jsx)(xI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(SI, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(CI, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => zF(e.row.original.source)
+ cell: (e) => BF(e.row.original.source)
}),
e.display({
id: "actions",
@@ -43075,7 +43080,7 @@ function aue(e) {
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, L.jsx)(yL, {
+ /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: se.readOnly,
@@ -43105,12 +43110,12 @@ function aue(e) {
})
];
}, [se]), le = (0, I.useMemo)(() => {
- let e = eue[n];
+ let e = $le[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = CF(R ? O.length : D.length, o, i), de = vL({
+ }, [n, r]), ue = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), R = a === "table", z = wF(R ? O.length : D.length, o, i), de = yL({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -43127,7 +43132,7 @@ function aue(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(le) : e)[0];
if (!t) return;
- let n = mF[t.id];
+ let n = hF[t.id];
n && u(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -43141,9 +43146,9 @@ function aue(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && d(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: hL(),
- getPaginationRowModel: gL()
- }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = wF(s, pe), he = [...s], ge = Nse(j), _e = Pse(j), ve = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: gL(),
+ getPaginationRowModel: _L()
+ }), fe = de.getRowModel().rows, pe = R ? fe.map((e) => e.original.source.id) : D.slice(z.start, z.end).flatMap((e) => e.map((e) => e.id)), me = TF(s, pe), he = [...s], ge = Mse(j), _e = Nse(j), ve = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: gw({
padding: "none",
@@ -43180,27 +43185,27 @@ function aue(e) {
variant: "ghost",
iconOnly: !0,
leadingIcon: Ute,
- "aria-label": fF[0][1],
+ "aria-label": pF[0][1],
"aria-pressed": !R,
onClick: () => f("default")
}), /* @__PURE__ */ (0, L.jsx)(G, {
variant: "ghost",
iconOnly: !0,
leadingIcon: Gte,
- "aria-label": fF[1][1],
+ "aria-label": pF[1][1],
"aria-pressed": R,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, L.jsx)(hj, {
+ /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- u(t, $P[t]);
+ u(t, eF[t]);
},
- children: QP.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: $P.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: t
}, e))
@@ -43209,7 +43214,7 @@ function aue(e) {
variant: "secondary",
iconOnly: !0,
leadingIcon: r === "asc" ? JS : WS,
- "aria-label": pse(n, r),
+ "aria-label": fse(n, r),
onClick: () => u(n, r === "asc" ? "desc" : "asc")
}),
R ? null : /* @__PURE__ */ (0, L.jsx)(G, {
@@ -43226,7 +43231,7 @@ function aue(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, L.jsx)(RA, {
+ A ? /* @__PURE__ */ (0, L.jsx)(zA, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -43252,7 +43257,7 @@ function aue(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(SL, {
+ /* @__PURE__ */ (0, L.jsxs)(CL, {
label: "关注来源批量操作",
visible: he.length > 0,
count: `已选 ${he.length} 个来源`,
@@ -43312,10 +43317,10 @@ function aue(e) {
})
]
}),
- R ? /* @__PURE__ */ (0, L.jsx)(Aj, {
+ R ? /* @__PURE__ */ (0, L.jsx)(jj, {
follow: !0,
onRowClick: (e) => ee(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, L.jsxs)(Dj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Oj, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -43326,9 +43331,9 @@ function aue(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, L.jsx)(iA, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in mF, n = _L(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(aA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(aA, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in hF, n = vL(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(oA, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -43337,20 +43342,20 @@ function aue(e) {
children: [n, /* @__PURE__ */ (0, L.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, L.jsx)(dj, {})
+ children: /* @__PURE__ */ (0, L.jsx)(fj, {})
})]
}) : /* @__PURE__ */ (0, L.jsx)(iv, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(sA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(cA, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(uA, {
+ children: fe.map((e) => /* @__PURE__ */ (0, L.jsx)(dA, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(fA, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(pA, { children: vL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Ej, {
+ }) : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: me.all,
isIndeterminate: me.some,
onChange: (e) => te(pe, e),
@@ -43360,9 +43365,9 @@ function aue(e) {
className: "flex flex-col gap-3",
children: D.slice(z.start, z.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, L.jsx)(iue, {
+ return /* @__PURE__ */ (0, L.jsx)(rue, {
group: e,
- name: xF(e, y),
+ name: SF(e, y),
handlers: se,
selected: s,
open: !x.has(t),
@@ -43382,19 +43387,19 @@ function aue(e) {
className: "text-body-2-regular text-text-secondary",
children: `${z.start + 1}–${z.end} / ${z.total} ${R ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, L.jsx)(hj, {
+ /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: pF.map((e) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: mF.map((e) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: String(e),
children: `每页 ${e} ${R ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(wL, {
+ /* @__PURE__ */ (0, L.jsx)(TL, {
page: z.page,
pages: z.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -43458,7 +43463,7 @@ function aue(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var oue = {
+var aue = {
select: "选择",
name: "名称",
kind: "类型",
@@ -43468,18 +43473,18 @@ var oue = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, sue = /* @__PURE__ */ new Set(["select", "actions"]), TL = () => X.invalidateQueries({
- queryKey: dF,
+}, oue = /* @__PURE__ */ new Set(["select", "actions"]), EL = () => X.invalidateQueries({
+ queryKey: fF,
exact: !0
-}), EL = (e) => e.name || e.url, cue = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function lue(e) {
+}), DL = (e) => e.name || e.url, sue = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function cue(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function uue({ source: e }) {
+function lue({ source: e }) {
return e.last_error ? /* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "rose",
@@ -43494,7 +43499,7 @@ function uue({ source: e }) {
children: "已暂停"
});
}
-function due({ source: e, avatarInner: t }) {
+function uue({ source: e, avatarInner: t }) {
let n = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -43502,31 +43507,31 @@ function due({ source: e, avatarInner: t }) {
} : null;
return /* @__PURE__ */ (0, L.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 ${bL}`,
- dangerouslySetInnerHTML: { __html: t(EL(e), n, 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 ${xL}`,
+ dangerouslySetInnerHTML: { __html: t(DL(e), n, null, "performer") }
});
}
-var fue = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function pue(e) {
+var due = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function fue(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 DL(e, t) {
+function OL(e, t) {
let n = e.length === 1 ? e[0] : null;
return g({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${EL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${DL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function mue({ readOnly: e, toast: t, avatarInner: n }) {
+function pue({ readOnly: e, toast: t, avatarInner: n }) {
let r = Ft({
- queryKey: dF,
- queryFn: ({ signal: e }) => MF(e)
- }), i = Sw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), [u, d] = (0, I.useState)(1), [f, p] = (0, I.useState)(20), m = CF(o.length, f, u);
+ queryKey: fF,
+ queryFn: ({ signal: e }) => NF(e)
+ }), i = Sw(), a = r.data, o = (0, I.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, I.useState)(/* @__PURE__ */ new Set()), [u, d] = (0, I.useState)(1), [f, p] = (0, I.useState)(20), m = wF(o.length, f, u);
(0, I.useEffect)(() => {
d((e) => Math.min(e, m.pages));
}, [m.pages]), (0, I.useEffect)(() => {
@@ -43538,7 +43543,7 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
let h = It({
mutationFn: async (e) => {
let t = await l(e.ids, 4, async (t) => {
- e.action === "remove" ? await PF(t) : await NF(t, e.action === "enabled");
+ e.action === "remove" ? await FF(t) : await PF(t, e.action === "enabled");
});
return {
...e,
@@ -43547,13 +43552,13 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
- if (c(/* @__PURE__ */ new Set()), TL(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
+ if (c(/* @__PURE__ */ new Set()), EL(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
let e = n[0];
i.setError(`${n.length} 条没有写入:${e.ok ? "" : K(e.error)}`);
}
},
onError: (e) => i.setError(K(e))
- }), g = (0, I.useMemo)(() => pue(o), [o]), _ = (0, I.useRef)({
+ }), g = (0, I.useMemo)(() => fue(o), [o]), _ = (0, I.useRef)({
readOnly: e,
avatarInner: n,
shared: g,
@@ -43567,34 +43572,34 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
avatarInner: n,
shared: g,
busy: i.busy,
- toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => NF(e.id, t, n), () => void TL()),
- fetch: (e) => void i.run(`check-${e.id}`, (t) => FF(t, [e.id]), () => void TL()),
- remove: (e) => void DL([e], async () => {
- await PF(e.id), t(`已移除订阅源「${EL(e)}」`), TL();
+ toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => PF(e.id, t, n), () => void EL()),
+ fetch: (e) => void i.run(`check-${e.id}`, (t) => IF(t, [e.id]), () => void EL()),
+ remove: (e) => void OL([e], async () => {
+ await FF(e.id), t(`已移除订阅源「${DL(e)}」`), EL();
})
};
let v = (0, I.useMemo)(() => {
- let e = OI(), t = (e) => () => oue[e] || e;
+ let e = kI(), t = (e) => () => aue[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(Ej, {
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(Dj, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${EL(e.row.original)}`
+ "aria-label": `选择 ${DL(e.row.original)}`
})
}),
- e.accessor(EL, {
+ e.accessor(DL, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = fue(e.row.original, _.current.shared);
+ let t = due(e.row.original, _.current.shared);
return /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, L.jsx)(due, {
+ /* @__PURE__ */ (0, L.jsx)(uue, {
source: e.row.original,
avatarInner: _.current.avatarInner
}),
@@ -43625,15 +43630,15 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: lue(e.getValue())
+ children: cue(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, L.jsx)(uue, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, L.jsx)(lue, { source: e.row.original })
}),
- e.accessor((e) => cue(e.interval_minutes), {
+ e.accessor((e) => sue(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
@@ -43641,7 +43646,7 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? EE(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? DE(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, L.jsx)("span", {
@@ -43663,8 +43668,8 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
cell: (e) => /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, L.jsx)(yL, {
- "aria-label": `启用 ${EL(e.row.original)}`,
+ /* @__PURE__ */ (0, L.jsx)(bL, {
+ "aria-label": `启用 ${DL(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: _.current.readOnly,
onChange: (t) => _.current.toggle(e.row.original, t)
@@ -43674,7 +43679,7 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
size: "xs",
iconOnly: !0,
leadingIcon: mC,
- "aria-label": `拉取 ${EL(e.row.original)}`,
+ "aria-label": `拉取 ${DL(e.row.original)}`,
disabled: _.current.readOnly,
...Y(_.current.busy === `check-${e.row.original.id}`),
onClick: () => _.current.fetch(e.row.original)
@@ -43684,7 +43689,7 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
size: "xs",
iconOnly: !0,
leadingIcon: tC,
- "aria-label": `移除 ${EL(e.row.original)}`,
+ "aria-label": `移除 ${DL(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
})
@@ -43692,7 +43697,7 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
})
})
];
- }, []), y = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), b = vL({
+ }, []), y = (0, I.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), b = yL({
data: o,
columns: v,
getRowId: (e) => String(e.id),
@@ -43708,24 +43713,24 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
let t = typeof e == "function" ? e(y) : e;
c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: hL(),
- getPaginationRowModel: gL()
+ getCoreRowModel: gL(),
+ getPaginationRowModel: _L()
});
if (!a) return r.error ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "打不开订阅源",
children: K(r.error)
- }) : /* @__PURE__ */ (0, L.jsx)(KA, { children: "正在读订阅源。" });
- let x = () => void i.run("check", (e) => FF(e), () => void TL()), S = (e) => c((t) => {
+ }) : /* @__PURE__ */ (0, L.jsx)(qA, { children: "正在读订阅源。" });
+ let x = () => void i.run("check", (e) => IF(e), () => void EL()), S = (e) => c((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = o.filter((e) => s.has(e.id)), w = o.filter((e) => e.last_error);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, L.jsx)($le, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Qle, {
readOnly: e,
toast: t,
- onAdded: () => void TL()
+ onAdded: () => void EL()
}), /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": "JAV 订阅列表",
className: gw({
@@ -43756,11 +43761,11 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
className: "flex flex-col gap-3",
children: [w.map((e) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
- title: `${EL(e)} 拉取失败`,
+ title: `${DL(e)} 拉取失败`,
children: e.last_error
- }, e.id)), i.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: i.error }) : null]
+ }, e.id)), i.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: i.error }) : null]
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(SL, {
+ /* @__PURE__ */ (0, L.jsxs)(CL, {
visible: C.length > 0,
label: "订阅源批量操作",
count: `已选 ${C.length} 条订阅源`,
@@ -43792,7 +43797,7 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
size: "small",
disabled: e,
...Y(h.isPending),
- onClick: () => void DL(C, () => h.mutateAsync({
+ onClick: () => void OL(C, () => h.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -43806,22 +43811,22 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
})
]
}),
- o.length ? /* @__PURE__ */ (0, L.jsx)(Aj, {
+ o.length ? /* @__PURE__ */ (0, L.jsx)(jj, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, L.jsxs)(Dj, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Oj, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, L.jsx)(iA, { children: b.getHeaderGroups()[0].headers.map((e) => {
- let t = _L(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, L.jsx)(aA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(aA, { children: b.getHeaderGroups()[0].headers.map((e) => {
+ let t = vL(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, L.jsx)(oA, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: sue.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(iv, { children: t }) : t
+ children: oue.has(e.column.id) ? /* @__PURE__ */ (0, L.jsx)(iv, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, L.jsx)(sA, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(uA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(cA, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, L.jsx)(dA, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(fA, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, L.jsx)(pA, { children: vL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}) : /* @__PURE__ */ (0, L.jsx)(_w, {
@@ -43837,19 +43842,19 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
className: "text-body-2-regular text-text-secondary",
children: `${m.start + 1}–${m.end} / ${m.total} 个订阅源`
}),
- /* @__PURE__ */ (0, L.jsx)(hj, {
+ /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(f),
onSelectionChange: (e) => {
e !== null && (p(Number(e)), d(1));
},
- children: pF.map((e) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: mF.map((e) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(wL, {
+ /* @__PURE__ */ (0, L.jsx)(TL, {
label: "JAV 订阅分页",
page: m.page,
pages: m.pages,
@@ -43871,13 +43876,13 @@ function mue({ readOnly: e, toast: t, avatarInner: n }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var OL = [
+var kL = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["source", "来源和凭证"]
-], kL = (e) => OL.some(([t]) => t === e);
-function AL({ term: e, figure: t, unit: n }) {
+], AL = (e) => kL.some(([t]) => t === e);
+function jL({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: gw({
padding: "none",
@@ -43895,23 +43900,23 @@ function AL({ term: e, figure: t, unit: n }) {
})]
});
}
-function hue(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(kL(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => eF(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => eF(e.sort, e.dir).dir), [g, _] = (0, I.useState)(use(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(dse(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ft({
- queryKey: lF,
- queryFn: ({ signal: e }) => EF(e)
- }), C = Ft({
+function mue(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, I.useState)(AL(e.tab) ? e.tab : "list"), [u, d] = (0, I.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, I.useState)(() => tF(e.sort, e.dir).sort), [m, h] = (0, I.useState)(() => tF(e.sort, e.dir).dir), [g, _] = (0, I.useState)(lse(e.layout) ? e.layout : "default"), [v, y] = (0, I.useState)(use(e.pageSize)), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), S = Ft({
queryKey: uF,
queryFn: ({ signal: e }) => DF(e)
- }), w = Ft({
+ }), C = Ft({
queryKey: dF,
- queryFn: ({ signal: e }) => MF(e)
+ queryFn: ({ signal: e }) => OF(e)
+ }), w = Ft({
+ queryKey: fF,
+ queryFn: ({ signal: e }) => NF(e)
}), T = S.data || { sources: [] }, E = C.data || {
root: "",
providers: []
}, D = T.sources;
(0, I.useEffect)(() => {
x((e) => {
- let t = yse(e, D);
+ let t = vse(e, D);
return t.size === e.size ? e : t;
});
}, [D]);
@@ -43921,9 +43926,9 @@ function hue(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === $P[n] ? "" : r
+ dir: r === eF[n] ? "" : r
});
- }, k = SF(D), A = D.filter(gF).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !BF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ }, k = CF(D), A = D.filter(_F).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !VF(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
a ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
@@ -43939,64 +43944,64 @@ function hue(e) {
children: o
}) : null,
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: bie,
+ className: yie,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, L.jsx)(AL, {
+ /* @__PURE__ */ (0, L.jsx)(jL, {
term: "关注创作者",
figure: k.length,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(AL, {
+ /* @__PURE__ */ (0, L.jsx)(jL, {
term: "启用来源",
figure: j,
unit: `/ ${D.length}`
}),
- /* @__PURE__ */ (0, L.jsx)(AL, {
+ /* @__PURE__ */ (0, L.jsx)(jL, {
term: "检查失败",
figure: A,
unit: "个来源"
}),
- /* @__PURE__ */ (0, L.jsx)(AL, {
+ /* @__PURE__ */ (0, L.jsx)(jL, {
term: "未看更新",
figure: T.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, L.jsx)(AL, {
+ /* @__PURE__ */ (0, L.jsx)(jL, {
term: "JAV 订阅",
figure: N,
unit: "位"
}),
- /* @__PURE__ */ (0, L.jsx)(AL, {
+ /* @__PURE__ */ (0, L.jsx)(jL, {
term: "未看新作",
figure: w.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(gA, {
+ /* @__PURE__ */ (0, L.jsxs)(_A, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- kL(t) && (l(t), O({ tab: t }));
+ AL(t) && (l(t), O({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, L.jsx)(_A, {
+ /* @__PURE__ */ (0, L.jsx)(vA, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: OL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(vA, {
+ children: kL.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(yA, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && M ? `${t}(${M})` : t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(aue, {
+ children: /* @__PURE__ */ (0, L.jsx)(iue, {
data: T,
sort: f,
dir: m,
@@ -44026,10 +44031,10 @@ function hue(e) {
}
})
}),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ /* @__PURE__ */ (0, L.jsxs)(bA, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, L.jsx)(Qce, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Zce, {
data: T,
credentials: E,
readOnly: a,
@@ -44037,7 +44042,7 @@ function hue(e) {
openCredentials: () => {
l("source"), O({ tab: "source" });
}
- }), /* @__PURE__ */ (0, L.jsx)(tle, {
+ }), /* @__PURE__ */ (0, L.jsx)(ele, {
groups: T.author_aliases || [],
readOnly: a,
toast: r,
@@ -44045,19 +44050,19 @@ function hue(e) {
sources: T.sources
})]
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(mue, {
+ children: /* @__PURE__ */ (0, L.jsx)(pue, {
readOnly: a,
toast: r,
avatarInner: e.avatarInner
})
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, L.jsx)(ule, {
+ children: /* @__PURE__ */ (0, L.jsx)(lle, {
data: E,
readOnly: a,
toast: r
@@ -44069,31 +44074,31 @@ function hue(e) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var jL = (e) => ["item", e], ML = (e) => [
+var ML = (e) => ["item", e], NL = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], gue = (e, t) => [
+], hue = (e, t) => [
"item-related",
e,
t
-], _ue = (e) => `/api/item?id=${e}`, vue = (e, t) => `/api/related?id=${e}&limit=${t}`, NL = "/api/playlist", yue = "/api/feedback", PL = "/api/item-tag", FL = "/api/watch-later", IL = "/api/quality-goal", LL = "/api/preference", RL = class extends Error {};
-async function zL(e, t) {
- let n = await hw(_ue(e), t);
- if (n.error) throw new RL(n.error);
+], gue = (e) => `/api/item?id=${e}`, _ue = (e, t) => `/api/related?id=${e}&limit=${t}`, PL = "/api/playlist", vue = "/api/feedback", FL = "/api/item-tag", IL = "/api/watch-later", LL = "/api/quality-goal", RL = "/api/preference", zL = class extends Error {};
+async function BL(e, t) {
+ let n = await hw(gue(e), t);
+ if (n.error) throw new zL(n.error);
return n;
}
-async function BL(e, t, n) {
+async function VL(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([zL(r, n), t.mixRelated(r)]);
- return X.setQueryData(jL(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([BL(r, n), t.mixRelated(r)]);
+ return X.setQueryData(ML(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${t.mixLabel(i)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return VL(await hw(`${NL}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return HL(await hw(`${PL}?id=${e.playlistId}`, n));
let r = await hw(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -44103,17 +44108,17 @@ async function BL(e, t, n) {
items: r.items
};
}
-var VL = (e) => ({
+var HL = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
});
-function HL(e, t) {
+function UL(e, t) {
return e.kind === "mix" ? t : e.items.length ? t != null && e.items.some((e) => e.id === t) ? t : e.kind === "playlist" && e.currentAssetId || e.items[0].id : null;
}
-function bue(e, t) {
+function yue(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -44121,14 +44126,14 @@ function bue(e, t) {
part_label: n
};
}
-async function xue(e, t) {
+async function bue(e, t) {
let { queue: n, actions: r } = e, i = null;
if (n) {
- let a = ML(n);
+ let a = NL(n);
try {
i = (n.fresh ? void 0 : X.getQueryData(a)) || await X.fetchQuery({
queryKey: a,
- queryFn: () => BL(n, e.helpers, t),
+ queryFn: () => VL(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -44141,19 +44146,19 @@ async function xue(e, t) {
}
e.grid.cache(i.items);
}
- let a = i ? HL(i, e.id) : e.id;
+ let a = i ? UL(i, e.id) : e.id;
if (a == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
let o;
try {
- o = X.getQueryData(jL(a)) || await X.fetchQuery({
- queryKey: jL(a),
- queryFn: () => zL(a, t)
+ o = X.getQueryData(ML(a)) || await X.fetchQuery({
+ queryKey: ML(a),
+ queryFn: () => BL(a, t)
});
} catch (e) {
- if (e instanceof RL) {
+ if (e instanceof zL) {
r.redirect({ kind: "gone" });
return;
}
@@ -44164,7 +44169,7 @@ async function xue(e, t) {
id: Number(o.follow_item_id)
});
}
-function Sue(e) {
+function xue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = o(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -44185,42 +44190,42 @@ function Sue(e) {
unowned: !i.length && !l.length && !String(e.creator || "").trim()
};
}
-var UL = (e) => Math.min(Math.max(e || 0, 0), 100), WL = (e) => Math.round(UL(e) / 20), Cue = (e) => {
- let t = WL(e);
+var WL = (e) => Math.min(Math.max(e || 0, 0), 100), GL = (e) => Math.round(WL(e) / 20), Sue = (e) => {
+ let t = GL(e);
return t ? `${t} 星` : "未评分";
-}, wue = (e, t) => {
+}, Cue = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Tue(e, t) {
+function wue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = o(t.tagLabel(e.k)), i = n.get(r);
(!i || o(e.k) === r && o(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var GL = (e, t) => (e.tags || []).some((e) => o(e.k) === o(t)), KL = (e, t) => ({
+var KL = (e, t) => (e.tags || []).some((e) => o(e.k) === o(t)), qL = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => o(e.k) !== o(t))
-}), qL = (e, t) => GL(e, t.k) ? e : {
+}), JL = (e, t) => KL(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, JL = "peach.recentTags";
-function YL() {
+}, YL = "peach.recentTags";
+function XL() {
try {
- let e = JSON.parse(localStorage.getItem(JL) || "[]");
+ let e = JSON.parse(localStorage.getItem(YL) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function Eue(e) {
+function Tue(e) {
try {
- let t = YL().filter((t) => o(t) !== o(e));
- localStorage.setItem(JL, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = XL().filter((t) => o(t) !== o(e));
+ localStorage.setItem(YL, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Due(e, t, n) {
+function Eue(e, t, n) {
let r = o(e), i = new Map(t.map((e) => [o(e.k), e])), a = t.filter((e) => !r || o(e.k).includes(r)).slice(0, 120), s = r ? [] : n.map((e) => i.get(o(e)) || {
k: e,
n: 0
@@ -44231,59 +44236,59 @@ function Due(e, t, n) {
create: r && !c ? e.trim() : ""
};
}
-var Oue = {
+var Due = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, kue = {
+}, Oue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Aue(e) {
+function kue(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: kue[e.kind],
+ title: Oue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var XL = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, jue = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${r(XL(e.part_label))}</small>` : "";
-function Mue(e, t, n, r) {
+var ZL = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Aue = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${r(ZL(e.part_label))}</small>` : "";
+function jue(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Nue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Pue(e, t) {
+var Mue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Nue(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function Fue(e) {
+function Pue(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function Iue(e, t) {
+function Fue(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/components/overlay-host.ts
-function Lue(e) {
+function Iue(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 Rue(e) {
+function Lue(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return Lue(n ?? t.body);
+ return Iue(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var zue = "/api/cover-crop", Bue = (e, t) => q(zue, {
+var Rue = "/api/cover-crop", zue = (e, t) => q(Rue, {
code: e,
box: t
-}), ZL = .704;
-function QL({ className: e }) {
+}), QL = .704;
+function $L({ className: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -44296,7 +44301,7 @@ function QL({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-crop" })
});
}
-function Vue({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function Bue({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, I.useState)(!1), o = (0, I.useRef)(null);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("button", {
ref: o,
@@ -44307,15 +44312,15 @@ function Vue({ 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, L.jsx)(QL, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, L.jsx)($L, { className: "size-3.75" })
}), /* @__PURE__ */ (0, L.jsx)(vy, {
- getContainer: () => Rue(o.current),
- children: /* @__PURE__ */ (0, L.jsx)(xP, {
+ getContainer: () => Lue(o.current),
+ children: /* @__PURE__ */ (0, L.jsx)(SP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, L.jsx)(Hue, {
+ children: /* @__PURE__ */ (0, L.jsx)(Vue, {
code: e,
coverUrl: t,
box: n,
@@ -44325,9 +44330,9 @@ function Vue({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function Hue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = MA(), f = It({
- mutationFn: (t) => Bue(e, t),
+function Vue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, I.useState)(null), [s, c] = (0, I.useState)(null), [l, u] = (0, I.useState)(!0), d = NA(), f = It({
+ mutationFn: (t) => zue(e, t),
onSuccess: () => {
i(), r();
}
@@ -44339,19 +44344,19 @@ function Hue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : uP(e, ZL);
- c(fP(t, e, null));
+ } : dP(e, QL);
+ c(pP(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, L.jsx)(SP, { children: /* @__PURE__ */ (0, L.jsx)(QL, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, L.jsx)(CP, { children: /* @__PURE__ */ (0, L.jsx)($L, { className: "size-6" }) }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(iO, {
+ /* @__PURE__ */ (0, L.jsx)(aO, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -44366,7 +44371,7 @@ function Hue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(PA, {
+ /* @__PURE__ */ (0, L.jsx)(FA, {
icon: QS,
size: "small",
"aria-label": "关闭",
@@ -44377,24 +44382,24 @@ function Hue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, L.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, L.jsx)(TP, {
+ children: /* @__PURE__ */ (0, L.jsx)(EP, {
src: t,
- aspect: l ? ZL : null,
+ aspect: l ? QL : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- cP(e) && p(e);
+ lP(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, L.jsx)(yL, {
+ children: [/* @__PURE__ */ (0, L.jsx)(bL, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(fP(s, a, ZL));
+ u(e), e && s && a && c(pP(s, a, QL));
},
children: /* @__PURE__ */ (0, L.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -44423,21 +44428,21 @@ function Hue({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var $L = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+var eR = ({ name: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: s(e) }
-}), eR = ({ html: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
+}), tR = ({ html: e }) => /* @__PURE__ */ (0, L.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function Uue(e) {
+function Hue(e) {
let { queue: t, actions: n } = e, r = Ft({
- queryKey: t ? ML(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => BL(t, e.helpers, n),
+ queryKey: t ? NL(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => VL(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? HL(i, e.id) : t ? null : e.id, o = Ft({
- queryKey: jL(a ?? 0),
- queryFn: ({ signal: e }) => zL(a, e),
+ }), i = t && r.data || null, a = i ? UL(i, e.id) : t ? null : e.id, o = Ft({
+ queryKey: ML(a ?? 0),
+ queryFn: ({ signal: e }) => BL(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -44448,7 +44453,7 @@ function Uue(e) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "vwrap",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, L.jsx)(tR, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
+ children: [/* @__PURE__ */ (0, L.jsx)(nR, { onClose: n.close }), /* @__PURE__ */ (0, L.jsx)("div", {
"data-item-placeholder": "",
children: e ? /* @__PURE__ */ (0, L.jsx)(Hw, {
message: d(e),
@@ -44460,13 +44465,13 @@ function Uue(e) {
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(Wue, {
+ return /* @__PURE__ */ (0, L.jsx)(Uue, {
...e,
- item: bue(o.data, i),
+ item: yue(o.data, i),
queue: i
}, o.data.id);
}
-var tR = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
+var nR = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
className: "closestage",
id: "closeStage",
@@ -44475,35 +44480,35 @@ var tR = ({ onClose: e }) => /* @__PURE__ */ (0, L.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: s("x") }
});
-function Wue(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = ode(t, r, e.grid.cache, i.tagLabel), o = (0, I.useRef)(t);
+function Uue(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = ade(t, r, e.grid.cache, i.tagLabel), o = (0, I.useRef)(t);
(0, I.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, I.useEffect)(() => {
- n?.kind === "playlist" && q(NL, {
+ n?.kind === "playlist" && q(PL, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = Pue(t, i.sourceOffline(t.location || ""));
+ let s = Nue(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: n ? "sgrid mixgrid" : "sgrid",
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, L.jsx)(Gue, {
+ /* @__PURE__ */ (0, L.jsx)(Wue, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, L.jsx)(que, {
+ n ? /* @__PURE__ */ (0, L.jsx)(Kue, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Xue, {
+ /* @__PURE__ */ (0, L.jsx)(Yue, {
item: t,
queue: n,
write: a,
@@ -44511,9 +44516,9 @@ function Wue(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, L.jsx)(ade, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, L.jsx)(ide, { ...e }) : null] });
}
-function Gue({ item: e, gate: t, helpers: n, actions: r }) {
+function Wue({ item: e, gate: t, helpers: n, actions: r }) {
let [i, o] = (0, I.useState)(t ? "" : "auto"), s = (0, I.useRef)(null), c = (0, I.useRef)(e);
(0, I.useLayoutEffect)(() => {
let e = s.current;
@@ -44524,8 +44529,8 @@ function Gue({ item: e, gate: t, helpers: n, actions: r }) {
className: "vwrap",
"data-item-media": t || "video",
children: [
- /* @__PURE__ */ (0, L.jsx)(tR, { onClose: r.close }),
- t === "offline" ? /* @__PURE__ */ (0, L.jsx)(Kue, {
+ /* @__PURE__ */ (0, L.jsx)(nR, { onClose: r.close }),
+ t === "offline" ? /* @__PURE__ */ (0, L.jsx)(Gue, {
item: e,
badge: l,
helpers: n,
@@ -44535,7 +44540,7 @@ function Gue({ item: e, gate: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, L.jsx)(eR, { html: l }),
+ /* @__PURE__ */ (0, L.jsx)(tR, { html: l }),
/* @__PURE__ */ (0, L.jsx)("b", { children: "在线资产" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -44550,7 +44555,7 @@ function Gue({ item: e, gate: t, helpers: n, actions: r }) {
id: "gate",
"data-item-gate": "metered",
onClick: () => o("clicked"),
- children: [/* @__PURE__ */ (0, L.jsx)(eR, { html: l }), /* @__PURE__ */ (0, L.jsxs)("span", { children: ["点此开始拉流 · ", a(e.size || 0)] })]
+ children: [/* @__PURE__ */ (0, L.jsx)(tR, { html: l }), /* @__PURE__ */ (0, L.jsxs)("span", { children: ["点此开始拉流 · ", a(e.size || 0)] })]
}) : null,
/* @__PURE__ */ (0, L.jsx)("video", {
ref: s,
@@ -44564,7 +44569,7 @@ function Gue({ item: e, gate: t, helpers: n, actions: r }) {
]
});
}
-function Kue({ item: e, badge: t, helpers: n, actions: r }) {
+function Gue({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, I.useState)(!1), [o, s] = (0, I.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -44575,7 +44580,7 @@ function Kue({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, L.jsx)(eR, { html: t }),
+ /* @__PURE__ */ (0, L.jsx)(tR, { html: t }),
/* @__PURE__ */ (0, L.jsx)("b", { children: "脱盘模式" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, L.jsx)("button", {
@@ -44589,8 +44594,8 @@ function Kue({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function que({ queue: e, itemId: t, helpers: n, actions: r }) {
- let a = Aue(e), o = (0, I.useRef)(null), c = Yue(e, t, r), l = (0, I.useRef)(c);
+function Kue({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let a = kue(e), o = (0, I.useRef)(null), c = Jue(e, t, r), l = (0, I.useRef)(c);
l.current = c;
let u = (0, I.useCallback)((t) => {
o.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -44598,7 +44603,7 @@ function que({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => l.current.move(+e, +t, n)
}));
- }, [n, e.kind]), d = Jue(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)("button", {
+ }, [n, e.kind]), d = que(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -44617,7 +44622,7 @@ function que({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, L.jsx)(lI, {
+ return /* @__PURE__ */ (0, L.jsx)(uI, {
kind: e.kind,
title: a.title,
summary: a.summary,
@@ -44626,33 +44631,33 @@ function que({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: u,
children: e.items.map((a) => {
let o = e.kind === "editions" && a.edition_label ? /* @__PURE__ */ (0, L.jsx)("i", {
- className: `javedition ${Oue[a.edition_label] || "censored"}`,
+ className: `javedition ${Due[a.edition_label] || "censored"}`,
"data-queue-edition": "",
children: a.edition_label
}) : null;
- return /* @__PURE__ */ (0, L.jsxs)(uI, {
+ return /* @__PURE__ */ (0, L.jsxs)(dI, {
current: a.id === t,
"data-queue-item": a.id,
row: { "data-queue-row": a.id },
onClick: () => r.openQueueItem(p, a.id),
- pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(eR, { html: n.queueThumbHtml(a) }), /* @__PURE__ */ (0, L.jsx)("i", {
+ pic: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(tR, { html: n.queueThumbHtml(a) }), /* @__PURE__ */ (0, L.jsx)("i", {
className: "dur mono",
children: i(a.duration)
})] }),
- lead: /* @__PURE__ */ (0, L.jsx)(eR, { html: n.queueAvatarHtml(a) }),
+ lead: /* @__PURE__ */ (0, L.jsx)(tR, { html: n.queueAvatarHtml(a) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, L.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
"data-queue-remove": a.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => c.remove(a.id),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "x" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, L.jsxs)("span", {
@@ -44663,14 +44668,14 @@ function que({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-truncate-end": "",
- children: e.kind === "parts" ? XL(a.part_label) : n.mixLabel(a)
+ children: e.kind === "parts" ? ZL(a.part_label) : n.mixLabel(a)
})]
}, a.id);
})
});
}
-function Jue(e, t) {
- let n = It({ mutationFn: (t) => q(NL, {
+function que(e, t) {
+ let n = It({ mutationFn: (t) => q(PL, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -44683,11 +44688,11 @@ function Jue(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function Yue(e, t, n) {
- let r = ML({
+function Jue(e, t, n) {
+ let r = NL({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (X.setQueryData(r, VL(e)), e), a = (t) => q(NL, {
+ }), i = (e) => (X.setQueryData(r, HL(e)), e), a = (t) => q(PL, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = It({
@@ -44703,8 +44708,8 @@ function Yue(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Mue(s, t, r, c);
- if (Nue(l, s)) return;
+ let l = jue(s, t, r, c);
+ if (Mue(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -44750,7 +44755,7 @@ function Yue(e, t, n) {
}
};
}
-function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function Yue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let o = e.location === "online", s = n.busyAttrs, [c, l] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "side",
@@ -44758,7 +44763,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "sidecontent",
children: [
- /* @__PURE__ */ (0, L.jsx)(Zue, {
+ /* @__PURE__ */ (0, L.jsx)(Xue, {
item: e,
queue: t,
helpers: r,
@@ -44770,7 +44775,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, L.jsx)($ue, {
+ /* @__PURE__ */ (0, L.jsx)(Que, {
item: e,
write: n
}),
@@ -44780,7 +44785,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)($L, { name: "monitor" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "monitor" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [
e.width || "?",
"×",
e.height || "?"
@@ -44788,11 +44793,11 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}),
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)($L, { name: "hard-drive" }), /* @__PURE__ */ (0, L.jsx)("span", { children: a(e.size || 0) })]
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "hard-drive" }), /* @__PURE__ */ (0, L.jsx)("span", { children: a(e.size || 0) })]
}),
e.release_date ? /* @__PURE__ */ (0, L.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, L.jsx)($L, { name: "calendar" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "calendar" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
@@ -44800,22 +44805,22 @@ function Xue({ 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, L.jsx)($L, { name: "globe" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "globe" }), /* @__PURE__ */ (0, L.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsx)(ede, {
+ /* @__PURE__ */ (0, L.jsx)($ue, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, L.jsx)(tde, {
+ /* @__PURE__ */ (0, L.jsx)(ede, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, L.jsx)(rde, { item: e }),
+ /* @__PURE__ */ (0, L.jsx)(nde, { item: e }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "fb",
"data-item-feedback": "",
@@ -44829,7 +44834,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...s("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44841,7 +44846,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => l((e) => !e),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44852,7 +44857,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...s("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44863,7 +44868,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...s("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "eye" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "eye" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44874,7 +44879,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...s("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44883,7 +44888,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "playlist" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "playlist" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44894,7 +44899,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...s("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "sparkles" })
}),
/* @__PURE__ */ (0, L.jsx)("button", {
type: "button",
@@ -44905,11 +44910,11 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...s("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "trash" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(ide, {
+ /* @__PURE__ */ (0, L.jsx)(rde, {
item: e,
open: c,
write: n
@@ -44920,7 +44925,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...s("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, L.jsx)($L, { name: "sperm" }),
+ /* @__PURE__ */ (0, L.jsx)(eR, { name: "sperm" }),
/* @__PURE__ */ (0, L.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, L.jsx)("b", {
className: "mono",
@@ -44933,7 +44938,7 @@ function Xue({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function Zue({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function Xue({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, I.useRef)(null), [o, s] = (0, I.useState)(!1), [c, l] = (0, I.useState)(!1);
(0, I.useLayoutEffect)(() => {
let e = a.current;
@@ -44943,7 +44948,7 @@ function Zue({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + jue(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Aue(e, t);
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, L.jsxs)("div", {
@@ -44970,18 +44975,18 @@ function Zue({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: u,
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: o ? "chevron-up" : "chevron-down" })
}),
- e.has_cover && e.code ? /* @__PURE__ */ (0, L.jsx)(Vue, {
+ e.has_cover && e.code ? /* @__PURE__ */ (0, L.jsx)(Bue, {
code: e.code,
coverUrl: `/cover?code=${encodeURIComponent(e.code)}`,
box: e.poster_box || null,
onSaved: () => void X.invalidateQueries({
- queryKey: jL(e.id),
+ queryKey: ML(e.id),
exact: !0
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, L.jsx)(Que, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, L.jsx)(Zue, {
id: e.id,
actions: r,
onStatus: i
@@ -44991,7 +44996,7 @@ function Zue({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function Que({ id: e, actions: t, onStatus: n }) {
+function Zue({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, I.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -45021,17 +45026,17 @@ function Que({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "folder-sync" })
})] });
}
-function $ue({ item: e, write: t }) {
- let n = WL(e.rating);
+function Que({ item: e, write: t }) {
+ let n = GL(e.rating);
return /* @__PURE__ */ (0, L.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": UL(e.rating),
+ "data-value": WL(e.rating),
children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -45048,18 +45053,18 @@ function $ue({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "star" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Cue(e.rating)
+ children: Sue(e.rating)
})]
});
}
-function ede({ item: e, helpers: t, actions: n }) {
- let r = (0, I.useMemo)(() => Sue(e), [e]), [i, a] = (0, I.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
- let o = e === "performer" && a >= 8 && !i, s = e === "performer" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 1) }), /* @__PURE__ */ (0, L.jsx)(eR, { html: t.faceHtml(r) })] }) : e === "studio" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 2) }), r.has_logo ? /* @__PURE__ */ (0, L.jsx)("img", {
+function $ue({ item: e, helpers: t, actions: n }) {
+ let r = (0, I.useMemo)(() => xue(e), [e]), [i, a] = (0, I.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
+ let o = e === "performer" && a >= 8 && !i, s = e === "performer" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 1) }), /* @__PURE__ */ (0, L.jsx)(tR, { html: t.faceHtml(r) })] }) : e === "studio" ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: r.name.slice(0, 2) }), r.has_logo ? /* @__PURE__ */ (0, L.jsx)("img", {
src: `/logo?studio=${encodeURIComponent(r.name)}&variant=icon`,
alt: "",
loading: "lazy",
@@ -45113,7 +45118,7 @@ function ede({ item: e, helpers: t, actions: n }) {
onClick: n.openUnowned,
children: [/* @__PURE__ */ (0, L.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "user-round" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "user-round" })
}), /* @__PURE__ */ (0, L.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -45156,19 +45161,19 @@ function ede({ item: e, helpers: t, actions: n }) {
"data-entity-name": e.name,
title: e.name,
onClick: () => n.openEntity("series", e.name),
- children: [/* @__PURE__ */ (0, L.jsx)($L, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
}, e.name) : /* @__PURE__ */ (0, L.jsxs)("span", {
"data-series-link": "",
title: e.name,
- children: [/* @__PURE__ */ (0, L.jsx)($L, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "tags" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e.name })]
}, e.name))
})]
}) : null
]
});
}
-function tde({ item: e, write: t, helpers: n, actions: r }) {
- let i = Tue(e, n);
+function ede({ item: e, write: t, helpers: n, actions: r }) {
+ let i = wue(e, n);
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "stags",
id: "detailTags",
@@ -45187,16 +45192,16 @@ function tde({ 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, L.jsx)($L, { name: "x" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, L.jsx)(nde, {
+ }, e.k)), /* @__PURE__ */ (0, L.jsx)(tde, {
item: e,
write: t,
helpers: n
})]
});
}
-function nde({ item: e, write: t, helpers: n }) {
+function tde({ item: e, write: t, helpers: n }) {
let r = (0, I.useRef)(null), i = (0, I.useRef)(null), a = (0, I.useRef)(null), o = (0, I.useRef)(!1), [s, c] = (0, I.useState)(!1), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(-1), h = (0, I.useCallback)(() => {
i.current && _(i.current), c(!1);
}, []);
@@ -45210,7 +45215,7 @@ function nde({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? Due(d, n.tagCandidates(), YL()) : {
+ let g = s ? Eue(d, n.tagCandidates(), XL()) : {
recent: [],
results: [],
create: ""
@@ -45238,12 +45243,12 @@ function nde({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? v[p] : null;
- r ? y(r, r.n !== -1 && GL(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? y(r, r.n !== -1 && KL(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, x = -1, S = (t) => {
x += 1;
- let r = x, i = GL(e, t.k);
+ let r = x, i = KL(e, t.k);
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -45251,7 +45256,7 @@ function nde({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => y(t, i),
children: [
- /* @__PURE__ */ (0, L.jsx)($L, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, L.jsx)(eR, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -45274,7 +45279,7 @@ function nde({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (E(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, L.jsx)($L, { name: "plus" })
+ children: /* @__PURE__ */ (0, L.jsx)(eR, { name: "plus" })
}), /* @__PURE__ */ (0, L.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -45284,7 +45289,7 @@ function nde({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, L.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, L.jsx)($L, { name: "search" }), /* @__PURE__ */ (0, L.jsx)("input", {
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "search" }), /* @__PURE__ */ (0, L.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -45325,7 +45330,7 @@ function nde({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, L.jsx)($L, { name: "plus" }), /* @__PURE__ */ (0, L.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(eR, { name: "plus" }), /* @__PURE__ */ (0, L.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -45340,8 +45345,8 @@ function nde({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function rde({ item: e }) {
- let t = Fue(e);
+function nde({ item: e }) {
+ let t = Pue(e);
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -45375,7 +45380,7 @@ function rde({ item: e }) {
})]
});
}
-function ide({ item: e, open: t, write: n }) {
+function rde({ item: e, open: t, write: n }) {
let [r, i] = (0, I.useState)(e.like_reason || ""), a = (0, I.useRef)(null);
(0, I.useEffect)(() => {
t && a.current?.focus();
@@ -45414,11 +45419,11 @@ function ide({ item: e, open: t, write: n }) {
})]
});
}
-function ade(e) {
+function ide(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({
- queryKey: gue(t.id, n),
+ queryKey: hue(t.id, n),
queryFn: async ({ signal: e }) => {
- let r = await hw(vue(t.id, n), e);
+ let r = await hw(_ue(t.id, n), e);
return i.cache(r.items || []), r.items || [];
}
}), [o] = (0, I.useState)(() => r.relatedSkeletonHtml()), s = (0, I.useCallback)((e) => {
@@ -45433,7 +45438,7 @@ function ade(e) {
ref: s,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, L.jsx)(vT, {
+ children: a.data ? /* @__PURE__ */ (0, L.jsx)(yT, {
mode: "items",
variant: "next",
items: a.data,
@@ -45447,12 +45452,12 @@ function ade(e) {
cache: i.cache,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : a.isError ? null : /* @__PURE__ */ (0, L.jsx)(eR, { html: o })
+ }) : a.isError ? null : /* @__PURE__ */ (0, L.jsx)(tR, { html: o })
})]
});
}
-function ode(e, t, n, r) {
- let i = e.id, a = jL(i), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(""), f = (e, t) => s((n) => {
+function ade(e, t, n, r) {
+ let i = e.id, a = ML(i), [o, s] = (0, I.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, I.useState)(""), [u, d] = (0, I.useState)(""), f = (e, t) => s((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), p = () => X.getQueryData(a) || e, m = (e) => {
@@ -45483,7 +45488,7 @@ function ode(e, t, n, r) {
run: n
}));
}, v = async (e, t) => {
- let n = await h(yue, t === void 0 ? { kind: e } : {
+ let n = await h(vue, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -45503,21 +45508,21 @@ function ode(e, t, n, r) {
"aria-disabled": !0
} : {},
rate: (e) => _(`rate:${e}`, "评分", async () => {
- let n = p().rating || 0, r = wue(n, e);
- await v("rate", r), t.toast(r ? `已评 ${WL(r)} 星` : "已取消评分", { undo: async () => {
+ let n = p().rating || 0, r = Cue(n, e);
+ await v("rate", r), t.toast(r ? `已评 ${GL(r)} 星` : "已取消评分", { undo: async () => {
await v("rate", n);
} });
}),
feedback: (e) => _(e, "操作", async () => {
let n = { feedback: p().feedback || null }, r = await v(e);
- t.toast(Iue(e, r), { undo: async () => {
+ t.toast(Fue(e, r), { undo: async () => {
e === "o" ? await v("o-undo") : e === "dispose" ? await v("dispose") : (r.feedback && await v(r.feedback), n.feedback && await v(n.feedback)), await t.trashChanged(p().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => _("later", "更新稍后看", async () => {
- let e = await h(FL, {});
+ let e = await h(IL, {});
m({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- m({ watch_later: (await h(FL, {})).watch_later });
+ m({ watch_later: (await h(IL, {})).watch_later });
} });
}),
quality: () => _("quality", "更新版本需求", async () => {
@@ -45527,9 +45532,9 @@ function ode(e, t, n, r) {
}, n = (e) => m({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await h(IL, { wanted: !e.wanted });
+ }), r = await h(LL, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await h(IL, e));
+ n(await h(LL, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -45543,7 +45548,7 @@ function ode(e, t, n, r) {
});
d("保存中…");
try {
- o(await h(LL, {
+ o(await h(RL, {
liked: a,
reason: i
}));
@@ -45553,7 +45558,7 @@ function ode(e, t, n, r) {
d("已保存"), setTimeout(() => d((e) => e === "已保存" ? "" : e), 1400);
let s = p();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await h(LL, r));
+ o(await h(RL, r));
} });
});
},
@@ -45562,11 +45567,11 @@ function ode(e, t, n, r) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- m((t) => KL(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
- await h(PL, {
+ m((t) => qL(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
+ await h(FL, {
operation: "add",
tag: e.k
- }), m((t) => qL(t, e));
+ }), m((t) => JL(t, e));
} });
}),
addTag: (e) => {
@@ -45575,14 +45580,14 @@ function ode(e, t, n, r) {
(await h("/api/item-tag", {
operation: "add",
tag: n
- })).ok && (m((e) => qL(e, {
+ })).ok && (m((e) => JL(e, {
k: n,
cat: "general"
- })), Eue(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
- await h(PL, {
+ })), Tue(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
+ await h(FL, {
operation: "remove",
tag: n
- }), m((e) => KL(e, n));
+ }), m((e) => qL(e, n));
} }));
});
}
@@ -45590,15 +45595,15 @@ function ode(e, t, n, r) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function sde({ value: e }) {
+function ode({ value: e }) {
return /* @__PURE__ */ (0, L.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 cde = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function nR({ tabs: e, value: t, label: n, onChange: r }) {
+var sde = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function rR({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, I.useRef)(null), a = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
let e = i.current;
@@ -45626,14 +45631,14 @@ function nR({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? oT(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? sT(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: cde,
+ className: sde,
onClick: () => {
i || r(e.value);
},
@@ -45649,23 +45654,23 @@ function nR({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var rR = () => /* @__PURE__ */ (0, L.jsx)("span", {
+var iR = () => /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function lde({ tag: e, actions: t }) {
+function cde({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": aN(t.online, e.cat),
+ "data-tag-cat": oN(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, L.jsx)(rR, {}),
+ /* @__PURE__ */ (0, L.jsx)(iR, {}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -45677,7 +45682,7 @@ function lde({ tag: e, actions: t }) {
]
});
}
-function ude({ groups: e, actions: t }) {
+function lde({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
@@ -45690,10 +45695,10 @@ function ude({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, L.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, L.jsx)(sde, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, L.jsx)(ode, { value: n.length })]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(lde, {
+ children: n.map((e) => /* @__PURE__ */ (0, L.jsx)(cde, {
tag: e,
actions: t
}, e.k))
@@ -45701,8 +45706,8 @@ function ude({ groups: e, actions: t }) {
}, e))
});
}
-var dde = "\xA0";
-function fde({ tags: e, actions: t }) {
+var ude = "\xA0";
+function dde({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -45710,11 +45715,11 @@ function fde({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": aN(t.online, e.cat),
+ "data-tag-cat": oN(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 + dde, /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [e.label + ude, /* @__PURE__ */ (0, L.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -45722,7 +45727,7 @@ function fde({ tags: e, actions: t }) {
}, e.k))
});
}
-var pde = [[
+var fde = [[
"cloud",
"标签云",
"tags"
@@ -45731,16 +45736,16 @@ var pde = [[
"字母表",
"text-aa"
]];
-function mde({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, L.jsx)(bM, {
+function pde({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, L.jsx)(xM, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(SM, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, L.jsxs)(CM, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : aN(n, e),
+ "data-tag-cat": e === "all" ? "all" : oN(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, L.jsx)(rR, {}), r]
+ children: [/* @__PURE__ */ (0, L.jsx)(iR, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("span", {
@@ -45759,19 +45764,19 @@ function mde({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(Vk, {
+ /* @__PURE__ */ (0, L.jsx)(Hk, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${GN}`,
- children: pde.map(([e, t, n]) => {
- let r = oT(n);
- return /* @__PURE__ */ (0, L.jsx)(Hk, {
+ className: `ml-auto ${KN}`,
+ children: fde.map(([e, t, n]) => {
+ let r = sT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Uk, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: KN,
+ className: qN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -45783,13 +45788,13 @@ function mde({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function hde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, L.jsxs)(SL, {
+function mde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, L.jsxs)(CL, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, L.jsx)(Ej, {
+ /* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, L.jsxs)("span", {
@@ -45821,7 +45826,7 @@ function hde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var gde = [{
+var hde = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -45829,7 +45834,7 @@ var gde = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], iR = [{
+}], aR = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -45837,7 +45842,7 @@ var gde = [{
value: "online",
label: "在线",
symbol: "rss"
-}], _de = {
+}], gde = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -45857,20 +45862,20 @@ var gde = [{
"layout-grid"
]]
};
-function vde({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, L.jsx)(VN, {
- "aria-label": `${WM[e]}索引版式`,
+function _de({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, L.jsx)(HN, {
+ "aria-label": `${GM[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${HN}`,
- children: _de[XM(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = oT(n);
- return /* @__PURE__ */ (0, L.jsx)(Hk, {
+ className: `flex-none max-board-narrow:order-3 ${UN}`,
+ children: gde[ZM(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = sT(n);
+ return /* @__PURE__ */ (0, L.jsx)(Uk, {
value: e,
"aria-label": t,
- className: WN,
+ className: GN,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: t,
className: "contents",
@@ -45880,8 +45885,8 @@ function vde({ kind: e, layout: t, onChange: n }) {
})
});
}
-var yde = oT("search");
-function bde({ label: e, value: t, onQuery: n }) {
+var vde = sT("search");
+function yde({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, I.useState)(t), a = (0, I.useRef)(!1), o = (0, I.useRef)(void 0);
(0, I.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -45896,15 +45901,15 @@ function bde({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, L.jsx)(Wj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Gj, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, L.jsx)(Kj, {
+ children: /* @__PURE__ */ (0, L.jsx)(qj, {
type: "search",
- leadingIcon: yde,
+ leadingIcon: vde,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -45914,14 +45919,14 @@ function bde({ label: e, value: t, onQuery: n }) {
})
});
}
-function xde(e) {
- let [t, n] = (0, I.useState)(() => ZM({
+function bde(e) {
+ let [t, n] = (0, I.useState)(() => QM({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = WM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
+ })), [r, i] = (0, I.useState)(e.layout), [a, o] = (0, I.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, I.useState)("any"), l = (0, I.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = GM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
(0, I.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -45931,7 +45936,7 @@ function xde(e) {
...r
};
x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, C = tN(QM(t)), w = Lt({
+ }, C = nN($M(t)), w = Lt({
queryKey: C.queryKey,
queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
pageParam: e,
@@ -45940,21 +45945,21 @@ function xde(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: y ? Pe : void 0
- }), T = rN(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = iN(T.length, !!w.hasNextPage);
+ }), T = iN(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = aN(T.length, !!w.hasNextPage);
(0, I.useEffect)(() => {
l.current && e.refitImages(l.current);
}, [r]);
let O = (0, I.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? cN(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), k = (0, I.useMemo)(() => u === "tags" && m === "alphabet" ? lN(O, (t) => e.tagLabel(t)) : [], [
O,
m,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(nR, {
- tabs: iR,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, L.jsx)(rR, {
+ tabs: aR,
value: p,
label: "词表",
onChange: (e) => {
@@ -45964,15 +45969,15 @@ function xde(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(nR, {
- tabs: iR,
+ }) : u === "performers" ? /* @__PURE__ */ (0, L.jsx)(rR, {
+ tabs: aR,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
- }) : XM(u) ? /* @__PURE__ */ (0, L.jsx)(nR, {
- tabs: gde,
+ }) : ZM(u) ? /* @__PURE__ */ (0, L.jsx)(rR, {
+ tabs: hde,
value: u,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -45989,7 +45994,7 @@ function xde(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (_ ? qM : KM).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (_ ? JM : qM).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, L.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -46004,12 +46009,12 @@ function xde(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- YM(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
+ XM(u) ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending ? "" : D
}) : null,
- YM(u) ? /* @__PURE__ */ (0, L.jsx)(vde, {
+ XM(u) ? /* @__PURE__ */ (0, L.jsx)(_de, {
kind: u,
layout: r,
onChange: A
@@ -46018,7 +46023,7 @@ function xde(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, L.jsx)(bde, {
+ /* @__PURE__ */ (0, L.jsx)(yde, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -46028,7 +46033,7 @@ function xde(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, L.jsx)(mde, {
+ u === "tags" ? /* @__PURE__ */ (0, L.jsx)(pde, {
categories: N,
category: h,
online: _,
@@ -46054,7 +46059,7 @@ function xde(e) {
}) }
});
if (w.isError) return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: oT("search"),
+ icon: sT("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
@@ -46063,18 +46068,18 @@ function xde(e) {
}),
children: d(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, L.jsx)(Cde, {
+ if (!T.length) return /* @__PURE__ */ (0, L.jsx)(Sde, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, L.jsx)(pN, {
+ if (v) return /* @__PURE__ */ (0, L.jsx)(mN, {
items: T,
layout: r,
props: e
});
- if (YM(u)) return /* @__PURE__ */ (0, L.jsx)(fN, {
+ if (XM(u)) return /* @__PURE__ */ (0, L.jsx)(pN, {
kind: u,
items: T,
layout: r,
@@ -46085,10 +46090,10 @@ function xde(e) {
picked: a,
press: M
};
- return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(ude, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, L.jsx)(lde, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, L.jsx)(fde, {
+ }) : /* @__PURE__ */ (0, L.jsx)(dde, {
tags: O,
actions: t
});
@@ -46109,7 +46114,7 @@ function xde(e) {
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, L.jsx)(hde, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, L.jsx)(mde, {
count: a.size,
match: s,
onMatch: c,
@@ -46122,16 +46127,16 @@ function xde(e) {
]
});
}
-var Sde = {
+var xde = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function Cde({ kind: e, filtered: t, online: n, configurable: r }) {
+function Sde({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: oT("search"),
+ icon: sT("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, L.jsx)(fw, {
variant: "primary",
@@ -46140,13 +46145,13 @@ function Cde({ kind: e, filtered: t, online: n, configurable: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Sde[e], a = /* @__PURE__ */ (0, L.jsx)(fw, {
+ let i = n && e === "performers" ? "创作者" : xde[e], a = /* @__PURE__ */ (0, L.jsx)(fw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: oT(e === "tags" ? "tags" : "user-round"),
+ icon: sT(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [r ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "primary",
@@ -46156,15 +46161,15 @@ function Cde({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var aR = {
+var oR = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, wde = (e) => aR[e.junk_kind || "other"] || aR.other;
-function Tde(e) {
+}, Cde = (e) => oR[e.junk_kind || "other"] || oR.other;
+function wde(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -46175,21 +46180,21 @@ function Tde(e) {
glyph: "check"
};
}
-var Ede = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Dde = (e, t) => [
+var Tde = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Ede = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function Ode({ kind: e, view: t }) {
+function Dde({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function kde(e, t) {
- let n = await hw(`/api/ads?${Ode(e)}`, t);
+async function Ode(e, t) {
+ let n = await hw(`/api/ads?${Dde(e)}`, t);
return {
...n,
items: n.items || []
@@ -46197,19 +46202,19 @@ async function kde(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function oR({ name: e }) {
+function sR({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-var sR = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function Ade({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
- let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = wde(e), g = String(e.name || ""), _ = Tde(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
- t.target.closest("[data-junk-actions]") || sR(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
+var cR = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function kde({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions: s }) {
+ let c = (0, I.useRef)(null), [l, u] = (0, I.useState)(""), [d, f] = (0, I.useState)(""), p = e.junk_kind || "other", [m, h] = Cde(e), g = String(e.name || ""), _ = wde(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+ t.target.closest("[data-junk-actions]") || cR(i, t) && (t.preventDefault(), s.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
- if (t.stopPropagation(), sR(i, t)) {
+ if (t.stopPropagation(), cR(i, t)) {
t.preventDefault(), s.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -46251,7 +46256,7 @@ function Ade({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, L.jsx)(oR, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, L.jsx)(sR, { name: h }), /* @__PURE__ */ (0, L.jsx)("b", { children: m })]
}),
v ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-media-art": "thumb",
@@ -46263,7 +46268,7 @@ function Ade({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
}),
/* @__PURE__ */ (0, L.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, L.jsx)(oR, { name: "check" })
+ children: /* @__PURE__ */ (0, L.jsx)(sR, { name: "check" })
})
]
}),
@@ -46300,7 +46305,7 @@ function Ade({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
children: [l === "reveal" ? /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: k("正在定位") }
- }) : /* @__PURE__ */ (0, L.jsx)(oR, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ }) : /* @__PURE__ */ (0, L.jsx)(sR, { name: "folder-open" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -46312,7 +46317,7 @@ function Ade({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": _.label,
...w(_.operation),
onClick: C(_.operation),
- children: [/* @__PURE__ */ (0, L.jsx)(oR, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(sR, { name: _.glyph }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: _.label
})]
@@ -46324,7 +46329,7 @@ function Ade({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, L.jsx)(oR, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
+ children: [/* @__PURE__ */ (0, L.jsx)(sR, { name: "trash" }), /* @__PURE__ */ (0, L.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -46339,7 +46344,7 @@ function Ade({ item: e, view: t, selected: n, selectMode: i, helpers: o, actions
]
});
}
-var jde = (0, I.memo)(Ade), Mde = [
+var Ade = (0, I.memo)(kde), jde = [
[
"",
"全部",
@@ -46376,53 +46381,53 @@ var jde = (0, I.memo)(Ade), Mde = [
"hard-drive"
]
];
-function cR(e = "", t = "pending") {
+function lR(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 Nde(e) {
+function Mde(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: cR("", "pending")
+ href: lR("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: cR("", "dismissed")
+ href: lR("", "dismissed")
};
}
-var Pde = (e) => e === "dismissed" ? "已排除" : "待判断";
+var Nde = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function lR({ name: e }) {
+function uR({ name: e }) {
return /* @__PURE__ */ (0, L.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, L.jsx)("use", { href: `#i-${e}` })
});
}
-function uR({ scope: e, count: t }) {
+function dR({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [" ", /* @__PURE__ */ (0, L.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function Fde({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = MA(), { kind: a, view: o } = e, s = Nde(o), c = (e) => {
+function Pde({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = NA(), { kind: a, view: o } = e, s = Mde(o), c = (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") || cR()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || lR()));
}, l = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, L.jsx)(_M, {
- label: Pde(o),
+ children: /* @__PURE__ */ (0, L.jsx)(vM, {
+ label: Nde(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -46435,16 +46440,16 @@ function Fde({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- Mde.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
- href: cR(e, o),
+ jde.map(([e, n, r]) => /* @__PURE__ */ (0, L.jsxs)("a", {
+ href: lR(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(lR, { name: r }),
+ /* @__PURE__ */ (0, L.jsx)(uR, { name: r }),
n,
- /* @__PURE__ */ (0, L.jsx)(uR, {
+ /* @__PURE__ */ (0, L.jsx)(dR, {
scope: e,
- count: t ? Ede(t, e) : 0
+ count: t ? Tde(t, e) : 0
})
]
}, e || "all")),
@@ -46457,9 +46462,9 @@ function Fde({ route: e, page: t, failed: n, onNavigate: r }) {
"data-junk-view-link": s.view,
"aria-current": o === "dismissed" ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, L.jsx)(lR, { name: s.glyph }),
+ /* @__PURE__ */ (0, L.jsx)(uR, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, L.jsx)(uR, {
+ /* @__PURE__ */ (0, L.jsx)(dR, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -46472,38 +46477,38 @@ function Fde({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var Ide = oT("check"), Lde = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Rde(e) {
+var Fde = sT("check"), Ide = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Lde(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, I.useRef)(e.cache);
n.current = e.cache;
let r = Ft({
- queryKey: Dde(t, e.revision),
+ queryKey: Ede(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await kde(t, e);
+ let r = await Ode(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && Lde(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && Ide(n.queryKey, t) ? e : void 0
});
(0, I.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = zde(e.countRow), a = r.isPending;
+ let i = Rde(e.countRow), a = r.isPending;
(0, I.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, I.useLayoutEffect)(() => {
i && r.data && w(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Fde, {
+ let { navigate: o } = e.actions, s = i ? (0, Yh.createPortal)(/* @__PURE__ */ (0, L.jsx)(Pde, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(Bde, {
+ return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [s, /* @__PURE__ */ (0, L.jsx)(zde, {
props: e,
data: r.data,
pending: a,
@@ -46511,7 +46516,7 @@ function Rde(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function zde(e) {
+function Rde(e) {
let [t, n] = (0, I.useState)(null);
return (0, I.useLayoutEffect)(() => {
if (!e) return;
@@ -46521,7 +46526,7 @@ function zde(e) {
};
}, [e]), t;
}
-function Bde({ props: e, data: t, pending: n, error: r, retry: i }) {
+function zde({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = Vw(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, I.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: f } = e, p = (0, I.useCallback)(() => {
f?.() !== !1 && c((e) => e + 1);
}, [f]);
@@ -46537,7 +46542,7 @@ function Bde({ props: e, data: t, pending: n, error: r, retry: i }) {
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: Ide,
+ icon: Fde,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -46546,7 +46551,7 @@ function Bde({ 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, L.jsx)(jde, {
+ children: u.map((t) => /* @__PURE__ */ (0, L.jsx)(Ade, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -46554,11 +46559,11 @@ function Bde({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Vde, { onMore: p }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, L.jsx)(Bde, { onMore: p }, s) : null] });
})()]
});
}
-function Vde({ onMore: e }) {
+function Bde({ onMore: e }) {
let t = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
let n = t.current;
@@ -46576,12 +46581,12 @@ function Vde({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var dR = "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", Hde = {
- gray: `${dR} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${dR} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${dR} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var fR = "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", Vde = {
+ gray: `${fR} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${fR} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${fR} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Ude({ value: e, max: t }) {
+function Hde({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, L.jsxs)("svg", {
role: "progressbar",
@@ -46609,16 +46614,16 @@ function Ude({ value: e, max: t }) {
})]
});
}
-function Wde(e) {
- let { job: t } = tj(e), n = t.data, r = t.isError ? n ? ZT : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Ude(e) {
+ let { job: t } = nj(e), n = t.data, r = t.isError ? n ? QT : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : nE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? dC : nC;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : rE(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? dC : nC;
return /* @__PURE__ */ (0, L.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Hde[s],
+ className: Vde[s],
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Ude, {
+ children: [o && l ? /* @__PURE__ */ (0, L.jsx)(Hde, {
value: c,
max: l
}) : /* @__PURE__ */ (0, L.jsx)(d, {
@@ -46628,7 +46633,7 @@ function Wde(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, L.jsx)(CA, {
+ }), /* @__PURE__ */ (0, L.jsx)(wA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
trailingIcon: KS,
@@ -46638,32 +46643,32 @@ function Wde(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Gde = "/api/playlists", fR = "/api/playlist", pR = ["playlists"], mR = (e) => hw(Gde, e);
-async function Kde(e) {
+var Wde = "/api/playlists", pR = "/api/playlist", mR = ["playlists"], hR = (e) => hw(Wde, e);
+async function Gde(e) {
await X.fetchQuery({
- queryKey: pR,
- queryFn: () => mR(e),
+ queryKey: mR,
+ queryFn: () => hR(e),
staleTime: 0
});
}
-var hR = () => X.invalidateQueries({
- queryKey: pR,
+var gR = () => X.invalidateQueries({
+ queryKey: mR,
exact: !0
-}), qde = (e) => e.current_asset_id || e.preview_asset_id || null, gR = (e) => `/poster?id=${e}&c=4`, Jde = (e) => q(fR, {
+}), Kde = (e) => e.current_asset_id || e.preview_asset_id || null, _R = (e) => `/poster?id=${e}&c=4`, qde = (e) => q(pR, {
action: "create",
name: e,
asset_ids: []
-}), _R = (e, t) => q(fR, {
+}), vR = (e, t) => q(pR, {
action: "rename",
id: e,
name: t
-}), vR = (e) => q(fR, {
+}), yR = (e) => q(pR, {
action: "delete",
id: e
-}), Yde = (e) => hw(`${fR}?id=${e}`).catch(() => null);
-function Xde(e) {
+}), Jde = (e) => hw(`${pR}?id=${e}`).catch(() => null);
+function Yde(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(fR, {
+ return q(pR, {
action: "create",
name: e.name,
asset_ids: t,
@@ -46673,18 +46678,18 @@ function Xde(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Zde = oT("ellipsis"), Qde = oT("pencil"), $de = oT("trash"), efe = oT("playlist"), yR = sw(TA, EA, "text-body-2-medium"), bR = "播放列表名称不能为空", xR = (e) => async () => {
+var Xde = sT("ellipsis"), Zde = sT("pencil"), Qde = sT("trash"), $de = sT("playlist"), bR = sw(EA, DA, "text-body-2-medium"), xR = "播放列表名称不能为空", SR = (e) => async () => {
try {
await e();
} finally {
- hR();
+ gR();
}
};
-function tfe({ toast: e }) {
+function efe({ toast: e }) {
let [t, n] = (0, I.useState)(""), [r, i] = (0, I.useState)(""), a = It({
- mutationFn: (e) => Jde(e),
+ mutationFn: (e) => qde(e),
onSuccess: (t) => {
- n(""), i(""), hR(), e("已新建播放列表", { undo: xR(() => vR(t.playlist.id)) });
+ n(""), i(""), gR(), e("已新建播放列表", { undo: SR(() => yR(t.playlist.id)) });
},
onError: (e) => i(K(e) || "新建失败")
});
@@ -46694,7 +46699,7 @@ function tfe({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(bR);
+ i(xR);
return;
}
a.mutate(t);
@@ -46703,7 +46708,7 @@ function tfe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.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, L.jsx)(qj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Jj, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -46722,7 +46727,7 @@ function tfe({ toast: e }) {
})]
});
}
-function nfe({ target: e, close: t, toast: n }) {
+function tfe({ target: e, close: t, toast: n }) {
let [r, i] = (0, I.useState)(""), [a, o] = (0, I.useState)(""), s = (0, I.useRef)(null);
(0, I.useEffect)(() => {
if (!e) return;
@@ -46733,13 +46738,13 @@ function nfe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = It({
- mutationFn: ({ row: e, value: t }) => _R(e.id, t),
+ mutationFn: ({ row: e, value: t }) => vR(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), hR(), n("已重命名播放列表", { undo: xR(() => _R(r.id, r.name)) });
+ t(), gR(), n("已重命名播放列表", { undo: SR(() => vR(r.id, r.name)) });
},
onError: (e) => o(K(e))
});
- return /* @__PURE__ */ (0, L.jsx)(xP, {
+ return /* @__PURE__ */ (0, L.jsx)(SP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -46751,7 +46756,7 @@ function nfe({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(bR);
+ o(xR);
return;
}
c.mutate({
@@ -46762,11 +46767,11 @@ function nfe({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, L.jsx)(iO, {
+ children: [/* @__PURE__ */ (0, L.jsx)(aO, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, L.jsx)(qj, {
+ }), /* @__PURE__ */ (0, L.jsx)(Jj, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -46794,7 +46799,7 @@ function nfe({ target: e, close: t, toast: n }) {
})
});
}
-function rfe({ name: e, onRename: t, onDelete: n }) {
+function nfe({ name: e, onRename: t, onDelete: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -46808,33 +46813,33 @@ function rfe({ 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, L.jsx)(Zde, {
+ children: /* @__PURE__ */ (0, L.jsx)(Xde, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, L.jsx)(Ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(wk, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: wA,
- children: /* @__PURE__ */ (0, L.jsxs)(xA, {
+ className: TA,
+ children: /* @__PURE__ */ (0, L.jsxs)(SA, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: yR,
+ className: bR,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, L.jsx)(Qde, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Zde, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, L.jsxs)("button", {
type: "button",
- className: yR,
+ className: bR,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, L.jsx)($de, {
+ children: [/* @__PURE__ */ (0, L.jsx)(Qde, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -46842,13 +46847,13 @@ function rfe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function ife({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function rfe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = Ft({
- queryKey: pR,
- queryFn: ({ signal: e }) => mR(e)
+ queryKey: mR,
+ queryFn: ({ signal: e }) => hR(e)
}), [s, c] = (0, I.useState)(null), l = (0, I.useRef)(a);
(0, I.useEffect)(() => {
- l.current !== a && (l.current = a, hR());
+ l.current !== a && (l.current = a, gR());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, L.jsx)("div", {
@@ -46866,8 +46871,8 @@ function ife({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Yde(e.id);
- await vR(e.id), hR(), i("已删除播放列表", t ? { undo: xR(() => Xde(t)) } : void 0);
+ let t = await Jde(e.id);
+ await yR(e.id), gR(), i("已删除播放列表", t ? { undo: SR(() => Yde(t)) } : void 0);
}
});
};
@@ -46882,27 +46887,27 @@ function ife({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, L.jsx)(tfe, { toast: i })]
+ })] }), /* @__PURE__ */ (0, L.jsx)(efe, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, L.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((i) => {
- let a = qde(i);
- return /* @__PURE__ */ (0, L.jsx)(gT, {
+ let a = Kde(i);
+ return /* @__PURE__ */ (0, L.jsx)(_T, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? gR(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(gR),
+ poster: i.preview_asset_id ? _R(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(_R),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, L.jsx)(rfe, {
+ menu: /* @__PURE__ */ (0, L.jsx)(nfe, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
@@ -46910,11 +46915,11 @@ function ife({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}, i.id);
})
}) : /* @__PURE__ */ (0, L.jsx)(_w, {
- icon: efe,
+ icon: $de,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, L.jsx)(nfe, {
+ /* @__PURE__ */ (0, L.jsx)(tfe, {
target: s,
close: () => c(null),
toast: i
@@ -46924,7 +46929,7 @@ function ife({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function afe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
+function ife({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadge: s }) {
let c = () => n(t.id);
return /* @__PURE__ */ (0, L.jsxs)("li", {
"data-goal-id": t.id,
@@ -46944,7 +46949,7 @@ function afe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, L.jsx)("img", {
- src: xE(t),
+ src: SE(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -46992,10 +46997,10 @@ function afe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: o, srcBadg
})]
});
}
-function ofe(e) {
+function afe(e) {
let t = Ft({
- queryKey: vE,
- queryFn: ({ signal: e }) => yE(e)
+ queryKey: yE,
+ queryFn: ({ signal: e }) => bE(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
@@ -47017,7 +47022,7 @@ function ofe(e) {
})]
}), /* @__PURE__ */ (0, L.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(afe, {
+ children: r.map((t) => /* @__PURE__ */ (0, L.jsx)(ife, {
item: t,
...e
}, t.id))
@@ -47030,8 +47035,8 @@ function ofe(e) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function sfe(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 = BE(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function ofe(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 = VE(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -47039,29 +47044,29 @@ function sfe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(hj, {
+ /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(hj, {
+ i.length > 1 ? /* @__PURE__ */ (0, L.jsxs)(gj, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(gj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(_j, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -47080,12 +47085,12 @@ function sfe(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, L.jsxs)(SL, {
+ }), /* @__PURE__ */ (0, L.jsxs)(CL, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, L.jsxs)(hj, {
+ b ? /* @__PURE__ */ (0, L.jsxs)(gj, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -47093,10 +47098,10 @@ function sfe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, L.jsx)(gj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(_j, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ }), y.map((e) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: e
}, e))]
@@ -47132,7 +47137,7 @@ function sfe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var cfe = {
+var sfe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -47142,14 +47147,14 @@ var cfe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, SR = "reviewgenretags";
-function lfe({ tags: e }) {
+}, CR = "reviewgenretags";
+function cfe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("datalist", {
- id: SR,
+ id: CR,
children: e.map((e) => /* @__PURE__ */ (0, L.jsx)("option", { value: e }, e))
}) : null;
}
-function CR({ candidate: e, selectable: t = !1 }) {
+function wR({ 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, L.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -47186,7 +47191,7 @@ function CR({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, L.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: cfe[e] || e
+ children: sfe[e] || e
}),
/* @__PURE__ */ (0, L.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -47201,36 +47206,36 @@ function CR({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function ufe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function lfe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, L.jsx)(CR, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, L.jsx)(Vk, {
+ children: /* @__PURE__ */ (0, L.jsx)(wR, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, L.jsx)(Hk, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(Hk, {
+ children: a.map((e) => /* @__PURE__ */ (0, L.jsx)(Uk, {
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, L.jsx)(CR, {
+ children: /* @__PURE__ */ (0, L.jsx)(wR, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function dfe({ genre: e, tags: t, locked: n, toast: r }) {
+function ufe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), c = It({
- mutationFn: (t) => Pre(e, t),
+ mutationFn: (t) => Nre(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Ire();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Fre();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -47249,16 +47254,16 @@ function dfe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, L.jsx)(Wj, {
+ /* @__PURE__ */ (0, L.jsx)(Gj, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(Kj, {
+ children: /* @__PURE__ */ (0, L.jsx)(qj, {
size: "small",
- list: t.length ? SR : void 0,
+ list: t.length ? CR : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -47290,8 +47295,8 @@ function dfe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function ffe({ row: e, tags: t, locked: n, toast: r }) {
- let i = JE(e);
+function dfe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = YE(e);
return i.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -47299,7 +47304,7 @@ function ffe({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, L.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(dfe, {
+ }), i.map((e) => /* @__PURE__ */ (0, L.jsx)(ufe, {
genre: e,
tags: t,
locked: n,
@@ -47309,9 +47314,9 @@ function ffe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var wR = (e = "") => /^https?:\/\//i.test(e) ? e : "", pfe = (e = "") => wR(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function TR({ url: e }) {
- let t = pfe(e || ""), [n, r] = (0, I.useState)(!1);
+var TR = (e = "") => /^https?:\/\//i.test(e) ? e : "", ffe = (e = "") => TR(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function ER({ url: e }) {
+ let t = ffe(e || ""), [n, r] = (0, I.useState)(!1);
return /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, L.jsx)("img", {
@@ -47326,7 +47331,7 @@ function TR({ url: e }) {
})
});
}
-function ER({ asset: e, openItem: t }) {
+function DR({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -47359,14 +47364,14 @@ function ER({ asset: e, openItem: t }) {
})]
});
}
-function mfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function pfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, L.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 ${bL}`,
+ 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 ${xL}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -47382,8 +47387,8 @@ function mfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function hfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = wR(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function mfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = TR(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, L.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -47408,7 +47413,7 @@ function hfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, L.jsx)(TR, { url: e.preview_url }),
+ /* @__PURE__ */ (0, L.jsx)(ER, { url: e.preview_url }),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -47451,7 +47456,7 @@ function hfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function gfe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function hfe({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, I.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -47507,7 +47512,7 @@ function gfe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, L.jsx)(Tj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Ej, {
size: "sm",
state: {
isSelected: n,
@@ -47527,19 +47532,19 @@ function gfe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var _fe = gw({
+var gfe = gw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), DR = "flex min-h-6 min-w-0 items-center", vfe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function yfe(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, I.useRef)(!1), m = MA(), h = MA(), g = t === "metadata_fields", _ = FE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = GE(t, n), x = WE(t, n), S = UE(t, n), C = KE(n), w = qE(n), T = HE(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
+}), OR = "flex min-h-6 min-w-0 items-center", _fe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function vfe(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, I.useRef)(!1), m = NA(), h = NA(), g = t === "metadata_fields", _ = IE[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = KE(t, n), x = GE(t, n), S = WE(t, n), C = qE(n), w = JE(n), T = UE(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(ER, {
+ children: E.map((e) => /* @__PURE__ */ (0, L.jsx)(DR, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, L.jsx)(mfe, {
+ }) : y ? /* @__PURE__ */ (0, L.jsx)(pfe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -47549,14 +47554,14 @@ function yfe(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(ER, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, L.jsx)(DR, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(ufe, {
+ }) : null, A = g ? /* @__PURE__ */ (0, L.jsx)(lfe, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -47565,7 +47570,7 @@ function yfe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(gfe, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, L.jsx)(hfe, {
assets: D,
picked: r.assets,
locked: s,
@@ -47578,15 +47583,15 @@ function yfe(e) {
icon: lC,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(hfe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, L.jsx)(mfe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, L.jsx)(TR, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
- className: `${DR} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, L.jsx)(ER, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, L.jsxs)("h4", {
+ className: `${OR} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, L.jsx)(uw, {
variant: "caption",
color: "blue",
@@ -47597,7 +47602,7 @@ function yfe(e) {
children: S
})]
}) : /* @__PURE__ */ (0, L.jsx)("h4", {
- className: DR,
+ className: OR,
children: /* @__PURE__ */ (0, L.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -47607,20 +47612,20 @@ function yfe(e) {
return /* @__PURE__ */ (0, L.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${_fe} ${vfe(t)} overflow-hidden`,
+ className: `${gfe} ${_fe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, L.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, L.jsx)("span", {
- className: `${DR} shrink-0`,
+ className: `${OR} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, L.jsx)(Ej, {
+ children: /* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -47664,7 +47669,7 @@ function yfe(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, L.jsx)(ffe, {
+ /* @__PURE__ */ (0, L.jsx)(dfe, {
row: n,
tags: u,
locked: s,
@@ -47726,8 +47731,8 @@ function yfe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var bfe = "flex cursor-pointer items-center justify-between gap-2";
-function xfe({ page: e, pages: t, onPage: n }) {
+var yfe = "flex cursor-pointer items-center justify-between gap-2";
+function bfe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, L.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -47741,7 +47746,7 @@ function xfe({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, L.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: SE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
+ children: CE(e, t).map((t, r) => /* @__PURE__ */ (0, L.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, L.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -47764,38 +47769,38 @@ function xfe({ page: e, pages: t, onPage: n }) {
]
});
}
-function Sfe(e) {
+function xfe(e) {
let [t, n] = (0, I.useState)(() => matchMedia("(max-width:900px)").matches);
(0, I.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, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, I.useState)(PE(e.category) ? e.category : NE), [m, h] = (0, I.useState)("candidates"), [g, _] = (0, I.useState)(""), [v, y] = (0, I.useState)(1), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, I.useState)(""), O = (0, I.useRef)(null), [k, A] = (0, I.useState)(0), [j, M] = (0, I.useState)(""), N = (0, I.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, I.useState)(FE(e.category) ? e.category : PE), [m, h] = (0, I.useState)("candidates"), [g, _] = (0, I.useState)(""), [v, y] = (0, I.useState)(1), [b, x] = (0, I.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, I.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, I.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, I.useState)(""), O = (0, I.useRef)(null), [k, A] = (0, I.useState)(0), [j, M] = (0, I.useState)(""), N = (0, I.useRef)(!0);
(0, I.useEffect)(() => () => {
N.current = !1;
}, []);
let ee = Ft({
- queryKey: AE,
- queryFn: ({ signal: e }) => ZE(e)
+ queryKey: jE,
+ queryFn: ({ signal: e }) => QE(e)
}).data || {
sections: {},
counts: {}
- }, te = ee.sections[f] || [], P = f === "metadata_fields", ne = l, F = IE(te, P), re = F.some(([e]) => e === m) ? m : "candidates", ie = LE(te, re), ae = ie.some((e) => e.key === g) ? g : "", oe = zE(RE(te, re, ae), v), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
+ }, te = ee.sections[f] || [], P = f === "metadata_fields", ne = l, F = LE(te, P), re = F.some(([e]) => e === m) ? m : "candidates", ie = RE(te, re), ae = ie.some((e) => e.key === g) ? g : "", oe = BE(zE(te, re, ae), v), 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) => S.get(e.item_key) || YE(e), R = te.filter((e) => b.has(e.item_key)), z = (e) => {
+ })).filter((e) => e.rows.length), ue = (e) => S.get(e.item_key) || XE(e), R = te.filter((e) => b.has(e.item_key)), z = (e) => {
let t = new Set(e);
x((e) => new Set([...e].filter((e) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, de = (e, t) => T((n) => new Map(n).set(e, t)), fe = (e) => {
p(e), h("candidates"), _(""), y(1), x(/* @__PURE__ */ new Set()), C(/* @__PURE__ */ new Map()), T(/* @__PURE__ */ new Map()), D(""), O.current = null, r({ category: e === "metadata_fields" ? "" : e });
}, pe = It({
- mutationFn: ({ row: e, status: t }) => QE(XE(f, e, t, ue(e))),
+ mutationFn: ({ row: e, status: t }) => $E(ZE(f, e, t, ue(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
de(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- $E(f, [t.item_key]), z([t.item_key]), c(Nre(n));
+ eD(f, [t.item_key]), z([t.item_key]), c(Mre(n));
},
onError: (e, { row: t }) => de(t.item_key, K(e))
}), me = It({
@@ -47805,7 +47810,7 @@ function Sfe(e) {
if (!N.current) break;
D(`正在处理 ${i} / ${t.length}`);
try {
- let t = await QE(XE(f, a, e, ue(a)));
+ let t = await $E(ZE(f, a, e, ue(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -47819,7 +47824,7 @@ function Sfe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- $E(f, t), z(t), n.forEach(([e, t]) => de(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ eD(f, t), z(t), n.forEach(([e, t]) => de(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
D(K(e));
@@ -47849,7 +47854,7 @@ function Sfe(e) {
A(e), M("");
let t = await o(e);
N.current && (A(0), M(t));
- }, ve = Lre(ee.mirror, u), ye = ee.genre_tags || [], be = {
+ }, ve = Ire(ee.mirror, u), ye = ee.genre_tags || [], be = {
openItem: i,
openEntity: a,
onReveal: _e,
@@ -47874,13 +47879,13 @@ function Sfe(e) {
}) : void 0,
children: ve
}) : null,
- /* @__PURE__ */ (0, L.jsx)(lfe, { tags: ye }),
- /* @__PURE__ */ (0, L.jsxs)(gA, {
+ /* @__PURE__ */ (0, L.jsx)(cfe, { tags: ye }),
+ /* @__PURE__ */ (0, L.jsxs)(_A, {
orientation: t ? "horizontal" : "vertical",
selectedKey: f,
onSelectionChange: (e) => {
let t = String(e);
- PE(t) && fe(t);
+ FE(t) && fe(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -47889,27 +47894,27 @@ function Sfe(e) {
children: [/* @__PURE__ */ (0, L.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, L.jsx)(_A, {
+ }), /* @__PURE__ */ (0, L.jsx)(vA, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: ME.map((e) => {
+ children: NE.map((e) => {
let t = Number(ee.counts[e] || 0);
- return /* @__PURE__ */ (0, L.jsxs)(vA, {
+ return /* @__PURE__ */ (0, L.jsxs)(yA, {
id: e,
- className: bfe,
- children: [jE[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
+ className: yfe,
+ children: [ME[e], t ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, L.jsxs)(yA, {
+ }), /* @__PURE__ */ (0, L.jsxs)(bA, {
id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- te.length && !ne ? /* @__PURE__ */ (0, L.jsx)(sfe, {
+ te.length && !ne ? /* @__PURE__ */ (0, L.jsx)(ofe, {
groupOptions: F,
groupBy: re,
onGroupBy: (e) => {
@@ -47925,7 +47930,7 @@ function Sfe(e) {
onSelected: x,
selectedRows: R,
metadata: P,
- approvable: R.every((e) => HE(f, e)),
+ approvable: R.every((e) => UE(f, e)),
busy: me.isPending,
feedback: E,
onUnifySource: ge,
@@ -47950,7 +47955,7 @@ function Sfe(e) {
})]
}) : null, /* @__PURE__ */ (0, L.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(yfe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, L.jsx)(vfe, {
category: f,
row: e,
choice: ue(e),
@@ -47958,7 +47963,7 @@ function Sfe(e) {
selected: b.has(e.item_key),
onSelect: (t, n) => x((r) => {
let i = new Set(r);
- return O.current = VE(i, se, O.current, e.item_key, t, n), i;
+ return O.current = HE(i, se, O.current, e.item_key, t, n), i;
}),
locked: ne,
busy: pe.isPending && pe.variables?.row.item_key === e.item_key,
@@ -47978,7 +47983,7 @@ function Sfe(e) {
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, L.jsx)(xfe, {
+ /* @__PURE__ */ (0, L.jsx)(bfe, {
page: oe.page,
pages: oe.pages,
onPage: y
@@ -47991,13 +47996,9 @@ function Sfe(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Cfe = "/api/scraping", wfe = "/api/scraping/settings", Tfe = "/api/scraping/check", OR = "/api/scraping/cover", Efe = "/api/scraping/amane-bridge", Dfe = "/api/scraping/amane-bridge/check", Ofe = "/api/scraping/amane-bridge/rebuild", kR = ["scraping"], AR = ["scraping", "cover"], jR = ["scraping", "amane-bridge"], MR = (e) => hw(Cfe, e), NR = (e) => hw(OR, e), PR = (e) => hw(Efe, e);
-async function kfe(e) {
+var Sfe = "/api/scraping", Cfe = "/api/scraping/settings", wfe = "/api/scraping/check", kR = "/api/scraping/cover", Tfe = "/api/scraping/amane-bridge", Efe = "/api/scraping/amane-bridge/check", Dfe = "/api/scraping/amane-bridge/rebuild", AR = ["scraping"], jR = ["scraping", "cover"], MR = ["scraping", "amane-bridge"], NR = (e) => hw(Sfe, e), PR = (e) => hw(kR, e), FR = (e) => hw(Tfe, e);
+async function Ofe(e) {
await Promise.all([
- X.fetchQuery({
- queryKey: kR,
- queryFn: () => MR(e)
- }),
X.fetchQuery({
queryKey: AR,
queryFn: () => NR(e)
@@ -48005,16 +48006,20 @@ async function kfe(e) {
X.fetchQuery({
queryKey: jR,
queryFn: () => PR(e)
+ }),
+ X.fetchQuery({
+ queryKey: MR,
+ queryFn: () => FR(e)
})
]);
}
-function Afe(e, t) {
+function kfe(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var jfe = [["peach", "Peach 代理"], ["direct", "直接连接"]], FR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function IR({ source: e }) {
+var Afe = [["peach", "Peach 代理"], ["direct", "直接连接"]], IR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function LR({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -48022,7 +48027,7 @@ function IR({ source: e }) {
"github"
].includes(e);
return /* @__PURE__ */ (0, L.jsx)("img", {
- src: t ? `/vendor/site-marks/${e}.png` : p({ source: e }),
+ src: t ? `/site-icon/${e}.png` : p({ source: e }),
alt: "",
width: 16,
height: 16,
@@ -48031,13 +48036,16 @@ function IR({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
+function jfe() {
+ return /* @__PURE__ */ (0, L.jsx)(LR, { source: "github" });
+}
function Mfe({ source: e, toast: t }) {
- let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(FR[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
+ let [n, r] = (0, I.useState)(e.network), [i, a] = (0, I.useState)(""), [o, s] = (0, I.useState)(""), [c, l] = (0, I.useState)(IR[0][0]), [u, d] = (0, I.useState)(""), [f, p] = (0, I.useState)(""), m = (0, I.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = It({
- mutationFn: (t) => q(wfe, {
+ mutationFn: (t) => q(Cfe, {
source: e.source,
network: n,
cookie: i,
@@ -48045,12 +48053,12 @@ function Mfe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(kR, (t) => t && {
+ X.setQueryData(AR, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = It({ mutationFn: () => q(Tfe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = It({ mutationFn: () => q(wfe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -48075,37 +48083,37 @@ function Mfe({ source: e, toast: t }) {
}
}
let C = f || (g.error ? K(g.error) : "") || (_.error ? K(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, L.jsx)(IR, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: [/* @__PURE__ */ (0, L.jsx)(LR, { source: e.source }), /* @__PURE__ */ (0, L.jsx)(XA, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, L.jsx)(UA, { children: /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(WA, { children: /* @__PURE__ */ (0, L.jsx)(HA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, L.jsx)(hj, {
+ children: /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: jfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: Afe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, L.jsxs)(WA, {
+ T ? /* @__PURE__ */ (0, L.jsxs)(GA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, L.jsx)(CA, {
+ children: /* @__PURE__ */ (0, L.jsx)(wA, {
href: "/configuration#peachProxy",
size: "small",
trailingIcon: KS,
@@ -48121,20 +48129,20 @@ function Mfe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, L.jsx)(VN, {
+ /* @__PURE__ */ (0, L.jsx)(HN, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: HN,
- children: FR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Hk, {
+ className: UN,
+ children: IR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Uk, {
value: e,
- className: UN,
+ className: WN,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, L.jsx)(qj, {
+ c === "paste" ? /* @__PURE__ */ (0, L.jsx)(Jj, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -48143,7 +48151,7 @@ function Mfe({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, L.jsx)(YA, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
@@ -48169,14 +48177,14 @@ function Mfe({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, L.jsx)(qA, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, L.jsx)(JA, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, L.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: Afe(t, e.label)
+ children: kfe(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(KA, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: b,
@@ -48199,25 +48207,25 @@ function Mfe({ source: e, toast: t }) {
});
}
function Nfe({ toast: e }) {
- let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = bj({
- queryKey: AR,
- queryFn: ({ signal: e }) => NR(e),
- start: () => q(OR, { code: t }),
+ let [t, n] = (0, I.useState)(""), { running: r, outcome: i, start: a } = xj({
+ queryKey: jR,
+ queryFn: ({ signal: e }) => PR(e),
+ start: () => q(kR, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? K(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, L.jsx)(HA, {
+ return /* @__PURE__ */ (0, L.jsx)(UA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, L.jsxs)(WA, { children: [
+ children: /* @__PURE__ */ (0, L.jsxs)(GA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, L.jsx)(qj, {
+ children: /* @__PURE__ */ (0, L.jsx)(Jj, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -48245,10 +48253,10 @@ function Nfe({ toast: e }) {
});
}
function Pfe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = bj({
- queryKey: jR,
- queryFn: ({ signal: e }) => PR(e),
- start: () => q(Ofe, {}),
+ let { query: t, running: n, outcome: r, start: i } = xj({
+ queryKey: MR,
+ queryFn: ({ signal: e }) => FR(e),
+ start: () => q(Dfe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -48257,44 +48265,45 @@ function Pfe({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = It({ mutationFn: () => q(Dfe, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(HA, {
+ }), a = It({ mutationFn: () => q(Efe, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, L.jsx)(UA, {
title: "amane",
- children: /* @__PURE__ */ (0, L.jsx)(WA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: K(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? K(i.error) : a.error ? K(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "amane",
- aside: /* @__PURE__ */ (0, L.jsxs)(YA, {
+ aside: /* @__PURE__ */ (0, L.jsx)(XA, {
href: o.repository,
- children: [/* @__PURE__ */ (0, L.jsx)(IR, { source: "github" }), o.repository]
+ leadingIcon: jfe,
+ children: o.repository
}),
children: [
- /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(WA, {
+ /* @__PURE__ */ (0, L.jsxs)(GA, {
divided: !0,
children: [
- /* @__PURE__ */ (0, L.jsxs)(KA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(qA, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -48314,7 +48323,7 @@ function Pfe({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(GA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsxs)(KA, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -48333,8 +48342,8 @@ function Pfe({ toast: e }) {
}
function Ffe({ toast: e }) {
let t = Ft({
- queryKey: kR,
- queryFn: ({ signal: e }) => MR(e)
+ queryKey: AR,
+ queryFn: ({ signal: e }) => NR(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
@@ -48355,11 +48364,11 @@ function Ffe({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var LR = "/api/configuration", Ife = "/api/pick-folder", RR = ["configuration"], zR = (e) => hw(LR, e);
-async function BR(e) {
+var RR = "/api/configuration", Ife = "/api/pick-folder", zR = ["configuration"], BR = (e) => hw(RR, e);
+async function VR(e) {
await X.fetchQuery({
- queryKey: RR,
- queryFn: () => zR(e)
+ queryKey: zR,
+ queryFn: () => BR(e)
});
}
//#endregion
@@ -48372,7 +48381,7 @@ function zfe({ initial: e, receipt: t }) {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -48381,9 +48390,9 @@ function zfe({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, L.jsxs)(WA, { children: [
- /* @__PURE__ */ (0, L.jsx)(KA, { children: Lfe }),
- n.map((e) => /* @__PURE__ */ (0, L.jsx)(qj, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: Lfe }),
+ n.map((e) => /* @__PURE__ */ (0, L.jsx)(Jj, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -48394,8 +48403,8 @@ function zfe({ initial: e, receipt: t }) {
validationBehavior: "aria",
hint: Rfe
}, e.key)),
- i.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(i.busy === "save"),
children: "保存配置"
@@ -48418,7 +48427,7 @@ function Bfe({ data: e, receipt: t }) {
}
function Vfe({ startup: e, receipt: t }) {
let [n, r] = (0, I.useState)(e.enabled), [i, a] = (0, I.useState)(e.silent), [o, s] = (0, I.useState)(e.desktop), c = Sw(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -48428,30 +48437,30 @@ function Vfe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(UA, { children: [
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsxs)(WA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -48459,11 +48468,11 @@ function Vfe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(WA, {
+ e.message || c.error ? /* @__PURE__ */ (0, L.jsxs)(GA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, L.jsx)(KA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, L.jsx)(qA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(c.busy === "save"),
@@ -48474,7 +48483,7 @@ function Vfe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var VR = /* @__PURE__ */ new Set([
+var HR = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
@@ -48485,12 +48494,12 @@ var VR = /* @__PURE__ */ new Set([
65,
67,
90
-], HR = 120;
+], UR = 120;
function Ufe({ initial: e, initialJob: t }) {
let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, I.useState)(""), c = Sw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = VR.has(i.state);
+ }), [o, s] = (0, I.useState)(""), c = Sw(), l = (0, I.useRef)(!1), u = (0, I.useRef)(!0), d = HR.has(i.state);
(0, I.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -48507,7 +48516,7 @@ function Ufe({ initial: e, initialJob: t }) {
(0, I.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, I.useEffect)(() => {
- let e = new AbortController(), t = VR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = HR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await hw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -48520,9 +48529,9 @@ function Ufe({ initial: e, initialJob: t }) {
let n = await hw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= HR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= UR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < HR && (n = setTimeout(c, t));
+ !e.signal.aborted && o < UR && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -48536,40 +48545,40 @@ function Ufe({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(K(t));
}), _ = c.error || o, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, L.jsxs)(WA, {
+ /* @__PURE__ */ (0, L.jsxs)(GA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(KA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, L.jsxs)(qA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !_ ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(qA, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(KA, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, L.jsx)(JA, { children: _ || n.message }) : /* @__PURE__ */ (0, L.jsx)(qA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(qA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, L.jsx)(JA, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
@@ -48579,14 +48588,14 @@ function Ufe({ initial: e, initialJob: t }) {
value: i.progress,
stops: Hfe
}),
- /* @__PURE__ */ (0, L.jsxs)(KA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, L.jsx)(KA, { children: v })
+ /* @__PURE__ */ (0, L.jsxs)(qA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(GA, {
- status: /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsxs)(KA, {
+ status: /* @__PURE__ */ (0, L.jsx)(XA, {
href: n.release_url,
children: "查看发布页"
}),
@@ -48644,9 +48653,9 @@ function Gfe({ data: e, receipt: t, reopenTutorial: n }) {
}
function Kfe({ receipt: e, reopenTutorial: t }) {
let n = Sw();
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, L.jsxs)(WA, { children: [/* @__PURE__ */ (0, L.jsx)(KA, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(GA, { children: [/* @__PURE__ */ (0, L.jsx)(qA, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: n.error }) : null] }), /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...Y(n.busy === "reopen"),
children: "重新打开教程"
@@ -48660,51 +48669,51 @@ function qfe({ initial: e, receipt: t }) {
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, L.jsxs)(UA, { children: [
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsxs)(WA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, L.jsx)(hj, {
+ children: /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Wfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: Wfe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, L.jsx)(WA, {
+ o.error ? /* @__PURE__ */ (0, L.jsx)(GA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(qA, { children: o.error })
+ children: /* @__PURE__ */ (0, L.jsx)(JA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
disabled: !e.available,
...Y(o.busy === "save"),
@@ -48714,11 +48723,11 @@ function qfe({ initial: e, receipt: t }) {
});
}
function Jfe({ facts: e }) {
- return /* @__PURE__ */ (0, L.jsx)(HA, {
+ return /* @__PURE__ */ (0, L.jsx)(UA, {
title: "运行信息",
- children: /* @__PURE__ */ (0, L.jsx)(XA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(ZA, {
+ children: /* @__PURE__ */ (0, L.jsx)(ZA, { children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)(QA, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, L.jsx)(XA, {
href: e.download_url,
children: e.download_label
}) : null]
@@ -48739,26 +48748,26 @@ function Yfe({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, L.jsxs)(WA, { children: [
- e.available ? /* @__PURE__ */ (0, L.jsx)(KA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, L.jsx)(Ej, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ e.available ? /* @__PURE__ */ (0, L.jsx)(qA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, L.jsx)(QA, {
+ /* @__PURE__ */ (0, L.jsx)($A, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(LA, {
+ children: c.map((e) => /* @__PURE__ */ (0, L.jsx)(RA, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, L.jsx)(GA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(KA, {
status: s ? /* @__PURE__ */ (0, L.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -48801,13 +48810,13 @@ var Xfe = [
function Qfe() {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(KA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(qA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, L.jsx)(XA, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, L.jsxs)(QA, {
+ })] }), /* @__PURE__ */ (0, L.jsxs)($A, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, L.jsx)(KA, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, L.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
@@ -48839,9 +48848,9 @@ function Qfe() {
/* @__PURE__ */ (0, L.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, L.jsxs)(KA, { children: [
+ /* @__PURE__ */ (0, L.jsxs)(qA, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, L.jsx)(YA, {
+ /* @__PURE__ */ (0, L.jsx)(XA, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -48853,7 +48862,7 @@ function Qfe() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var UR = [
+var WR = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -48901,7 +48910,7 @@ function $fe(e) {
let t = e === "local" ? "" : m[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var WR = "auto";
+var GR = "auto";
function epe({ value: e, label: t, kind: n = "local", onChange: r }) {
let i = (0, I.useRef)(null), [a, o] = (0, I.useState)(!1), [s, c] = (0, I.useState)(e), [l, u] = $fe(n);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(G, {
@@ -48917,35 +48926,35 @@ function epe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, L.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, L.jsx)(ej, { mark: e || l }), ((e) => e && UR.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { mark: e || l }), ((e) => e && WR.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, L.jsx)(Ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(wk, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: wA,
- children: /* @__PURE__ */ (0, L.jsxs)(Pk, {
+ className: TA,
+ children: /* @__PURE__ */ (0, L.jsxs)(Fk, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, L.jsx)(iO, {
+ /* @__PURE__ */ (0, L.jsx)(aO, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, L.jsx)(Vk, {
+ /* @__PURE__ */ (0, L.jsx)(Hk, {
"aria-label": "候选图标",
- value: s || WR,
- onChange: (e) => c(e === WR ? "" : e),
+ value: s || GR,
+ onChange: (e) => c(e === GR ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: UR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Hk, {
- value: e || WR,
+ children: WR.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Uk, {
+ value: e || GR,
"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, L.jsx)(ej, { mark: e || l })
- }, e || WR))
+ children: /* @__PURE__ */ (0, L.jsx)(tj, { mark: e || l })
+ }, e || GR))
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -48969,13 +48978,13 @@ function epe({ value: e, label: t, kind: n = "local", onChange: r }) {
//#region src/react/settings/push-discovery-settings.tsx
var tpe = "/api/configuration/push-discovery", npe = "/api/configuration/push-discovery/secret";
function rpe({ initial: e, receipt: t }) {
- let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Sw(), l = MA(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
+ let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.prefixes), [o, s] = (0, I.useState)(""), c = Sw(), l = NA(), u = n.media_roots, [d, f] = (0, I.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -48988,11 +48997,11 @@ function rpe({ initial: e, receipt: t }) {
c.run("save", (e) => q(tpe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
- /* @__PURE__ */ (0, L.jsxs)(UA, { children: [
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsxs)(WA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -49002,10 +49011,10 @@ function rpe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -49015,10 +49024,10 @@ function rpe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(HA, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, L.jsx)(yL, {
+ children: /* @__PURE__ */ (0, L.jsx)(bL, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -49029,30 +49038,30 @@ function rpe({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, L.jsx)(WA, {
+ d.enabled ? /* @__PURE__ */ (0, L.jsx)(GA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsxs)(XA, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(ZA, {
+ children: /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [d.watch_local ? /* @__PURE__ */ (0, L.jsx)(QA, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, L.jsx)(ZA, {
+ }) : null, /* @__PURE__ */ (0, L.jsx)(QA, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(WA, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(GA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, L.jsx)(KA, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, L.jsx)(YA, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("div", { children: /* @__PURE__ */ (0, L.jsx)(G, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, L.jsx)(QA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)($A, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, L.jsx)("div", {
className: "relative",
@@ -49063,17 +49072,17 @@ function rpe({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, L.jsx)(KA, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, L.jsx)(qA, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(WA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, L.jsx)(GA, {
divided: !0,
children: /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, L.jsx)(KA, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, L.jsx)(YA, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -49081,7 +49090,7 @@ function rpe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(Jj, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -49090,18 +49099,18 @@ function rpe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, L.jsx)(hj, {
+ /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: u.map((e) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(PA, {
+ /* @__PURE__ */ (0, L.jsx)(FA, {
icon: QS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
@@ -49120,11 +49129,11 @@ function rpe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, L.jsx)(WA, {
+ o || c.error ? /* @__PURE__ */ (0, L.jsx)(GA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(qA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, L.jsx)(JA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, L.jsxs)(GA, {
+ /* @__PURE__ */ (0, L.jsxs)(KA, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => {
@@ -49159,11 +49168,11 @@ function ape({ className: e }) {
children: /* @__PURE__ */ (0, L.jsx)("use", { href: "#i-folder-search" })
});
}
-var GR = [
+var KR = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], ope = (e) => GR.find(([t]) => t === e)?.[1] ?? e, KR = (e) => m[e] || "database", qR = (e = "") => ({
+], ope = (e) => KR.find(([t]) => t === e)?.[1] ?? e, qR = (e) => m[e] || "database", JR = (e = "") => ({
path: e,
location: "local",
root: "",
@@ -49171,14 +49180,14 @@ var GR = [
library_icon: ""
});
function spe(e) {
- let t = e.media_sources?.filter((e) => GR.some(([t]) => t === e.location));
+ let t = e.media_sources?.filter((e) => KR.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) => qR(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => JR(e));
}
var cpe = (e) => !(e instanceof pw) || e.status !== 400 ? null : e.body?.errors ?? null;
function lpe({ data: e, receipt: t }) {
@@ -49218,7 +49227,7 @@ function upe({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, qR()]);
+ _(n.length), r((e) => [...e, JR()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
@@ -49234,7 +49243,7 @@ function upe({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(LR, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(RR, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -49247,14 +49256,14 @@ function upe({ data: e, receipt: t }) {
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
- if (m) return /* @__PURE__ */ (0, L.jsx)(HA, {
+ if (m) return /* @__PURE__ */ (0, L.jsx)(UA, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, L.jsx)(WA, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
+ children: /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, L.jsx)(CA, {
+ /* @__PURE__ */ (0, L.jsx)(wA, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -49264,14 +49273,14 @@ function upe({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, L.jsxs)(WA, { children: [
+ children: [/* @__PURE__ */ (0, L.jsxs)(GA, { children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, L.jsx)(JA, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, L.jsx)(YA, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, L.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -49282,7 +49291,7 @@ function upe({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(Jj, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -49295,13 +49304,13 @@ function upe({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, L.jsx)(PA, {
+ /* @__PURE__ */ (0, L.jsx)(FA, {
icon: ape,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(PA, {
+ n.length > 1 ? /* @__PURE__ */ (0, L.jsx)(FA, {
icon: QS,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
@@ -49310,7 +49319,7 @@ function upe({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(Jj, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -49319,7 +49328,7 @@ function upe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(JA, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(epe, {
+ children: [/* @__PURE__ */ (0, L.jsx)(YA, { children: "媒体库图标" }), /* @__PURE__ */ (0, L.jsx)(epe, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -49328,20 +49337,20 @@ function upe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, L.jsx)(JA, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(hj, {
+ children: [/* @__PURE__ */ (0, L.jsx)(YA, { children: "媒体来源" }), /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: GR.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(gj, {
+ children: KR.map(([e, t]) => /* @__PURE__ */ (0, L.jsxs)(_j, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, L.jsx)(ej, { mark: KR(e) }), t]
+ children: [/* @__PURE__ */ (0, L.jsx)(tj, { mark: qR(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(qj, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(Jj, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -49359,17 +49368,17 @@ function upe({ data: e, receipt: t }) {
]
}),
A ? /* @__PURE__ */ (0, L.jsx)(Qfe, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, L.jsxs)(KA, { children: [
+ j.map((e) => /* @__PURE__ */ (0, L.jsxs)(qA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, L.jsxs)(YA, {
+ /* @__PURE__ */ (0, L.jsxs)(XA, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(KA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(qj, {
+ e.windows === !1 ? /* @__PURE__ */ (0, L.jsx)(qA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, L.jsx)(Jj, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -49379,7 +49388,7 @@ function upe({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, L.jsx)(Ej, {
+ /* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -49389,7 +49398,7 @@ function upe({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, L.jsx)(GA, {
+ ] }), /* @__PURE__ */ (0, L.jsx)(KA, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -49425,19 +49434,19 @@ function dpe({ online: e }) {
}
function fpe({ data: e }) {
let t = e.media_sources, n = Sw();
- return t ? /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return t ? /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, L.jsx)(XA, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(ZA, {
- term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(ej, { mark: KR(e.location) }), ope(e.location)] }),
+ /* @__PURE__ */ (0, L.jsx)(ZA, { children: t.map((e, t) => /* @__PURE__ */ (0, L.jsxs)(QA, {
+ term: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(tj, { mark: qR(e.location) }), ope(e.location)] }),
children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, L.jsx)(dpe, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, L.jsx)(WA, {
+ n.error ? /* @__PURE__ */ (0, L.jsx)(GA, {
divided: !0,
- children: /* @__PURE__ */ (0, L.jsx)(qA, { children: n.error })
+ children: /* @__PURE__ */ (0, L.jsx)(JA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => zR(e), (e) => X.setQueryData(RR, e)),
+ /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ onClick: () => void n.run("refresh", (e) => BR(e), (e) => X.setQueryData(zR, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -49473,24 +49482,24 @@ function mpe({ initial: e, receipt: t }) {
n ? p(n) : h.setError(K(e));
});
}, _ = ppe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, L.jsxs)(WA, { children: [
- _ ? /* @__PURE__ */ (0, L.jsx)(KA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ _ ? /* @__PURE__ */ (0, L.jsx)(qA, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(Ej, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, L.jsx)(Dj, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(qj, {
+ n.mode === "password" ? /* @__PURE__ */ (0, L.jsx)(Jj, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -49503,7 +49512,7 @@ function mpe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(qj, {
+ v ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jj, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -49516,7 +49525,7 @@ function mpe({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, L.jsx)(qj, {
+ }), /* @__PURE__ */ (0, L.jsx)(Jj, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -49535,9 +49544,9 @@ function mpe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, L.jsx)(GA, {
+ }), v ? /* @__PURE__ */ (0, L.jsx)(KA, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
@@ -49558,8 +49567,8 @@ function vpe({ revision: e, initial: t, receipt: n }) {
(0, I.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- zR(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(RR, t), i(t.tunnel), o(t.revision));
+ BR(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(zR, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
}, hpe);
return () => {
@@ -49580,26 +49589,26 @@ function vpe({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(K(e));
});
};
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, L.jsxs)(WA, { children: [
- r.named_available ? /* @__PURE__ */ (0, L.jsx)(VN, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(GA, { children: [
+ r.named_available ? /* @__PURE__ */ (0, L.jsx)(HN, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: HN,
- children: gpe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Hk, {
+ className: UN,
+ children: gpe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(Uk, {
value: e,
- className: UN,
+ className: WN,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, L.jsx)(KA, { children: _pe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(qj, {
+ /* @__PURE__ */ (0, L.jsx)(qA, { children: _pe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(Jj, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -49610,7 +49619,7 @@ function vpe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, L.jsx)(qj, {
+ }), /* @__PURE__ */ (0, L.jsx)(Jj, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -49630,7 +49639,7 @@ function vpe({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, L.jsx)(YA, {
+ children: /* @__PURE__ */ (0, L.jsx)(XA, {
href: r.url,
children: r.url
})
@@ -49640,9 +49649,9 @@ function vpe({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, L.jsxs)(GA, {
+ r.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, L.jsxs)(KA, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -49685,7 +49694,7 @@ function bpe({ data: e, receipt: t }) {
}
function xpe({ initial: e, receipt: t }) {
let [n, r] = (0, I.useState)(e), [i, a] = (0, I.useState)(e.mode), [o, s] = (0, I.useState)(""), c = Sw();
- return /* @__PURE__ */ (0, L.jsxs)(HA, {
+ return /* @__PURE__ */ (0, L.jsxs)(UA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -49697,25 +49706,25 @@ function xpe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, L.jsx)(UA, { children: /* @__PURE__ */ (0, L.jsx)(VA, {
+ /* @__PURE__ */ (0, L.jsx)(WA, { children: /* @__PURE__ */ (0, L.jsx)(HA, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, L.jsx)(hj, {
+ children: /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: ype.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: ype.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(WA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, L.jsxs)(GA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(qj, {
+ i === "proxy" ? /* @__PURE__ */ (0, L.jsx)(Jj, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -49729,10 +49738,10 @@ function xpe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, L.jsx)(qA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, L.jsx)(JA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
+ /* @__PURE__ */ (0, L.jsx)(KA, { children: /* @__PURE__ */ (0, L.jsx)(G, {
type: "submit",
...Y(c.busy === "save"),
children: "保存配置"
@@ -49744,8 +49753,8 @@ function xpe({ initial: e, receipt: t }) {
//#region src/react/settings/configuration-page.tsx
function Spe({ receipt: e, reopenTutorial: t }) {
let n = Ft({
- queryKey: RR,
- queryFn: ({ signal: e }) => zR(e)
+ queryKey: zR,
+ queryFn: ({ signal: e }) => BR(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, L.jsx)("div", {
className: "configpage",
@@ -49796,29 +49805,29 @@ var Cpe = (e) => {
};
function wpe({ openConfiguration: e }) {
let t = Ft({
- queryKey: RR,
- queryFn: ({ signal: e }) => zR(e)
+ queryKey: zR,
+ queryFn: ({ signal: e }) => BR(e)
}), n = t.data;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, L.jsxs)(XA, { children: [
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ children: [n ? /* @__PURE__ */ (0, L.jsxs)(ZA, { children: [
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, L.jsx)(ZA, {
+ /* @__PURE__ */ (0, L.jsx)(QA, {
term: "更新",
children: Cpe(n)
})
- ] }) : /* @__PURE__ */ (0, L.jsx)(WA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
+ ] }) : /* @__PURE__ */ (0, L.jsx)(GA, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "配置读取失败",
children: t.error ? K(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, L.jsx)(GA, {
+ }) }), /* @__PURE__ */ (0, L.jsx)(KA, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, L.jsx)(G, {
onClick: e,
@@ -49829,14 +49838,14 @@ function wpe({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var Tpe = "/api/stats", JR = ["stats"], YR = (e) => hw(Tpe, e);
+var Tpe = "/api/stats", YR = ["stats"], XR = (e) => hw(Tpe, e);
async function Epe(e) {
await X.fetchQuery({
- queryKey: JR,
- queryFn: () => YR(e)
+ queryKey: YR,
+ queryFn: () => XR(e)
});
}
-var XR = (e, t) => t ? Math.round(e / t * 100) : 0, Dpe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, ZR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, QR = (e) => (e.max_reached || 0) * 100, Ope = (e) => e.kind === "online" ? "在线直接观看" : ZR(e) < QR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", kpe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Ape = (e) => Math.max(1, ...e) * 1.1, jpe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Mpe = {
+var ZR = (e, t) => t ? Math.round(e / t * 100) : 0, Dpe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, QR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, $R = (e) => (e.max_reached || 0) * 100, Ope = (e) => e.kind === "online" ? "在线直接观看" : QR(e) < $R(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", kpe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Ape = (e) => Math.max(1, ...e) * 1.1, jpe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Mpe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -49852,10 +49861,10 @@ var XR = (e, t) => t ? Math.round(e / t * 100) : 0, Dpe = (e) => e >= 3600 ? `${
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, $R = (e, t = {}) => e.map((e) => ({
+}, ez = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), Fpe = (e) => $R(e, Ppe), Ipe = [
+})), Fpe = (e) => ez(e, Ppe), Ipe = [
[
1,
1,
@@ -49895,41 +49904,41 @@ var XR = (e, t) => t ? Math.round(e / t * 100) : 0, Dpe = (e) => e >= 3600 ? `${
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
})), Rpe = /* @__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 ez(e) {
+function tz(e) {
return typeof e == "string" && Rpe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
var zpe = /* @__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 tz(e) {
+function nz(e) {
return typeof e == "string" && zpe.has(e);
}
-function nz(e) {
+function rz(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function rz(e) {
+function iz(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (tz(n) || nz(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nz(n) || rz(n)) && (t[n] = e[n]);
return t;
}
-function iz(e) {
+function az(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return rz(t);
+ return iz(t);
}
- return typeof e == "object" && !Array.isArray(e) ? rz(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? iz(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function az(e) {
+function oz(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (tz(n) || nz(n) || ez(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nz(n) || rz(n) || tz(n)) && (t[n] = e[n]);
return t;
}
function Bpe(e) {
- return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? az(e.props) : typeof e == "object" && !Array.isArray(e) ? az(e) : null;
+ return e == null ? null : /*#__PURE__*/ (0, I.isValidElement)(e) ? oz(e.props) : typeof e == "object" && !Array.isArray(e) ? oz(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
@@ -49943,14 +49952,14 @@ var Vpe = [
"title",
"desc"
];
-function oz() {
- return oz = Object.assign ? Object.assign.bind() : function(e) {
+function sz() {
+ return sz = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, oz.apply(null, arguments);
+ }, sz.apply(null, arguments);
}
function Hpe(e, t) {
if (e == null) return {};
@@ -49970,14 +49979,14 @@ function Upe(e, t) {
}
return n;
}
-var sz = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+var cz = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Hpe(e, Vpe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = bh("recharts-surface", o);
- return /*#__PURE__*/ I.createElement("svg", oz({}, az(u), {
+ return /*#__PURE__*/ I.createElement("svg", sz({}, oz(u), {
className: f,
width: r,
height: i,
@@ -49986,14 +49995,14 @@ var sz = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
ref: t
}), /*#__PURE__*/ I.createElement("title", null, c), /*#__PURE__*/ I.createElement("desc", null, l), n);
}), Wpe = ["children", "className"];
-function cz() {
- return cz = Object.assign ? Object.assign.bind() : function(e) {
+function lz() {
+ return lz = 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;
- }, cz.apply(null, arguments);
+ }, lz.apply(null, arguments);
}
function Gpe(e, t) {
if (e == null) return {};
@@ -50013,39 +50022,39 @@ function Kpe(e, t) {
}
return n;
}
-var lz = /*#__PURE__*/ I.forwardRef((e, t) => {
+var uz = /*#__PURE__*/ I.forwardRef((e, t) => {
var { children: n, className: r } = e, i = Gpe(e, Wpe), a = bh("recharts-layer", r);
- return /*#__PURE__*/ I.createElement("g", cz({ className: a }, az(i), { ref: t }), n);
-}), uz = /*#__PURE__*/ (0, I.createContext)(null), qpe = () => (0, I.useContext)(uz);
+ return /*#__PURE__*/ I.createElement("g", lz({ className: a }, oz(i), { ref: t }), n);
+}), dz = /*#__PURE__*/ (0, I.createContext)(null), qpe = () => (0, I.useContext)(dz);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function dz(e) {
+function fz(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var fz = Math.cos, pz = Math.sin, mz = Math.sqrt, hz = Math.PI;
-hz / 2;
-var gz = 2 * hz, _z = Math.PI, vz = 2 * _z, yz = 1e-6, Jpe = vz - yz;
-function bz(e) {
+var pz = Math.cos, mz = Math.sin, hz = Math.sqrt, gz = Math.PI;
+gz / 2;
+var _z = 2 * gz, vz = Math.PI, yz = 2 * vz, bz = 1e-6, Jpe = yz - bz;
+function xz(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
function Ype(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return bz;
+ if (t > 15) return xz;
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 xz = class {
+var Sz = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? bz : Ype(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? xz : Ype(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -50066,18 +50075,18 @@ var xz = 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 > yz) {
- if (!(Math.abs(u * s - c * l) > yz) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > bz) {
+ if (!(Math.abs(u * s - c * l) > bz) || !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((_z - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > yz && 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((vz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > bz && 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) > yz || Math.abs(this._y1 - l) > yz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % vz + vz), d > Jpe ? 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 > yz && this._append`A${n},${n},0,${+(d >= _z)},${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) > bz || Math.abs(this._y1 - l) > bz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % yz + yz), d > Jpe ? 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 > bz && this._append`A${n},${n},0,${+(d >= vz)},${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`;
@@ -50086,10 +50095,10 @@ var xz = class {
return this._;
}
};
-xz.prototype;
+Sz.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function Sz(e) {
+function Cz(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -50100,18 +50109,18 @@ function Sz(e) {
t = e;
}
return e;
- }, () => new xz(t);
+ }, () => new Sz(t);
}
Array.prototype.slice;
-function Cz(e) {
+function wz(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 wz(e) {
+function Tz(e) {
this._context = e;
}
-wz.prototype = {
+Tz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50134,33 +50143,33 @@ wz.prototype = {
}
}
};
-function Tz(e) {
- return new wz(e);
+function Ez(e) {
+ return new Tz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function Ez(e) {
+function Dz(e) {
return e[0];
}
-function Dz(e) {
+function Oz(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function Oz(e, t) {
- var n = dz(!0), r = null, i = Tz, a = null, o = Sz(s);
- e = typeof e == "function" ? e : e === void 0 ? Ez : dz(e), t = typeof t == "function" ? t : t === void 0 ? Dz : dz(t);
+function kz(e, t) {
+ var n = fz(!0), r = null, i = Ez, a = null, o = Cz(s);
+ e = typeof e == "function" ? e : e === void 0 ? Dz : fz(e), t = typeof t == "function" ? t : t === void 0 ? Oz : fz(t);
function s(s) {
- var c, l = (s = Cz(s)).length, u, d = !1, f;
+ var c, l = (s = wz(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 : dz(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : dz(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : dz(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : fz(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -50169,11 +50178,11 @@ function Oz(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function kz(e, t, n) {
- var r = null, i = dz(!0), a = null, o = Tz, s = null, c = Sz(l);
- e = typeof e == "function" ? e : e === void 0 ? Ez : dz(+e), t = typeof t == "function" ? t : dz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Dz : dz(+n);
+function Az(e, t, n) {
+ var r = null, i = fz(!0), a = null, o = Ez, s = null, c = Cz(l);
+ e = typeof e == "function" ? e : e === void 0 ? Dz : fz(+e), t = typeof t == "function" ? t : fz(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Oz : fz(+n);
function l(l) {
- var u, d, f, p = (l = Cz(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = wz(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();
@@ -50187,20 +50196,20 @@ function kz(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return Oz().defined(i).curve(o).context(a);
+ return kz().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : dz(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : dz(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : dz(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : fz(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : dz(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : dz(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : dz(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : fz(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -50208,7 +50217,7 @@ function kz(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : dz(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : fz(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -50217,7 +50226,7 @@ function kz(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var Az = class {
+var jz = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -50245,69 +50254,69 @@ var Az = class {
}
};
function Xpe(e) {
- return new Az(e, !0);
+ return new jz(e, !0);
}
function Zpe(e) {
- return new Az(e, !1);
+ return new jz(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var jz = { draw(e, t) {
- let n = mz(t / hz);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, gz);
+var Mz = { draw(e, t) {
+ let n = hz(t / gz);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, _z);
} }, Qpe = { draw(e, t) {
- let n = mz(t / 5) / 2;
+ let n = hz(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();
-} }, Mz = mz(1 / 3), $pe = Mz * 2, eme = { draw(e, t) {
- let n = mz(t / $pe), r = n * Mz;
+} }, Nz = hz(1 / 3), $pe = Nz * 2, eme = { draw(e, t) {
+ let n = hz(t / $pe), r = n * Nz;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
} }, tme = { draw(e, t) {
- let n = mz(t), r = -n / 2;
+ let n = hz(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, nme = .8908130915292852, Nz = pz(hz / 10) / pz(7 * hz / 10), rme = pz(gz / 10) * Nz, ime = -fz(gz / 10) * Nz, ame = { draw(e, t) {
- let n = mz(t * nme), r = rme * n, i = ime * n;
+} }, nme = .8908130915292852, Pz = mz(gz / 10) / mz(7 * gz / 10), rme = mz(_z / 10) * Pz, ime = -pz(_z / 10) * Pz, ame = { draw(e, t) {
+ let n = hz(t * nme), r = rme * n, i = ime * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = gz * t / 5, o = fz(a), s = pz(a);
+ let a = _z * t / 5, o = pz(a), s = mz(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, Pz = mz(3), ome = { draw(e, t) {
- let n = -mz(t / (Pz * 3));
- e.moveTo(0, n * 2), e.lineTo(-Pz * n, -n), e.lineTo(Pz * n, -n), e.closePath();
-} }, Fz = -.5, Iz = mz(3) / 2, Lz = 1 / mz(12), sme = (Lz / 2 + 1) * 3, cme = { draw(e, t) {
- let n = mz(t / sme), r = n / 2, i = n * Lz, a = r, o = n * Lz + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Fz * r - Iz * i, Iz * r + Fz * i), e.lineTo(Fz * a - Iz * o, Iz * a + Fz * o), e.lineTo(Fz * s - Iz * c, Iz * s + Fz * c), e.lineTo(Fz * r + Iz * i, Fz * i - Iz * r), e.lineTo(Fz * a + Iz * o, Fz * o - Iz * a), e.lineTo(Fz * s + Iz * c, Fz * c - Iz * s), e.closePath();
+} }, Fz = hz(3), ome = { draw(e, t) {
+ let n = -hz(t / (Fz * 3));
+ e.moveTo(0, n * 2), e.lineTo(-Fz * n, -n), e.lineTo(Fz * n, -n), e.closePath();
+} }, Iz = -.5, Lz = hz(3) / 2, Rz = 1 / hz(12), sme = (Rz / 2 + 1) * 3, cme = { draw(e, t) {
+ let n = hz(t / sme), r = n / 2, i = n * Rz, a = r, o = n * Rz + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Iz * r - Lz * i, Lz * r + Iz * i), e.lineTo(Iz * a - Lz * o, Lz * a + Iz * o), e.lineTo(Iz * s - Lz * c, Lz * s + Iz * c), e.lineTo(Iz * r + Lz * i, Iz * i - Lz * r), e.lineTo(Iz * a + Lz * o, Iz * o - Lz * a), e.lineTo(Iz * s + Lz * c, Iz * c - Lz * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
function lme(e, t) {
- let n = null, r = Sz(i);
- e = typeof e == "function" ? e : dz(e || jz), t = typeof t == "function" ? t : dz(t === void 0 ? 64 : +t);
+ let n = null, r = Cz(i);
+ e = typeof e == "function" ? e : fz(e || Mz), t = typeof t == "function" ? t : fz(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 : dz(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : dz(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : fz(+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 Rz() {}
+function zz() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function zz(e, t, n) {
+function Bz(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 Bz(e) {
+function Vz(e) {
this._context = e;
}
-Bz.prototype = {
+Vz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50319,7 +50328,7 @@ Bz.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: zz(this, this._x1, this._y1);
+ case 3: Bz(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;
@@ -50333,22 +50342,22 @@ Bz.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: zz(this, e, t);
+ default: Bz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function ume(e) {
- return new Bz(e);
+ return new Vz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function Vz(e) {
+function Hz(e) {
this._context = e;
}
-Vz.prototype = {
- areaStart: Rz,
- areaEnd: Rz,
+Hz.prototype = {
+ areaStart: zz,
+ areaEnd: zz,
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;
},
@@ -50374,20 +50383,20 @@ Vz.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: zz(this, e, t);
+ default: Bz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function dme(e) {
- return new Vz(e);
+ return new Hz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function Hz(e) {
+function Uz(e) {
this._context = e;
}
-Hz.prototype = {
+Uz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50414,22 +50423,22 @@ Hz.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: zz(this, e, t);
+ default: Bz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
function fme(e) {
- return new Hz(e);
+ return new Uz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function Uz(e) {
+function Wz(e) {
this._context = e;
}
-Uz.prototype = {
- areaStart: Rz,
- areaEnd: Rz,
+Wz.prototype = {
+ areaStart: zz,
+ areaEnd: zz,
lineStart: function() {
this._point = 0;
},
@@ -50441,29 +50450,29 @@ Uz.prototype = {
}
};
function pme(e) {
- return new Uz(e);
+ return new Wz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function Wz(e) {
+function Gz(e) {
return e < 0 ? -1 : 1;
}
-function Gz(e, t, n) {
+function Kz(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 (Wz(a) + Wz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (Gz(a) + Gz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function Kz(e, t) {
+function qz(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function qz(e, t, n) {
+function Jz(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 Jz(e) {
+function Yz(e) {
this._context = e;
}
-Jz.prototype = {
+Yz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50478,7 +50487,7 @@ Jz.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: qz(this, this._t0, Kz(this, this._t0));
+ case 3: Jz(this, this._t0, qz(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -50493,24 +50502,24 @@ Jz.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, qz(this, Kz(this, n = Gz(this, e, t)), n);
+ this._point = 3, Jz(this, qz(this, n = Kz(this, e, t)), n);
break;
- default: qz(this, this._t0, n = Gz(this, e, t));
+ default: Jz(this, this._t0, n = Kz(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function Yz(e) {
- this._context = new Xz(e);
+function Xz(e) {
+ this._context = new Zz(e);
}
-(Yz.prototype = Object.create(Jz.prototype)).point = function(e, t) {
- Jz.prototype.point.call(this, t, e);
+(Xz.prototype = Object.create(Yz.prototype)).point = function(e, t) {
+ Yz.prototype.point.call(this, t, e);
};
-function Xz(e) {
+function Zz(e) {
this._context = e;
}
-Xz.prototype = {
+Zz.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -50525,17 +50534,17 @@ Xz.prototype = {
}
};
function mme(e) {
- return new Jz(e);
+ return new Yz(e);
}
function hme(e) {
- return new Yz(e);
+ return new Xz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function Zz(e) {
+function Qz(e) {
this._context = e;
}
-Zz.prototype = {
+Qz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50549,7 +50558,7 @@ Zz.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 = Qz(e), i = Qz(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 = $z(e), i = $z(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;
},
@@ -50557,7 +50566,7 @@ Zz.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function Qz(e) {
+function $z(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];
@@ -50566,14 +50575,14 @@ function Qz(e) {
return [i, a];
}
function gme(e) {
- return new Zz(e);
+ return new Qz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function $z(e, t) {
+function eB(e, t) {
this._context = e, this._t = t;
}
-$z.prototype = {
+eB.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -50602,22 +50611,22 @@ $z.prototype = {
}
};
function _me(e) {
- return new $z(e, .5);
+ return new eB(e, .5);
}
function vme(e) {
- return new $z(e, 0);
+ return new eB(e, 0);
}
function yme(e) {
- return new $z(e, 1);
+ return new eB(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function eB(e, t) {
+function tB(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 tB(e) {
+function nB(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
@@ -50631,21 +50640,21 @@ function xme(e) {
return t.key = e, t;
}
function Sme() {
- var e = dz([]), t = tB, n = eB, r = bme;
+ var e = fz([]), t = nB, n = tB, r = bme;
function i(i) {
var a = Array.from(e.apply(this, arguments), xme), 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 = Cz(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = wz(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 : dz(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : fz(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : dz(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : fz(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? tB : typeof e == "function" ? e : dz(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? nB : typeof e == "function" ? e : fz(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? eB, i) : n;
+ return arguments.length ? (n = e ?? tB, i) : n;
}, i;
}
//#endregion
@@ -50656,7 +50665,7 @@ function Cme(e, t) {
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;
}
- eB(e, t);
+ tB(e, t);
}
}
//#endregion
@@ -50667,7 +50676,7 @@ function wme(e, t) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- eB(e, t);
+ tB(e, t);
}
}
//#endregion
@@ -50684,18 +50693,18 @@ function Tme(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, eB(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, tB(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function nB(e) {
+function rB(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
var Eme = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function rB(e) {
+function iB(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
@@ -50705,30 +50714,30 @@ function rB(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function iB(e) {
+function aB(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 aB(e) {
+function oB(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
function Dme(e) {
- return e == null ? "" : oB(e);
+ return e == null ? "" : sB(e);
}
-function oB(e) {
+function sB(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(oB).join(",");
- if (aB(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(sB).join(",");
+ if (oB(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 sB(e) {
- if (Array.isArray(e)) return e.map(iB);
+function cB(e) {
+ if (Array.isArray(e)) return e.map(aB);
if (typeof e == "symbol") return [e];
e = Dme(e);
let t = [], n = e.length;
@@ -50758,23 +50767,23 @@ function sB(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function cB(e, t, n) {
+function lB(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (nB(t)) return n;
+ if (rB(t)) return n;
let r = e[t];
- return r === void 0 ? rB(t) && !Object.hasOwn(e, t) ? cB(e, sB(t), n) : n : r;
+ return r === void 0 ? iB(t) && !Object.hasOwn(e, t) ? lB(e, cB(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = iB(t));
+ typeof t == "number" && (t = aB(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
if (Array.isArray(t)) return Ome(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), nB(t)) return n;
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), rB(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
@@ -50784,7 +50793,7 @@ function Ome(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || nB(t[e])) return n;
+ if (r == null || rB(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
@@ -50792,49 +50801,49 @@ function Ome(e, t, n) {
//#endregion
//#region node_modules/recharts/es6/util/round.js
var kme = 4;
-function lB(e) {
+function uB(e) {
var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : kme), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function uB(e) {
+function dB(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 + lB(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + uB(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var dB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, fB = (e) => typeof e == "number" && e != +e, pB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !fB(e), mB = (e) => Z(e) || typeof e == "string", Ame = 0, hB = (e) => {
+var fB = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, pB = (e) => typeof e == "number" && e != +e, mB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !pB(e), hB = (e) => Z(e) || typeof e == "string", Ame = 0, gB = (e) => {
var t = ++Ame;
return `${e || ""}${t}`;
-}, gB = function(e, t) {
+}, _B = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
if (!Z(e) && typeof e != "string") return n;
var i;
- if (pB(e)) {
+ if (mB(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return fB(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, _B = (e) => {
+ return pB(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, vB = (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 vB(e, t, n) {
- return Z(e) && Z(t) ? lB(e + n * (t - e)) : t;
-}
function yB(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : cB(e, t)) === n);
+ return Z(e) && Z(t) ? uB(e + n * (t - e)) : t;
}
-var bB = (e) => e == null, xB = (e) => bB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function SB(e) {
+function bB(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : lB(e, t)) === n);
+}
+var xB = (e) => e == null, SB = (e) => xB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function CB(e) {
return e != null;
}
-function CB() {}
+function wB() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
var jme = [
@@ -50842,16 +50851,16 @@ var jme = [
"size",
"sizeType"
];
-function wB() {
- return wB = Object.assign ? Object.assign.bind() : function(e) {
+function TB() {
+ return TB = 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;
- }, wB.apply(null, arguments);
+ }, TB.apply(null, arguments);
}
-function TB(e, t) {
+function EB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50861,12 +50870,12 @@ function TB(e, t) {
}
return n;
}
-function EB(e) {
+function DB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? TB(Object(n), !0).forEach(function(t) {
+ t % 2 ? EB(Object(n), !0).forEach(function(t) {
Mme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TB(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -50912,15 +50921,15 @@ function Ime(e, t) {
}
return n;
}
-var DB = {
- symbolCircle: jz,
+var OB = {
+ symbolCircle: Mz,
symbolCross: Qpe,
symbolDiamond: eme,
symbolSquare: tme,
symbolStar: ame,
symbolTriangle: ome,
symbolWye: cme
-}, Lme = Math.PI / 180, Rme = (e) => DB[`symbol${xB(e)}`] || jz, zme = (e, t, n) => {
+}, Lme = Math.PI / 180, Rme = (e) => OB[`symbol${SB(e)}`] || Mz, zme = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
@@ -50934,9 +50943,9 @@ var DB = {
default: return Math.PI * e * e / 4;
}
}, Bme = (e, t) => {
- DB[`symbol${xB(e)}`] = t;
-}, OB = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = EB(EB({}, Fme(e, jme)), {}, {
+ OB[`symbol${SB(e)}`] = t;
+}, kB = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = DB(DB({}, Fme(e, jme)), {}, {
type: t,
size: n,
sizeType: r
@@ -50945,35 +50954,35 @@ var DB = {
var o = () => {
var e = Rme(a), t = lme().type(e).size(zme(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = az(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", wB({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = oz(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ I.createElement("path", TB({}, u, {
className: bh("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-OB.registerSymbol = Bme;
+kB.registerSymbol = Bme;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var kB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, AB = (e, t) => {
+var AB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, jB = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, I.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- ez(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ tz(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, Vme = (e, t, n) => (r) => (e(t, n, r), null), jB = (e, t, n) => {
+}, Vme = (e, t, n) => (r) => (e(t, n, r), null), MB = (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];
- ez(i) && typeof a == "function" && (r ||= {}, r[i] = Vme(a, t, n));
+ tz(i) && typeof a == "function" && (r ||= {}, r[i] = Vme(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function MB(e, t) {
+function NB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50986,9 +50995,9 @@ function MB(e, t) {
function Hme(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MB(Object(n), !0).forEach(function(t) {
+ t % 2 ? NB(Object(n), !0).forEach(function(t) {
Ume(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MB(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -51016,22 +51025,22 @@ function Gme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function NB(e, t) {
+function PB(e, t) {
var n = Hme({}, 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 PB() {
- return PB = Object.assign ? Object.assign.bind() : function(e) {
+function FB() {
+ return FB = 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;
- }, PB.apply(null, arguments);
+ }, FB.apply(null, arguments);
}
-function FB(e, t) {
+function IB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51041,12 +51050,12 @@ function FB(e, t) {
}
return n;
}
-function IB(e) {
+function LB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? FB(Object(n), !0).forEach(function(t) {
+ t % 2 ? IB(Object(n), !0).forEach(function(t) {
Kme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FB(Object(n)).forEach(function(t) {
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
@@ -51074,7 +51083,7 @@ function Jme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var LB = 32, Yme = {
+var RB = 32, Yme = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -51086,7 +51095,7 @@ function Xme(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
function Zme(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = LB / 2, a = LB / 6, o = LB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+ var { data: t, iconType: n, inactiveColor: r } = e, i = RB / 2, a = RB / 6, o = RB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ I.createElement("line", {
strokeWidth: 4,
@@ -51095,7 +51104,7 @@ function Zme(e) {
strokeDasharray: Xme(t.payload),
x1: 0,
y1: i,
- x2: LB,
+ x2: RB,
y2: i,
className: "recharts-legend-icon"
});
@@ -51105,25 +51114,25 @@ function Zme(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${LB}M${2 * o},${i}
+ H${RB}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ I.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${LB / 8}h${LB}v${LB * 3 / 4}h${-LB}z`,
+ d: `M0,${RB / 8}h${RB}v${RB * 3 / 4}h${-RB}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ I.isValidElement(t.legendIcon)) {
- var l = IB({}, t);
+ var l = LB({}, t);
return delete l.legendIcon, /*#__PURE__*/ I.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ I.createElement(OB, {
+ return /*#__PURE__*/ I.createElement(kB, {
fill: s,
cx: i,
cy: i,
- size: LB,
+ size: RB,
sizeType: "diameter",
type: c
});
@@ -51132,8 +51141,8 @@ function Qme(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: LB,
- height: LB
+ width: RB,
+ height: RB
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -51149,14 +51158,14 @@ function Qme(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? IB({}, s) : {};
+ var p = typeof s == "object" ? LB({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ I.createElement("li", PB({
+ return /*#__PURE__*/ I.createElement("li", FB({
className: f,
style: l,
key: `legend-item-${r}`
- }, jB(e, t, r)), /*#__PURE__*/ I.createElement(sz, {
+ }, MB(e, t, r)), /*#__PURE__*/ I.createElement(cz, {
width: n,
height: n,
viewBox: c,
@@ -51173,7 +51182,7 @@ function Qme(e) {
});
}
var $me = (e) => {
- var t = NB(e, Yme), { payload: n, layout: r, align: i } = t;
+ var t = PB(e, Yme), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -51183,7 +51192,7 @@ var $me = (e) => {
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ I.createElement(Qme, PB({}, t, { payload: n })));
+ }, /*#__PURE__*/ I.createElement(Qme, FB({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
@@ -51204,7 +51213,7 @@ function the(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function RB(e) {
+function zB(e) {
return e;
}
//#endregion
@@ -51214,19 +51223,19 @@ function nhe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function zB(e) {
+function BB(e) {
return e != null && typeof e != "function" && nhe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
function rhe(e) {
return function(t) {
- return cB(t, e);
+ return lB(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function BB(e) {
+function VB(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
@@ -51241,33 +51250,33 @@ function ahe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function VB(e) {
+function HB(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 ohe = "[object RegExp]", HB = "[object String]", UB = "[object Number]", WB = "[object Boolean]", GB = "[object Arguments]", she = "[object Symbol]", che = "[object Date]", lhe = "[object Map]", uhe = "[object Set]", dhe = "[object Array]", fhe = "[object ArrayBuffer]", phe = "[object Object]", mhe = "[object DataView]", hhe = "[object Uint8Array]", ghe = "[object Uint8ClampedArray]", _he = "[object Uint16Array]", vhe = "[object Uint32Array]", yhe = "[object Int8Array]", bhe = "[object Int16Array]", xhe = "[object Int32Array]", She = "[object Float32Array]", Che = "[object Float64Array]", KB = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var ohe = "[object RegExp]", UB = "[object String]", WB = "[object Number]", GB = "[object Boolean]", KB = "[object Arguments]", she = "[object Symbol]", che = "[object Date]", lhe = "[object Map]", uhe = "[object Set]", dhe = "[object Array]", fhe = "[object ArrayBuffer]", phe = "[object Object]", mhe = "[object DataView]", hhe = "[object Uint8Array]", ghe = "[object Uint8ClampedArray]", _he = "[object Uint16Array]", vhe = "[object Uint32Array]", yhe = "[object Int8Array]", bhe = "[object Int16Array]", xhe = "[object Int32Array]", She = "[object Float32Array]", Che = "[object Float64Array]", qB = 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 whe(e) {
- return KB.Buffer !== void 0 && KB.Buffer.isBuffer(e);
+ return qB.Buffer !== void 0 && qB.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
function The(e, t) {
- return qB(e, void 0, e, /* @__PURE__ */ new Map(), t);
+ return JB(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function qB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function JB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (BB(e)) return e;
+ if (VB(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] = qB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = JB(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());
@@ -51278,71 +51287,71 @@ function qB(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, qB(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, JB(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(qB(a, void 0, n, r, i));
+ for (let a of e) t.add(JB(a, void 0, n, r, i));
return t;
}
if (whe(e)) return e.subarray();
if (ihe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = qB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = JB(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), JB(t, e, n, r, i), t;
+ return r.set(e, t), YB(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), JB(t, e, n, r, i), t;
+ return r.set(e, t), YB(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), JB(t, e, n, r, i), t;
+ return r.set(e, t), YB(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, JB(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, YB(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), JB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), JB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), JB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
if (typeof e == "object" && Ehe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), JB(t, e, n, r, i), t;
+ return r.set(e, t), YB(t, e, n, r, i), t;
}
return e;
}
-function JB(e, t, n = e, r, i) {
+function YB(e, t, n = e, r, i) {
let a = [...Object.keys(t), ...ahe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = qB(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = JB(t[s], s, n, r, i));
}
}
function Ehe(e) {
- switch (VB(e)) {
- case GB:
+ switch (HB(e)) {
+ case KB:
case dhe:
case fhe:
case mhe:
- case WB:
+ case GB:
case che:
case She:
case Che:
@@ -51350,11 +51359,11 @@ function Ehe(e) {
case bhe:
case xhe:
case lhe:
- case UB:
+ case WB:
case phe:
case ohe:
case uhe:
- case HB:
+ case UB:
case she:
case hhe:
case ghe:
@@ -51366,44 +51375,44 @@ function Ehe(e) {
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
function Dhe(e) {
- return qB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+ return JB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function YB(e, t) {
+function XB(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function XB(e) {
+function ZB(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function ZB(e, t, n) {
- return typeof n == "function" ? QB(e, t, function e(t, r, i, a, o, s) {
+function QB(e, t, n) {
+ return typeof n == "function" ? $B(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? QB(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : ZB(e, t, () => void 0);
+ return c === void 0 ? $B(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : QB(e, t, () => void 0);
}
-function QB(e, t, n, r, i = !1) {
+function $B(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
case "object": return Ohe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? QB(e, { ...t }, n, r, i) : YB(e, t);
- default: return XB(e) && i ? typeof t != "string" || t === "" : YB(e, t);
+ case "function": return Object.keys(t).length > 0 ? $B(e, { ...t }, n, r, i) : XB(e, t);
+ default: return ZB(e) && i ? typeof t != "string" || t === "" : XB(e, t);
}
}
function Ohe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return $B(e, t, n, r);
+ if (Array.isArray(t)) return eV(e, t, n, r);
if (t instanceof Map) return khe(e, t, n, r);
if (t instanceof Set) return Ahe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) BB(e) && (e = Object(e));
+ if (i) VB(e) && (e = Object(e));
else {
- let t = VB(e);
+ let t = HB(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -51425,7 +51434,7 @@ function khe(e, t, n, r) {
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function $B(e, t, n, r) {
+function eV(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -51444,17 +51453,17 @@ function $B(e, t, n, r) {
return !0;
}
function Ahe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && $B([...e], [...t], n, r);
+ return t.size === 0 || e instanceof Set && eV([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function eV(e, t) {
- return ZB(e, t, () => void 0);
+function tV(e, t) {
+ return QB(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
function jhe(e) {
- return e = Dhe(e), (t) => eV(t, e);
+ return e = Dhe(e), (t) => tV(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
@@ -51463,20 +51472,20 @@ function Mhe(e, t) {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (VB(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (HB(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), JB(t, e, i, a), t;
+ return a.set(e, t), YB(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case WB:
case UB:
- case HB:
- case WB: {
+ case GB: {
let t = new e.constructor(e?.valueOf());
- return JB(t, e), t;
+ return YB(t, e), t;
}
- case GB: {
+ case KB: {
let t = {};
- return JB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return YB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -51491,7 +51500,7 @@ function Nhe(e) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
var Phe = /^(?:0|[1-9]\d*)$/;
-function tV(e, t = 2 ** 53 - 1) {
+function nV(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
@@ -51501,17 +51510,17 @@ function tV(e, t = 2 ** 53 - 1) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
function Fhe(e) {
- return typeof e == "object" && !!e && VB(e) === "[object Arguments]";
+ return typeof e == "object" && !!e && HB(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
function Ihe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && rB(t) && !(t in Object(e)) ? sB(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && iB(t) && !(t in Object(e)) ? cB(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = iB(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Fhe(r)) && tV(t) && Number(t) < r.length)) return !1;
+ let t = aB(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Fhe(r)) && nV(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
@@ -51523,17 +51532,17 @@ function Lhe(e, t) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = iB(e);
+ case "number": e = aB(e);
}
return t = Nhe(t), function(n) {
- let r = cB(n, e);
- return r === void 0 ? Ihe(n, e) : t === void 0 ? r === void 0 : eV(r, t);
+ let r = lB(n, e);
+ return r === void 0 ? Ihe(n, e) : t === void 0 ? r === void 0 : tV(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function nV(e) {
- if (e == null) return RB;
+function rV(e) {
+ if (e == null) return zB;
switch (typeof e) {
case "function": return e;
case "object": return Array.isArray(e) && e.length === 2 ? Lhe(e[0], e[1]) : jhe(e);
@@ -51547,13 +51556,13 @@ function Rhe(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function rV(e, t = RB) {
- return zB(e) ? ehe(Array.from(e), the(nV(t), 1)).map(Rhe) : [];
+function iV(e, t = zB) {
+ return BB(e) ? ehe(Array.from(e), the(rV(t), 1)).map(Rhe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function iV(e, t, n) {
- return t === !0 ? rV(e, n) : typeof t == "function" ? rV(e, t) : e;
+function aV(e, t, n) {
+ return t === !0 ? iV(e, n) : typeof t == "function" ? iV(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
@@ -51604,58 +51613,58 @@ var zhe = /* @__PURE__ */ F(((e) => {
};
})), Bhe = /* @__PURE__ */ F(((e, t) => {
t.exports = zhe();
-})), aV = /*#__PURE__*/ (0, I.createContext)(null), Vhe = Bhe(), Hhe = (e) => e, oV = () => {
- var e = (0, I.useContext)(aV);
+})), oV = /*#__PURE__*/ (0, I.createContext)(null), Vhe = Bhe(), Hhe = (e) => e, sV = () => {
+ var e = (0, I.useContext)(oV);
return e ? e.store.dispatch : Hhe;
-}, sV = () => {}, Uhe = () => sV, Whe = (e, t) => e === t;
+}, cV = () => {}, Uhe = () => cV, Whe = (e, t) => e === t;
function Q(e) {
- var t = (0, I.useContext)(aV), n = (0, I.useMemo)(() => t ? (t) => {
+ var t = (0, I.useContext)(oV), n = (0, I.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : sV, [t, e]);
- return (0, Vhe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Uhe, t ? t.store.getState : sV, t ? t.store.getState : sV, n, Whe);
+ } : cV, [t, e]);
+ return (0, Vhe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Uhe, t ? t.store.getState : cV, t ? t.store.getState : cV, n, Whe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function cV(e, t = `expected a function, instead received ${typeof e}`) {
+function lV(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function lV(e, t = `expected an object, instead received ${typeof e}`) {
+function uV(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function uV(e, t = "expected all items to be functions, instead received the following types: ") {
+function dV(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 dV = (e) => Array.isArray(e) ? e : [e];
-function fV(e) {
+var fV = (e) => Array.isArray(e) ? e : [e];
+function pV(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return uV(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return dV(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function pV(e, t) {
+function mV(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var mV = class {
+var hV = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, hV = typeof WeakRef < "u" ? WeakRef : mV, gV = 0, _V = 1;
-function vV() {
+}, gV = typeof WeakRef < "u" ? WeakRef : hV, _V = 0, vV = 1;
+function yV() {
return {
- s: gV,
+ s: _V,
v: void 0,
o: null,
p: null
};
}
-function yV(e, t = {}) {
- let n = vV(), { resultEqualityCheck: r } = t, i, a = 0;
+function bV(e, t = {}) {
+ let n = yV(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -51664,43 +51673,43 @@ function yV(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = vV(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = yV(), 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 = vV(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = yV(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === _V) c = t.v;
+ if (t.s === vV) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new hV(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new gV(c) : c;
}
- return s.s = _V, s.v = c, c;
+ return s.s = vV, s.v = c, c;
}
return o.clearCache = () => {
- n = vV(), o.resetResultsCount();
+ n = yV(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function bV(e, ...t) {
+function xV(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()), cV(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = yV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), lV(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = bV, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = dV(c), p = dV(u), m = fV(e), h = s(function() {
+ }, f = fV(c), p = fV(u), m = pV(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = pV(m, arguments);
+ let e = mV(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -51722,14 +51731,14 @@ function bV(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ bV(yV), xV = Object.assign((e, t = $) => {
- lV(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ xV(bV), SV = Object.assign((e, t = $) => {
+ uV(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => xV });
+}, { withTypes: () => SV });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function SV(e, t = 1) {
+function CV(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -51740,17 +51749,17 @@ function SV(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function CV(e, t, n) {
- return XB(n) && (typeof t == "number" && zB(n) && tV(t) && t < n.length || typeof t == "string" && t in n) ? YB(n[t], e) : !1;
+function wV(e, t, n) {
+ return ZB(n) && (typeof t == "number" && BB(n) && nV(t) && t < n.length || typeof t == "string" && t in n) ? XB(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function wV(e) {
+function TV(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var TV = (e, t, n) => {
+var EV = (e, t, n) => {
if (e !== t) {
- let r = wV(e), i = wV(t);
+ let r = TV(e), i = TV(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -51758,15 +51767,15 @@ var TV = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, EV = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, DV = /^\w*$/;
-function OV(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || aB(e) ? !0 : typeof e == "string" && (DV.test(e) || !EV.test(e)) || t != null && Object.hasOwn(t, e);
+}, DV = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, OV = /^\w*$/;
+function kV(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || oB(e) ? !0 : typeof e == "string" && (OV.test(e) || !DV.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function kV(e, t, n, r) {
+function AV(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = zB(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 = BB(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]];
@@ -51774,16 +51783,16 @@ function kV(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) || OV(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || kV(e) ? e : {
key: e,
- path: sB(e)
+ path: cB(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 = TV(e.criteria[r], t.criteria[r], n[r]);
+ let i = EV(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -51791,25 +51800,25 @@ function kV(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function AV(e, ...t) {
+function jV(e, ...t) {
let n = t.length;
- return n > 1 && CV(e, t[0], t[1]) ? t = [] : n > 2 && CV(t[0], t[1], t[2]) && (t = [t[0]]), kV(e, SV(t), ["asc"]);
+ return n > 1 && wV(e, t[0], t[1]) ? t = [] : n > 2 && wV(t[0], t[1], t[2]) && (t = [t[0]]), AV(e, CV(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var jV = (e) => e.legend.settings, MV = (e) => e.legend.size, NV = $([(e) => e.legend.payload, jV], (e, t) => {
+var MV = (e) => e.legend.settings, NV = (e) => e.legend.size, PV = $([(e) => e.legend.payload, MV], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? AV(r, n) : r;
+ return n ? jV(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function PV() {
- return Q(NV);
+function FV() {
+ return Q(PV);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var FV = 1;
-function IV() {
+var IV = 1;
+function LV() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, I.useState)({
height: 0,
left: 0,
@@ -51824,7 +51833,7 @@ function IV() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > FV || Math.abs(i.left - t.left) > FV || Math.abs(i.top - t.top) > FV || Math.abs(i.width - t.width) > FV) && n({
+ (Math.abs(i.height - t.height) > IV || Math.abs(i.left - t.left) > IV || Math.abs(i.top - t.top) > IV || Math.abs(i.width - t.width) > IV) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -51841,26 +51850,26 @@ function IV() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function LV(e) {
+function RV(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 RV = typeof Symbol == "function" && Symbol.observable || "@@observable", zV = () => Math.random().toString(36).substring(7).split("").join("."), BV = {
- INIT: `@@redux/INIT${/* @__PURE__ */ zV()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ zV()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${zV()}`
+var zV = typeof Symbol == "function" && Symbol.observable || "@@observable", BV = () => Math.random().toString(36).substring(7).split("").join("."), VV = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ BV()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ BV()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${BV()}`
};
-function VV(e) {
+function HV(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 HV(e, t, n) {
- if (typeof e != "function") throw Error(LV(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(LV(0));
+function UV(e, t, n) {
+ if (typeof e != "function") throw Error(RV(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(RV(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(LV(1));
- return n(HV)(e, t);
+ if (typeof n != "function") throw Error(RV(1));
+ return n(UV)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -51869,27 +51878,27 @@ function HV(e, t, n) {
}));
}
function u() {
- if (c) throw Error(LV(3));
+ if (c) throw Error(RV(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(LV(4));
- if (c) throw Error(LV(5));
+ if (typeof e != "function") throw Error(RV(4));
+ if (c) throw Error(RV(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(LV(6));
+ if (c) throw Error(RV(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!VV(e)) throw Error(LV(7));
- if (e.type === void 0) throw Error(LV(8));
- if (typeof e.type != "string") throw Error(LV(17));
- if (c) throw Error(LV(9));
+ if (!HV(e)) throw Error(RV(7));
+ if (e.type === void 0) throw Error(RV(8));
+ if (typeof e.type != "string") throw Error(RV(17));
+ if (c) throw Error(RV(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -51900,41 +51909,41 @@ function HV(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(LV(10));
- r = e, f({ type: BV.REPLACE });
+ if (typeof e != "function") throw Error(RV(10));
+ r = e, f({ type: VV.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(LV(11));
+ if (typeof t != "object" || !t) throw Error(RV(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [RV]() {
+ [zV]() {
return this;
}
};
}
- return f({ type: BV.INIT }), {
+ return f({ type: VV.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [RV]: m
+ [zV]: m
};
}
-function UV(e) {
+function WV(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: BV.INIT }) === void 0) throw Error(LV(12));
- if (n(void 0, { type: BV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(LV(13));
+ if (n(void 0, { type: VV.INIT }) === void 0) throw Error(RV(12));
+ if (n(void 0, { type: VV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(RV(13));
});
}
-function WV(e) {
+function GV(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -51942,7 +51951,7 @@ function WV(e) {
}
let r = Object.keys(n), i;
try {
- UV(n);
+ WV(n);
} catch (e) {
i = e;
}
@@ -51951,124 +51960,124 @@ function WV(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(LV(14));
+ if (u === void 0) throw t && t.type, Error(RV(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function GV(...e) {
+function KV(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function KV(...e) {
+function qV(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(LV(15));
+ throw Error(RV(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = GV(...e.map((e) => e(o)))(i.dispatch), {
+ return a = KV(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function qV(e) {
- return VV(e) && "type" in e && typeof e.type == "string";
+function JV(e) {
+ return HV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var JV = Symbol.for("immer-nothing"), YV = Symbol.for("immer-draftable"), XV = Symbol.for("immer-state");
-function ZV(e, ...t) {
+var YV = Symbol.for("immer-nothing"), XV = Symbol.for("immer-draftable"), ZV = Symbol.for("immer-state");
+function QV(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var QV = Object, $V = QV.getPrototypeOf, eH = "constructor", tH = "prototype", nH = "configurable", rH = "enumerable", iH = "writable", aH = "value", oH = (e) => !!e && !!e[XV];
-function sH(e) {
- return e ? uH(e) || _H(e) || !!e[YV] || !!e[eH]?.[YV] || vH(e) || yH(e) : !1;
+var $V = Object, eH = $V.getPrototypeOf, tH = "constructor", nH = "prototype", rH = "configurable", iH = "enumerable", aH = "writable", oH = "value", sH = (e) => !!e && !!e[ZV];
+function cH(e) {
+ return e ? dH(e) || vH(e) || !!e[XV] || !!e[tH]?.[XV] || yH(e) || bH(e) : !1;
}
-var cH = QV[tH][eH].toString(), lH = /* @__PURE__ */ new WeakMap();
-function uH(e) {
- if (!e || !bH(e)) return !1;
- let t = $V(e);
- if (t === null || t === QV[tH]) return !0;
- let n = QV.hasOwnProperty.call(t, eH) && t[eH];
+var lH = $V[nH][tH].toString(), uH = /* @__PURE__ */ new WeakMap();
+function dH(e) {
+ if (!e || !xH(e)) return !1;
+ let t = eH(e);
+ if (t === null || t === $V[nH]) return !0;
+ let n = $V.hasOwnProperty.call(t, tH) && t[tH];
if (n === Object) return !0;
- if (!xH(n)) return !1;
- let r = lH.get(n);
- return r === void 0 && (r = Function.toString.call(n), lH.set(n, r)), r === cH;
+ if (!SH(n)) return !1;
+ let r = uH.get(n);
+ return r === void 0 && (r = Function.toString.call(n), uH.set(n, r)), r === lH;
}
-function dH(e, t, n = !0) {
- fH(e) === 0 ? (n ? Reflect.ownKeys(e) : QV.keys(e)).forEach((n) => {
+function fH(e, t, n = !0) {
+ pH(e) === 0 ? (n ? Reflect.ownKeys(e) : $V.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function fH(e) {
- let t = e[XV];
- return t ? t.type_ : _H(e) ? 1 : vH(e) ? 2 : yH(e) ? 3 : 0;
+function pH(e) {
+ let t = e[ZV];
+ return t ? t.type_ : vH(e) ? 1 : yH(e) ? 2 : bH(e) ? 3 : 0;
}
-var pH = (e, t, n = fH(e)) => n === 2 ? e.has(t) : QV[tH].hasOwnProperty.call(e, t), mH = (e, t, n = fH(e)) => n === 2 ? e.get(t) : e[t], hH = (e, t, n, r = fH(e)) => {
+var mH = (e, t, n = pH(e)) => n === 2 ? e.has(t) : $V[nH].hasOwnProperty.call(e, t), hH = (e, t, n = pH(e)) => n === 2 ? e.get(t) : e[t], gH = (e, t, n, r = pH(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function gH(e, t) {
+function _H(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var _H = Array.isArray, vH = (e) => e instanceof Map, yH = (e) => e instanceof Set, bH = (e) => typeof e == "object", xH = (e) => typeof e == "function", SH = (e) => typeof e == "boolean";
-function CH(e) {
+var vH = Array.isArray, yH = (e) => e instanceof Map, bH = (e) => e instanceof Set, xH = (e) => typeof e == "object", SH = (e) => typeof e == "function", CH = (e) => typeof e == "boolean";
+function wH(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var wH = (e) => e.copy_ || e.base_, TH = (e) => e.modified_ ? e.copy_ : e.base_;
-function EH(e, t) {
- if (vH(e)) return new Map(e);
- if (yH(e)) return new Set(e);
- if (_H(e)) return Array[tH].slice.call(e);
- let n = uH(e);
+var TH = (e) => e.copy_ || e.base_, EH = (e) => e.modified_ ? e.copy_ : e.base_;
+function DH(e, t) {
+ if (yH(e)) return new Map(e);
+ if (bH(e)) return new Set(e);
+ if (vH(e)) return Array[nH].slice.call(e);
+ let n = dH(e);
if (t === !0 || t === "class_only" && !n) {
- let t = QV.getOwnPropertyDescriptors(e);
- delete t[XV];
+ let t = $V.getOwnPropertyDescriptors(e);
+ delete t[ZV];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[iH] === !1 && (a[iH] = !0, a[nH] = !0), (a.get || a.set) && (t[i] = {
- [nH]: !0,
- [iH]: !0,
- [rH]: a[rH],
- [aH]: e[i]
+ a[aH] === !1 && (a[aH] = !0, a[rH] = !0), (a.get || a.set) && (t[i] = {
+ [rH]: !0,
+ [aH]: !0,
+ [iH]: a[iH],
+ [oH]: e[i]
});
}
- return QV.create($V(e), t);
+ return $V.create(eH(e), t);
}
{
- let t = $V(e);
+ let t = eH(e);
if (t !== null && n) return { ...e };
- let r = QV.create(t);
- return QV.assign(r, e);
- }
-}
-function DH(e, t = !1) {
- return AH(e) || oH(e) || !sH(e) ? e : (fH(e) > 1 && QV.defineProperties(e, {
- set: kH,
- add: kH,
- clear: kH,
- delete: kH
- }), QV.freeze(e), t && dH(e, (e, t) => {
- DH(t, !0);
+ let r = $V.create(t);
+ return $V.assign(r, e);
+ }
+}
+function OH(e, t = !1) {
+ return jH(e) || sH(e) || !cH(e) ? e : (pH(e) > 1 && $V.defineProperties(e, {
+ set: AH,
+ add: AH,
+ clear: AH,
+ delete: AH
+ }), $V.freeze(e), t && fH(e, (e, t) => {
+ OH(t, !0);
}, !1), e);
}
-function OH() {
- ZV(2);
+function kH() {
+ QV(2);
}
-var kH = { [aH]: OH };
-function AH(e) {
- return e === null || !bH(e) || QV.isFrozen(e);
+var AH = { [oH]: kH };
+function jH(e) {
+ return e === null || !xH(e) || $V.isFrozen(e);
}
-var jH = "MapSet", MH = "Patches", NH = "ArrayMethods", PH = {};
-function FH(e) {
- let t = PH[e];
- return t || ZV(0, e), t;
+var MH = "MapSet", NH = "Patches", PH = "ArrayMethods", FH = {};
+function IH(e) {
+ let t = FH[e];
+ return t || QV(0, e), t;
}
-var IH = (e) => !!PH[e], LH, RH = () => LH, zH = (e, t) => ({
+var LH = (e) => !!FH[e], RH, zH = () => RH, BH = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -52076,114 +52085,114 @@ var IH = (e) => !!PH[e], LH, RH = () => LH, zH = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: IH(jH) ? FH(jH) : void 0,
- arrayMethodsPlugin_: IH(NH) ? FH(NH) : void 0
+ mapSetPlugin_: LH(MH) ? IH(MH) : void 0,
+ arrayMethodsPlugin_: LH(PH) ? IH(PH) : void 0
});
-function BH(e, t) {
- t && (e.patchPlugin_ = FH(MH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function VH(e) {
- HH(e), e.drafts_.forEach(WH), e.drafts_ = null;
+function VH(e, t) {
+ t && (e.patchPlugin_ = IH(NH), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function HH(e) {
- e === LH && (LH = e.parent_);
+ UH(e), e.drafts_.forEach(GH), e.drafts_ = null;
}
-var UH = (e) => LH = zH(LH, e);
-function WH(e) {
- let t = e[XV];
+function UH(e) {
+ e === RH && (RH = e.parent_);
+}
+var WH = (e) => RH = BH(RH, e);
+function GH(e) {
+ let t = e[ZV];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function GH(e, t) {
+function KH(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[XV].modified_ && (VH(t), ZV(4)), sH(e) && (e = KH(t, e));
+ n[ZV].modified_ && (HH(t), QV(4)), cH(e) && (e = qH(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[XV].base_, e, t);
- } else e = KH(t, n);
- return qH(t, e, !0), VH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === JV ? void 0 : e;
-}
-function KH(e, t) {
- if (AH(t)) return t;
- let n = t[XV];
- if (!n) return tU(t, e.handledSet_, e);
- if (!YH(n, e)) return t;
+ r && r.generateReplacementPatches_(n[ZV].base_, e, t);
+ } else e = qH(t, n);
+ return JH(t, e, !0), HH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === YV ? void 0 : e;
+}
+function qH(e, t) {
+ if (jH(t)) return t;
+ let n = t[ZV];
+ if (!n) return nU(t, e.handledSet_, e);
+ if (!XH(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- $H(n, e);
+ eU(n, e);
}
return n.copy_;
}
-function qH(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && DH(t, n);
+function JH(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && OH(t, n);
}
-function JH(e) {
+function YH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var YH = (e, t) => e.scope_ === t, XH = [];
-function ZH(e, t, n, r) {
- let i = wH(e), a = e.type_;
- if (r !== void 0 && mH(i, r, a) === t) {
- hH(i, r, n, a);
+var XH = (e, t) => e.scope_ === t, ZH = [];
+function QH(e, t, n, r) {
+ let i = TH(e), a = e.type_;
+ if (r !== void 0 && hH(i, r, a) === t) {
+ gH(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- dH(i, (e, n) => {
- if (oH(n)) {
+ fH(i, (e, n) => {
+ if (sH(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? XH;
- for (let e of o) hH(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? ZH;
+ for (let e of o) gH(i, e, n, a);
}
-function QH(e, t, n) {
+function $H(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !YH(i, r)) return;
+ if (!i || !XH(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = TH(i);
- ZH(e, i.draft_ ?? i, a, n), $H(i, r);
+ let a = EH(i);
+ QH(e, i.draft_ ?? i, a, n), eU(i, r);
});
}
-function $H(e, t) {
+function eU(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);
}
- JH(e);
+ YH(e);
}
}
-function eU(e, t, n) {
+function tU(e, t, n) {
let { scope_: r } = e;
- if (oH(n)) {
- let i = n[XV];
- YH(i, r) && i.callbacks_.push(function() {
- uU(e), ZH(e, n, TH(i), t);
+ if (sH(n)) {
+ let i = n[ZV];
+ XH(i, r) && i.callbacks_.push(function() {
+ dU(e), QH(e, n, EH(i), t);
});
- } else sH(n) && e.callbacks_.push(function() {
- let i = wH(e);
- e.type_ === 3 ? i.has(n) && tU(n, r.handledSet_, r) : mH(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && tU(mH(e.copy_, t, e.type_), r.handledSet_, r);
+ } else cH(n) && e.callbacks_.push(function() {
+ let i = TH(e);
+ e.type_ === 3 ? i.has(n) && nU(n, r.handledSet_, r) : hH(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && nU(hH(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function tU(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || oH(e) || t.has(e) || !sH(e) || AH(e) ? e : (t.add(e), dH(e, (r, i) => {
- if (oH(i)) {
- let t = i[XV];
- YH(t, n) && (hH(e, r, TH(t), e.type_), JH(t));
- } else sH(i) && tU(i, t, n);
+function nU(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || sH(e) || t.has(e) || !cH(e) || jH(e) ? e : (t.add(e), fH(e, (r, i) => {
+ if (sH(i)) {
+ let t = i[ZV];
+ XH(t, n) && (gH(e, r, EH(t), e.type_), YH(t));
+ } else cH(i) && nU(i, t, n);
}), e);
}
-function nU(e, t) {
- let n = _H(e), r = {
+function rU(e, t) {
+ let n = vH(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : RH(),
+ scope_: t ? t.scope_ : zH(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -52194,108 +52203,108 @@ function nU(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = rU;
- n && (i = [r], a = iU);
+ }, i = r, a = iU;
+ n && (i = [r], a = aU);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var rU = {
+var iU = {
get(e, t) {
- if (t === XV) return e;
+ if (t === ZV) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = wH(e);
- if (!pH(i, t, e.type_)) return sU(e, i, t);
+ let i = TH(e);
+ if (!mH(i, t, e.type_)) return cU(e, i, t);
let a = i[t];
- if (e.finalized_ || !sH(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && CH(t)) return a;
- if (a === aU(e.base_, t) || oU(e, t, a)) {
- uU(e);
- let n = e.type_ === 1 ? +t : t, r = fU(e.scope_, a, e, n);
+ if (e.finalized_ || !cH(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && wH(t)) return a;
+ if (a === oU(e.base_, t) || sU(e, t, a)) {
+ dU(e);
+ let n = e.type_ === 1 ? +t : t, r = pU(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in wH(e);
+ return t in TH(e);
},
ownKeys(e) {
- return Reflect.ownKeys(wH(e));
+ return Reflect.ownKeys(TH(e));
},
set(e, t, n) {
- let r = cU(wH(e), t);
+ let r = lU(TH(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = aU(wH(e), t), i = r?.[XV];
+ let r = oU(TH(e), t), i = r?.[ZV];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (gH(n, r) && (n !== void 0 || pH(e.base_, t, e.type_))) return !0;
- uU(e), lU(e);
+ if (_H(n, r) && (n !== void 0 || mH(e.base_, t, e.type_))) return !0;
+ dU(e), uU(e);
}
- return e.copy_[t] === n && (n !== void 0 || pH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), eU(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || mH(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), tU(e, t, n), !0);
},
deleteProperty(e, t) {
- return uU(e), aU(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), lU(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return dU(e), oU(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), uU(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = wH(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = TH(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [iH]: !0,
- [nH]: e.type_ !== 1 || t !== "length",
- [rH]: r[rH],
- [aH]: n[t]
+ [aH]: !0,
+ [rH]: e.type_ !== 1 || t !== "length",
+ [iH]: r[iH],
+ [oH]: n[t]
};
},
defineProperty() {
- ZV(11);
+ QV(11);
},
getPrototypeOf(e) {
- return $V(e.base_);
+ return eH(e.base_);
},
setPrototypeOf() {
- ZV(12);
+ QV(12);
}
-}, iU = {};
-for (let e in rU) {
- let t = rU[e];
- iU[e] = function() {
+}, aU = {};
+for (let e in iU) {
+ let t = iU[e];
+ aU[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-iU.deleteProperty = function(e, t) {
- return iU.set.call(this, e, t, void 0);
-}, iU.set = function(e, t, n) {
- return rU.set.call(this, e[0], t, n, e[0]);
+aU.deleteProperty = function(e, t) {
+ return aU.set.call(this, e, t, void 0);
+}, aU.set = function(e, t, n) {
+ return iU.set.call(this, e[0], t, n, e[0]);
};
-function aU(e, t) {
- let n = e[XV];
- return (n ? wH(n) : e)[t];
-}
-function oU(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !sH(n) || n[XV] ? !1 : e.baseRefs_.has(n);
+function oU(e, t) {
+ let n = e[ZV];
+ return (n ? TH(n) : e)[t];
}
function sU(e, t, n) {
- let r = cU(t, n);
- return r ? aH in r ? r[aH] : r.get?.call(e.draft_) : void 0;
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !cH(n) || n[ZV] ? !1 : e.baseRefs_.has(n);
+}
+function cU(e, t, n) {
+ let r = lU(t, n);
+ return r ? oH in r ? r[oH] : r.get?.call(e.draft_) : void 0;
}
-function cU(e, t) {
+function lU(e, t) {
if (!(t in e)) return;
- let n = $V(e);
+ let n = eH(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = $V(n);
+ n = eH(n);
}
}
-function lU(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && lU(e.parent_));
-}
function uU(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), EH(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && uU(e.parent_));
+}
+function dU(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), DH(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var dU = class {
+var fU = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (xH(e) && !xH(t)) {
+ if (SH(e) && !SH(t)) {
let n = t;
t = e;
let r = this;
@@ -52303,30 +52312,30 @@ var dU = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- xH(t) || ZV(6), n !== void 0 && !xH(n) && ZV(7);
+ SH(t) || QV(6), n !== void 0 && !SH(n) && QV(7);
let r;
- if (sH(e)) {
- let i = UH(this), a = fU(i, e, void 0), o = !0;
+ if (cH(e)) {
+ let i = WH(this), a = pU(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? VH(i) : HH(i);
+ o ? HH(i) : UH(i);
}
- return BH(i, n), GH(r, i);
+ return VH(i, n), KH(r, i);
}
- if (!e || !bH(e)) {
- if (r = t(e), r === void 0 && (r = e), r === JV && (r = void 0), this.autoFreeze_ && DH(r, !0), n) {
+ if (!e || !xH(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === YV && (r = void 0), this.autoFreeze_ && OH(r, !0), n) {
let t = [], i = [];
- FH(MH).generateReplacementPatches_(e, r, {
+ IH(NH).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- ZV(1, e);
+ QV(1, e);
}, this.produceWithPatches = (e, t) => {
- if (xH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (SH(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -52335,18 +52344,18 @@ var dU = class {
n,
r
];
- }, SH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), SH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), SH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, CH(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), CH(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), CH(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- sH(e) || ZV(8), oH(e) && (e = pU(e));
- let t = UH(this), n = fU(t, e, void 0);
- return n[XV].isManual_ = !0, HH(t), n;
+ cH(e) || QV(8), sH(e) && (e = mU(e));
+ let t = WH(this), n = pU(t, e, void 0);
+ return n[ZV].isManual_ = !0, UH(t), n;
}
finishDraft(e, t) {
- let n = e && e[XV];
- (!n || !n.isManual_) && ZV(9);
+ let n = e && e[ZV];
+ (!n || !n.isManual_) && QV(9);
let { scope_: r } = n;
- return BH(r, t), GH(void 0, r);
+ return VH(r, t), KH(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -52370,48 +52379,48 @@ var dU = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = FH(MH).applyPatches_;
- return oH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = IH(NH).applyPatches_;
+ return sH(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function fU(e, t, n, r) {
- let [i, a] = vH(t) ? FH(jH).proxyMap_(t, n) : yH(t) ? FH(jH).proxySet_(t, n) : nU(t, n);
- return (n?.scope_ ?? RH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? QH(n, a, r) : a.callbacks_.push(function(e) {
+function pU(e, t, n, r) {
+ let [i, a] = yH(t) ? IH(MH).proxyMap_(t, n) : bH(t) ? IH(MH).proxySet_(t, n) : rU(t, n);
+ return (n?.scope_ ?? zH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? $H(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 pU(e) {
- return oH(e) || ZV(10, e), mU(e);
-}
function mU(e) {
- if (!sH(e) || AH(e)) return e;
- let t = e[XV], n, r = !0;
+ return sH(e) || QV(10, e), hU(e);
+}
+function hU(e) {
+ if (!cH(e) || jH(e)) return e;
+ let t = e[ZV], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = EH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = EH(e, !0);
- return dH(n, (e, t) => {
- hH(n, e, mU(t));
+ t.finalized_ = !0, n = DH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = DH(e, !0);
+ return fH(n, (e, t) => {
+ gH(n, e, hU(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var hU = new dU().produce;
+var gU = new fU().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function gU(e) {
+function _U(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var _U = gU(), vU = gU, yU = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? GV : GV.apply(null, arguments);
+var vU = _U(), yU = _U, bU = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? KV : KV.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function bU(e, t) {
+function xU(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(kW(0));
+ if (!r) throw Error(AW(0));
return {
type: e,
payload: r.payload,
@@ -52424,9 +52433,9 @@ function bU(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => qV(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => JV(t) && t.type === e, n;
}
-var xU = class e extends Array {
+var SU = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -52440,29 +52449,29 @@ var xU = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function SU(e) {
- return sH(e) ? hU(e, () => {}) : e;
+function CU(e) {
+ return cH(e) ? gU(e, () => {}) : e;
}
-function CU(e, t, n) {
+function wU(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function wU(e) {
+function TU(e) {
return typeof e == "boolean";
}
-var TU = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new xU();
- return t && (wU(t) ? a.push(_U) : a.push(vU(t.extraArgument))), a;
-}, EU = "RTK_autoBatch", DU = () => (e) => ({
+var EU = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new SU();
+ return t && (TU(t) ? a.push(vU) : a.push(yU(t.extraArgument))), a;
+}, DU = "RTK_autoBatch", OU = () => (e) => ({
payload: e,
- meta: { [EU]: !0 }
-}), OU = (e) => (t) => {
+ meta: { [DU]: !0 }
+}), kU = (e) => (t) => {
setTimeout(t, e);
-}, kU = (e, t) => (n) => {
+}, AU = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, AU = (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 ? kU(window.requestAnimationFrame, 100) : OU(10) : e.type === "callback" ? e.queueNotification : OU(e.timeout), l = () => {
+}, jU = (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 ? AU(window.requestAnimationFrame, 100) : kU(10) : e.type === "callback" ? e.queueNotification : kU(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -52474,37 +52483,37 @@ var TU = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[EU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[DU], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, jU = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new xU(e);
- return n && r.push(AU(typeof n == "object" ? n : void 0)), r;
+}, MU = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new SU(e);
+ return n && r.push(jU(typeof n == "object" ? n : void 0)), r;
};
-function MU(e) {
- let t = TU(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function NU(e) {
+ let t = EU(), { 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 (VV(n)) c = WV(n);
- else throw Error(kW(1));
+ else if (HV(n)) c = GV(n);
+ else throw Error(AW(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = GV;
- i && (u = yU({
+ let u = KV;
+ i && (u = bU({
trace: !1,
...typeof i == "object" && i
}));
- let d = jU(KV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return HV(c, o, p);
+ let d = MU(qV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return UV(c, o, p);
}
-function NU(e) {
+function PU(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(kW(28));
- if (r in t) throw Error(kW(29));
+ if (!r) throw Error(AW(28));
+ if (r in t) throw Error(AW(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -52529,25 +52538,25 @@ function NU(e) {
r
];
}
-function PU(e) {
+function FU(e) {
return typeof e == "function";
}
-function FU(e, t) {
- let [n, r, i] = NU(t), a;
- if (PU(e)) a = () => SU(e());
+function IU(e, t) {
+ let [n, r, i] = PU(t), a;
+ if (FU(e)) a = () => CU(e());
else {
- let t = SU(e);
+ let t = CU(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (oH(e)) {
+ if (sH(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (sH(e)) return hU(e, (e) => n(e, t));
+ if (cH(e)) return gU(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -52562,20 +52571,20 @@ function FU(e, t) {
}
return o.getInitialState = a, o;
}
-var IU = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", LU = (e = 21) => {
+var LU = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", RU = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += IU[Math.random() * 64 | 0];
+ for (; n--;) t += LU[Math.random() * 64 | 0];
return t;
-}, RU = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function zU(e, t) {
+}, zU = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function BU(e, t) {
return `${e}/${t}`;
}
-function BU({ creators: e } = {}) {
- let t = e?.asyncThunk?.[RU];
+function VU({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[zU];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(kW(11));
- let i = (typeof e.reducers == "function" ? e.reducers(UU()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(AW(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(WU()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -52583,8 +52592,8 @@ function BU({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(kW(12));
- if (n in o.sliceCaseReducersByType) throw Error(kW(13));
+ if (!n) throw Error(AW(12));
+ if (n in o.sliceCaseReducersByType) throw Error(AW(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -52603,17 +52612,17 @@ function BU({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: zU(n, r),
+ type: BU(n, r),
createNotation: typeof e.reducers == "function"
};
- GU(a) ? qU(o, a, s, t) : WU(o, a, s);
+ KU(a) ? JU(o, a, s, t) : GU(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? NU(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? PU(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return FU(e.initialState, (e) => {
+ return IU(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);
@@ -52630,12 +52639,12 @@ function BU({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = CU(d, r, m)), i;
+ return i === void 0 && n && (i = wU(d, r, m)), i;
}
function i(t = l) {
- return CU(CU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return wU(wU(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = VU(a, t, () => CU(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = HU(a, t, () => wU(d, t, m), n);
return r;
});
}
@@ -52669,15 +52678,15 @@ function BU({ creators: e } = {}) {
return g;
};
}
-function VU(e, t, n, r) {
+function HU(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 HU = /* @__PURE__ */ BU();
-function UU() {
+var UU = /* @__PURE__ */ VU();
+function WU() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -52701,57 +52710,57 @@ function UU() {
asyncThunk: e
};
}
-function WU({ type: e, reducerName: t, createNotation: n }, r, i) {
+function GU({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !KU(r)) throw Error(kW(17));
+ if (n && !qU(r)) throw Error(AW(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? bU(e, o) : bU(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? xU(e, o) : xU(e));
}
-function GU(e) {
+function KU(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function KU(e) {
+function qU(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function qU({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(kW(18));
+function JU({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(AW(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || JU,
- pending: s || JU,
- rejected: c || JU,
- settled: l || JU
+ fulfilled: o || YU,
+ pending: s || YU,
+ rejected: c || YU,
+ settled: l || YU
});
}
-function JU() {}
-var YU = "task", XU = "listener", ZU = "completed", QU = "cancelled", $U = `task-${QU}`, eW = `task-${ZU}`, tW = `${XU}-${QU}`, nW = `${XU}-${ZU}`, rW = class {
+function YU() {}
+var XU = "task", ZU = "listener", QU = "completed", $U = "cancelled", eW = `task-${$U}`, tW = `task-${QU}`, nW = `${ZU}-${$U}`, rW = `${ZU}-${QU}`, iW = class {
constructor(e) {
- this.code = e, this.message = `${YU} ${QU} (reason: ${e})`;
+ this.code = e, this.message = `${XU} ${$U} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, iW = (e, t) => {
- if (typeof e != "function") throw TypeError(kW(32));
-}, aW = () => {}, oW = (e, t = aW) => (e.catch(t), e), sW = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), cW = (e) => {
- if (e.aborted) throw new rW(e.reason);
+}, aW = (e, t) => {
+ if (typeof e != "function") throw TypeError(AW(32));
+}, oW = () => {}, sW = (e, t = oW) => (e.catch(t), e), cW = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), lW = (e) => {
+ if (e.aborted) throw new iW(e.reason);
};
-function lW(e, t) {
- let n = aW;
+function uW(e, t) {
+ let n = oW;
return new Promise((r, i) => {
- let a = () => i(new rW(e.reason));
+ let a = () => i(new iW(e.reason));
if (e.aborted) {
a();
return;
}
- n = sW(e, a), t.finally(() => n()).then(r, i);
+ n = cW(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = aW;
+ n = oW;
});
}
-var uW = async (e, t) => {
+var dW = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -52759,40 +52768,40 @@ var uW = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof rW ? "cancelled" : "rejected",
+ status: e instanceof iW ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, dW = (e) => (t) => oW(lW(e, t).then((t) => (cW(e), t))), fW = (e) => {
- let t = dW(e);
+}, fW = (e) => (t) => sW(uW(e, t).then((t) => (lW(e), t))), pW = (e) => {
+ let t = fW(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: pW } = Object, mW = {}, hW = "listenerMiddleware", gW = (e, t) => {
- let n = (t) => sW(e, () => t.abort(e.reason));
+}, { assign: mW } = Object, hW = {}, gW = "listenerMiddleware", _W = (e, t) => {
+ let n = (t) => cW(e, () => t.abort(e.reason));
return (r, i) => {
- iW(r, "taskExecutor");
+ aW(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = uW(async () => {
- cW(e), cW(a.signal);
+ let o = dW(async () => {
+ lW(e), lW(a.signal);
let t = await r({
- pause: dW(a.signal),
- delay: fW(a.signal),
+ pause: fW(a.signal),
+ delay: pW(a.signal),
signal: a.signal
});
- return cW(a.signal), t;
- }, () => a.abort(eW));
- return i?.autoJoin && t.push(o.catch(aW)), {
- result: dW(e)(o),
+ return lW(a.signal), t;
+ }, () => a.abort(tW));
+ return i?.autoJoin && t.push(o.catch(oW)), {
+ result: fW(e)(o),
cancel() {
- a.abort($U);
+ a.abort(eW);
}
};
};
-}, _W = (e, t) => {
+}, vW = (e, t) => {
let n = async (n, r) => {
- cW(t);
+ lW(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -52810,47 +52819,47 @@ var uW = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await lW(t, Promise.race(a));
- return cW(t), e;
+ let e = await uW(t, Promise.race(a));
+ return lW(t), e;
} finally {
i();
}
};
- return ((e, t) => oW(n(e, t)));
-}, vW = (e) => {
+ return ((e, t) => sW(n(e, t)));
+}, yW = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = bU(t).match;
+ if (t) i = xU(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(kW(21));
- return iW(a, "options.listener"), {
+ else if (!i) throw Error(AW(21));
+ return aW(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, yW = /* @__PURE__ */ pW((e) => {
- let { type: t, predicate: n, effect: r } = vW(e);
+}, bW = /* @__PURE__ */ mW((e) => {
+ let { type: t, predicate: n, effect: r } = yW(e);
return {
- id: LU(),
+ id: RU(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(kW(22));
+ throw Error(AW(22));
}
};
-}, { withTypes: () => yW }), bW = (e, t) => {
- let { type: n, effect: r, predicate: i } = vW(t);
+}, { withTypes: () => bW }), xW = (e, t) => {
+ let { type: n, effect: r, predicate: i } = yW(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, xW = (e) => {
+}, SW = (e) => {
e.pending.forEach((e) => {
- e.abort(tW);
+ e.abort(nW);
});
-}, SW = (e, t) => () => {
- for (let e of t.keys()) xW(e);
+}, CW = (e, t) => () => {
+ for (let e of t.keys()) SW(e);
e.clear();
-}, CW = (e, t, n) => {
+}, wW = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -52858,74 +52867,74 @@ var uW = async (e, t) => {
throw e;
}, 0);
}
-}, wW = /* @__PURE__ */ pW(/* @__PURE__ */ bU(`${hW}/add`), { withTypes: () => wW }), TW = /* @__PURE__ */ bU(`${hW}/removeAll`), EW = /* @__PURE__ */ pW(/* @__PURE__ */ bU(`${hW}/remove`), { withTypes: () => EW }), DW = (...e) => {
- console.error(`${hW}/error`, ...e);
-}, OW = (e = {}) => {
+}, TW = /* @__PURE__ */ mW(/* @__PURE__ */ xU(`${gW}/add`), { withTypes: () => TW }), EW = /* @__PURE__ */ xU(`${gW}/removeAll`), DW = /* @__PURE__ */ mW(/* @__PURE__ */ xU(`${gW}/remove`), { withTypes: () => DW }), OW = (...e) => {
+ console.error(`${gW}/error`, ...e);
+}, kW = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = DW } = e;
- iW(o, "onError");
+ }, { extra: a, onError: o = OW } = e;
+ aW(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && xW(e);
+ e.unsubscribe(), t?.cancelActive && SW(e);
}), c = ((e) => {
- let n = bW(t, e) ?? yW(e);
+ let n = xW(t, e) ?? bW(e);
return s(n);
});
- pW(c, { withTypes: () => c });
+ mW(c, { withTypes: () => c });
let l = (e) => {
- let n = bW(t, e);
- return n && (n.unsubscribe(), e.cancelActive && xW(n)), !!n;
+ let n = xW(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && SW(n)), !!n;
};
- pW(l, { withTypes: () => l });
+ mW(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = _W(c, u.signal), f = [];
+ let u = new AbortController(), d = vW(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, pW({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, mW({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: fW(u.signal),
- pause: dW(u.signal),
+ delay: pW(u.signal),
+ pause: fW(u.signal),
extra: a,
signal: u.signal,
- fork: gW(u.signal, f),
+ fork: _W(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(tW), n.delete(e));
+ e !== u && (e.abort(nW), n.delete(e));
});
},
cancel: () => {
- u.abort(tW), e.pending.delete(u);
+ u.abort(nW), e.pending.delete(u);
},
throwIfCancelled: () => {
- cW(u.signal);
+ lW(u.signal);
}
})));
} catch (e) {
- e instanceof rW || CW(o, e, { raisedBy: "effect" });
+ e instanceof iW || wW(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(nW), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(rW), i(e), e.pending.delete(u);
}
- }, d = SW(t, n);
+ }, d = CW(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!qV(r)) return n(r);
- if (wW.match(r)) return c(r.payload);
- if (TW.match(r)) {
+ if (!JV(r)) return n(r);
+ if (TW.match(r)) return c(r.payload);
+ if (EW.match(r)) {
d();
return;
}
- if (EW.match(r)) return l(r.payload);
+ if (DW.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === mW) throw Error(kW(23));
+ if (i === hW) throw Error(AW(23));
return i;
}, s;
try {
@@ -52936,13 +52945,13 @@ var uW = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, CW(o, e, { raisedBy: "predicate" });
+ s = !1, wW(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = mW;
+ i = hW;
}
return s;
},
@@ -52951,12 +52960,12 @@ var uW = async (e, t) => {
clearListeners: d
};
};
-function kW(e) {
+function AW(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var AW = HU({
+var jW = UU({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -52984,23 +52993,23 @@ var AW = HU({
e.scale = t.payload;
}
}
-}), { setMargin: jW, setLayout: MW, setChartSize: NW, setScale: PW } = AW.actions, FW = AW.reducer;
+}), { setMargin: MW, setLayout: NW, setChartSize: PW, setScale: FW } = jW.actions, IW = jW.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function IW(e, t, n) {
+function LW(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function LW(e) {
+function RW(e) {
return Number.isFinite(e);
}
-function RW(e) {
+function zW(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function zW(e, t) {
+function BW(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53010,30 +53019,30 @@ function zW(e, t) {
}
return n;
}
-function BW(e) {
+function VW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zW(Object(n), !0).forEach(function(t) {
- VW(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zW(Object(n)).forEach(function(t) {
+ t % 2 ? BW(Object(n), !0).forEach(function(t) {
+ HW(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VW(e, t, n) {
- return (t = HW(t)) in e ? Object.defineProperty(e, t, {
+function HW(e, t, n) {
+ return (t = UW(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HW(e) {
- var t = UW(e, "string");
+function UW(e) {
+ var t = WW(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UW(e, t) {
+function WW(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53043,63 +53052,63 @@ function UW(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WW(e, t, n) {
- return bB(e) || bB(t) ? n : mB(t) ? cB(e, t, n) : typeof t == "function" ? t(e) : n;
+function GW(e, t, n) {
+ return xB(e) || xB(t) ? n : hB(t) ? lB(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var GW = (e, t, n) => {
+var KW = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return BW(BW({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return BW(BW({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return VW(VW({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return VW(VW({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, KW = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", qW = (e, t, n, r) => {
+}, qW = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", JW = (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;
-}, JW = (e, t, n) => {
+}, YW = (e, t, n) => {
if (!e) return null;
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? dB(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? fB(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 LW(i) ? {
+ return RW(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(SB) : c && l ? l.map((e, t) => {
+ }).filter(CB) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(SB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(CB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(SB) : o.domain().map((e, t) => {
+ }).filter(CB) : o.domain().map((e, t) => {
var n = o.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(SB);
-}, YW = (e, t) => {
+ }).filter(CB);
+}, XW = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, XW = {
+}, ZW = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -53107,14 +53116,14 @@ var GW = (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 = fB(c) ? l : c;
+ var c = s[1], l = s[0], u = pB(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
expand: Cme,
- none: eB,
+ none: tB,
silhouette: wme,
wiggle: Tme,
positive: (e) => {
@@ -53124,70 +53133,70 @@ var GW = (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 = fB(o[1]) ? o[0] : o[1];
+ var s = pB(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, ZW = (e, t, n) => {
- var r = XW[n] ?? eB, i = Sme().keys(t).value((e, t) => Number(WW(e, t, 0))).order(tB).offset(r)(e);
+}, QW = (e, t, n) => {
+ var r = ZW[n] ?? tB, i = Sme().keys(t).value((e, t) => Number(GW(e, t, 0))).order(nB).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = WW(e[i], t[r], 0);
+ var a = GW(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function QW(e) {
+function $W(e) {
return e == null ? void 0 : String(e);
}
-function $W(e) {
+function eG(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !bB(i[t.dataKey])) {
- var s = yB(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !xB(i[t.dataKey])) {
+ var s = bB(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 = WW(i, bB(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = GW(i, xB(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var eG = (e) => {
+var tG = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = WW(a, t.dataKey, t.scale.domain()[o]);
- if (bB(s)) return null;
+ var s = GW(a, t.dataKey, t.scale.domain()[o]);
+ if (xB(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, tG = (e) => {
+}, nG = (e) => {
var { numericAxis: t } = e, 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];
-}, nG = (e) => {
+}, rG = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, rG = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], iG = (e, t, n) => {
- if (e != null) return rG(Object.keys(e).reduce((r, i) => {
+}, iG = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], aG = (e, t, n) => {
+ if (e != null) return iG(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = nG(IW(r, t, n));
- return !LW(i[0]) || !LW(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = rG(LW(r, t, n));
+ return !RW(i[0]) || !RW(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, aG = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, oG = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sG = (e, t, n) => {
+}, oG = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, sG = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, cG = (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 = AV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = jV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -53195,26 +53204,26 @@ var eG = (e) => {
}
return n ? void 0 : 0;
};
-function cG(e) {
+function lG(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return BW(BW({}, t), {}, {
+ return VW(VW({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function lG(e, t) {
+function uG(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var uG = (e, t) => {
+var dG = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, dG = (e, t) => t === "centric" ? e.angle : e.radius, fG = (e) => e.layout.width, pG = (e) => e.layout.height, mG = (e) => e.layout.scale, hG = (e) => e.layout.margin, gG = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), _G = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vG = "data-recharts-item-index";
+}, fG = (e, t) => t === "centric" ? e.angle : e.radius, pG = (e) => e.layout.width, mG = (e) => e.layout.height, hG = (e) => e.layout.scale, gG = (e) => e.layout.margin, _G = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), vG = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), yG = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function yG(e, t) {
+function bG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53224,30 +53233,30 @@ function yG(e, t) {
}
return n;
}
-function bG(e) {
+function xG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yG(Object(n), !0).forEach(function(t) {
- xG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yG(Object(n)).forEach(function(t) {
+ t % 2 ? bG(Object(n), !0).forEach(function(t) {
+ SG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xG(e, t, n) {
- return (t = SG(t)) in e ? Object.defineProperty(e, t, {
+function SG(e, t, n) {
+ return (t = CG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SG(e) {
- var t = CG(e, "string");
+function CG(e) {
+ var t = wG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CG(e, t) {
+function wG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53257,58 +53266,58 @@ function CG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wG = (e) => e.brush.height;
-function TG(e) {
- return _G(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
+var TG = (e) => e.brush.height;
function EG(e) {
- return _G(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+ return vG(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function DG(e) {
- return gG(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return vG(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function OG(e) {
- return gG(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return _G(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+function kG(e) {
+ return _G(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var kG = $([
- fG,
+var AG = $([
pG,
- hG,
- wG,
+ mG,
+ gG,
TG,
EG,
DG,
OG,
- jV,
- MV
+ kG,
+ MV,
+ NV
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = bG(bG({}, {
+ }, d = xG(xG({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = GW(d, c, l);
+ d.bottom += r, d = KW(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return bG(bG({ brushBottom: f }, d), {}, {
+ return xG(xG({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), AG = $(kG, (e) => ({
+}), jG = $(AG, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), jG = $(fG, pG, (e, t) => ({
+})), MG = $(pG, mG, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), MG = /*#__PURE__*/ (0, I.createContext)(null), NG = () => (0, I.useContext)(MG) != null, PG = (e) => e.brush, FG = $([
- PG,
- kG,
- hG
+})), NG = /*#__PURE__*/ (0, I.createContext)(null), PG = () => (0, I.useContext)(NG) != null, FG = (e) => e.brush, IG = $([
+ FG,
+ AG,
+ gG
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -53317,7 +53326,7 @@ var kG = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function IG(e, t, { signal: n, edges: r } = {}) {
+function LG(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 = () => {
@@ -53342,11 +53351,11 @@ function IG(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function LG(e, t = 0, n = {}) {
+function RG(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 = IG(function(...t) {
+ let s, c = null, l = LG(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);
@@ -53355,9 +53364,9 @@ function LG(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function RG(e, t = 0, n = {}) {
+function zG(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return LG(e, t, {
+ return RG(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -53365,7 +53374,7 @@ function RG(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var zG = function(e, t) {
+var BG = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -53374,7 +53383,7 @@ var zG = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, BG = {
+}, VG = {
width: "100%",
height: "100%",
debounce: 0,
@@ -53383,45 +53392,45 @@ var zG = function(e, t) {
width: -1,
height: -1
}
-}, VG = (e, t, n) => {
- var { width: r = BG.width, height: i = BG.height, aspect: a, maxHeight: o } = n, s = pB(r) ? e : Number(r), c = pB(i) ? t : Number(i);
+}, HG = (e, t, n) => {
+ var { width: r = VG.width, height: i = VG.height, aspect: a, maxHeight: o } = n, s = mB(r) ? e : Number(r), c = mB(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, HG = {
+}, UG = {
width: 0,
height: 0,
overflow: "visible"
-}, UG = {
+}, WG = {
width: 0,
overflowX: "visible"
-}, WG = {
+}, GG = {
height: 0,
overflowY: "visible"
-}, GG = {}, KG = (e) => {
- var { width: t, height: n } = e, r = pB(t), i = pB(n);
- return r && i ? HG : r ? UG : i ? WG : GG;
+}, KG = {}, qG = (e) => {
+ var { width: t, height: n } = e, r = mB(t), i = mB(n);
+ return r && i ? UG : r ? WG : i ? GG : KG;
};
-function qG(e) {
+function JG(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = BG.width, a = BG.height) : i === void 0 ? i = r && r > 0 ? void 0 : BG.width : a === void 0 && (a = r && r > 0 ? void 0 : BG.height), {
+ return i === void 0 && a === void 0 ? (i = VG.width, a = VG.height) : i === void 0 ? i = r && r > 0 ? void 0 : VG.width : a === void 0 && (a = r && r > 0 ? void 0 : VG.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function JG() {
- return JG = Object.assign ? Object.assign.bind() : function(e) {
+function YG() {
+ return YG = 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;
- }, JG.apply(null, arguments);
+ }, YG.apply(null, arguments);
}
-function YG(e, t) {
+function XG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53431,30 +53440,30 @@ function YG(e, t) {
}
return n;
}
-function XG(e) {
+function ZG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? YG(Object(n), !0).forEach(function(t) {
- ZG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YG(Object(n)).forEach(function(t) {
+ t % 2 ? XG(Object(n), !0).forEach(function(t) {
+ QG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZG(e, t, n) {
- return (t = QG(t)) in e ? Object.defineProperty(e, t, {
+function QG(e, t, n) {
+ return (t = $G(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QG(e) {
- var t = $G(e, "string");
+function $G(e) {
+ var t = eK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $G(e, t) {
+function eK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53464,19 +53473,19 @@ function $G(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var eK = /*#__PURE__*/ (0, I.createContext)(BG.initialDimension);
-function tK(e) {
- return RW(e.width) && RW(e.height);
-}
+var tK = /*#__PURE__*/ (0, I.createContext)(VG.initialDimension);
function nK(e) {
+ return zW(e.width) && zW(e.height);
+}
+function rK(e) {
var { children: t, width: n, height: r } = e, i = (0, I.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return tK(i) ? /*#__PURE__*/ I.createElement(eK.Provider, { value: i }, t) : null;
+ return nK(i) ? /*#__PURE__*/ I.createElement(tK.Provider, { value: i }, t) : null;
}
-var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = BG.initialDimension, width: i, height: a, minWidth: o = BG.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = BG.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
+var iK = () => (0, I.useContext)(tK), aK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = VG.initialDimension, width: i, height: a, minWidth: o = VG.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = VG.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, I.useRef)(null), g = (0, I.useRef)();
g.current = p, (0, I.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, I.useState)({
containerWidth: r.width,
@@ -53491,7 +53500,7 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
}, []);
(0, I.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return CB;
+ if (h.current == null || typeof ResizeObserver > "u") return wB;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -53499,7 +53508,7 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = RG(e, u, {
+ u > 0 && (e = zG(e, u, {
trailing: !0,
leading: !1
}));
@@ -53509,17 +53518,17 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- zG(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = VG(b, x, {
+ BG(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = HG(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return zG(S != null && S > 0 || C != null && C > 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.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
+ return BG(S != null && S > 0 || C != null && C > 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.", S, C, i, a, o, s, n), /*#__PURE__*/ I.createElement("div", {
id: d ? `${d}` : void 0,
className: bh("recharts-responsive-container", f),
- style: XG(XG({}, m), {}, {
+ style: ZG(ZG({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -53527,30 +53536,30 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ I.createElement("div", { style: KG({
+ }, /*#__PURE__*/ I.createElement("div", { style: qG({
width: i,
height: a
- }) }, /*#__PURE__*/ I.createElement(nK, {
+ }) }, /*#__PURE__*/ I.createElement(rK, {
width: S,
height: C
}, l)));
-}), aK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = rK();
- if (RW(n.width) && RW(n.height)) return e.children;
- var { width: r, height: i } = qG({
+}), oK = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = iK();
+ if (zW(n.width) && zW(n.height)) return e.children;
+ var { width: r, height: i } = JG({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = VG(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = HG(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(nK, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ I.createElement(rK, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ I.createElement(iK, JG({}, e, {
+ }, e.children) : /*#__PURE__*/ I.createElement(aK, YG({}, e, {
width: r,
height: i,
ref: t
@@ -53558,7 +53567,7 @@ var rK = () => (0, I.useContext)(eK), iK = /*#__PURE__*/ (0, I.forwardRef)((e, t
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function oK(e) {
+function sK(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -53568,15 +53577,15 @@ function oK(e) {
height: e.height
};
}
-var sK = () => {
- var e = NG(), t = Q(AG), n = Q(FG), r = Q(PG)?.padding;
+var cK = () => {
+ var e = PG(), t = Q(jG), n = Q(IG), r = Q(FG)?.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
};
-}, cK = {
+}, lK = {
top: 0,
bottom: 0,
left: 0,
@@ -53584,16 +53593,16 @@ var sK = () => {
width: 0,
height: 0,
brushBottom: 0
-}, lK = () => Q(kG) ?? cK, uK = () => Q(fG), dK = () => Q(pG), fK = () => Q((e) => e.layout.margin), pK = (e) => e.layout.layoutType, mK = () => Q(pK), hK = () => {
- var e = mK();
+}, uK = () => Q(AG) ?? lK, dK = () => Q(pG), fK = () => Q(mG), pK = () => Q((e) => e.layout.margin), mK = (e) => e.layout.layoutType, hK = () => Q(mK), gK = () => {
+ var e = hK();
if (e === "horizontal" || e === "vertical") return e;
-}, gK = (e) => {
+}, _K = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, _K = () => Q(gK), vK = () => mK() !== void 0, yK = (e) => {
- var t = oV(), n = NG(), { width: r, height: i } = e, a = rK(), o = r, s = i;
+}, vK = () => Q(_K), yK = () => hK() !== void 0, bK = (e) => {
+ var t = sV(), n = PG(), { width: r, height: i } = e, a = iK(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, I.useEffect)(() => {
- !n && RW(o) && RW(s) && t(NW({
+ !n && zW(o) && zW(s) && t(PW({
width: o,
height: s
}));
@@ -53603,64 +53612,64 @@ var sK = () => {
o,
s
]), null;
-}, bK = Symbol.for("immer-nothing"), xK = Symbol.for("immer-draftable"), SK = Symbol.for("immer-state");
-function CK(e, ...t) {
+}, xK = Symbol.for("immer-nothing"), SK = Symbol.for("immer-draftable"), CK = Symbol.for("immer-state");
+function wK(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var wK = Object.getPrototypeOf;
-function TK(e) {
- return !!e && !!e[SK];
-}
+var TK = Object.getPrototypeOf;
function EK(e) {
- return e ? kK(e) || Array.isArray(e) || !!e[xK] || !!e.constructor?.[xK] || FK(e) || IK(e) : !1;
+ return !!e && !!e[CK];
+}
+function DK(e) {
+ return e ? AK(e) || Array.isArray(e) || !!e[SK] || !!e.constructor?.[SK] || IK(e) || LK(e) : !1;
}
-var DK = Object.prototype.constructor.toString(), OK = /* @__PURE__ */ new WeakMap();
-function kK(e) {
+var OK = Object.prototype.constructor.toString(), kK = /* @__PURE__ */ new WeakMap();
+function AK(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = OK.get(n);
- return r === void 0 && (r = Function.toString.call(n), OK.set(n, r)), r === DK;
+ let r = kK.get(n);
+ return r === void 0 && (r = Function.toString.call(n), kK.set(n, r)), r === OK;
}
-function AK(e, t, n = !0) {
- jK(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function jK(e, t, n = !0) {
+ MK(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function jK(e) {
- let t = e[SK];
- return t ? t.type_ : Array.isArray(e) ? 1 : FK(e) ? 2 : IK(e) ? 3 : 0;
+function MK(e) {
+ let t = e[CK];
+ return t ? t.type_ : Array.isArray(e) ? 1 : IK(e) ? 2 : LK(e) ? 3 : 0;
}
-function MK(e, t) {
- return jK(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function NK(e, t) {
+ return MK(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function NK(e, t, n) {
- let r = jK(e);
+function PK(e, t, n) {
+ let r = MK(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function PK(e, t) {
+function FK(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function FK(e) {
+function IK(e) {
return e instanceof Map;
}
-function IK(e) {
+function LK(e) {
return e instanceof Set;
}
-function LK(e) {
+function RK(e) {
return e.copy_ || e.base_;
}
-function RK(e, t) {
- if (FK(e)) return new Map(e);
- if (IK(e)) return new Set(e);
+function zK(e, t) {
+ if (IK(e)) return new Map(e);
+ if (LK(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = kK(e);
+ let n = AK(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[SK];
+ delete t[CK];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -53671,40 +53680,40 @@ function RK(e, t) {
value: e[i]
});
}
- return Object.create(wK(e), t);
+ return Object.create(TK(e), t);
}
{
- let t = wK(e);
+ let t = TK(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function zK(e, t = !1) {
- return HK(e) || TK(e) || !EK(e) ? e : (jK(e) > 1 && Object.defineProperties(e, {
- set: VK,
- add: VK,
- clear: VK,
- delete: VK
- }), Object.freeze(e), t && Object.values(e).forEach((e) => zK(e, !0)), e);
+function BK(e, t = !1) {
+ return UK(e) || EK(e) || !DK(e) ? e : (MK(e) > 1 && Object.defineProperties(e, {
+ set: HK,
+ add: HK,
+ clear: HK,
+ delete: HK
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => BK(e, !0)), e);
}
-function BK() {
- CK(2);
+function VK() {
+ wK(2);
}
-var VK = { value: BK };
-function HK(e) {
+var HK = { value: VK };
+function UK(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var UK = {};
-function WK(e) {
- let t = UK[e];
- return t || CK(0, e), t;
+var WK = {};
+function GK(e) {
+ let t = WK[e];
+ return t || wK(0, e), t;
}
-var GK;
-function KK() {
- return GK;
+var KK;
+function qK() {
+ return KK;
}
-function qK(e, t) {
+function JK(e, t) {
return {
drafts_: [],
parent_: e,
@@ -53713,62 +53722,62 @@ function qK(e, t) {
unfinalizedDrafts_: 0
};
}
-function JK(e, t) {
- t && (WK("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function YK(e) {
- XK(e), e.drafts_.forEach(QK), e.drafts_ = null;
+function YK(e, t) {
+ t && (GK("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function XK(e) {
- e === GK && (GK = e.parent_);
+ ZK(e), e.drafts_.forEach($K), e.drafts_ = null;
}
function ZK(e) {
- return GK = qK(GK, e);
+ e === KK && (KK = e.parent_);
}
function QK(e) {
- let t = e[SK];
+ return KK = JK(KK, e);
+}
+function $K(e) {
+ let t = e[CK];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function $K(e, t) {
+function eq(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[SK].modified_ && (YK(t), CK(4)), EK(e) && (e = eq(t, e), t.parent_ || nq(t, e)), t.patches_ && WK("Patches").generateReplacementPatches_(n[SK].base_, e, t.patches_, t.inversePatches_)) : e = eq(t, n, []), YK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === bK ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[CK].modified_ && (XK(t), wK(4)), DK(e) && (e = tq(t, e), t.parent_ || rq(t, e)), t.patches_ && GK("Patches").generateReplacementPatches_(n[CK].base_, e, t.patches_, t.inversePatches_)) : e = tq(t, n, []), XK(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === xK ? void 0 : e;
}
-function eq(e, t, n) {
- if (HK(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[SK];
- if (!i) return AK(t, (r, a) => tq(e, i, t, r, a, n), r), t;
+function tq(e, t, n) {
+ if (UK(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[CK];
+ if (!i) return jK(t, (r, a) => nq(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return nq(e, i.base_, !0), i.base_;
+ if (!i.modified_) return rq(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), AK(a, (r, a) => tq(e, i, t, r, a, n, o), r), nq(e, t, !1), n && e.patches_ && WK("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), jK(a, (r, a) => nq(e, i, t, r, a, n, o), r), rq(e, t, !1), n && e.patches_ && GK("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function tq(e, t, n, r, i, a, o) {
+function nq(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = HK(i);
+ let s = UK(i);
if (!(s && !o)) {
- if (TK(i)) {
- let o = eq(e, i, a && t && t.type_ !== 3 && !MK(t.assigned_, r) ? a.concat(r) : void 0);
- if (NK(n, r, o), TK(o)) e.canAutoFreeze_ = !1;
+ if (EK(i)) {
+ let o = tq(e, i, a && t && t.type_ !== 3 && !NK(t.assigned_, r) ? a.concat(r) : void 0);
+ if (PK(n, r, o), EK(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (EK(i) && !s) {
+ if (DK(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- eq(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (FK(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && nq(e, i);
+ tq(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (IK(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && rq(e, i);
}
}
}
-function nq(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && zK(t, n);
+function rq(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && BK(t, n);
}
-function rq(e, t) {
+function iq(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : KK(),
+ scope_: t ? t.scope_ : qK(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -53778,41 +53787,41 @@ function rq(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = iq;
- n && (i = [r], a = aq);
+ }, i = r, a = aq;
+ n && (i = [r], a = oq);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var iq = {
+var aq = {
get(e, t) {
- if (t === SK) return e;
- let n = LK(e);
- if (!MK(n, t)) return sq(e, n, t);
+ if (t === CK) return e;
+ let n = RK(e);
+ if (!NK(n, t)) return cq(e, n, t);
let r = n[t];
- return e.finalized_ || !EK(r) ? r : r === oq(e.base_, t) ? (uq(e), e.copy_[t] = fq(r, e)) : r;
+ return e.finalized_ || !DK(r) ? r : r === sq(e.base_, t) ? (dq(e), e.copy_[t] = pq(r, e)) : r;
},
has(e, t) {
- return t in LK(e);
+ return t in RK(e);
},
ownKeys(e) {
- return Reflect.ownKeys(LK(e));
+ return Reflect.ownKeys(RK(e));
},
set(e, t, n) {
- let r = cq(LK(e), t);
+ let r = lq(RK(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = oq(LK(e), t), i = r?.[SK];
+ let r = sq(RK(e), t), i = r?.[CK];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (PK(n, r) && (n !== void 0 || MK(e.base_, t))) return !0;
- uq(e), lq(e);
+ if (FK(n, r) && (n !== void 0 || NK(e.base_, t))) return !0;
+ dq(e), uq(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return oq(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, uq(e), lq(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return sq(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, dq(e), uq(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = LK(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = RK(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -53821,48 +53830,48 @@ var iq = {
};
},
defineProperty() {
- CK(11);
+ wK(11);
},
getPrototypeOf(e) {
- return wK(e.base_);
+ return TK(e.base_);
},
setPrototypeOf() {
- CK(12);
+ wK(12);
}
-}, aq = {};
-AK(iq, (e, t) => {
- aq[e] = function() {
+}, oq = {};
+jK(aq, (e, t) => {
+ oq[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), aq.deleteProperty = function(e, t) {
- return aq.set.call(this, e, t, void 0);
-}, aq.set = function(e, t, n) {
- return iq.set.call(this, e[0], t, n, e[0]);
+}), oq.deleteProperty = function(e, t) {
+ return oq.set.call(this, e, t, void 0);
+}, oq.set = function(e, t, n) {
+ return aq.set.call(this, e[0], t, n, e[0]);
};
-function oq(e, t) {
- let n = e[SK];
- return (n ? LK(n) : e)[t];
+function sq(e, t) {
+ let n = e[CK];
+ return (n ? RK(n) : e)[t];
}
-function sq(e, t, n) {
- let r = cq(t, n);
+function cq(e, t, n) {
+ let r = lq(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function cq(e, t) {
+function lq(e, t) {
if (!(t in e)) return;
- let n = wK(e);
+ let n = TK(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = wK(n);
+ n = TK(n);
}
}
-function lq(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && lq(e.parent_));
-}
function uq(e) {
- e.copy_ ||= RK(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+ e.modified_ || (e.modified_ = !0, e.parent_ && uq(e.parent_));
+}
+function dq(e) {
+ e.copy_ ||= zK(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var dq = class {
+var fq = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -53873,25 +53882,25 @@ var dq = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && CK(6), n !== void 0 && typeof n != "function" && CK(7);
+ typeof t != "function" && wK(6), n !== void 0 && typeof n != "function" && wK(7);
let r;
- if (EK(e)) {
- let i = ZK(this), a = fq(e, void 0), o = !0;
+ if (DK(e)) {
+ let i = QK(this), a = pq(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? YK(i) : XK(i);
+ o ? XK(i) : ZK(i);
}
- return JK(i, n), $K(r, i);
+ return YK(i, n), eq(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === bK && (r = void 0), this.autoFreeze_ && zK(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === xK && (r = void 0), this.autoFreeze_ && BK(r, !0), n) {
let t = [], i = [];
- WK("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ GK("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- CK(1, e);
+ wK(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -53905,15 +53914,15 @@ var dq = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- EK(e) || CK(8), TK(e) && (e = pq(e));
- let t = ZK(this), n = fq(e, void 0);
- return n[SK].isManual_ = !0, XK(t), n;
+ DK(e) || wK(8), EK(e) && (e = mq(e));
+ let t = QK(this), n = pq(e, void 0);
+ return n[CK].isManual_ = !0, ZK(t), n;
}
finishDraft(e, t) {
- let n = e && e[SK];
- (!n || !n.isManual_) && CK(9);
+ let n = e && e[CK];
+ (!n || !n.isManual_) && wK(9);
let { scope_: r } = n;
- return JK(r, t), $K(void 0, r);
+ return YK(r, t), eq(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -53937,35 +53946,35 @@ var dq = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = WK("Patches").applyPatches_;
- return TK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = GK("Patches").applyPatches_;
+ return EK(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function fq(e, t) {
- let n = FK(e) ? WK("MapSet").proxyMap_(e, t) : IK(e) ? WK("MapSet").proxySet_(e, t) : rq(e, t);
- return (t ? t.scope_ : KK()).drafts_.push(n), n;
-}
-function pq(e) {
- return TK(e) || CK(10, e), mq(e);
+function pq(e, t) {
+ let n = IK(e) ? GK("MapSet").proxyMap_(e, t) : LK(e) ? GK("MapSet").proxySet_(e, t) : iq(e, t);
+ return (t ? t.scope_ : qK()).drafts_.push(n), n;
}
function mq(e) {
- if (!EK(e) || HK(e)) return e;
- let t = e[SK], n, r = !0;
+ return EK(e) || wK(10, e), hq(e);
+}
+function hq(e) {
+ if (!DK(e) || UK(e)) return e;
+ let t = e[CK], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = RK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = RK(e, !0);
- return AK(n, (e, t) => {
- NK(n, e, mq(t));
+ t.finalized_ = !0, n = zK(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = zK(e, !0);
+ return jK(n, (e, t) => {
+ PK(n, e, hq(t));
}, r), t && (t.finalized_ = !1), n;
}
-new dq().produce;
-function hq(e) {
+new fq().produce;
+function gq(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var gq = HU({
+var _q = UU({
name: "legend",
initialState: {
settings: {
@@ -53989,43 +53998,43 @@ var gq = HU({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(hq(t.payload));
+ e.payload.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).payload.indexOf(hq(n));
- i > -1 && (e.payload[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).payload.indexOf(gq(n));
+ i > -1 && (e.payload[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeLegendPayload: {
reducer(e, t) {
- var n = pU(e).payload.indexOf(hq(t.payload));
+ var n = mU(e).payload.indexOf(gq(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
}
}
-}), { setLegendSize: _q, setLegendSettings: vq, addLegendPayload: yq, replaceLegendPayload: bq, removeLegendPayload: xq } = gq.actions, Sq = gq.reducer, Cq = /* @__PURE__ */ F(((e) => {
+}), { setLegendSize: vq, setLegendSettings: yq, addLegendPayload: bq, replaceLegendPayload: xq, removeLegendPayload: Sq } = _q.actions, Cq = _q.reducer, wq = /* @__PURE__ */ F(((e) => {
var t = ce();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ F(((e, t) => {
- t.exports = Cq();
+ t.exports = wq();
})))();
-function wq(e) {
+function Tq(e) {
e();
}
-function Tq() {
+function Eq() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- wq(() => {
+ Tq(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -54047,12 +54056,12 @@ function Tq() {
}
};
}
-var Eq = {
+var Dq = {
notify() {},
get: () => []
};
-function Dq(e, t) {
- let n, r = Eq, i = 0, a = !1;
+function Oq(e, t) {
+ let n, r = Dq, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -54070,10 +54079,10 @@ function Dq(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Tq());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Eq());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = Eq);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = Dq);
}
function f() {
a || (a = !0, u());
@@ -54092,44 +54101,44 @@ function Dq(e, t) {
};
return m;
}
-var Oq = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, kq = typeof navigator < "u" && navigator.product === "ReactNative", Aq = Oq || kq ? I.useLayoutEffect : I.useEffect;
-function jq(e, t) {
+var kq = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Aq = typeof navigator < "u" && navigator.product === "ReactNative", jq = kq || Aq ? I.useLayoutEffect : I.useEffect;
+function Mq(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function Mq(e, t) {
- if (jq(e, t)) return !0;
+function Nq(e, t) {
+ if (Mq(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]) || !jq(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Mq(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var Nq = /* @__PURE__ */ Symbol.for("react-redux-context"), Pq = typeof globalThis < "u" ? globalThis : {};
-function Fq() {
+var Pq = /* @__PURE__ */ Symbol.for("react-redux-context"), Fq = typeof globalThis < "u" ? globalThis : {};
+function Iq() {
if (!I.createContext) return {};
- let e = Pq[Nq] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
+ let e = Fq[Pq] ??= /* @__PURE__ */ new Map(), t = e.get(I.createContext);
return t || (t = I.createContext(null), e.set(I.createContext, t)), t;
}
-var Iq = /* @__PURE__ */ Fq();
-function Lq(e) {
+var Lq = /* @__PURE__ */ Iq();
+function Rq(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = I.useMemo(() => {
- let e = Dq(i);
+ let e = Oq(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = I.useMemo(() => i.getState(), [i]);
- Aq(() => {
+ jq(() => {
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 || Iq;
+ let s = n || Lq;
return /* @__PURE__ */ I.createElement(s.Provider, { value: a }, t);
}
-var Rq = Lq, zq = /* @__PURE__ */ new Set([
+var zq = Rq, Bq = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -54152,29 +54161,29 @@ var Rq = Lq, zq = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function Bq(e, t) {
+function Vq(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function Vq(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (zq.has(n)) {
+function Hq(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Bq.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!Mq(e[n], t[n])) return !1;
- } else if (!Bq(e[n], t[n])) return !1;
+ if (!Nq(e[n], t[n])) return !1;
+ } else if (!Vq(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var Hq = ["contextPayload"];
-function Uq() {
- return Uq = Object.assign ? Object.assign.bind() : function(e) {
+var Uq = ["contextPayload"];
+function Wq() {
+ return Wq = 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;
- }, Uq.apply(null, arguments);
+ }, Wq.apply(null, arguments);
}
-function Wq(e, t) {
+function Gq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54184,30 +54193,30 @@ function Wq(e, t) {
}
return n;
}
-function Gq(e) {
+function Kq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Wq(Object(n), !0).forEach(function(t) {
- Kq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wq(Object(n)).forEach(function(t) {
+ t % 2 ? Gq(Object(n), !0).forEach(function(t) {
+ qq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kq(e, t, n) {
- return (t = qq(t)) in e ? Object.defineProperty(e, t, {
+function qq(e, t, n) {
+ return (t = Jq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qq(e) {
- var t = Jq(e, "string");
+function Jq(e) {
+ var t = Yq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jq(e, t) {
+function Yq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54217,16 +54226,16 @@ function Jq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Yq(e, t) {
+function Xq(e, t) {
if (e == null) return {};
- var n, r, i = Xq(e, t);
+ var n, r, i = Zq(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 Xq(e, t) {
+function Zq(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54235,36 +54244,36 @@ function Xq(e, t) {
}
return n;
}
-function Zq(e) {
+function Qq(e) {
return e.value;
}
-function Qq(e) {
- var { contextPayload: t } = e, n = Yq(e, Hq), r = iV(t, e.payloadUniqBy, Zq), i = Gq(Gq({}, n), {}, { payload: r });
+function $q(e) {
+ var { contextPayload: t } = e, n = Xq(e, Uq), r = aV(t, e.payloadUniqBy, Qq), i = Kq(Kq({}, n), {}, { payload: r });
return /*#__PURE__*/ I.isValidElement(e.content) ? /*#__PURE__*/ I.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ I.createElement(e.content, i) : /*#__PURE__*/ I.createElement($me, i);
}
-function $q(e, t, n, r, i, a) {
+function eJ(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), Gq(Gq({}, 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 }), Kq(Kq({}, l), u);
}
-function eJ(e) {
- var t = oV();
+function tJ(e) {
+ var t = sV();
return (0, I.useEffect)(() => {
- t(vq(e));
+ t(yq(e));
}, [t, e]), null;
}
-function tJ(e) {
- var t = oV();
- return (0, I.useEffect)(() => (t(_q(e)), () => {
- t(_q({
+function nJ(e) {
+ var t = sV();
+ return (0, I.useEffect)(() => (t(vq(e)), () => {
+ t(vq({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function nJ(e, t, n, r) {
+function rJ(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var rJ = {
+var iJ = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -54272,28 +54281,28 @@ var rJ = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function iJ(e) {
- var t = NB(e, rJ), n = PV(), r = qpe(), i = fK(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = IV([n]), d = uK(), f = dK();
+function aJ(e) {
+ var t = PB(e, iJ), n = FV(), r = qpe(), i = pK(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = LV([n]), d = dK(), f = fK();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = nJ(t.layout, o, a, p), h = c ? s : Gq(Gq({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = rJ(t.layout, o, a, p), h = c ? s : Kq(Kq({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, $q(s, t, i, d, f, l)), s), g = c ?? r;
+ }, eJ(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ I.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ I.createElement(eJ, {
+ }, /*#__PURE__*/ I.createElement(tJ, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ I.createElement(tJ, {
+ }), !c && /*#__PURE__*/ I.createElement(nJ, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ I.createElement(Qq, Uq({}, t, m, {
+ }), /*#__PURE__*/ I.createElement($q, Wq({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -54301,20 +54310,20 @@ function iJ(e) {
})));
return /*#__PURE__*/ (0, Yh.createPortal)(_, g);
}
-var aJ = /*#__PURE__*/ I.memo(iJ, Vq);
-aJ.displayName = "Legend";
+var oJ = /*#__PURE__*/ I.memo(aJ, Hq);
+oJ.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function oJ() {
- return oJ = Object.assign ? Object.assign.bind() : function(e) {
+function sJ() {
+ return sJ = 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;
- }, oJ.apply(null, arguments);
+ }, sJ.apply(null, arguments);
}
-function sJ(e, t) {
+function cJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54324,30 +54333,30 @@ function sJ(e, t) {
}
return n;
}
-function cJ(e) {
+function lJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sJ(Object(n), !0).forEach(function(t) {
- lJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sJ(Object(n)).forEach(function(t) {
+ t % 2 ? cJ(Object(n), !0).forEach(function(t) {
+ Ghe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lJ(e, t, n) {
- return (t = Ghe(t)) in e ? Object.defineProperty(e, t, {
+function Ghe(e, t, n) {
+ return (t = Khe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ghe(e) {
- var t = Khe(e, "string");
+function Khe(e) {
+ var t = qhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Khe(e, t) {
+function qhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54357,8 +54366,8 @@ function Khe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function qhe(e) {
- return Array.isArray(e) && mB(e[0]) && mB(e[1]) ? e.join(" ~ ") : e;
+function Jhe(e) {
+ return Array.isArray(e) && hB(e[0]) && hB(e[1]) ? e.join(" ~ ") : e;
}
var uJ = {
separator: " : ",
@@ -54378,30 +54387,30 @@ var uJ = {
labelStyle: {},
accessibilityLayer: !1
};
-function Jhe(e, t) {
- return t == null ? e : AV(e, t);
+function Yhe(e, t) {
+ return t == null ? e : jV(e, t);
}
-var Yhe = (e) => {
+var Xhe = (e) => {
var { separator: t = uJ.separator, contentStyle: n, itemStyle: r, labelStyle: i = uJ.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = uJ.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = Jhe(a, s).map((e, n) => {
+ }, n = Yhe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || qhe, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || Jhe, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
else if (d != null) l = d;
else return null;
}
- var f = cJ(cJ({}, uJ.itemStyle), {}, { color: e.color || uJ.itemStyle.color }, r);
+ var f = lJ(lJ({}, uJ.itemStyle), {}, { color: e.color || uJ.itemStyle.color }, r);
return /*#__PURE__*/ I.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, mB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, mB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, hB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, hB(u) ? /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ I.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ I.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -54409,21 +54418,21 @@ var Yhe = (e) => {
}, n);
}
return null;
- }, m = cJ(cJ({}, uJ.contentStyle), n), h = cJ({ margin: 0 }, i), g = !bB(u), _ = g ? u : "", v = bh("recharts-default-tooltip", c), y = bh("recharts-tooltip-label", l);
+ }, m = lJ(lJ({}, uJ.contentStyle), n), h = lJ({ margin: 0 }, i), g = !xB(u), _ = g ? u : "", v = bh("recharts-default-tooltip", c), y = bh("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ I.createElement("div", oJ({
+ return /*#__PURE__*/ I.createElement("div", sJ({
className: v,
style: m
}, b), /*#__PURE__*/ I.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ I.isValidElement(_) ? _ : `${_}`), p());
-}, dJ = "recharts-tooltip-wrapper", Xhe = { visibility: "hidden" };
-function Zhe(e) {
+}, dJ = "recharts-tooltip-wrapper", Zhe = { visibility: "hidden" };
+function Qhe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
return bh(dJ, {
[`${dJ}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
@@ -54440,11 +54449,11 @@ function fJ(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function Qhe(e) {
+function $he(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function $he(e) {
+function ege(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
return s.height > 0 && s.width > 0 && n ? (d = fJ({
allowEscapeViewBox: t,
@@ -54466,13 +54475,13 @@ function $he(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = Qhe({
+ }), u = $he({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = Xhe, {
+ })) : u = Zhe, {
cssProperties: u,
- cssClasses: Zhe({
+ cssClasses: Qhe({
translateX: d,
translateY: f,
coordinate: n
@@ -54514,26 +54523,26 @@ function gJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? hJ(Object(n), !0).forEach(function(t) {
- ege(e, t, n[t]);
+ tge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ege(e, t, n) {
- return (t = tge(t)) in e ? Object.defineProperty(e, t, {
+function tge(e, t, n) {
+ return (t = nge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tge(e) {
- var t = nge(e, "string");
+function nge(e) {
+ var t = rge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nge(e, t) {
+function rge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54543,10 +54552,10 @@ function nge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function rge(e) {
+function ige(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function ige(e) {
+function age(e) {
var t = mJ(), [n, r] = I.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
@@ -54568,7 +54577,7 @@ function ige(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(gJ(gJ({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = $he({
+ var { cssClasses: i, cssProperties: a } = ege({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -54581,7 +54590,7 @@ function ige(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = gJ(gJ({}, e.hasPortalFromProps ? {} : gJ(gJ({ transition: rge({
+ }), o = gJ(gJ({}, e.hasPortalFromProps ? {} : gJ(gJ({ transition: ige({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -54601,7 +54610,7 @@ function ige(e) {
ref: e.innerRef
}, e.children);
}
-var age = /*#__PURE__*/ I.memo(ige), _J = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var oge = /*#__PURE__*/ I.memo(age), _J = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function vJ() {
@@ -54627,26 +54636,26 @@ function bJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? yJ(Object(n), !0).forEach(function(t) {
- oge(e, t, n[t]);
+ sge(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 oge(e, t, n) {
- return (t = sge(t)) in e ? Object.defineProperty(e, t, {
+function sge(e, t, n) {
+ return (t = cge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sge(e) {
- var t = cge(e, "string");
+function cge(e) {
+ var t = lge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cge(e, t) {
+function lge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54663,33 +54672,33 @@ var xJ = {
curveBumpX: Xpe,
curveBumpY: Zpe,
curveLinearClosed: pme,
- curveLinear: Tz,
+ curveLinear: Ez,
curveMonotoneX: mme,
curveMonotoneY: hme,
curveNatural: gme,
curveStep: _me,
curveStepAfter: yme,
curveStepBefore: vme
-}, SJ = (e) => LW(e.x) && LW(e.y), CJ = (e) => e.base != null && SJ(e.base) && SJ(e), wJ = (e) => e.x, TJ = (e) => e.y, lge = (e, t) => {
+}, SJ = (e) => RW(e.x) && RW(e.y), CJ = (e) => e.base != null && SJ(e.base) && SJ(e), wJ = (e) => e.x, TJ = (e) => e.y, uge = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${xB(e)}`;
+ var n = `curve${SB(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
var r = xJ[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return xJ[n] || Tz;
+ return xJ[n] || Ez;
}, EJ = {
connectNulls: !1,
type: "linear"
-}, uge = (e) => {
- var { type: t = EJ.type, points: n = [], baseLine: r, layout: i, connectNulls: a = EJ.connectNulls } = e, o = lge(t, i), s = a ? n.filter(SJ) : n;
+}, dge = (e) => {
+ var { type: t = EJ.type, points: n = [], baseLine: r, layout: i, connectNulls: a = EJ.connectNulls } = e, o = uge(t, i), s = a ? n.filter(SJ) : n;
if (Array.isArray(r)) {
var c, l = n.map((e, t) => bJ(bJ({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? kz().y(TJ).x1(wJ).x0((e) => e.base.x) : kz().x(wJ).y1(TJ).y0((e) => e.base.y), c.defined(CJ).curve(o)(a ? l.filter(CJ) : l);
+ return c = i === "vertical" ? Az().y(TJ).x1(wJ).x0((e) => e.base.x) : Az().x(wJ).y1(TJ).y0((e) => e.base.y), c.defined(CJ).curve(o)(a ? l.filter(CJ) : l);
}
- return (i === "vertical" && Z(r) ? kz().y(TJ).x1(wJ).x0(r) : Z(r) ? kz().x(wJ).y1(TJ).y0(r) : Oz().x(wJ).y(TJ)).defined(SJ).curve(o)(s);
+ return (i === "vertical" && Z(r) ? Az().y(TJ).x1(wJ).x0(r) : Z(r) ? Az().x(wJ).y1(TJ).y0(r) : kz().x(wJ).y(TJ)).defined(SJ).curve(o)(s);
}, DJ = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = mK();
+ var { className: t, points: n, path: r, pathRef: i } = e, a = hK();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -54697,13 +54706,13 @@ var xJ = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? uge(o) : r;
- return /*#__PURE__*/ I.createElement("path", vJ({}, rz(e), AB(e), {
+ }, s = n && n.length ? dge(o) : r;
+ return /*#__PURE__*/ I.createElement("path", vJ({}, iz(e), jB(e), {
className: bh("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, dge = [
+}, fge = [
"x",
"y",
"top",
@@ -54731,30 +54740,30 @@ function kJ(e, t) {
}
return n;
}
-function fge(e) {
+function pge(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? kJ(Object(n), !0).forEach(function(t) {
- pge(e, t, n[t]);
+ mge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pge(e, t, n) {
- return (t = mge(t)) in e ? Object.defineProperty(e, t, {
+function mge(e, t, n) {
+ return (t = hge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mge(e) {
- var t = hge(e, "string");
+function hge(e) {
+ var t = gge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hge(e, t) {
+function gge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54764,16 +54773,16 @@ function hge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gge(e, t) {
+function _ge(e, t) {
if (e == null) return {};
- var n, r, i = _ge(e, t);
+ var n, r, i = vge(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 _ge(e, t) {
+function vge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54782,8 +54791,8 @@ function _ge(e, t) {
}
return n;
}
-var vge = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yge = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = gge(e, dge), l = fge({
+var yge = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, bge = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = _ge(e, fge), l = pge({
x: t,
y: n,
top: r,
@@ -54791,14 +54800,14 @@ var vge = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, yge = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", OJ({}, az(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ I.createElement("path", OJ({}, oz(l), {
className: bh("recharts-cross", s),
- d: vge(t, n, a, o, r, i)
+ d: yge(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function bge(e, t, n, r) {
+function xge(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -54825,26 +54834,26 @@ function jJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? AJ(Object(n), !0).forEach(function(t) {
- xge(e, t, n[t]);
+ Sge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xge(e, t, n) {
- return (t = Sge(t)) in e ? Object.defineProperty(e, t, {
+function Sge(e, t, n) {
+ return (t = Cge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sge(e) {
- var t = Cge(e, "string");
+function Cge(e) {
+ var t = wge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cge(e, t) {
+function wge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54854,7 +54863,7 @@ function Cge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wge = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), MJ = (e, t, n) => e.map((e) => `${wge(e)} ${t}ms ${n}`).join(","), Tge = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), NJ = (e, t) => Object.keys(t).reduce((n, r) => jJ(jJ({}, n), {}, { [r]: e(r, t[r]) }), {});
+var Tge = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), MJ = (e, t, n) => e.map((e) => `${Tge(e)} ${t}ms ${n}`).join(","), Ege = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), NJ = (e, t) => Object.keys(t).reduce((n, r) => jJ(jJ({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
function PJ(e, t) {
@@ -54871,26 +54880,26 @@ function FJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? PJ(Object(n), !0).forEach(function(t) {
- Ege(e, t, n[t]);
+ Dge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ege(e, t, n) {
- return (t = Dge(t)) in e ? Object.defineProperty(e, t, {
+function Dge(e, t, n) {
+ return (t = Oge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dge(e) {
- var t = Oge(e, "string");
+function Oge(e) {
+ var t = kge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oge(e, t) {
+function kge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54919,7 +54928,7 @@ var IJ = (e, t, n) => e + (t - e) * n, LJ = (e) => {
from: IJ(t.from, r[e].from, n)
}) : t, t) : RJ(e, r, n - 1);
};
-function kge(e, t, n, r, i, a) {
+function Age(e, t, n, r, i, a) {
var o, s = r.reduce((n, r) => FJ(FJ({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
@@ -54934,7 +54943,7 @@ function kge(e, t, n, r, i, a) {
(e = u) == null || e();
});
}
-function Age(e, t, n, r, i, a, o) {
+function jge(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
return i == null || a == null ? n : FJ(FJ({}, n), {}, { [r]: [i, a] });
@@ -54952,15 +54961,15 @@ function Age(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var jge = (e, t, n, r, i, a) => {
- var o = Tge(e, t);
- return n == null ? () => (i(FJ(FJ({}, e), t)), () => {}) : n.isStepper === !0 ? kge(e, t, n, o, i, a) : Age(e, t, n, r, o, i, a);
+var Mge = (e, t, n, r, i, a) => {
+ var o = Ege(e, t);
+ return n == null ? () => (i(FJ(FJ({}, e), t)), () => {}) : n.isStepper === !0 ? Age(e, t, n, o, i, a) : jge(e, t, n, r, o, i, a);
}, zJ = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], BJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), VJ = (e, t) => (n) => BJ(zJ(e, t), n), Mge = (e, t) => (n) => BJ([...zJ(e, t).map((e, t) => e * t).slice(1), 0], n), Nge = (e) => {
+], BJ = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), VJ = (e, t) => (n) => BJ(zJ(e, t), n), Nge = (e, t) => (n) => BJ([...zJ(e, t).map((e, t) => e * t).slice(1), 0], n), Pge = (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(",");
@@ -54972,7 +54981,7 @@ var jge = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, Pge = function() {
+}, Fge = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -55006,7 +55015,7 @@ var jge = (e, t, n, r, i, a) => {
1
];
default:
- var t = Nge(e[0]);
+ var t = Pge(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -55015,8 +55024,8 @@ var jge = (e, t, n, r, i, a) => {
1,
1
];
-}, Fge = (e, t, n, r) => {
- var i = VJ(e, n), a = VJ(t, r), o = Mge(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, Ige = (e, t, n, r) => {
+ var i = VJ(e, n), a = VJ(t, r), o = Nge(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);
@@ -55026,28 +55035,28 @@ var jge = (e, t, n, r, i, a) => {
};
return c.isStepper = !1, c;
}, HJ = function() {
- return Fge(...Pge(...arguments));
-}, Ige = function() {
+ return Ige(...Fge(...arguments));
+}, Lge = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, Lge = (e) => {
+}, Rge = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
case "linear": return HJ(e);
- case "spring": return Ige();
+ case "spring": return Lge();
default: if (e.split("(")[0] === "cubic-bezier") return HJ(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function Rge(e) {
+function zge(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -55078,7 +55087,7 @@ function Rge(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var zge = class {
+var Bge = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -55090,14 +55099,14 @@ var zge = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function Bge() {
- return Rge(new zge());
+function Vge() {
+ return zge(new Bge());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var Vge = /*#__PURE__*/ (0, I.createContext)(Bge);
-function Hge(e, t) {
- var n = (0, I.useContext)(Vge);
+var Hge = /*#__PURE__*/ (0, I.createContext)(Vge);
+function Uge(e, t) {
+ var n = (0, I.useContext)(Hge);
return (0, I.useMemo)(() => t ?? n(e), [
e,
t,
@@ -55106,7 +55115,7 @@ function Hge(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var Uge = {
+var Wge = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -55116,12 +55125,12 @@ var Uge = {
onAnimationStart: () => {}
}, UJ = { t: 0 }, WJ = { t: 1 };
function GJ(e) {
- var t = NB(e, Uge), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = mJ(), d = n === "auto" ? !pJ.isSsr && !u : n, f = Hge(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? UJ : WJ), h = (0, I.useRef)(null);
+ var t = PB(e, Wge), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = mJ(), d = n === "auto" ? !pJ.isSsr && !u : n, f = Uge(t.animationId, t.animationManager), [p, m] = (0, I.useState)(d ? UJ : WJ), h = (0, I.useRef)(null);
return (0, I.useEffect)(() => {
d || m(WJ);
}, [d]), (0, I.useEffect)(() => {
- if (!d || !r) return CB;
- var e = jge(UJ, WJ, Lge(a), i, m, f.getTimeoutController());
+ if (!d || !r) return wB;
+ var e = Mge(UJ, WJ, Rge(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -55147,12 +55156,12 @@ function GJ(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function KJ(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(hB(t)), r = (0, I.useRef)(e);
- return r.current !== e && (n.current = hB(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, I.useRef)(gB(t)), r = (0, I.useRef)(e);
+ return r.current !== e && (n.current = gB(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var Wge = ["radius"], Gge = ["radius"], Kge, qge, Jge, Yge, Xge, Zge, Qge, $ge, e_e, t_e;
+var Gge = ["radius"], Kge = ["radius"], qge, Jge, Yge, Xge, Zge, Qge, $ge, e_e, t_e, n_e;
function qJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -55167,26 +55176,26 @@ function JJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? qJ(Object(n), !0).forEach(function(t) {
- n_e(e, t, n[t]);
+ r_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function n_e(e, t, n) {
- return (t = r_e(t)) in e ? Object.defineProperty(e, t, {
+function r_e(e, t, n) {
+ return (t = i_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function r_e(e) {
- var t = i_e(e, "string");
+function i_e(e) {
+ var t = a_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i_e(e, t) {
+function a_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55207,14 +55216,14 @@ function YJ() {
}
function XJ(e, t) {
if (e == null) return {};
- var n, r, i = a_e(e, t);
+ var n, r, i = o_e(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 a_e(e, t) {
+function o_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55227,7 +55236,7 @@ function ZJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var QJ = (e, t, n, r, i) => {
- var a = lB(n), o = lB(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+ var a = uB(n), o = uB(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,
@@ -55238,44 +55247,44 @@ var QJ = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = uB(Kge ||= ZJ([
+ d = dB(qge ||= ZJ([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += uB(qge ||= ZJ([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += dB(Jge ||= ZJ([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += uB(Jge ||= ZJ([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += dB(Yge ||= ZJ([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += uB(Yge ||= ZJ([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += dB(Xge ||= ZJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += uB(Xge ||= ZJ([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += dB(Zge ||= ZJ([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += uB(Zge ||= ZJ([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += dB(Qge ||= ZJ([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += uB(Qge ||= ZJ([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += dB($ge ||= ZJ([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += uB($ge ||= ZJ([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += dB(e_e ||= ZJ([
"A ",
",",
",0,0,",
@@ -55285,8 +55294,8 @@ var QJ = (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 = uB(e_e ||= ZJ(/* @__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 = uB(t_e ||= ZJ([
+ d = dB(t_e ||= ZJ(/* @__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 = dB(n_e ||= ZJ([
"M ",
",",
" h ",
@@ -55307,7 +55316,7 @@ var QJ = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, eY = (e) => {
- var t = NB(e, $J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
+ var t = PB(e, $J), n = (0, I.useRef)(null), [r, i] = (0, I.useState)(-1);
(0, I.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
@@ -55330,12 +55339,12 @@ var QJ = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = bh("recharts-rectangle", u);
if (!h) {
- var S = az(t), { radius: C } = S, w = XJ(S, Wge);
+ var S = oz(t), { radius: C } = S, w = XJ(S, Gge);
return /*#__PURE__*/ I.createElement("path", YJ({}, w, {
- x: lB(a),
- y: lB(o),
- width: lB(s),
- height: lB(c),
+ x: uB(a),
+ y: uB(o),
+ width: uB(s),
+ height: uB(c),
radius: typeof l == "number" ? l : void 0,
className: x,
d: QJ(a, o, s, c, l)
@@ -55351,12 +55360,12 @@ var QJ = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = vB(T, s, e), i = vB(E, c, e), u = vB(D, a, e), d = vB(O, o, e);
+ var r = yB(T, s, e), i = yB(E, c, e), u = yB(D, a, e), d = yB(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = az(t), { radius: h } = p, b = XJ(p, Gge);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = oz(t), { radius: h } = p, b = XJ(p, Kge);
return /*#__PURE__*/ I.createElement("path", YJ({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -55382,26 +55391,26 @@ function nY(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) {
- o_e(e, t, n[t]);
+ s_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function o_e(e, t, n) {
- return (t = s_e(t)) in e ? Object.defineProperty(e, t, {
+function s_e(e, t, n) {
+ return (t = c_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function s_e(e) {
- var t = c_e(e, "string");
+function c_e(e) {
+ var t = l_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function c_e(e, t) {
+function l_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55411,10 +55420,10 @@ function c_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Math.PI, aY = (e, t, n, r) => ({
+var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, u_e = (e) => e * 180 / Math.PI, aY = (e, t, n, r) => ({
x: e + Math.cos(-rY * r) * n,
y: t + Math.sin(-rY * r) * n
-}), u_e = function(e, t) {
+}), d_e = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -55425,11 +55434,11 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (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;
-}, d_e = (e, t) => {
+}, f_e = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, f_e = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = d_e({
+}, p_e = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = f_e({
x: n,
y: r
}, {
@@ -55443,25 +55452,25 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: l_e(c),
+ angle: u_e(c),
angleInRadian: c
};
-}, p_e = (e) => {
+}, m_e = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, m_e = (e, t) => {
+}, h_e = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, h_e = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = f_e({
+}, g_e = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = p_e({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = p_e(t), u = a, d;
+ var { startAngle: c, endAngle: l } = m_e(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -55473,7 +55482,7 @@ var rY = Math.PI / 180, iY = (e) => e * Math.PI / 180, l_e = (e) => e * 180 / Ma
}
return d ? nY(nY({}, t), {}, {
radius: i,
- angle: m_e(u, t)
+ angle: h_e(u, t)
}) : null;
};
//#endregion
@@ -55491,7 +55500,7 @@ function oY(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var g_e, __e, v_e, y_e, b_e, x_e, S_e;
+var __e, v_e, y_e, b_e, x_e, S_e, C_e;
function sY() {
return sY = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -55504,7 +55513,7 @@ function sY() {
function cY(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) => {
+var w_e = (e, t) => fB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) => {
var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / rY, d = c ? i : i + a * u, f = aY(t, n, l, d), p = aY(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -55513,7 +55522,7 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
theta: u
};
}, uY = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = C_e(a, o), c = a + s, l = aY(t, n, i, a), u = aY(t, n, i, c), d = uB(g_e ||= cY([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = w_e(a, o), c = a + s, l = aY(t, n, i, a), u = aY(t, n, i, c), d = dB(__e ||= cY([
"M ",
",",
"\n A ",
@@ -55526,7 +55535,7 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = aY(t, n, r, a), p = aY(t, n, r, c);
- d += uB(__e ||= cY([
+ d += dB(v_e ||= cY([
"L ",
",",
"\n A ",
@@ -55537,14 +55546,14 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += uB(v_e ||= cY([
+ } else d += dB(y_e ||= cY([
"L ",
",",
" Z"
]), t, n);
return d;
-}, w_e = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = dB(l - c), { circleTangency: d, lineTangency: f, theta: p } = lY({
+}, T_e = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = fB(l - c), { circleTangency: d, lineTangency: f, theta: p } = lY({
cx: t,
cy: n,
radius: i,
@@ -55561,7 +55570,7 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? uB(y_e ||= cY([
+ if (_ < 0) return o ? dB(b_e ||= cY([
"M ",
",",
"\n a",
@@ -55579,7 +55588,7 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
startAngle: c,
endAngle: l
});
- var v = uB(b_e ||= cY([
+ var v = dB(x_e ||= cY([
"M ",
",",
"\n A",
@@ -55621,7 +55630,7 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += uB(x_e ||= cY([
+ v += dB(S_e ||= cY([
"L",
",",
"\n A",
@@ -55642,13 +55651,13 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += uB(S_e ||= cY([
+ } else v += dB(C_e ||= cY([
"L",
",",
"Z"
]), t, n);
return v;
-}, T_e = {
+}, E_e = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -55659,9 +55668,9 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, dY = (e) => {
- var t = NB(e, T_e), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = PB(e, E_e), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = bh("recharts-sector", d), p = a - i, m = gB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? w_e({
+ var f = bh("recharts-sector", d), p = a - i, m = _B(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? T_e({
cx: n,
cy: r,
innerRadius: i,
@@ -55679,14 +55688,14 @@ var C_e = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 359.999), lY = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ I.createElement("path", sY({}, az(t), {
+ return /*#__PURE__*/ I.createElement("path", sY({}, oz(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function E_e(e, t, n) {
+function D_e(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -55701,7 +55710,7 @@ function E_e(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (kB(t)) {
+ if (AB(t)) {
if (e === "centric") {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = aY(r, i, a, s), l = aY(r, i, o, s);
return [{
@@ -55717,18 +55726,18 @@ function E_e(e, t, n) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function D_e(e) {
- return aB(e) ? NaN : Number(e);
+function O_e(e) {
+ return oB(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function fY(e) {
- return e ? (e = D_e(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = O_e(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 pY(e, t, n) {
- n && typeof n != "number" && CV(e, t, n) && (t = n = void 0), e = fY(e), t === void 0 ? (t = e, e = 0) : t = fY(t), n = n === void 0 ? e < t ? 1 : -1 : fY(n);
+ n && typeof n != "number" && wV(e, t, n) && (t = n = void 0), e = fY(e), t === void 0 ? (t = e, e = 0) : t = fY(t), n = n === void 0 ? e < t ? 1 : -1 : fY(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;
@@ -55749,7 +55758,7 @@ var mY = (e) => e.chartData, hY = $([mY], (e) => {
function vY(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (LW(t) && LW(n)) return !0;
+ if (RW(t) && RW(n)) return !0;
}
return !1;
}
@@ -55759,15 +55768,15 @@ function yY(e, t, n) {
function bY(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (LW(n)) i = n;
+ if (RW(n)) i = n;
else if (typeof n == "function") return;
- if (LW(r)) a = r;
+ if (RW(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
if (vY(o)) return o;
}
}
-function O_e(e, t, n) {
+function k_e(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
@@ -55780,8 +55789,8 @@ function O_e(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && aG.test(i)) {
- var c = aG.exec(i);
+ else if (typeof i == "string" && oG.test(i)) {
+ var c = oG.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -55793,8 +55802,8 @@ function O_e(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && oG.test(a)) {
- var u = oG.exec(a);
+ else if (typeof a == "string" && sG.test(a)) {
+ var u = sG.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -56214,7 +56223,7 @@ var wY = (e) => {
}
var u = r[c] ?? 1, d = new xY.default(u).mul(o);
return t ? d : new xY.default(Math.ceil(d.toNumber()));
-}, k_e = (e, t, n) => {
+}, A_e = (e, t, n) => {
var r = new xY.default(1), i = new xY.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
@@ -56243,7 +56252,7 @@ var wY = (e) => {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return k_e(s, r, i);
+ if (s === c) return A_e(s, r, i);
var { step: u, tickMin: d, tickMax: f } = DY(s, c, o, i, 0, a === "snap125" ? EY : TY), p = CY(d, f.add(new xY.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
}, kY = function(e, t) {
@@ -56252,7 +56261,7 @@ var wY = (e) => {
if (o === s) return [o];
var c = a === "snap125" ? EY : TY, l = Math.max(t, 2), u = c(new xY.default(s).sub(o).div(l - 1), i, 0), d = [...CY(new xY.default(o), new xY.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, AY = (e) => e.rootProps.maxBarSize, jY = (e) => e.rootProps.barGap, MY = (e) => e.rootProps.barCategoryGap, NY = (e) => e.rootProps.barSize, PY = (e) => e.rootProps.stackOffset, FY = (e) => e.rootProps.reverseStackOrder, IY = (e) => e.options.chartName, LY = (e) => e.rootProps.syncId, RY = (e) => e.rootProps.syncMethod, zY = (e) => e.options.eventEmitter, A_e = (e) => e.rootProps.baseValue, BY = {
+}, AY = (e) => e.rootProps.maxBarSize, jY = (e) => e.rootProps.barGap, MY = (e) => e.rootProps.barCategoryGap, NY = (e) => e.rootProps.barSize, PY = (e) => e.rootProps.stackOffset, FY = (e) => e.rootProps.reverseStackOrder, IY = (e) => e.options.chartName, LY = (e) => e.rootProps.syncId, RY = (e) => e.rootProps.syncMethod, zY = (e) => e.options.eventEmitter, j_e = (e) => e.rootProps.baseValue, BY = {
grid: -100,
barBackground: -50,
area: 100,
@@ -56314,7 +56323,7 @@ var wY = (e) => {
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
function WY(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return KW(e, t) ? "category" : "number";
+ if (e != null) return qW(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
@@ -56332,26 +56341,26 @@ function KY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? GY(Object(n), !0).forEach(function(t) {
- j_e(e, t, n[t]);
+ M_e(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 j_e(e, t, n) {
- return (t = M_e(t)) in e ? Object.defineProperty(e, t, {
+function M_e(e, t, n) {
+ return (t = N_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 N_e(e) {
+ var t = P_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function N_e(e, t) {
+function P_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56397,45 +56406,45 @@ var qY = {
niceTicks: "auto"
}, YY = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, gK], (e, t) => {
+}, _K], (e, t) => {
if (e != null) return e;
var n = WY(t, "angleAxis", qY.type) ?? "category";
return KY(KY({}, qY), {}, { type: n });
-}), XY = $([(e, t) => e.polarAxis.radiusAxis[t], gK], (e, t) => {
+}), XY = $([(e, t) => e.polarAxis.radiusAxis[t], _K], (e, t) => {
if (e != null) return e;
var n = WY(t, "radiusAxis", JY.type) ?? "category";
return KY(KY({}, JY), {}, { type: n });
}), ZY = (e) => e.polarOptions, QY = $([
- fG,
pG,
- kG
-], u_e), $Y = $([ZY, QY], (e, t) => {
- if (e != null) return gB(e.innerRadius, t, 0);
+ mG,
+ AG
+], d_e), $Y = $([ZY, QY], (e, t) => {
+ if (e != null) return _B(e.innerRadius, t, 0);
}), eX = $([ZY, QY], (e, t) => {
- if (e != null) return gB(e.outerRadius, t, t * .8);
+ if (e != null) return _B(e.outerRadius, t, t * .8);
}), tX = $([ZY], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), P_e = $([YY, tX], UY), nX = $([
+}), F_e = $([YY, tX], UY), nX = $([
QY,
$Y,
eX
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), F_e = $([XY, nX], UY), rX = $([
- pK,
+}), I_e = $([XY, nX], UY), rX = $([
+ mK,
ZY,
$Y,
eX,
- fG,
- pG
+ pG,
+ mG
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: gB(o, i, i / 2),
- cy: gB(s, a, a / 2),
+ cx: _B(o, i, i / 2),
+ cy: _B(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -56458,7 +56467,7 @@ function sX(e, t, n) {
if (t != null && t.length !== 0) {
var n = oX(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(WW(t, a, null)), c = WW(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(GW(t, a, null)), c = GW(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -56477,7 +56486,7 @@ var lX = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function uX(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function I_e(e, t) {
+function L_e(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -56487,7 +56496,7 @@ function I_e(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
var dX = (e) => {
- var t = pK(e);
+ var t = mK(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
}, fX = (e) => e.tooltip.settings.axisId;
//#endregion
@@ -56539,7 +56548,7 @@ var mX = (e, t) => {
if (!vY(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- LW(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ RW(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -56556,7 +56565,7 @@ function hX(e, t) {
//#region node_modules/d3-array/src/bisector.js
function gX(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = L_e(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = R_e(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -56582,7 +56591,7 @@ function gX(e) {
right: i
};
}
-function L_e(e) {
+function R_e(e) {
return (t, n) => hX(e(t), n);
}
//#endregion
@@ -56590,7 +56599,7 @@ function L_e(e) {
function _X(e) {
return e === null ? NaN : +e;
}
-function* R_e(e, t) {
+function* z_e(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -56604,7 +56613,7 @@ vX.left, gX(_X).center;
//#endregion
//#region node_modules/internmap/src/index.js
var bX = class extends Map {
- constructor(e, t = V_e) {
+ constructor(e, t = H_e) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
@@ -56617,25 +56626,25 @@ var bX = class extends Map {
return super.has(xX(this, e));
}
set(e, t) {
- return super.set(z_e(this, e), t);
+ return super.set(B_e(this, e), t);
}
delete(e) {
- return super.delete(B_e(this, e));
+ return super.delete(V_e(this, e));
}
};
function xX({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function z_e({ _intern: e, _key: t }, n) {
+function B_e({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function B_e({ _intern: e, _key: t }, n) {
+function V_e({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function V_e(e) {
+function H_e(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -56708,15 +56717,15 @@ function jX(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function H_e(e, t, n) {
- if (e = Float64Array.from(R_e(e, n)), r = e.length) {
+function U_e(e, t, n) {
+ if (e = Float64Array.from(z_e(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return kX(e);
if (t >= 1) return OX(e);
var r, i = (r - 1) * t, a = Math.floor(i), o = OX(AX(e, a).subarray(0, a + 1));
return o + (kX(e.subarray(a + 1)) - o) * (i - a);
}
}
-function U_e(e, t, n = _X) {
+function W_e(e, t, n = _X) {
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);
@@ -56726,7 +56735,7 @@ function U_e(e, t, n = _X) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function W_e(e, t, n) {
+function G_e(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;
@@ -56798,7 +56807,7 @@ function LX() {
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 = W_e(e).map(function(e) {
+ var m = G_e(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -56833,7 +56842,7 @@ function RX(e) {
return RX(t());
}, e;
}
-function G_e() {
+function K_e() {
return RX(LX.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -56849,7 +56858,7 @@ function BX(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function VX() {}
-var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", K_e = /^#([0-9a-f]{3,8})$/, q_e = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), J_e = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), Y_e = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), X_e = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Z_e = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), Q_e = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
+var HX = .7, UX = 1 / HX, WX = "\\s*([+-]?\\d+)\\s*", GX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", KX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", q_e = /^#([0-9a-f]{3,8})$/, J_e = RegExp(`^rgb\\(${WX},${WX},${WX}\\)$`), Y_e = RegExp(`^rgb\\(${KX},${KX},${KX}\\)$`), X_e = RegExp(`^rgba\\(${WX},${WX},${WX},${GX}\\)$`), Z_e = RegExp(`^rgba\\(${KX},${KX},${KX},${GX}\\)$`), Q_e = RegExp(`^hsl\\(${GX},${KX},${KX}\\)$`), $_e = RegExp(`^hsla\\(${GX},${KX},${KX},${GX}\\)$`), qX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -57008,18 +57017,18 @@ zX(VX, XX, {
},
hex: JX,
formatHex: JX,
- formatHex8: $_e,
- formatHsl: eve,
+ formatHex8: eve,
+ formatHsl: tve,
formatRgb: YX,
toString: YX
});
function JX() {
return this.rgb().formatHex();
}
-function $_e() {
+function eve() {
return this.rgb().formatHex8();
}
-function eve() {
+function tve() {
return sZ(this).formatHsl();
}
function YX() {
@@ -57027,7 +57036,7 @@ function YX() {
}
function XX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = K_e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(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 = q_e.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = J_e.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Y_e.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = X_e.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Z_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Q_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = q_e.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? ZX(t) : n === 3 ? new eZ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? QX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? QX(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 = J_e.exec(e)) ? new eZ(t[1], t[2], t[3], 1) : (t = Y_e.exec(e)) ? new eZ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = X_e.exec(e)) ? QX(t[1], t[2], t[3], t[4]) : (t = Z_e.exec(e)) ? QX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Q_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, 1) : (t = $_e.exec(e)) ? oZ(t[1], t[2] / 100, t[3] / 100, t[4]) : qX.hasOwnProperty(e) ? ZX(qX[e]) : e === "transparent" ? new eZ(NaN, NaN, NaN, 0) : null;
}
function ZX(e) {
return new eZ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -57035,11 +57044,11 @@ function ZX(e) {
function QX(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new eZ(e, t, n, r);
}
-function tve(e) {
+function nve(e) {
return e instanceof VX || (e = XX(e)), e ? (e = e.rgb(), new eZ(e.r, e.g, e.b, e.opacity)) : new eZ();
}
function $X(e, t, n, r) {
- return arguments.length === 1 ? tve(e) : new eZ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? nve(e) : new eZ(e, t, n, r ?? 1);
}
function eZ(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -57062,14 +57071,14 @@ zX(eZ, $X, BX(VX, {
},
hex: tZ,
formatHex: tZ,
- formatHex8: nve,
+ formatHex8: rve,
formatRgb: nZ,
toString: nZ
}));
function tZ() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}`;
}
-function nve() {
+function rve() {
return `#${aZ(this.r)}${aZ(this.g)}${aZ(this.b)}${aZ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function nZ() {
@@ -57096,13 +57105,13 @@ function sZ(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 cZ(o, s, c, e.opacity);
}
-function rve(e, t, n, r) {
+function ive(e, t, n, r) {
return arguments.length === 1 ? sZ(e) : new cZ(e, t, n, r ?? 1);
}
function cZ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-zX(cZ, rve, BX(VX, {
+zX(cZ, ive, BX(VX, {
brighter(e) {
return e = e == null ? UX : UX ** +e, new cZ(this.h, this.s, this.l * e, this.opacity);
},
@@ -57138,29 +57147,29 @@ function dZ(e, t, n) {
var fZ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function ive(e, t) {
+function ave(e, t) {
return function(n) {
return e + n * t;
};
}
-function ave(e, t, n) {
+function ove(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function ove(e) {
+function sve(e) {
return (e = +e) == 1 ? pZ : function(t, n) {
- return n - t ? ave(t, n, e) : fZ(isNaN(t) ? n : t);
+ return n - t ? ove(t, n, e) : fZ(isNaN(t) ? n : t);
};
}
function pZ(e, t) {
var n = t - e;
- return n ? ive(e, n) : fZ(isNaN(e) ? t : e);
+ return n ? ave(e, n) : fZ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var mZ = (function e(t) {
- var n = ove(t);
+ var n = sve(t);
function r(e, t) {
var r = n((e = $X(e)).r, (t = $X(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = pZ(e.opacity, t.opacity);
return function(t) {
@@ -57171,7 +57180,7 @@ var mZ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function sve(e, t) {
+function cve(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -57179,12 +57188,12 @@ function sve(e, t) {
return r;
};
}
-function cve(e) {
+function lve(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function lve(e, t) {
+function uve(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
for (o = 0; o < r; ++o) i[o] = vZ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
@@ -57195,7 +57204,7 @@ function lve(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function uve(e, t) {
+function dve(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -57210,7 +57219,7 @@ function hZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function dve(e, t) {
+function fve(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] = vZ(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -57221,23 +57230,23 @@ function dve(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var gZ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, _Z = new RegExp(gZ.source, "g");
-function fve(e) {
+function pve(e) {
return function() {
return e;
};
}
-function pve(e) {
+function mve(e) {
return function(t) {
return e(t) + "";
};
}
-function mve(e, t) {
+function hve(e, t) {
var n = gZ.lastIndex = _Z.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = gZ.exec(e)) && (i = _Z.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: hZ(r, i)
})), n = _Z.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? pve(c[0].x) : fve(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] ? mve(c[0].x) : pve(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("");
});
@@ -57246,7 +57255,7 @@ function mve(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function vZ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : mve : t instanceof XX ? mZ : t instanceof Date ? uve : cve(t) ? sve : Array.isArray(t) ? lve : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? dve : hZ)(e, t);
+ return t == null || n === "boolean" ? fZ(t) : (n === "number" ? hZ : n === "string" ? (r = XX(t)) ? (t = r, mZ) : hve : t instanceof XX ? mZ : t instanceof Date ? dve : lve(t) ? cve : Array.isArray(t) ? uve : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? fve : hZ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -57257,7 +57266,7 @@ function yZ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function hve(e, t) {
+function gve(e, t) {
t === void 0 && (t = e, e = vZ);
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) {
@@ -57267,7 +57276,7 @@ function hve(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function gve(e) {
+function _ve(e) {
return function() {
return e;
};
@@ -57286,21 +57295,21 @@ function SZ(e) {
function CZ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : gve(isNaN(t) ? NaN : .5);
+ } : _ve(isNaN(t) ? NaN : .5);
}
-function _ve(e, t) {
+function vve(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function vve(e, t, n) {
+function yve(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = CZ(i, r), a = n(o, a)) : (r = CZ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function yve(e, t, n) {
+function bve(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] = CZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -57315,7 +57324,7 @@ function TZ() {
var e = xZ, t = xZ, n = vZ, r, i, a, o = SZ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== SZ && (o = _ve(e[0], e[n - 1])), s = n > 2 ? yve : vve, c = l = null, d;
+ return o !== SZ && (o = vve(e[0], e[n - 1])), s = n > 2 ? bve : yve, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -57343,7 +57352,7 @@ function EZ() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function bve(e) {
+function xve(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function DZ(e, t) {
@@ -57358,7 +57367,7 @@ function OZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function xve(e, t) {
+function Sve(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);
@@ -57366,7 +57375,7 @@ function xve(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function Sve(e) {
+function Cve(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -57375,9 +57384,9 @@ function Sve(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var Cve = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var wve = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function kZ(e) {
- if (!(t = Cve.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = wve.exec(e))) throw Error("invalid format: " + e);
var t;
return new AZ({
fill: t[1],
@@ -57401,7 +57410,7 @@ AZ.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function wve(e) {
+function Tve(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -57418,7 +57427,7 @@ function wve(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var jZ;
-function Tve(e, t) {
+function Eve(e, t) {
var n = DZ(e, t);
if (!n) return jZ = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (jZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -57438,14 +57447,14 @@ var NZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: bve,
+ d: xve,
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) => MZ(e * 100, t),
r: MZ,
- s: Tve,
+ s: Eve,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -57475,8 +57484,8 @@ var FZ = Array.prototype.map, IZ = [
"Z",
"Y"
];
-function Eve(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : xve(FZ.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 ? PZ : Sve(FZ.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 Dve(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? PZ : Sve(FZ.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 ? PZ : Cve(FZ.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 = kZ(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;
@@ -57489,7 +57498,7 @@ function Eve(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = wve(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = Tve(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && jZ !== void 0 ? IZ[8 + jZ / 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;
@@ -57530,27 +57539,27 @@ function Eve(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var LZ, RZ, zZ;
-Dve({
+Ove({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function Dve(e) {
- return LZ = Eve(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
+function Ove(e) {
+ return LZ = Dve(e), RZ = LZ.format, zZ = LZ.formatPrefix, LZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function Ove(e) {
+function kve(e) {
return Math.max(0, -OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function kve(e, t) {
+function Ave(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(OZ(t) / 3))) * 3 - OZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function Ave(e, t) {
+function jve(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, OZ(t) - OZ(e)) + 1;
}
//#endregion
@@ -57560,16 +57569,16 @@ function BZ(e, t, n, r) {
switch (r = kZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = kve(i, o)) && (r.precision = a), zZ(r, o);
+ return r.precision == null && !isNaN(a = Ave(i, o)) && (r.precision = a), zZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = Ave(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = jve(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = Ove(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = kve(i)) && (r.precision = a - (r.type === "%") * 2);
}
return RZ(r);
}
@@ -57632,19 +57641,19 @@ function GZ(e) {
function KZ(e) {
return Math.exp(e);
}
-function jve(e) {
- return -Math.log(-e);
-}
function Mve(e) {
- return -Math.exp(-e);
+ return -Math.log(-e);
}
function Nve(e) {
- return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
+ return -Math.exp(-e);
}
function Pve(e) {
- return e === 10 ? Nve : e === Math.E ? Math.exp : (t) => e ** +t;
+ return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
function Fve(e) {
+ return e === 10 ? Pve : e === Math.E ? Math.exp : (t) => e ** +t;
+}
+function Ive(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 qZ(e) {
@@ -57653,7 +57662,7 @@ function qZ(e) {
function JZ(e) {
let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = Fve(r), a = Pve(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(jve, Mve)) : e(GZ, KZ), t;
+ return i = Ive(r), a = Fve(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(Mve, Nve)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -57723,16 +57732,16 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function Ive(e) {
+function Lve(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function Lve(e) {
+function Rve(e) {
return e < 0 ? -e * e : e * e;
}
function tQ(e) {
var t = e(SZ, SZ), n = 1;
function r() {
- return n === 1 ? e(SZ, SZ) : n === .5 ? e(Ive, Lve) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(SZ, SZ) : n === .5 ? e(Lve, Rve) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -57744,7 +57753,7 @@ function nQ() {
return wZ(e, nQ()).exponent(e.exponent());
}, NX.apply(e, arguments), e;
}
-function Rve() {
+function zve() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -57752,13 +57761,13 @@ function Rve() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function zve(e) {
+function Bve(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function iQ() {
var e = EZ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = zve(e(t));
+ var i = Bve(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -57785,7 +57794,7 @@ function aQ() {
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] = U_e(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = W_e(e, r / i);
return a;
}
function a(e) {
@@ -57954,8 +57963,8 @@ function DQ(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * pQ) / gQ);
}
-var OQ = DQ(0), kQ = DQ(1), Bve = DQ(2), Vve = DQ(3), AQ = DQ(4), Hve = DQ(5), Uve = DQ(6);
-OQ.range, kQ.range, Bve.range, Vve.range, AQ.range, Hve.range, Uve.range;
+var OQ = DQ(0), kQ = DQ(1), Vve = DQ(2), Hve = DQ(3), AQ = DQ(4), Uve = DQ(5), Wve = DQ(6);
+OQ.range, kQ.range, Vve.range, Hve.range, AQ.range, Uve.range, Wve.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -57963,8 +57972,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), Wve = jQ(2), Gve = jQ(3), PQ = jQ(4), Kve = jQ(5), qve = jQ(6);
-MQ.range, NQ.range, Wve.range, Gve.range, PQ.range, Kve.range, qve.range;
+var MQ = jQ(0), NQ = jQ(1), Gve = jQ(2), Kve = jQ(3), PQ = jQ(4), qve = jQ(5), Jve = jQ(6);
+MQ.range, NQ.range, Gve.range, Kve.range, PQ.range, qve.range, Jve.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -58111,7 +58120,7 @@ function zQ(e, t, n, r, i, a) {
}
return [s, c];
}
-var [Jve, Yve] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Xve, Zve] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [Yve, Xve] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Zve, Qve] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -58139,7 +58148,7 @@ function HQ(e, t, n) {
L: 0
};
}
-function Qve(e) {
+function $ve(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 = KQ(i), u = qQ(i), d = KQ(a), f = qQ(a), p = KQ(o), m = qQ(o), h = KQ(s), g = qQ(s), _ = KQ(c), v = qQ(c), y = {
a: N,
A: ee,
@@ -58148,30 +58157,30 @@ function Qve(e) {
c: null,
d: QQ,
e: QQ,
- f: xye,
- g: jye,
- G: Nye,
- H: vye,
- I: yye,
- j: bye,
+ f: Sye,
+ g: Mye,
+ G: Pye,
+ H: yye,
+ I: bye,
+ j: xye,
L: $Q,
- m: Sye,
- M: Cye,
+ m: Cye,
+ M: wye,
p: ne,
q: F,
Q: a$,
s: o$,
- S: wye,
- u: Tye,
- U: Eye,
- V: Dye,
- w: Oye,
- W: kye,
+ S: Tye,
+ u: Eye,
+ U: Dye,
+ V: Oye,
+ w: kye,
+ W: Aye,
x: null,
X: null,
- y: Aye,
- Y: Mye,
- Z: Pye,
+ y: jye,
+ Y: Nye,
+ Z: Fye,
"%": i$
}, b = {
a: re,
@@ -58181,30 +58190,30 @@ function Qve(e) {
c: null,
d: t$,
e: t$,
- f: Rye,
- g: Jye,
- G: Xye,
- H: Fye,
- I: Iye,
- j: Lye,
+ f: zye,
+ g: Yye,
+ G: Zye,
+ H: Iye,
+ I: Lye,
+ j: Rye,
L: n$,
- m: zye,
- M: Bye,
+ m: Bye,
+ M: Vye,
p: se,
q: ce,
Q: a$,
s: o$,
- S: Vye,
- u: Hye,
- U: Uye,
- V: Wye,
- w: Gye,
- W: Kye,
+ S: Hye,
+ u: Uye,
+ U: Wye,
+ V: Gye,
+ w: Kye,
+ W: qye,
x: null,
X: null,
- y: qye,
- Y: Yye,
- Z: Zye,
+ y: Jye,
+ Y: Xye,
+ Z: Qye,
"%": i$
}, x = {
a: E,
@@ -58214,31 +58223,31 @@ function Qve(e) {
c: A,
d: XQ,
e: XQ,
- f: mye,
+ f: hye,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: uye,
- L: pye,
- m: lye,
- M: dye,
+ j: dye,
+ L: mye,
+ m: uye,
+ M: fye,
p: T,
- q: cye,
- Q: gye,
- s: _ye,
- S: fye,
- u: rye,
- U: iye,
- V: aye,
- w: nye,
- W: oye,
+ q: lye,
+ Q: _ye,
+ s: vye,
+ S: pye,
+ u: iye,
+ U: aye,
+ V: oye,
+ w: rye,
+ W: sye,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: sye,
- "%": hye
+ Z: cye,
+ "%": gye
};
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) {
@@ -58366,37 +58375,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, $ve = /^%/, eye = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, eye = /^%/, tye = /[\\^$*+?|[\]().{}]/g;
function GQ(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 tye(e) {
- return e.replace(eye, "\\$&");
+function nye(e) {
+ return e.replace(tye, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(tye).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(nye).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function nye(e, t, n) {
+function rye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function rye(e, t, n) {
+function iye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function iye(e, t, n) {
+function aye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function aye(e, t, n) {
+function oye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function oye(e, t, n) {
+function sye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -58408,15 +58417,15 @@ function YQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function sye(e, t, n) {
+function cye(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 cye(e, t, n) {
+function lye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function lye(e, t, n) {
+function uye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -58424,7 +58433,7 @@ function XQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function uye(e, t, n) {
+function dye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -58432,159 +58441,159 @@ function ZQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function dye(e, t, n) {
+function fye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function fye(e, t, n) {
+function pye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function pye(e, t, n) {
+function mye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function mye(e, t, n) {
+function hye(e, t, n) {
var r = WQ.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function hye(e, t, n) {
- var r = $ve.exec(t.slice(n, n + 1));
+function gye(e, t, n) {
+ var r = eye.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function gye(e, t, n) {
+function _ye(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function _ye(e, t, n) {
+function vye(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function QQ(e, t) {
return GQ(e.getDate(), t, 2);
}
-function vye(e, t) {
+function yye(e, t) {
return GQ(e.getHours(), t, 2);
}
-function yye(e, t) {
+function bye(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function bye(e, t) {
+function xye(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function xye(e, t) {
+function Sye(e, t) {
return $Q(e, t) + "000";
}
-function Sye(e, t) {
+function Cye(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Cye(e, t) {
+function wye(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function wye(e, t) {
+function Tye(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function Tye(e) {
+function Eye(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function Eye(e, t) {
+function Dye(e, t) {
return GQ(OQ.count(LQ(e) - 1, e), t, 2);
}
function e$(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? AQ(e) : AQ.ceil(e);
}
-function Dye(e, t) {
+function Oye(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function Oye(e) {
+function kye(e) {
return e.getDay();
}
-function kye(e, t) {
+function Aye(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function Aye(e, t) {
+function jye(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function jye(e, t) {
+function Mye(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function Mye(e, t) {
+function Nye(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function Nye(e, t) {
+function Pye(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function Pye(e) {
+function Fye(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + GQ(t / 60 | 0, "0", 2) + GQ(t % 60, "0", 2);
}
function t$(e, t) {
return GQ(e.getUTCDate(), t, 2);
}
-function Fye(e, t) {
+function Iye(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function Iye(e, t) {
+function Lye(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function Lye(e, t) {
+function Rye(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function Rye(e, t) {
+function zye(e, t) {
return n$(e, t) + "000";
}
-function zye(e, t) {
+function Bye(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function Bye(e, t) {
+function Vye(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function Vye(e, t) {
+function Hye(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function Hye(e) {
+function Uye(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function Uye(e, t) {
+function Wye(e, t) {
return GQ(MQ.count(RQ(e) - 1, e), t, 2);
}
function r$(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? PQ(e) : PQ.ceil(e);
}
-function Wye(e, t) {
+function Gye(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function Gye(e) {
+function Kye(e) {
return e.getUTCDay();
}
-function Kye(e, t) {
+function qye(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function qye(e, t) {
+function Jye(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Jye(e, t) {
+function Yye(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Yye(e, t) {
+function Xye(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Xye(e, t) {
+function Zye(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Zye() {
+function Qye() {
return "+0000";
}
function i$() {
@@ -58599,7 +58608,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-Qye({
+$ye({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -58651,15 +58660,15 @@ Qye({
"Dec"
]
});
-function Qye(e) {
- return s$ = Qve(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function $ye(e) {
+ return s$ = $ve(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function $ye(e) {
+function ebe(e) {
return new Date(e);
}
-function ebe(e) {
+function tbe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
@@ -58670,7 +58679,7 @@ function u$(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, ebe)) : f().map($ye);
+ return arguments.length ? f(Array.from(e, tbe)) : f().map(ebe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -58683,13 +58692,13 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return wZ(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function tbe() {
- return NX.apply(u$(Xve, Zve, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function nbe() {
+ return NX.apply(u$(Zve, Qve, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function nbe() {
- return NX.apply(u$(Jve, Yve, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function rbe() {
+ return NX.apply(u$(Yve, Xve, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -58744,7 +58753,7 @@ function g$() {
return f$(e, g$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function rbe() {
+function ibe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -58764,7 +58773,7 @@ function _$() {
}, 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) => H_e(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => U_e(e, r / t));
}, n.copy = function() {
return _$(t).domain(e);
}, PX.apply(n, arguments);
@@ -58790,7 +58799,7 @@ function v$() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = hve(e, [
+ return arguments.length ? ([n, r, i] = t, l = gve(e, [
n,
r,
i
@@ -58835,7 +58844,7 @@ function S$() {
return f$(e, S$()).exponent(e.exponent());
}, PX.apply(e, arguments);
}
-function ibe() {
+function abe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -58845,14 +58854,14 @@ var C$ = /* @__PURE__ */ re({
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => ibe,
+ scaleDivergingSqrt: () => abe,
scaleDivergingSymlog: () => x$,
scaleIdentity: () => UZ,
scaleImplicit: () => FX,
scaleLinear: () => HZ,
scaleLog: () => YZ,
scaleOrdinal: () => IX,
- scalePoint: () => G_e,
+ scalePoint: () => K_e,
scalePow: () => nQ,
scaleQuantile: () => aQ,
scaleQuantize: () => oQ,
@@ -58861,26 +58870,26 @@ var C$ = /* @__PURE__ */ re({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => rbe,
+ scaleSequentialSqrt: () => ibe,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => Rve,
+ scaleSqrt: () => zve,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => tbe,
- scaleUtc: () => nbe,
+ scaleTime: () => nbe,
+ scaleUtc: () => rbe,
tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function abe(e) {
+function obe(e) {
if (e in C$) return C$[e]();
- var t = `scale${xB(e)}`;
+ var t = `scale${SB(e)}`;
if (t in C$) return C$[t]();
}
function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = abe(e);
+ var r = obe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -58889,22 +58898,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function obe(e) {
- return `scale${xB(e)}`;
-}
function sbe(e) {
- return obe(e) in C$;
+ return `scale${SB(e)}`;
+}
+function cbe(e) {
+ return sbe(e) in C$;
}
var E$ = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return sbe(r) ? r : "point";
+ if (typeof r == "string") return cbe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function cbe(e, t) {
+function lbe(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;
@@ -58915,7 +58924,7 @@ function D$(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 = cbe(r, e);
+ var t = lbe(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;
@@ -58925,7 +58934,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function lbe(e) {
+function ube(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -58944,26 +58953,26 @@ function k$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? O$(Object(n), !0).forEach(function(t) {
- ube(e, t, n[t]);
+ dbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ube(e, t, n) {
- return (t = dbe(t)) in e ? Object.defineProperty(e, t, {
+function dbe(e, t, n) {
+ return (t = fbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dbe(e) {
- var t = fbe(e, "string");
+function fbe(e) {
+ var t = pbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fbe(e, t) {
+function pbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59031,7 +59040,7 @@ var A$ = [0, "auto"], j$ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, pbe = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, mbe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -59044,7 +59053,7 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? pbe, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? mbe, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -59053,7 +59062,7 @@ var A$ = [0, "auto"], j$ = {
case "radiusAxis": return XY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, mbe = (e, t, n) => {
+}, hbe = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -59080,22 +59089,22 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, hbe = $([iX, aX], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, gbe = $([iX, aX], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- hbe
-], U$, { memoizeOptions: { resultEqualityCheck: uX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(cX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), gbe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), _be = $([W$], q$, { memoizeOptions: { resultEqualityCheck: uX } }), J$ = (e, t) => {
+ gbe
+], U$, { memoizeOptions: { resultEqualityCheck: uX } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(cX)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), _be = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), vbe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: uX } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([_be, gY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: WW(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: WW(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([vbe, gY], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: GW(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: GW(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
], X$);
function Q$(e) {
- if (mB(e) || e instanceof Date) {
+ if (hB(e) || e instanceof Date) {
var t = Number(e);
- if (LW(t)) return t;
+ if (RW(t)) return t;
}
}
function $$(e) {
@@ -59107,13 +59116,13 @@ function $$(e) {
if (n != null) return [n, n];
}
function e1(e) {
- return e.map(Q$).filter(SB);
+ return e.map(Q$).filter(CB);
}
-function vbe(e, t) {
+function ybe(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var ybe = $([Z$], (e) => e?.map((e) => e.value).sort(vbe));
+var bbe = $([Z$], (e) => e?.map((e) => e.value).sort(ybe));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -59121,13 +59130,13 @@ function t1(e, t) {
default: return !1;
}
}
-function bbe(e, t, n) {
- return !n || typeof t != "number" || fB(t) || !n.length ? [] : e1(n.flatMap((n) => {
- var r = WW(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!LW(i) || !LW(a))) return [t - i, t + a];
+function xbe(e, t, n) {
+ return !n || typeof t != "number" || pB(t) || !n.length ? [] : e1(n.flatMap((n) => {
+ var r = GW(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!RW(i) || !RW(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
+var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), Sbe = $([
G$,
gY,
n1
@@ -59140,22 +59149,22 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: ZW(e, o.map(oX), n),
+ stackedData: QW(e, o.map(oX), n),
graphicalItems: o
}];
}));
}, a1 = $([
- xbe,
+ Sbe,
G$,
PY,
FY
], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = iG(e, i, a);
+ var o = aG(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Sbe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, Cbe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
if (e == null || !("domain" in e)) return A$;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -59166,12 +59175,12 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, Sbe], bY), Cbe = $([
+}, c1 = $([R$], s1), l1 = $([c1, Cbe], bY), wbe = $([
a1,
mY,
iX,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: lX } }), u1 = (e) => e.errorBars, wbe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: lX } }), u1 = (e) => e.errorBars, Tbe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -59181,7 +59190,7 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = WW(e, t.dataKey ?? n.dataKey), l = bbe(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = GW(e, t.dataKey ?? n.dataKey), l = xbe(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
@@ -59190,32 +59199,32 @@ var n1 = (e) => z$(e, dX(e), fX(e)), r1 = $([n1], (e) => e?.dataKey), xbe = $([
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = $$(WW(e, t.dataKey));
+ var n = $$(GW(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
- }), LW(a) && LW(o)) return [a, o];
-}, Tbe = $([
+ }), RW(a) && RW(o)) return [a, o];
+}, Ebe = $([
Y$,
R$,
- gbe,
+ _be,
u1,
iX
], f1, { memoizeOptions: { resultEqualityCheck: lX } });
-function Ebe(e) {
+function Dbe(e) {
var { value: t } = e;
- if (mB(t) || t instanceof Date) return t;
+ if (hB(t) || t instanceof Date) return t;
}
-var Dbe = (e, t, n) => {
- var r = e.map(Ebe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && _B(r)) ? pY(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Obe = $([
+var Obe = (e, t, n) => {
+ var r = e.map(Dbe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && vB(r)) ? pY(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), kbe = $([
p1,
iX,
aX
-], m1), h1 = (e) => e.referenceElements.areas, kbe = $([
+], m1), h1 = (e) => e.referenceElements.areas, Abe = $([
h1,
iX,
aX
-], m1), g1 = (e) => e.referenceElements.lines, Abe = $([
+], m1), g1 = (e) => e.referenceElements.lines, jbe = $([
g1,
iX,
aX
@@ -59224,49 +59233,49 @@ var Dbe = (e, t, n) => {
var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, jbe = $(Obe, iX, _1), v1 = (e, t) => {
+}, Mbe = $(kbe, iX, _1), v1 = (e, t) => {
if (e != null) {
var n = e1(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)];
}
-}, Mbe = $([kbe, iX], v1);
-function Nbe(e) {
+}, Nbe = $([Abe, iX], v1);
+function Pbe(e) {
if (e.x != null) return e1([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : e1(t);
}
-function Pbe(e) {
+function Fbe(e) {
if (e.y != null) return e1([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : e1(t);
}
var y1 = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? Nbe(e) : Pbe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Pbe(e) : Fbe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Fbe = $(jbe, $([Abe, iX], y1), Mbe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? O_e(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), Ibe = $([
+}, Ibe = $(Mbe, $([jbe, iX], y1), Nbe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? k_e(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), Lbe = $([
R$,
c1,
l1,
- Cbe,
- Tbe,
- Fbe,
- pK,
+ wbe,
+ Ebe,
+ Ibe,
+ mK,
iX
-], b1, { memoizeOptions: { resultEqualityCheck: lX } }), Lbe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+], b1, { memoizeOptions: { resultEqualityCheck: lX } }), Rbe = [0, 1], x1 = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var { dataKey: s, type: c } = e, l = KW(t, a);
- return l && s == null ? pY(0, n?.length ?? 0) : c === "category" ? Dbe(r, e, l) : i === "expand" ? Lbe : o;
+ var { dataKey: s, type: c } = e, l = qW(t, a);
+ return l && s == null ? pY(0, n?.length ?? 0) : c === "category" ? Obe(r, e, l) : i === "expand" ? Rbe : o;
}
}, S1 = $([
R$,
- pK,
+ mK,
Y$,
Z$,
PY,
iX,
- Ibe
+ Lbe
], x1), C1 = $([
R$,
B$,
@@ -59294,7 +59303,7 @@ var y1 = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, Rbe = $([
+}, zbe = $([
R$,
S1,
T1,
@@ -59314,22 +59323,22 @@ var y1 = (e, t) => {
}
return n / o;
}
-}), pK, MY, kG, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!LW(e)) return 0;
+}), mK, MY, AG, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!RW(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = gB(n, e * a), s = e * a / 2;
+ var o = _B(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), zbe = (e, t, n) => {
+}), Bbe = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, Bbe = (e, t, n) => {
+}, Vbe = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, Vbe = $(N$, zbe, (e, t) => {
+}, Hbe = $(N$, Bbe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -59342,7 +59351,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), Hbe = $(I$, Bbe, (e, t) => {
+}), Ube = $(I$, Vbe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -59355,29 +59364,29 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), Ube = $([
- kG,
- Vbe,
+}), Wbe = $([
+ AG,
+ Hbe,
+ IG,
FG,
- PG,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), Wbe = $([
- kG,
- pK,
- Hbe,
+}), Gbe = $([
+ AG,
+ mK,
+ Ube,
+ IG,
FG,
- PG,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return Ube(e, n, r);
- case "yAxis": return Wbe(e, n, r);
+ case "xAxis": return Wbe(e, n, r);
+ case "yAxis": return Gbe(e, n, r);
case "zAxis": return L$(e, n)?.range;
case "angleAxis": return tX(e);
case "radiusAxis": return nX(e, n);
@@ -59386,67 +59395,67 @@ var y1 = (e, t) => {
}, k1 = $([R$, O1], UY), A1 = $([
R$,
C1,
- $([C1, Rbe], mX),
+ $([C1, zbe], mX),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (KW(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (qW(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, M1 = $([
- pK,
+ mK,
Z$,
z$,
iX
], j1), N1 = $([A1], pX);
-$([A1], lbe), $([A1, ybe], D$), $([
+$([A1], ube), $([A1, bbe], D$), $([
W$,
u1,
iX
-], wbe);
+], Tbe);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), Kbe = $(_G, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
+var F1 = (e, t) => t, I1 = (e, t, n) => n, Kbe = $(_G, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), qbe = $(vG, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
width: e.width,
height: t.height
-}), qbe = (e, t) => ({
+}), Jbe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(kG, N$, L1), Jbe = (e, t, n) => {
+}), R1 = $(AG, N$, L1), Ybe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Ybe = (e, t, n) => {
+}, Xbe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, Xbe = $(pG, kG, Gbe, F1, I1, (e, t, n, r, i) => {
+}, Zbe = $(mG, AG, Kbe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= Jbe(t, r, e);
+ o ??= Ybe(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;
-}), Zbe = $(fG, kG, Kbe, F1, I1, (e, t, n, r, i) => {
+}), Qbe = $(pG, AG, qbe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = qbe(t, n);
- o ??= Ybe(t, r, e);
+ var s = Jbe(t, n);
+ o ??= Xbe(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;
-}), Qbe = $([
- kG,
+}), $be = $([
+ AG,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return Xbe(e, n.orientation, n.mirror);
+ if (n != null) return Zbe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -59460,12 +59469,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), $be = $([
- kG,
+}), exe = $([
+ AG,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return Zbe(e, n.orientation, n.mirror);
+ if (n != null) return Qbe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -59479,7 +59488,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
y: e.top
};
}
-}), z1 = $(kG, I$, (e, t) => ({
+}), z1 = $(AG, I$, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), B1 = (e, t, n) => {
@@ -59490,17 +59499,17 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
}
}, V1 = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = KW(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && _B(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = qW(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && vB(c)) return c;
}
}, H1 = $([
- pK,
+ mK,
Z$,
R$,
iX
], V1), U1 = $([
- pK,
- mbe,
+ mK,
+ hbe,
C1,
N1,
H1,
@@ -59510,7 +59519,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
iX
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = KW(e, c);
+ var l = qW(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -59534,45 +59543,45 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
}
}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = KW(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? dB(a[0] - a[1]) * 2 * m : m;
+ var l = qW(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? fB(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return LW(i) ? {
+ return RW(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(SB) : l && s ? s.map((e, t) => {
+ }).filter(CB) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(SB) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(CB) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(SB) : r.domain().map((e, t) => {
+ }).filter(CB) : r.domain().map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(SB);
+ }).filter(CB);
}
}, G1 = $([
- pK,
+ mK,
z$,
C1,
N1,
@@ -59583,35 +59592,35 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, Gbe = $(gG, F1, I1, (e, t, n) => e.fi
iX
], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = KW(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? dB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = qW(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? fB(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return LW(r) ? {
+ return RW(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(SB) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(CB) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return LW(r) ? {
+ return RW(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(SB) : n.domain().map((e, t) => {
+ }).filter(CB) : n.domain().map((e, t) => {
var r = n.map(e);
- return LW(r) ? {
+ return RW(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(SB);
+ }).filter(CB);
}
}, q1 = $([
- pK,
+ mK,
z$,
N1,
O1,
@@ -59629,10 +59638,10 @@ $((e, t, n) => L$(e, n), $([$([
], T$)], pX), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var exe = $([
- pK,
- gG,
- _G
+var txe = $([
+ mK,
+ _G,
+ vG
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -59663,21 +59672,21 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function txe(e) {
+function nxe(e) {
return Q((t) => Q1(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var $1 = (e, t) => {
var n, r = Number(t);
- if (!(fB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, nxe = (e) => e.tooltip.settings, e0 = {
+ if (!(pB(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, rxe = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, t0 = HU({
+}, t0 = UU({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -59710,23 +59719,23 @@ var $1 = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(hq(t.payload));
+ e.tooltipItemPayloads.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).tooltipItemPayloads.indexOf(hq(n));
- i > -1 && (e.tooltipItemPayloads[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).tooltipItemPayloads.indexOf(gq(n));
+ i > -1 && (e.tooltipItemPayloads[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = pU(e).tooltipItemPayloads.indexOf(hq(t.payload));
+ var n = mU(e).tooltipItemPayloads.indexOf(gq(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -59756,7 +59765,7 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: rxe, replaceTooltipEntrySettings: ixe, removeTooltipEntrySettings: axe, setTooltipSettingsState: oxe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: sxe, mouseLeaveChart: r0, setActiveClickItemIndex: cxe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: lxe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, uxe = t0.reducer;
+}), { addTooltipEntrySettings: ixe, replaceTooltipEntrySettings: axe, removeTooltipEntrySettings: oxe, setTooltipSettingsState: sxe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: cxe, mouseLeaveChart: r0, setActiveClickItemIndex: lxe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: uxe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, dxe = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function s0(e, t) {
@@ -59773,26 +59782,26 @@ function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? s0(Object(n), !0).forEach(function(t) {
- dxe(e, t, n[t]);
+ fxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dxe(e, t, n) {
- return (t = fxe(t)) in e ? Object.defineProperty(e, t, {
+function fxe(e, t, n) {
+ return (t = pxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fxe(e) {
- var t = pxe(e, "string");
+function pxe(e) {
+ var t = mxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pxe(e, t) {
+function mxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59802,21 +59811,21 @@ function pxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mxe(e, t, n) {
+function hxe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function hxe(e) {
+function gxe(e) {
return e.index != null;
}
var l0 = (e, t, n, r) => {
if (t == null) return e0;
- var i = mxe(e, t, n);
+ var i = hxe(e, t, n);
if (i == null) return e0;
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 (hxe(i)) {
+ if (gxe(i)) {
if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -59829,7 +59838,7 @@ var l0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function gxe(e) {
+function _xe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -59838,24 +59847,24 @@ function gxe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function _xe(e, t) {
- var n = gxe(e), r = t[0], i = t[1];
+function vxe(e, t) {
+ var n = _xe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function vxe(e, t, n) {
+function yxe(e, t, n) {
if (n == null || t == null) return !0;
- var r = WW(e, t);
- return r == null || !vY(n) || _xe(r, n);
+ var r = GW(e, t);
+ return r == null || !vY(n) || vxe(r, n);
}
var u0 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!LW(a)) return i;
+ if (!RW(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || vxe(l, n, r) ? String(c) : null;
+ return l == null || yxe(l, n, r) ? String(c) : null;
}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -59899,26 +59908,26 @@ function g0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h0(Object(n), !0).forEach(function(t) {
- yxe(e, t, n[t]);
+ bxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yxe(e, t, n) {
- return (t = bxe(t)) in e ? Object.defineProperty(e, t, {
+function bxe(e, t, n) {
+ return (t = xxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bxe(e) {
- var t = xxe(e, "string");
+function xxe(e) {
+ var t = Sxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xxe(e, t) {
+function Sxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59928,57 +59937,57 @@ function xxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Sxe(e) {
+function Cxe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Cxe(e) {
+function wxe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function wxe(e) {
+function Txe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function _0(e) {
if (typeof e == "string") return e;
}
-function Txe(e) {
+function Exe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? Sxe(e.name) : void 0,
- unit: "unit" in e ? Cxe(e.unit) : void 0,
- dataKey: "dataKey" in e ? wxe(e.dataKey) : void 0,
+ name: "name" in e ? Cxe(e.name) : void 0,
+ unit: "unit" in e ? wxe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? Txe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? _0(e.color) : void 0,
fill: "fill" in e ? _0(e.fill) : void 0
};
}
-function Exe(e, t) {
+function Dxe(e, t) {
return e ?? t;
}
var v0 = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = Exe(d, s), m = Array.isArray(p) ? IW(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? yB(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = Dxe(d, s), m = Array.isArray(p) ? LW(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? bB(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = Txe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
+ var n = Exe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(cG({
+ e.push(lG({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: WW(a, i),
+ value: GW(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(cG({
+ }) : e.push(lG({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: WW(_, h),
- name: WW(_, g) ?? f?.name
+ value: GW(_, h),
+ name: GW(_, g) ?? f?.name
})), e;
}, []);
}
@@ -59990,17 +59999,17 @@ var v0 = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
$([dX, fX], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: uX } }), Dxe = $([b0], (e) => e.filter(cX)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: uX } }), mY], J$), Oxe = $([
- Dxe,
+], U$, { memoizeOptions: { resultEqualityCheck: uX } }), Oxe = $([b0], (e) => e.filter(cX)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: uX } }), mY], J$), kxe = $([
+ Oxe,
mY,
n1
], sX), S0 = $([
x0,
n1,
b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], bY), kxe = $([
+], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], bY), Axe = $([
$([
- Oxe,
+ kxe,
$([b0], (e) => e.filter(cX)),
PY,
FY
@@ -60008,23 +60017,23 @@ var v0 = (e, t, n, r, i, a, o) => {
mY,
dX,
w0
-], o1), Axe = $([
+], o1), jxe = $([
x0,
n1,
$([b0], K$),
u1,
dX
-], f1, { memoizeOptions: { resultEqualityCheck: lX } }), jxe = $([$([
+], f1, { memoizeOptions: { resultEqualityCheck: lX } }), Mxe = $([$([
p1,
dX,
fX
-], m1), dX], _1), Mxe = $([$([
+], m1), dX], _1), Nxe = $([$([
h1,
dX,
fX
], m1), dX], v1), T0 = $([
n1,
- pK,
+ mK,
x0,
S0,
PY,
@@ -60033,21 +60042,21 @@ var v0 = (e, t, n, r, i, a, o) => {
n1,
C0,
w0,
- kxe,
Axe,
+ jxe,
$([
- jxe,
+ Mxe,
$([$([
g1,
dX,
fX
], m1), dX], y1),
- Mxe
+ Nxe
], d1),
- pK,
+ mK,
dX
], b1)
-], x1), Nxe = $([
+], x1), Pxe = $([
n1,
T0,
$([
@@ -60059,22 +60068,22 @@ var v0 = (e, t, n, r, i, a, o) => {
], E1), E0 = (e) => O1(e, dX(e), fX(e), !1), D0 = $([n1, E0], UY), O0 = $([$([
n1,
y0,
- Nxe,
+ Pxe,
D0
], T$)], pX), k0 = $([
- pK,
+ mK,
n1,
y0,
O0,
E0,
$([
- pK,
+ mK,
S0,
n1,
dX
], V1),
$([
- pK,
+ mK,
S0,
n1,
dX
@@ -60082,32 +60091,32 @@ var v0 = (e, t, n, r, i, a, o) => {
dX
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = KW(e, s);
+ var { type: c } = t, l = qW(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 ? dB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? fB(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(SB) : r.domain().map((e, t) => {
+ }).filter(CB) : r.domain().map((e, t) => {
var n = r.map(e);
- return LW(n) ? {
+ return RW(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(SB);
+ }).filter(CB);
}
}
}), A0 = $([
Y1,
X1,
- nxe
+ rxe
], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
m0,
A0,
@@ -60120,22 +60129,22 @@ var v0 = (e, t, n, r, i, a, o) => {
T0
], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
if (e) return e.dataKey;
-}), Pxe = $([N0], (e) => {
+}), Fxe = $([N0], (e) => {
if (e) return e.graphicalItemId;
}), L0 = $([
m0,
A0,
j0,
M0
-], f0), Fxe = $([N0, $([
- fG,
+], f0), Ixe = $([N0, $([
pG,
- pK,
- kG,
+ mG,
+ mK,
+ AG,
k0,
M0,
L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Ixe = $([N0], (e) => e?.active ?? !1), Lxe = $([$([
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Lxe = $([N0], (e) => e?.active ?? !1), Rxe = $([$([
L0,
P0,
mY,
@@ -60165,26 +60174,26 @@ function z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R0(Object(n), !0).forEach(function(t) {
- Rxe(e, t, n[t]);
+ zxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rxe(e, t, n) {
- return (t = zxe(t)) in e ? Object.defineProperty(e, t, {
+function zxe(e, t, n) {
+ return (t = Bxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zxe(e) {
- var t = Bxe(e, "string");
+function Bxe(e) {
+ var t = Vxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bxe(e, t) {
+function Vxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60194,9 +60203,9 @@ function Bxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Vxe = () => Q(n1), Hxe = () => {
- var e = Vxe(), t = Q(k0), n = Q(O0);
- return sG(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
+var Hxe = () => Q(n1), Uxe = () => {
+ var e = Hxe(), t = Q(k0), n = Q(O0);
+ return cG(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -60214,26 +60223,26 @@ function V0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B0(Object(n), !0).forEach(function(t) {
- Uxe(e, t, n[t]);
+ Wxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Uxe(e, t, n) {
- return (t = Wxe(t)) in e ? Object.defineProperty(e, t, {
+function Wxe(e, t, n) {
+ return (t = Gxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wxe(e) {
- var t = Gxe(e, "string");
+function Gxe(e) {
+ var t = Kxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gxe(e, t) {
+function Kxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60243,7 +60252,7 @@ function Gxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Kxe = (e, t, n, r) => {
+var qxe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -60259,7 +60268,7 @@ var Kxe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, qxe = (e, t, n, r) => {
+}, Jxe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -60289,7 +60298,7 @@ var Kxe = (e, t, n, r) => {
y: 0
};
};
-function Jxe(e, t) {
+function Yxe(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
@@ -60299,9 +60308,9 @@ var H0 = (e, t, n, r, i) => {
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (dB(c - s) !== dB(l - c)) {
+ if (fB(c - s) !== fB(l - c)) {
var d = [];
- if (dB(l - c) === dB(i[1] - i[0])) {
+ if (fB(l - c) === fB(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -60326,7 +60335,7 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(IY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, Yxe = $(k0, (e) => AV(e, (e) => e.coordinate)), q0 = $([
+}, U0 = () => Q(IY), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, Xxe = $(k0, (e) => jV(e, (e) => e.coordinate)), q0 = $([
m0,
W0,
G0,
@@ -60336,7 +60345,7 @@ var H0 = (e, t, n, r, i) => {
x0,
r1,
T0
-], u0), Xxe = (e, t, n) => {
+], u0), Zxe = (e, t, n) => {
if (t != null) {
var r = m0(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -60347,14 +60356,14 @@ var H0 = (e, t, n, r, i) => {
G0,
K0
], f0), X0 = $([
- fG,
pG,
- pK,
- kG,
+ mG,
+ mK,
+ AG,
k0,
K0,
Y0
-], d0), Zxe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), Qxe = $([
+], d0), Qxe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), $xe = $([
Y0,
J0,
mY,
@@ -60362,39 +60371,39 @@ var H0 = (e, t, n, r, i) => {
Z0,
p0,
W0
-], v0), $xe = $([q0, J0], (e, t) => ({
+], v0), eSe = $([q0, J0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), eSe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && Jxe(e, o)) {
- var s = H0(uG(e, t), a, i, n, r), c = Kxe(t, i, s, e);
+})), tSe = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && Yxe(e, o)) {
+ var s = H0(dG(e, t), a, i, n, r), c = qxe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, tSe = (e, t, n, r, i, a, o) => {
+}, nSe = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = h_e(e, n);
+ var s = g_e(e, n);
if (s) {
- var c = H0(dG(s, t), o, a, r, i), l = qxe(t, a, c, s);
+ var c = H0(fG(s, t), o, a, r, i), l = Jxe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, nSe = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? eSe(e, t, r, i, a, o, s) : tSe(e, t, n, r, i, a, o);
-}, rSe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, rSe = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? tSe(e, t, r, i, a, o, s) : nSe(e, t, n, r, i, a, o);
+}, iSe = $((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;
}
-}), iSe = $((e) => e.zIndex.zIndexMap, (e) => {
+}), aSe = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(BY));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: I_e } });
+}, { memoizeOptions: { resultEqualityCheck: L_e } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function Q0(e, t) {
@@ -60411,26 +60420,26 @@ function $0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q0(Object(n), !0).forEach(function(t) {
- aSe(e, t, n[t]);
+ oSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aSe(e, t, n) {
- return (t = oSe(t)) in e ? Object.defineProperty(e, t, {
+function oSe(e, t, n) {
+ return (t = sSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oSe(e) {
- var t = sSe(e, "string");
+function sSe(e) {
+ var t = cSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sSe(e, t) {
+function cSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60440,17 +60449,17 @@ function sSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cSe = { zIndexMap: Object.values(BY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var lSe = { zIndexMap: Object.values(BY).reduce((e, t) => $0($0({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, lSe = new Set(Object.values(BY));
-function uSe(e) {
- return lSe.has(e);
+} }), {}) }, uSe = new Set(Object.values(BY));
+function dSe(e) {
+ return uSe.has(e);
}
-var e2 = HU({
+var e2 = UU({
name: "zIndex",
- initialState: cSe,
+ initialState: lSe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -60461,47 +60470,47 @@ var e2 = HU({
panoramaElement: void 0
};
},
- prepare: DU()
+ prepare: OU()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !uSe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !dSe(n) && delete e.zIndexMap[n]);
},
- prepare: DU()
+ prepare: OU()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = hq(r) : e.zIndexMap[n].element = hq(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = gq(r) : e.zIndexMap[n].element = gq(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : hq(r),
- panoramaElement: i ? hq(r) : void 0
+ element: i ? void 0 : gq(r),
+ panoramaElement: i ? gq(r) : void 0
};
},
- prepare: DU()
+ prepare: OU()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: DU()
+ prepare: OU()
}
}
-}), { registerZIndexPortal: dSe, unregisterZIndexPortal: fSe, registerZIndexPortalElement: pSe, unregisterZIndexPortalElement: mSe } = e2.actions, hSe = e2.reducer;
+}), { registerZIndexPortal: fSe, unregisterZIndexPortal: pSe, registerZIndexPortalElement: mSe, unregisterZIndexPortalElement: hSe } = e2.actions, gSe = e2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function t2(e) {
- var { zIndex: t, children: n } = e, r = vK() && t !== void 0 && t !== 0, i = NG(), a = oV();
- (0, I.useLayoutEffect)(() => r ? (a(dSe({ zIndex: t })), () => {
- a(fSe({ zIndex: t }));
- }) : CB, [
+ var { zIndex: t, children: n } = e, r = yK() && t !== void 0 && t !== 0, i = PG(), a = sV();
+ (0, I.useLayoutEffect)(() => r ? (a(fSe({ zIndex: t })), () => {
+ a(pSe({ zIndex: t }));
+ }) : wB, [
a,
t,
r
]);
- var o = Q((e) => rSe(e, t, i));
+ var o = Q((e) => iSe(e, t, i));
return r ? o ? /*#__PURE__*/ (0, Yh.createPortal)(n, o) : null : n;
}
//#endregion
@@ -60529,26 +60538,26 @@ function i2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r2(Object(n), !0).forEach(function(t) {
- gSe(e, t, n[t]);
+ _Se(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gSe(e, t, n) {
- return (t = _Se(t)) in e ? Object.defineProperty(e, t, {
+function _Se(e, t, n) {
+ return (t = vSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _Se(e) {
- var t = vSe(e, "string");
+function vSe(e) {
+ var t = ySe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vSe(e, t) {
+function ySe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60558,17 +60567,17 @@ function vSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ySe(e) {
+function bSe(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, I.isValidElement)(t) ? /*#__PURE__*/ (0, I.cloneElement)(t, r) : /*#__PURE__*/ (0, I.createElement)(n, r);
}
-function bSe(e) {
+function xSe(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = yge, h = BY.cursorLine;
- else if (l === "BarChart") p = bge(o, u, i, a), m = eY, h = BY.cursorRectangle;
- else if (o === "radial" && kB(u)) {
+ if (l === "ScatterChart") p = u, m = bge, h = BY.cursorLine;
+ else if (l === "BarChart") p = xge(o, u, i, a), m = eY, h = BY.cursorRectangle;
+ else if (o === "radial" && AB(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = oY(u);
p = {
cx: g,
@@ -60578,24 +60587,24 @@ function bSe(e) {
innerRadius: v,
outerRadius: v
}, m = dY, h = BY.cursorLine;
- } else p = { points: E_e(o, u, i) }, m = DJ, h = BY.cursorLine;
+ } else p = { points: D_e(o, u, i) }, m = DJ, h = BY.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i2(i2(i2(i2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), iz(s)), {}, {
+ }, i), p), az(s)), {}, {
payload: d,
payloadIndex: f,
className: bh("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(ySe, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ I.createElement(bSe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function xSe(e) {
- var t = Hxe(), n = lK(), r = mK(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(bSe, n2({}, e, {
+function SSe(e) {
+ var t = Uxe(), n = uK(), r = hK(), i = U0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ I.createElement(xSe, n2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -60604,7 +60613,7 @@ function xSe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, I.createContext)(null), SSe = () => (0, I.useContext)(a2), CSe = (/* @__PURE__ */ ae((/* @__PURE__ */ F(((e, t) => {
+var a2 = /*#__PURE__*/ (0, I.createContext)(null), CSe = () => (0, I.useContext)(a2), wSe = (/* @__PURE__ */ ae((/* @__PURE__ */ F(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -60691,12 +60700,12 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), SSe = () => (0, I.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, o2 = new CSe(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, o2 = new wSe(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!fB(n)) return e[n];
+ if (!pB(n)) return e[n];
}
-}, u2 = HU({
+}, u2 = UU({
name: "options",
initialState: {
chartName: "",
@@ -60707,13 +60716,13 @@ var a2 = /*#__PURE__*/ (0, I.createContext)(null), SSe = () => (0, I.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), wSe = u2.reducer, { createEventEmitter: TSe } = u2.actions;
+}), TSe = u2.reducer, { createEventEmitter: ESe } = u2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function ESe(e) {
+function DSe(e) {
return e.tooltip.syncInteraction;
}
-var d2 = HU({
+var d2 = UU({
name: "chartData",
initialState: {
chartData: void 0,
@@ -60723,7 +60732,7 @@ var d2 = HU({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = hq(t.payload), t.payload == null) {
+ if (e.chartData = gq(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -60737,7 +60746,7 @@ var d2 = HU({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: DSe, setComputedData: OSe } = d2.actions, kSe = d2.reducer, ASe = ["x", "y"];
+}), { setChartData: f2, setDataStartEndIndexes: OSe, setComputedData: kSe } = d2.actions, ASe = d2.reducer, jSe = ["x", "y"];
function p2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60752,26 +60761,26 @@ function m2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p2(Object(n), !0).forEach(function(t) {
- jSe(e, t, n[t]);
+ MSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jSe(e, t, n) {
- return (t = MSe(t)) in e ? Object.defineProperty(e, t, {
+function MSe(e, t, n) {
+ return (t = NSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MSe(e) {
- var t = NSe(e, "string");
+function NSe(e) {
+ var t = PSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NSe(e, t) {
+function PSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60781,16 +60790,16 @@ function NSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function PSe(e, t) {
+function FSe(e, t) {
if (e == null) return {};
- var n, r, i = FSe(e, t);
+ var n, r, i = ISe(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 FSe(e, t) {
+function ISe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60799,16 +60808,16 @@ function FSe(e, t) {
}
return n;
}
-function ISe() {
- var e = Q(LY), t = Q(zY), n = oV(), r = Q(RY), i = Q(k0), a = mK(), o = sK(), s = Q((e) => e.rootProps.className);
+function LSe() {
+ var e = Q(LY), t = Q(zY), n = sV(), r = Q(RY), i = Q(k0), a = hK(), o = cK(), s = Q((e) => e.rootProps.className);
(0, I.useEffect)(() => {
- if (e == null) return CB;
+ if (e == null) return wB;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = PSe(d, ASe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = FSe(d, jSe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -60869,12 +60878,12 @@ function ISe() {
o
]);
}
-function LSe() {
- var e = Q(LY), t = Q(zY), n = oV();
+function RSe() {
+ var e = Q(LY), t = Q(zY), n = sV();
(0, I.useEffect)(() => {
- if (e == null) return CB;
+ if (e == null) return wB;
var r = (r, i, a) => {
- t !== a && e === r && n(DSe(i));
+ t !== a && e === r && n(OSe(i));
};
return o2.on(c2, r), () => {
o2.off(c2, r);
@@ -60885,14 +60894,14 @@ function LSe() {
e
]);
}
-function RSe() {
- var e = oV();
+function zSe() {
+ var e = sV();
(0, I.useEffect)(() => {
- e(TSe());
- }, [e]), ISe(), LSe();
+ e(ESe());
+ }, [e]), LSe(), RSe();
}
-function zSe(e, t, n, r, i, a) {
- var o = Q((n) => Xxe(n, e, t)), s = Q(Pxe), c = Q(zY), l = Q(LY), u = Q(RY), d = Q(ESe)?.active, f = sK();
+function BSe(e, t, n, r, i, a) {
+ var o = Q((n) => Zxe(n, e, t)), s = Q(Fxe), c = Q(zY), l = Q(LY), u = Q(RY), d = Q(DSe)?.active, f = cK();
(0, I.useEffect)(() => {
if (!d && l != null && c != null) {
var e = a0({
@@ -60936,26 +60945,26 @@ function g2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h2(Object(n), !0).forEach(function(t) {
- BSe(e, t, n[t]);
+ VSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BSe(e, t, n) {
- return (t = VSe(t)) in e ? Object.defineProperty(e, t, {
+function VSe(e, t, n) {
+ return (t = HSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VSe(e) {
- var t = HSe(e, "string");
+function HSe(e) {
+ var t = USe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HSe(e, t) {
+function USe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60965,13 +60974,13 @@ function HSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function USe(e) {
+function WSe(e) {
return e.dataKey;
}
-function WSe(e, t) {
- return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(Yhe, t);
+function GSe(e, t) {
+ return /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ I.createElement(e, t) : /*#__PURE__*/ I.createElement(Xhe, t);
}
-var _2 = [], GSe = {
+var _2 = [], KSe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -60997,10 +61006,10 @@ var _2 = [], GSe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function KSe(e) {
- var t = NB(e, GSe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = oV(), S = typeof v == "number" ? String(v) : v;
+function qSe(e) {
+ var t = PB(e, KSe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = sV(), S = typeof v == "number" ? String(v) : v;
(0, I.useEffect)(() => {
- x(oxe({
+ x(sxe({
shared: g,
trigger: _,
axisId: b,
@@ -61015,12 +61024,12 @@ function KSe(e) {
n,
S
]);
- var C = sK(), w = _J(), T = txe(g), { activeIndex: E, isActive: D } = Q((e) => $xe(e, T, _, S)) ?? {}, O = Q((e) => Qxe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => Zxe(e, T, _, S)), j = O, M = SSe(), N = n ?? D ?? !1, [ee, te] = IV([j, N]), P = T === "axis" ? k : void 0;
- zSe(T, _, A, P, E, N);
+ var C = cK(), w = _J(), T = nxe(g), { activeIndex: E, isActive: D } = Q((e) => eSe(e, T, _, S)) ?? {}, O = Q((e) => $xe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => Qxe(e, T, _, S)), j = O, M = CSe(), N = n ?? D ?? !1, [ee, te] = LV([j, N]), P = T === "axis" ? k : void 0;
+ BSe(T, _, A, P, E, N);
var ne = y ?? M;
if (ne == null || C == null || T == null) return null;
var F = j ?? _2;
- N || (F = _2), s && F.length && (F = iV(F.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, USe));
+ N || (F = _2), s && F.length && (F = aV(F.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, WSe));
var re = F.length > 0, ie = g2(g2({}, t), {}, {
payload: F,
label: P,
@@ -61028,7 +61037,7 @@ function KSe(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ae = /*#__PURE__*/ I.createElement(age, {
+ }), ae = /*#__PURE__*/ I.createElement(oge, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -61045,8 +61054,8 @@ function KSe(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, WSe(o, ie));
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, Yh.createPortal)(ae, ne), N && /*#__PURE__*/ I.createElement(xSe, {
+ }, GSe(o, ie));
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ (0, Yh.createPortal)(ae, ne), N && /*#__PURE__*/ I.createElement(SSe, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -61060,19 +61069,19 @@ var v2 = (e) => null;
v2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function qSe(e, t, n) {
- return (t = JSe(t)) in e ? Object.defineProperty(e, t, {
+function JSe(e, t, n) {
+ return (t = YSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JSe(e) {
- var t = YSe(e, "string");
+function YSe(e) {
+ var t = XSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YSe(e, t) {
+function XSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61082,9 +61091,9 @@ function YSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var XSe = class {
+var ZSe = class {
constructor(e) {
- qSe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ JSe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -61117,30 +61126,30 @@ function y2(e, t) {
}
return n;
}
-function ZSe(e) {
+function QSe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y2(Object(n), !0).forEach(function(t) {
- QSe(e, t, n[t]);
+ $Se(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QSe(e, t, n) {
- return (t = $Se(t)) in e ? Object.defineProperty(e, t, {
+function $Se(e, t, n) {
+ return (t = eCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Se(e) {
- var t = eCe(e, "string");
+function eCe(e) {
+ var t = tCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eCe(e, t) {
+function tCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61150,10 +61159,10 @@ function eCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = ZSe({}, {
+var b2 = QSe({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new XSe(b2.cacheSize), tCe = {
+}), x2 = new ZSe(b2.cacheSize), nCe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -61162,13 +61171,13 @@ var b2 = ZSe({}, {
border: "none",
whiteSpace: "pre"
}, S2 = "recharts_measurement_span";
-function nCe(e, t) {
+function rCe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var C2 = (e, t) => {
try {
var n = document.getElementById(S2);
- n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, tCe, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, nCe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -61187,24 +61196,24 @@ var C2 = (e, t) => {
height: 0
};
if (!b2.enableCache) return C2(e, t);
- var n = nCe(e, t), r = x2.get(n);
+ var n = rCe(e, t), r = x2.get(n);
if (r) return r;
var i = C2(e, t);
return x2.set(n, i), i;
}, T2;
-function rCe(e, t, n) {
- return (t = iCe(t)) in e ? Object.defineProperty(e, t, {
+function iCe(e, t, n) {
+ return (t = aCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iCe(e) {
- var t = aCe(e, "string");
+function aCe(e) {
+ var t = oCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aCe(e, t) {
+function oCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61214,7 +61223,7 @@ function aCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, oCe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, sCe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, cCe = {
+var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, sCe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, cCe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, lCe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -61222,7 +61231,7 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, lCe = [
+}, uCe = [
"cm",
"mm",
"pt",
@@ -61231,20 +61240,20 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
"Q",
"px"
];
-function uCe(e) {
- return lCe.includes(e);
+function dCe(e) {
+ return uCe.includes(e);
}
var O2 = "NaN";
-function dCe(e, t) {
- return e * cCe[t];
+function fCe(e, t) {
+ return e * lCe[t];
}
var k2 = class e {
static parse(t) {
- var [, n, r] = sCe.exec(t) ?? [];
+ var [, n, r] = cCe.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, fB(e) && (this.unit = ""), t !== "" && !oCe.test(t) && (this.num = NaN, this.unit = ""), uCe(t) && (this.num = dCe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, pB(e) && (this.unit = ""), t !== "" && !sCe.test(t) && (this.num = NaN, this.unit = ""), dCe(t) && (this.num = fCe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -61262,10 +61271,10 @@ var k2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return fB(this.num);
+ return pB(this.num);
}
};
-T2 = k2, rCe(k2, "NaN", new T2(NaN, ""));
+T2 = k2, iCe(k2, "NaN", new T2(NaN, ""));
function A2(e) {
if (e == null || e.includes(O2)) return O2;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -61281,31 +61290,31 @@ function A2(e) {
return t;
}
var j2 = /\(([^()]*)\)/;
-function fCe(e) {
+function pCe(e) {
for (var t = e, n; (n = j2.exec(t)) != null;) {
var [, r] = n;
t = t.replace(j2, A2(r));
}
return t;
}
-function pCe(e) {
+function mCe(e) {
var t = e.replace(/\s+/g, "");
- return t = fCe(t), t = A2(t), t;
+ return t = pCe(t), t = A2(t), t;
}
-function mCe(e) {
+function hCe(e) {
try {
- return pCe(e);
+ return mCe(e);
} catch {
return O2;
}
}
function M2(e) {
- var t = mCe(e.slice(5, -1));
+ var t = hCe(e.slice(5, -1));
return t === O2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var hCe = [
+var gCe = [
"x",
"y",
"lineHeight",
@@ -61314,7 +61323,7 @@ var hCe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], gCe = [
+], _Ce = [
"dx",
"dy",
"angle",
@@ -61332,14 +61341,14 @@ function N2() {
}
function P2(e, t) {
if (e == null) return {};
- var n, r, i = _Ce(e, t);
+ var n, r, i = vCe(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 _Ce(e, t) {
+function vCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61352,7 +61361,7 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return bB(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
+ return xB(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: w2(e, r).width
@@ -61366,8 +61375,8 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
function L2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function vCe(e) {
- return bB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function yCe(e) {
+ return xB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -61380,16 +61389,16 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), yCe = "…", B2 = (e, t, n, r, i, a, o, s) => {
+}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), bCe = "…", B2 = (e, t, n, r, i, a, o, s) => {
var c = I2({
breakAll: n,
style: r,
- children: e.slice(0, t) + yCe
+ children: e.slice(0, t) + bCe
});
if (!c) return [!1, []];
var l = R2(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || z2(l).width > Number(a), l];
-}, bCe = (e, t, n, r, i) => {
+}, xCe = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R2(t, r, n, i);
if (!l || i || !(d.length > a || z2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -61402,9 +61411,9 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, V2 = (e) => [{
- words: bB(e) ? [] : e.toString().split(F2),
+ words: xB(e) ? [] : e.toString().split(F2),
width: void 0
-}], xCe = (e) => {
+}], SCe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !pJ.isSsr) {
var s, c, l = I2({
@@ -61416,7 +61425,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return V2(r);
- return bCe({
+ return xCe({
breakAll: a,
children: r,
maxLines: o,
@@ -61424,7 +61433,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return V2(r);
-}, H2 = "#808080", SCe = {
+}, H2 = "#808080", CCe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -61436,7 +61445,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, U2 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = NB(e, SCe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, hCe), f = (0, I.useMemo)(() => xCe({
+ var n = PB(e, CCe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, gCe), f = (0, I.useMemo)(() => SCe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -61450,10 +61459,10 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, gCe);
- if (!mB(r) || !mB(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, _Ce);
+ if (!hB(r) || !hB(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!LW(y) || !LW(b)) return null;
+ if (!RW(y) || !RW(b)) return null;
var x;
switch (u) {
case "start":
@@ -61469,7 +61478,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", N2({}, az(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ I.createElement("text", N2({}, oz(v), {
ref: t,
x: y,
y: b,
@@ -61502,26 +61511,26 @@ function G2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? W2(Object(n), !0).forEach(function(t) {
- CCe(e, t, n[t]);
+ wCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CCe(e, t, n) {
- return (t = wCe(t)) in e ? Object.defineProperty(e, t, {
+function wCe(e, t, n) {
+ return (t = TCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wCe(e) {
- var t = TCe(e, "string");
+function TCe(e) {
+ var t = ECe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TCe(e, t) {
+function ECe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61531,8 +61540,8 @@ function TCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ECe = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = oK(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+var DCe = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = sK(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -61613,9 +61622,9 @@ var ECe = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || pB(n.x)) && (Z(n.y) || pB(n.y)) ? G2({
- x: o + gB(n.x, m),
- y: s + gB(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || mB(n.x)) && (Z(n.y) || mB(n.y)) ? G2({
+ x: o + _B(n.x, m),
+ y: s + _B(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : G2({
@@ -61624,17 +61633,17 @@ var ECe = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, DCe = ["labelRef"], OCe = ["content"];
+}, OCe = ["labelRef"], kCe = ["content"];
function K2(e, t) {
if (e == null) return {};
- var n, r, i = kCe(e, t);
+ var n, r, i = ACe(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 kCe(e, t) {
+function ACe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61657,26 +61666,26 @@ function J2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q2(Object(n), !0).forEach(function(t) {
- ACe(e, t, n[t]);
+ jCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ACe(e, t, n) {
- return (t = jCe(t)) in e ? Object.defineProperty(e, t, {
+function jCe(e, t, n) {
+ return (t = MCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jCe(e) {
- var t = MCe(e, "string");
+function MCe(e) {
+ var t = NCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MCe(e, t) {
+function NCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61713,9 +61722,9 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
]);
return /*#__PURE__*/ I.createElement(X2.Provider, { value: c }, s);
}, Q2 = () => {
- var e = (0, I.useContext)(X2), t = sK();
- return e || (t ? oK(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, I.createContext)(null), NCe = (e) => {
+ var e = (0, I.useContext)(X2), t = cK();
+ return e || (t ? sK(t) : void 0);
+}, $2 = /*#__PURE__*/ (0, I.createContext)(null), PCe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, I.useMemo)(() => ({
cx: t,
cy: n,
@@ -61737,11 +61746,11 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
}, e4 = () => {
var e = (0, I.useContext)($2), t = Q(rX);
return e || t;
-}, PCe = (e) => {
- var { value: t, formatter: n } = e, r = bB(e.children) ? t : e.children;
+}, FCe = (e) => {
+ var { value: t, formatter: n } = e, r = xB(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", FCe = (e, t) => dB(t - e) * Math.min(Math.abs(t - e), 360), ICe = (e, t, n, r, i) => {
- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = FCe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, t4 = (e) => e != null && typeof e == "function", ICe = (e, t) => fB(t - e) * Math.min(Math.abs(t - e), 360), LCe = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = ICe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -61757,7 +61766,7 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
v = h <= 0 ? v : !v;
var y = aY(s, c, m, _), b = aY(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = bB(e.id) ? hB("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = xB(e.id) ? gB("recharts-radial-line-") : e.id;
return /*#__PURE__*/ I.createElement("text", Y2({}, r, {
dominantBaseline: "central",
className: bh("recharts-radial-bar-label", o)
@@ -61765,7 +61774,7 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
id: S,
d: x
})), /*#__PURE__*/ I.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, LCe = (e, t, n) => {
+}, RCe = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
var { x: u, y: d } = aY(r, i, o + t, l);
@@ -61801,14 +61810,14 @@ var X2 = /*#__PURE__*/ (0, I.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), RCe = {
+}, n4 = (e) => e != null && "cx" in e && Z(e.cx), zCe = {
angle: 0,
offset: 5,
zIndex: BY.label,
position: "middle",
textBreakAll: !1
};
-function zCe(e) {
+function BCe(e) {
if (!n4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -61821,24 +61830,24 @@ function zCe(e) {
};
}
function r4(e) {
- var t = NB(e, RCe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : oK(n), m, h, g = zCe(p);
- if (!p || bB(a) && bB(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
+ var t = PB(e, zCe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : sK(n), m, h, g = BCe(p);
+ if (!p || xB(a) && xB(o) && !/*#__PURE__*/ (0, I.isValidElement)(s) && typeof s != "function") return null;
var _ = J2(J2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, I.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, DCe);
+ var { labelRef: v } = _, y = K2(_, OCe);
return /*#__PURE__*/ (0, I.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, OCe);
+ var { content: b } = _, x = K2(_, kCe);
if (m = /*#__PURE__*/ (0, I.createElement)(s, x), /*#__PURE__*/ (0, I.isValidElement)(m)) return m;
- } else m = PCe(t);
- var S = az(t);
+ } else m = FCe(t);
+ var S = oz(t);
if (n4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return ICe(t, i, m, S, p);
- h = LCe(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return LCe(t, i, m, S, p);
+ h = RCe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = ECe({
+ var C = DCe({
viewBox: g,
position: i,
offset: t.offset,
@@ -61867,7 +61876,7 @@ var i4 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : mB(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
+ return e === !0 ? /*#__PURE__*/ I.createElement(r4, Y2({ key: "label-implicit" }, r)) : hB(e) ? /*#__PURE__*/ I.createElement(r4, Y2({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, I.isValidElement)(e) ? e.type === r4 ? /*#__PURE__*/ (0, I.cloneElement)(e, J2({ key: "label-implicit" }, r)) : /*#__PURE__*/ I.createElement(r4, Y2({
@@ -61882,13 +61891,13 @@ function a4(e) {
var { label: t, labelRef: n } = e;
return i4(t, Q2(), n) || null;
}
-function BCe(e) {
+function VCe(e) {
var { label: t } = e;
return i4(t, e4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var VCe = ["valueAccessor"], HCe = [
+var HCe = ["valueAccessor"], UCe = [
"dataKey",
"clockWise",
"id",
@@ -61906,14 +61915,14 @@ function o4() {
}
function s4(e, t) {
if (e == null) return {};
- var n, r, i = UCe(e, t);
+ var n, r, i = WCe(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 UCe(e, t) {
+function WCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61922,21 +61931,21 @@ function UCe(e, t) {
}
return n;
}
-var WCe = (e) => {
+var GCe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (vCe(t)) return t;
-}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), GCe = u4.Provider;
-function KCe() {
+ if (yCe(t)) return t;
+}, c4 = /*#__PURE__*/ (0, I.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, I.createContext)(void 0), KCe = u4.Provider;
+function qCe() {
return (0, I.useContext)(c4);
}
-function qCe() {
+function JCe() {
return (0, I.useContext)(u4);
}
function d4(e) {
- var { valueAccessor: t = WCe } = e, n = s4(e, VCe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, HCe), l = KCe(), u = qCe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? BY.label }, /*#__PURE__*/ I.createElement(lz, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = bB(r) ? t(e, i) : WW(e.payload, r), l = bB(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, az(e), c, l, {
+ var { valueAccessor: t = GCe } = e, n = s4(e, HCe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, UCe), l = qCe(), u = JCe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: s ?? BY.label }, /*#__PURE__*/ I.createElement(uz, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = xB(r) ? t(e, i) : GW(e.payload, r), l = xB(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ I.createElement(r4, o4({ key: `label-${i}` }, oz(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -61957,12 +61966,12 @@ function f4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var JCe = [
+var YCe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], YCe;
+], XCe;
function p4() {
return p4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61972,16 +61981,16 @@ function p4() {
return e;
}, p4.apply(null, arguments);
}
-function XCe(e, t) {
+function ZCe(e, t) {
if (e == null) return {};
- var n, r, i = ZCe(e, t);
+ var n, r, i = QCe(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 ZCe(e, t) {
+function QCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61990,10 +61999,10 @@ function ZCe(e, t) {
}
return n;
}
-function QCe(e, t) {
+function $Ce(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, $Ce = function() {
+var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, ewe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -62004,9 +62013,9 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, $Ce = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, h4 = (e, t) => {
- var n = $Ce(e);
+ var n = ewe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => uB(YCe ||= QCe([
+ var r = n.map((e) => e.reduce((e, t, n) => dB(XCe ||= $Ce([
"",
"",
"",
@@ -62014,29 +62023,29 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, $Ce = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, ewe = (e, t, n) => {
+}, twe = (e, t, n) => {
var r = h4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${h4(Array.from(t).reverse(), n).slice(1)}`;
}, g4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = XCe(e, JCe);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = ZCe(e, YCe);
if (!t || !t.length) return null;
var o = bh("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = ewe(t, r, i);
- return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, az(a), {
+ var s = a.stroke && a.stroke !== "none", c = twe(t, r, i);
+ return /*#__PURE__*/ I.createElement("g", { className: o }, /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ I.createElement("path", p4({}, az(a), {
+ })), s ? /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: "none",
d: h4(t, i)
- })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, az(a), {
+ })) : null, s ? /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: "none",
d: h4(r, i)
})) : null);
}
var l = h4(t, i);
- return /*#__PURE__*/ I.createElement("path", p4({}, az(a), {
+ return /*#__PURE__*/ I.createElement("path", p4({}, oz(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -62055,7 +62064,7 @@ function _4() {
}
var v4 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = bh("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, rz(e), AB(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ I.createElement("circle", _4({}, iz(e), jB(e), {
className: a,
cx: t,
cy: n,
@@ -62075,18 +62084,18 @@ $([
R$,
b4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: WW(e, t.dataKey ?? n.dataKey),
+ value: GW(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: WW(e, t.dataKey),
+ value: GW(e, t.dataKey),
errorDomain: []
})));
var C4 = () => void 0, w4 = $([
R$,
- pK,
+ mK,
x4,
S4,
PY,
@@ -62104,14 +62113,14 @@ var C4 = () => void 0, w4 = $([
iX
], f1),
C4,
- pK,
+ mK,
iX
], b1)
], x1), T4 = $([
w4,
z$,
C1
-], w1), twe = $([C1, $([
+], w1), nwe = $([C1, $([
R$,
w4,
T4,
@@ -62124,22 +62133,22 @@ var C4 = () => void 0, w4 = $([
}
}, D4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return P_e(e, n);
- case "radiusAxis": return F_e(e, n);
+ case "angleAxis": return F_e(e, n);
+ case "radiusAxis": return I_e(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, O4 = $([$([
E4,
C1,
- twe,
+ nwe,
D4
], T$)], pX), k4 = $([
- pK,
+ mK,
S4,
z$,
iX
], j1), A4 = $([
- pK,
+ mK,
E4,
C1,
O4,
@@ -62148,7 +62157,7 @@ var C4 = () => void 0, w4 = $([
H1,
k4,
iX
-], W1), nwe = $([A4], (e) => {
+], W1), rwe = $([A4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -62156,19 +62165,19 @@ var C4 = () => void 0, w4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), rwe = $([
- pK,
+}), iwe = $([
+ mK,
E4,
O4,
D4,
H1,
k4,
iX
-], K1), iwe = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+], K1), awe = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), awe = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), owe = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), owe = [
+}), swe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -62181,16 +62190,16 @@ var C4 = () => void 0, w4 = $([
"polarRadius",
"zIndex"
];
-function swe(e, t) {
+function cwe(e, t) {
if (e == null) return {};
- var n, r, i = cwe(e, t);
+ var n, r, i = lwe(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 cwe(e, t) {
+function lwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62222,26 +62231,26 @@ function N4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M4(Object(n), !0).forEach(function(t) {
- lwe(e, t, n[t]);
+ uwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lwe(e, t, n) {
- return (t = uwe(t)) in e ? Object.defineProperty(e, t, {
+function uwe(e, t, n) {
+ return (t = dwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uwe(e) {
- var t = dwe(e, "string");
+function dwe(e) {
+ var t = fwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dwe(e, t) {
+function fwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62251,16 +62260,16 @@ function dwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var fwe = (e, t, n, r) => {
+var pwe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = aY(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, pwe = (e) => {
+}, mwe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = N4({ stroke: "#ccc" }, rz(e));
+ var s = N4({ stroke: "#ccc" }, iz(e));
return /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = aY(t, n, r, e), o = aY(t, n, i, e);
return /*#__PURE__*/ I.createElement("line", j4({ key: `line-${e}` }, s, {
@@ -62274,7 +62283,7 @@ var fwe = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = N4({
stroke: "#ccc",
fill: "none"
- }, rz(e));
+ }, iz(e));
return /*#__PURE__*/ I.createElement("circle", j4({}, i, {
className: bh("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -62285,12 +62294,12 @@ var fwe = (e, t, n, r) => {
var { radius: t } = e, n = N4({
stroke: "#ccc",
fill: "none"
- }, rz(e));
+ }, iz(e));
return /*#__PURE__*/ I.createElement("path", j4({}, n, {
className: bh("recharts-polar-grid-concentric-polygon", e.className),
- d: fwe(t, e.cx, e.cy, e.polarAngles)
+ d: pwe(t, e.cx, e.cy, e.polarAngles)
}));
-}, mwe = (e) => {
+}, hwe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -62304,14 +62313,14 @@ var fwe = (e, t, n, r) => {
radius: t
}));
}));
-}, hwe = {
+}, gwe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: BY.grid
}, I4 = (e) => {
- var t = NB(e, hwe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = swe(t, owe), m = Q(rX), h = Q((e) => iwe(e, i)), g = Q((e) => awe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = PB(e, gwe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = cwe(t, swe), m = Q(rX), h = Q((e) => awe(e, i)), g = Q((e) => owe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = N4({
cx: m?.cx ?? o ?? 0,
@@ -62322,13 +62331,13 @@ var fwe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(mwe, j4({
+ return b <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ I.createElement(hwe, j4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ I.createElement(pwe, j4({
+ })), /*#__PURE__*/ I.createElement(mwe, j4({
gridType: n,
radialLines: r
}, y, {
@@ -62344,11 +62353,11 @@ function L4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function gwe(e, t = RB) {
+function _we(e, t = zB) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = nV(t), i, a;
+ let r = rV(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);
@@ -62357,11 +62366,11 @@ function gwe(e, t = RB) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function _we(e, t = RB) {
+function vwe(e, t = zB) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = nV(t), i, a;
+ let r = rV(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);
@@ -62370,7 +62379,7 @@ function _we(e, t = RB) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var R4 = HU({
+var R4 = UU({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -62378,19 +62387,19 @@ var R4 = HU({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = hq(t.payload);
+ e.radiusAxis[t.payload.id] = gq(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = hq(t.payload);
+ e.angleAxis[t.payload.id] = gq(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: vwe, removeRadiusAxis: ywe, addAngleAxis: bwe, removeAngleAxis: xwe } = R4.actions, Swe = R4.reducer;
+}), { addRadiusAxis: ywe, removeRadiusAxis: bwe, addAngleAxis: xwe, removeAngleAxis: Swe } = R4.actions, Cwe = R4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function z4(e) {
@@ -62398,12 +62407,12 @@ function z4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var Cwe = ["type"], wwe = [
+var wwe = ["type"], Twe = [
"cx",
"cy",
"angle",
"axisLine"
-], Twe = [
+], Ewe = [
"angle",
"tickFormatter",
"stroke",
@@ -62432,26 +62441,26 @@ function H4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V4(Object(n), !0).forEach(function(t) {
- Ewe(e, t, n[t]);
+ Dwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ewe(e, t, n) {
- return (t = Dwe(t)) in e ? Object.defineProperty(e, t, {
+function Dwe(e, t, n) {
+ return (t = Owe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dwe(e) {
- var t = Owe(e, "string");
+function Owe(e) {
+ var t = kwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Owe(e, t) {
+function kwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62463,14 +62472,14 @@ function Owe(e, t) {
}
function U4(e, t) {
if (e == null) return {};
- var n, r, i = kwe(e, t);
+ var n, r, i = Awe(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 kwe(e, t) {
+function Awe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62479,20 +62488,20 @@ function kwe(e, t) {
}
return n;
}
-var Awe = "radiusAxis";
-function jwe(e) {
- var t = oV(), n = _K(), r = (0, I.useMemo)(() => {
- var { type: t } = e, r = U4(e, Cwe), i = WY(n, "radiusAxis", t);
+var jwe = "radiusAxis";
+function Mwe(e) {
+ var t = sV(), n = vK(), r = (0, I.useMemo)(() => {
+ var { type: t } = e, r = U4(e, wwe), i = WY(n, "radiusAxis", t);
if (i != null) return H4(H4({}, r), {}, { type: i });
}, [e, n]);
- return (0, I.useEffect)(() => r == null ? CB : (t(vwe(r)), () => {
- t(ywe(r));
+ return (0, I.useEffect)(() => r == null ? wB : (t(ywe(r)), () => {
+ t(bwe(r));
}), [t, r]), null;
}
-var Mwe = (e, t, n, r) => {
+var Nwe = (e, t, n, r) => {
var { coordinate: i } = e;
return aY(n, r, i, t);
-}, Nwe = (e) => {
+}, Pwe = (e) => {
var t;
switch (e) {
case "left":
@@ -62504,49 +62513,49 @@ var Mwe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, Pwe = (e, t, n, r) => {
- var i = gwe(r, (e) => e.coordinate || 0);
+}, Fwe = (e, t, n, r) => {
+ var i = _we(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: _we(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: vwe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, Fwe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, wwe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = aY(n, r, s[0], i), l = aY(n, r, s[1], i), u = H4(H4(H4({}, rz(o)), {}, { fill: "none" }, rz(a)), {}, {
+}, Iwe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, Twe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = aY(n, r, s[0], i), l = aY(n, r, s[1], i), u = H4(H4(H4({}, iz(o)), {}, { fill: "none" }, iz(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ I.createElement("line", B4({ className: "recharts-polar-radius-axis-line" }, u));
-}, Iwe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Lwe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, Twe), s = Nwe(e.orientation), c = rz(o), l = iz(a), u = t.map((t, o) => {
- var u = Mwe(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
+}, Lwe = (e, t, n) => /*#__PURE__*/ I.isValidElement(e) ? /*#__PURE__*/ I.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ I.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Rwe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, Ewe), s = Pwe(e.orientation), c = iz(o), l = az(a), u = t.map((t, o) => {
+ var u = Nwe(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ I.createElement(lz, B4({
+ return /*#__PURE__*/ I.createElement(uz, B4({
className: bh("recharts-polar-radius-axis-tick", z4(a)),
key: `tick-${t.coordinate}`
- }, jB(e, t, o)), Iwe(a, d, r ? r(t.value, o) : t.value));
+ }, MB(e, t, o)), Lwe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ I.createElement(lz, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, Rwe = (e) => {
+ return /*#__PURE__*/ I.createElement(uz, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, zwe = (e) => {
var { radiusAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = H4(H4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(lz, { className: bh("recharts-polar-radius-axis", Awe, a.className) }, s && Fwe(a, i), o && Lwe(a, i), /*#__PURE__*/ I.createElement(NCe, Pwe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(BCe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-polar-radius-axis", jwe, a.className) }, s && Iwe(a, i), o && Rwe(a, i), /*#__PURE__*/ I.createElement(PCe, Fwe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ I.createElement(VCe, { label: a.label }), a.children)));
};
function W4(e) {
- var t = NB(e, HY);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jwe, {
+ var t = PB(e, HY);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(Mwe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -62563,12 +62572,12 @@ function W4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ I.createElement(Rwe, t));
+ }), /*#__PURE__*/ I.createElement(zwe, t));
}
W4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var zwe = ["children", "type"], Bwe = ["ref"];
+var Bwe = ["children", "type"], Vwe = ["ref"];
function G4() {
return G4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62592,26 +62601,26 @@ function q4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K4(Object(n), !0).forEach(function(t) {
- Vwe(e, t, n[t]);
+ Hwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vwe(e, t, n) {
- return (t = Hwe(t)) in e ? Object.defineProperty(e, t, {
+function Hwe(e, t, n) {
+ return (t = Uwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hwe(e) {
- var t = Uwe(e, "string");
+function Uwe(e) {
+ var t = Wwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Uwe(e, t) {
+function Wwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62623,14 +62632,14 @@ function Uwe(e, t) {
}
function J4(e, t) {
if (e == null) return {};
- var n, r, i = Wwe(e, t);
+ var n, r, i = Gwe(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 Wwe(e, t) {
+function Gwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62639,17 +62648,17 @@ function Wwe(e, t) {
}
return n;
}
-var Y4 = 1e-5, Gwe = Math.cos(iY(45)), Kwe = "angleAxis";
-function qwe(e) {
- var t = oV(), n = _K(), r = (0, I.useMemo)(() => {
- var { children: t, type: r } = e, i = J4(e, zwe), a = WY(n, "angleAxis", r);
+var Y4 = 1e-5, Kwe = Math.cos(iY(45)), qwe = "angleAxis";
+function Jwe(e) {
+ var t = sV(), n = vK(), r = (0, I.useMemo)(() => {
+ var { children: t, type: r } = e, i = J4(e, Bwe), a = WY(n, "angleAxis", r);
if (a != null) return q4(q4({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => YY(e, r?.id));
- return (0, I.useEffect)(() => r == null ? CB : (t(bwe(r)), () => {
- t(xwe(r));
+ return (0, I.useEffect)(() => r == null ? wB : (t(xwe(r)), () => {
+ t(Swe(r));
}), [t, r]), i ? e.children : null;
}
-var Jwe = (e, t) => {
+var Ywe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = aY(n, r, i, e.coordinate), l = aY(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -62657,16 +62666,16 @@ var Jwe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, Ywe = (e, t) => {
+}, Xwe = (e, t) => {
var n = Math.cos(iY(-e.coordinate));
return n > Y4 ? t === "outer" ? "start" : "end" : n < -Y4 ? t === "outer" ? "end" : "start" : "middle";
-}, Xwe = (e) => {
- var t = Math.cos(iY(-e.coordinate)), n = Math.sin(iY(-e.coordinate));
- return Math.abs(t) <= Gwe ? n > 0 ? "start" : "end" : "middle";
}, Zwe = (e) => {
+ var t = Math.cos(iY(-e.coordinate)), n = Math.sin(iY(-e.coordinate));
+ return Math.abs(t) <= Kwe ? n > 0 ? "start" : "end" : "middle";
+}, Qwe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = q4(q4({}, rz(e)), {}, { fill: "none" }, rz(a));
+ var s = q4(q4({}, iz(e)), {}, { fill: "none" }, iz(a));
if (i === "circle") return /*#__PURE__*/ I.createElement(v4, G4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -62674,12 +62683,12 @@ var Jwe = (e, t) => {
}));
var c = o.map((e) => aY(t, n, r, e.coordinate));
return /*#__PURE__*/ I.createElement(g4, G4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, Qwe = (e) => {
+}, $we = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ I.isValidElement(t) ? /*#__PURE__*/ I.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ I.createElement(U2, G4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, $we = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = rz(e), { ref: s } = o, c = J4(o, Bwe), l = iz(t), u = q4(q4({}, c), {}, { fill: "none" }, rz(n)), d = a.map((a, o) => {
- var s = Jwe(a, e), d = Ywe(a, e.orientation), f = Xwe(a), p = q4(q4(q4({}, c), {}, {
+}, eTe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = iz(e), { ref: s } = o, c = J4(o, Vwe), l = az(t), u = q4(q4({}, c), {}, { fill: "none" }, iz(n)), d = a.map((a, o) => {
+ var s = Ywe(a, e), d = Xwe(a, e.orientation), f = Zwe(a), p = q4(q4(q4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -62690,28 +62699,28 @@ var Jwe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ I.createElement(lz, G4({
+ return /*#__PURE__*/ I.createElement(uz, G4({
className: bh("recharts-polar-angle-axis-tick", z4(t)),
key: `tick-${a.coordinate}`
- }, jB(e, a, o)), n && /*#__PURE__*/ I.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement(Qwe, {
+ }, MB(e, a, o)), n && /*#__PURE__*/ I.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ I.createElement($we, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ I.createElement(lz, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, eTe = (e) => {
- var { angleAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "angleAxis", t)), i = NG(), a = Q((e) => nwe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ I.createElement(uz, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, tTe = (e) => {
+ var { angleAxisId: t } = e, n = Q(rX), r = Q((e) => O4(e, "angleAxis", t)), i = PG(), a = Q((e) => rwe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = q4(q4(q4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(lz, { className: bh("recharts-polar-angle-axis", Kwe, o.className) }, /*#__PURE__*/ I.createElement(Zwe, o), /*#__PURE__*/ I.createElement($we, o)));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-polar-angle-axis", qwe, o.className) }, /*#__PURE__*/ I.createElement(Qwe, o), /*#__PURE__*/ I.createElement(eTe, o)));
};
function X4(e) {
- var t = NB(e, VY);
- return /*#__PURE__*/ I.createElement(qwe, {
+ var t = PB(e, VY);
+ return /*#__PURE__*/ I.createElement(Jwe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -62728,12 +62737,12 @@ function X4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ I.createElement(eTe, t));
+ }, /*#__PURE__*/ I.createElement(tTe, t));
}
X4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var tTe = /* @__PURE__ */ F(((e) => {
+var nTe = /* @__PURE__ */ F(((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) {
@@ -62762,26 +62771,26 @@ var tTe = /* @__PURE__ */ F(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), nTe = (/* @__PURE__ */ F(((e, t) => {
- t.exports = tTe();
+})), rTe = (/* @__PURE__ */ F(((e, t) => {
+ t.exports = nTe();
})))(), Z4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Q4 = null, $4 = null, e3 = (e) => {
if (e === Q4 && Array.isArray($4)) return $4;
var t = [];
return I.Children.forEach(e, (e) => {
- bB(e) || ((0, nTe.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
+ xB(e) || ((0, rTe.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
}), $4 = t, Q4 = e, t;
};
function t3(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => Z4(e)) : [Z4(t)], e3(e).forEach((e) => {
- var t = cB(e, "type.displayName") || cB(e, "type.name");
+ var t = lB(e, "type.displayName") || lB(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var n3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function rTe(e) {
+function iTe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -62794,7 +62803,7 @@ function rTe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var iTe, aTe, oTe, sTe, cTe;
+var aTe, oTe, sTe, cTe, lTe;
function r3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -62809,26 +62818,26 @@ function i3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r3(Object(n), !0).forEach(function(t) {
- lTe(e, t, n[t]);
+ uTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lTe(e, t, n) {
- return (t = uTe(t)) in e ? Object.defineProperty(e, t, {
+function uTe(e, t, n) {
+ return (t = dTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uTe(e) {
- var t = dTe(e, "string");
+function dTe(e) {
+ var t = fTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dTe(e, t) {
+function fTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62851,29 +62860,29 @@ function o3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var s3 = (e, t, n, r, i) => {
- var a = n - r, o = uB(iTe ||= o3([
+ var a = n - r, o = dB(aTe ||= o3([
"M ",
",",
""
]), e, t);
- return o += uB(aTe ||= o3([
+ return o += dB(oTe ||= o3([
"L ",
",",
""
- ]), e + n, t), o += uB(oTe ||= o3([
+ ]), e + n, t), o += dB(sTe ||= o3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += uB(sTe ||= o3([
+ ]), e + n - a / 2, t + i), o += dB(cTe ||= o3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += uB(cTe ||= o3([
+ ]), e + n - a / 2 - r, t + i), o += dB(lTe ||= o3([
"L ",
",",
" Z"
]), e, t), o;
-}, fTe = {
+}, pTe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -62883,8 +62892,8 @@ var s3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, pTe = (e) => {
- var t = NB(e, fTe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = KJ(e, "trapezoid-");
+}, mTe = (e) => {
+ var t = PB(e, pTe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, I.useRef)(null), [p, m] = (0, I.useState)(-1), h = (0, I.useRef)(i), g = (0, I.useRef)(a), _ = (0, I.useRef)(o), v = (0, I.useRef)(n), y = (0, I.useRef)(r), b = KJ(e, "trapezoid-");
if ((0, I.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -62892,7 +62901,7 @@ var s3 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = bh("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", a3({}, az(t), {
+ if (!d) return /*#__PURE__*/ I.createElement("g", null, /*#__PURE__*/ I.createElement("path", a3({}, oz(t), {
className: x,
d: s3(n, r, i, a, o)
})));
@@ -62906,35 +62915,35 @@ var s3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = vB(S, i, e), c = vB(C, a, e), l = vB(w, o, e), u = vB(T, n, e), d = vB(E, r, e);
+ var s = yB(S, i, e), c = yB(C, a, e), l = yB(w, o, e), u = yB(T, n, e), d = yB(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ I.createElement("path", a3({}, az(t), {
+ return /*#__PURE__*/ I.createElement("path", a3({}, oz(t), {
className: x,
d: s3(u, d, s, c, l),
ref: f,
style: i3(i3({}, p), t.style)
}));
});
-}, mTe = [
+}, hTe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function hTe(e, t) {
+function gTe(e, t) {
if (e == null) return {};
- var n, r, i = gTe(e, t);
+ var n, r, i = _Te(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 gTe(e, t) {
+function _Te(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62957,26 +62966,26 @@ function l3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? c3(Object(n), !0).forEach(function(t) {
- _Te(e, t, n[t]);
+ vTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _Te(e, t, n) {
- return (t = vTe(t)) in e ? Object.defineProperty(e, t, {
+function vTe(e, t, n) {
+ return (t = yTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vTe(e) {
- var t = yTe(e, "string");
+function yTe(e) {
+ var t = bTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yTe(e, t) {
+function bTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62986,34 +62995,34 @@ function yTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function bTe(e, t) {
+function xTe(e, t) {
return l3(l3({}, t), e);
}
-function xTe(e, t) {
+function STe(e, t) {
return e === "symbols";
}
function u3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ I.createElement(eY, n);
- case "trapezoid": return /*#__PURE__*/ I.createElement(pTe, n);
+ case "trapezoid": return /*#__PURE__*/ I.createElement(mTe, n);
case "sector": return /*#__PURE__*/ I.createElement(dY, n);
case "symbols":
- if (xTe(t, n)) return /*#__PURE__*/ I.createElement(OB, n);
+ if (STe(t, n)) return /*#__PURE__*/ I.createElement(kB, n);
break;
case "curve": return /*#__PURE__*/ I.createElement(DJ, n);
default: return null;
}
}
-function STe(e) {
+function CTe(e) {
return /*#__PURE__*/ (0, I.isValidElement)(e) ? e.props : e;
}
function d3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = hTe(e, mTe), o;
- if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, l3(l3({}, a), STe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = gTe(e, hTe), o;
+ if (/*#__PURE__*/ (0, I.isValidElement)(t)) o = /*#__PURE__*/ (0, I.cloneElement)(t, l3(l3({}, a), CTe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (rTe(t) && typeof t != "boolean") {
- var s = bTe(t, a);
+ else if (iTe(t) && typeof t != "boolean") {
+ var s = xTe(t, a);
o = /*#__PURE__*/ I.createElement(u3, {
shapeType: n,
elementProps: s
@@ -63025,12 +63034,12 @@ function d3(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ I.createElement(lz, { className: r }, o) : /*#__PURE__*/ I.createElement(lz, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ I.createElement(uz, { className: r }, o) : /*#__PURE__*/ I.createElement(uz, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var f3 = (e, t, n) => {
- var r = oV();
+ var r = sV();
return (i, a) => (o) => {
e?.(i, a, o), r(n0({
activeIndex: String(a),
@@ -63040,14 +63049,14 @@ var f3 = (e, t, n) => {
}));
};
}, p3 = (e) => {
- var t = oV();
+ var t = sV();
return (n, r) => (i) => {
- e?.(n, r, i), t(sxe());
+ e?.(n, r, i), t(cxe());
};
}, m3 = (e, t, n) => {
- var r = oV();
+ var r = sV();
return (i, a) => (o) => {
- e?.(i, a, o), r(cxe({
+ e?.(i, a, o), r(lxe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -63058,9 +63067,9 @@ var f3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function h3(e) {
- var { tooltipEntrySettings: t } = e, n = oV(), r = NG(), i = (0, I.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = sV(), r = PG(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(rxe(t)) : i.current !== t && n(ixe({
+ r || (i.current === null ? n(ixe(t)) : i.current !== t && n(axe({
prev: i.current,
next: t
})), i.current = t);
@@ -63069,15 +63078,15 @@ function h3(e) {
n,
r
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(axe(i.current)), null);
+ i.current &&= (n(oxe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function g3(e) {
- var { legendPayload: t } = e, n = oV(), r = NG(), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = sV(), r = PG(), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- r || (i.current === null ? n(yq(t)) : i.current !== t && n(bq({
+ r || (i.current === null ? n(bq(t)) : i.current !== t && n(xq({
prev: i.current,
next: t
})), i.current = t);
@@ -63086,13 +63095,13 @@ function g3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(xq(i.current)), null);
+ i.current &&= (n(Sq(i.current)), null);
}, [n]), null;
}
function _3(e) {
- var { legendPayload: t } = e, n = oV(), r = Q(pK), i = (0, I.useRef)(null);
+ var { legendPayload: t } = e, n = sV(), r = Q(mK), i = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(yq(t)) : i.current !== t && n(bq({
+ (r === "centric" || r === "radial") && (i.current === null ? n(bq(t)) : i.current !== t && n(xq({
prev: i.current,
next: t
})), i.current = t);
@@ -63101,27 +63110,27 @@ function _3(e) {
r,
t
]), (0, I.useLayoutEffect)(() => () => {
- i.current &&= (n(xq(i.current)), null);
+ i.current &&= (n(Sq(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var CTe = I.useId ?? (() => {
- var [e] = I.useState(() => hB("uid-"));
+var wTe = I.useId ?? (() => {
+ var [e] = I.useState(() => gB("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function wTe(e, t) {
- var n = CTe();
+function TTe(e, t) {
+ var n = wTe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var TTe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
- var { id: t, type: n, children: r } = e, i = wTe(`recharts-${n}`, t);
- return /*#__PURE__*/ I.createElement(TTe.Provider, { value: i }, r(i));
-}, y3 = HU({
+var ETe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = TTe(`recharts-${n}`, t);
+ return /*#__PURE__*/ I.createElement(ETe.Provider, { value: i }, r(i));
+}, y3 = UU({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -63130,79 +63139,79 @@ var TTe = /*#__PURE__*/ (0, I.createContext)(void 0), v3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(hq(t.payload));
+ e.cartesianItems.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).cartesianItems.indexOf(hq(n));
- i > -1 && (e.cartesianItems[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).cartesianItems.indexOf(gq(n));
+ i > -1 && (e.cartesianItems[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = pU(e).cartesianItems.indexOf(hq(t.payload));
+ var n = mU(e).cartesianItems.indexOf(gq(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(hq(t.payload));
+ e.polarItems.push(gq(t.payload));
},
- prepare: DU()
+ prepare: OU()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = pU(e).polarItems.indexOf(hq(t.payload));
+ var n = mU(e).polarItems.indexOf(gq(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: DU()
+ prepare: OU()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = pU(e).polarItems.indexOf(hq(n));
- i > -1 && (e.polarItems[i] = hq(r));
+ var { prev: n, next: r } = t.payload, i = mU(e).polarItems.indexOf(gq(n));
+ i > -1 && (e.polarItems[i] = gq(r));
},
- prepare: DU()
+ prepare: OU()
}
}
-}), { addCartesianGraphicalItem: ETe, replaceCartesianGraphicalItem: DTe, removeCartesianGraphicalItem: OTe, addPolarGraphicalItem: kTe, removePolarGraphicalItem: ATe, replacePolarGraphicalItem: jTe } = y3.actions, MTe = y3.reducer, b3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = oV(), n = (0, I.useRef)(null);
+}), { addCartesianGraphicalItem: DTe, replaceCartesianGraphicalItem: OTe, removeCartesianGraphicalItem: kTe, addPolarGraphicalItem: ATe, removePolarGraphicalItem: jTe, replacePolarGraphicalItem: MTe } = y3.actions, NTe = y3.reducer, b3 = /*#__PURE__*/ (0, I.memo)((e) => {
+ var t = sV(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(ETe(e)) : n.current !== e && t(DTe({
+ n.current === null ? t(DTe(e)) : n.current !== e && t(OTe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(OTe(n.current)), null);
+ n.current &&= (t(kTe(n.current)), null);
}, [t]), null;
}), x3 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = oV(), n = (0, I.useRef)(null);
+ var t = sV(), n = (0, I.useRef)(null);
return (0, I.useLayoutEffect)(() => {
- n.current === null ? t(kTe(e)) : n.current !== e && t(jTe({
+ n.current === null ? t(ATe(e)) : n.current !== e && t(MTe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(ATe(n.current)), null);
+ n.current &&= (t(jTe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function NTe(e) {
+function PTe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function PTe(e) {
- if (!(!zB(e) || e.length === 0)) return NTe(L4(e));
+function FTe(e) {
+ if (!(!BB(e) || e.length === 0)) return PTe(L4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var FTe = ["points"];
+var ITe = ["points"];
function S3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -63217,26 +63226,26 @@ function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S3(Object(n), !0).forEach(function(t) {
- ITe(e, t, n[t]);
+ LTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ITe(e, t, n) {
- return (t = LTe(t)) in e ? Object.defineProperty(e, t, {
+function LTe(e, t, n) {
+ return (t = RTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LTe(e) {
- var t = RTe(e, "string");
+function RTe(e) {
+ var t = zTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RTe(e, t) {
+function zTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63255,16 +63264,16 @@ function w3() {
return e;
}, w3.apply(null, arguments);
}
-function zTe(e, t) {
+function BTe(e, t) {
if (e == null) return {};
- var n, r, i = BTe(e, t);
+ var n, r, i = VTe(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 BTe(e, t) {
+function VTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63273,19 +63282,19 @@ function BTe(e, t) {
}
return n;
}
-function VTe(e) {
+function HTe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, I.isValidElement)(t)) return /*#__PURE__*/ (0, I.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = bh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = zTe(a, FTe);
+ var i = bh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = BTe(a, ITe);
return /*#__PURE__*/ I.createElement(v4, w3({}, s, { className: i }));
}
-function HTe(e, t) {
+function UTe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function T3(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = BY.scatter } = e;
- if (!HTe(t, n)) return null;
+ if (!UTe(t, n)) return null;
var u = n3(n), d = Bpe(n), f = t.map((e, r) => {
var s = C3(C3(C3({ r: 3 }, o), d), {}, {
index: r,
@@ -63296,14 +63305,14 @@ function T3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ I.createElement(VTe, {
+ return /*#__PURE__*/ I.createElement(HTe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement(lz, w3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ I.createElement(t2, { zIndex: l }, /*#__PURE__*/ I.createElement(uz, w3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -63321,26 +63330,26 @@ function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E3(Object(n), !0).forEach(function(t) {
- UTe(e, t, n[t]);
+ WTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UTe(e, t, n) {
- return (t = WTe(t)) in e ? Object.defineProperty(e, t, {
+function WTe(e, t, n) {
+ return (t = GTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WTe(e) {
- var t = GTe(e, "string");
+function GTe(e) {
+ var t = KTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GTe(e, t) {
+function KTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63350,7 +63359,7 @@ function GTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var O3 = HU({
+var O3 = UU({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -63360,60 +63369,60 @@ var O3 = HU({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = hq(t.payload);
+ e.xAxis[t.payload.id] = gq(t.payload);
},
- prepare: DU()
+ prepare: OU()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = hq(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: DU()
+ prepare: OU()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = hq(t.payload);
+ e.yAxis[t.payload.id] = gq(t.payload);
},
- prepare: DU()
+ prepare: OU()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = hq(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: DU()
+ prepare: OU()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = hq(t.payload);
+ e.zAxis[t.payload.id] = gq(t.payload);
},
- prepare: DU()
+ prepare: OU()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = hq(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = gq(r));
},
- prepare: DU()
+ prepare: OU()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: DU()
+ prepare: OU()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -63428,15 +63437,15 @@ var O3 = HU({
}
}
}
-}), { addXAxis: KTe, replaceXAxis: qTe, removeXAxis: JTe, addYAxis: YTe, replaceYAxis: XTe, removeYAxis: ZTe, addZAxis: QTe, replaceZAxis: $Te, removeZAxis: eEe, updateYAxisWidth: tEe } = O3.actions, nEe = O3.reducer, rEe = $([
- $([kG], (e) => ({
+}), { addXAxis: qTe, replaceXAxis: JTe, removeXAxis: YTe, addYAxis: XTe, replaceYAxis: ZTe, removeYAxis: QTe, addZAxis: $Te, replaceZAxis: eEe, removeZAxis: tEe, updateYAxisWidth: nEe } = O3.actions, rEe = O3.reducer, iEe = $([
+ $([AG], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- fG,
- pG
+ pG,
+ mG
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -63444,7 +63453,7 @@ var O3 = HU({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), k3 = () => Q(rEe), iEe = () => Q(Lxe);
+}), k3 = () => Q(iEe), aEe = () => Q(Rxe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function A3(e, t) {
@@ -63461,26 +63470,26 @@ function j3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? A3(Object(n), !0).forEach(function(t) {
- aEe(e, t, n[t]);
+ oEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aEe(e, t, n) {
- return (t = oEe(t)) in e ? Object.defineProperty(e, t, {
+function oEe(e, t, n) {
+ return (t = sEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oEe(e) {
- var t = sEe(e, "string");
+function sEe(e) {
+ var t = cEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sEe(e, t) {
+function cEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63490,7 +63499,7 @@ function sEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var cEe = (e) => {
+var lEe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
var s = j3(j3(j3({}, {
@@ -63504,17 +63513,17 @@ var cEe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), iz(i)), AB(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
- return /*#__PURE__*/ I.createElement(lz, {
+ }), az(i)), jB(i)), c = /*#__PURE__*/ (0, I.isValidElement)(i) ? /*#__PURE__*/ (0, I.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ I.createElement(v4, s);
+ return /*#__PURE__*/ I.createElement(uz, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function M3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = BY.activeDot } = e, s = Q(P0), c = iEe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = BY.activeDot } = e, s = Q(P0), c = aEe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return bB(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(cEe, {
+ return xB(l) ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: o }, /*#__PURE__*/ I.createElement(lEe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -63539,26 +63548,26 @@ function P3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N3(Object(n), !0).forEach(function(t) {
- lEe(e, t, n[t]);
+ uEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lEe(e, t, n) {
- return (t = uEe(t)) in e ? Object.defineProperty(e, t, {
+function uEe(e, t, n) {
+ return (t = dEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uEe(e) {
- var t = dEe(e, "string");
+function dEe(e) {
+ var t = fEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dEe(e, t) {
+function fEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63568,13 +63577,13 @@ function dEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F3 = (e, t) => O4(e, "radiusAxis", t), fEe = $([F3], (e) => {
+var F3 = (e, t) => O4(e, "radiusAxis", t), pEe = $([F3], (e) => {
if (e != null) return { scale: e };
-}), pEe = $([XY, F3], (e, t) => {
+}), mEe = $([XY, F3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), mEe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => YY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), hEe = $([I3, L3], (e, t) => {
+}), hEe = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => YY(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), gEe = $([I3, L3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), gEe = (e, t, n, r) => A4(e, "angleAxis", n, r), _Ee = $([
+}), _Ee = (e, t, n, r) => A4(e, "angleAxis", n, r), vEe = $([
I3,
L3,
rX
@@ -63586,30 +63595,30 @@ var F3 = (e, t) => O4(e, "radiusAxis", t), fEe = $([F3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), vEe = (e, t, n, r, i) => i, yEe = $([
- pK,
- pEe,
+}), yEe = (e, t, n, r, i) => i, bEe = $([
+ mK,
mEe,
hEe,
- gEe
-], (e, t, n, r, i) => KW(e, "radiusAxis") ? sG(t, n, !1) : sG(r, i, !1)), bEe = $([
- fEe,
- _Ee,
+ gEe,
+ _Ee
+], (e, t, n, r, i) => qW(e, "radiusAxis") ? cG(t, n, !1) : cG(r, i, !1)), xEe = $([
+ pEe,
+ vEe,
hY,
- $([y4, vEe], (e, t) => {
+ $([y4, yEe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- yEe
+ bEe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return AEe({
+ if (e != null && t != null && a != null && i != null && r != null) return jEe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), xEe = ["id"];
+}), SEe = ["id"];
function R3() {
return R3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63633,26 +63642,26 @@ function B3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z3(Object(n), !0).forEach(function(t) {
- SEe(e, t, n[t]);
+ CEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SEe(e, t, n) {
- return (t = CEe(t)) in e ? Object.defineProperty(e, t, {
+function CEe(e, t, n) {
+ return (t = wEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CEe(e) {
- var t = wEe(e, "string");
+function wEe(e) {
+ var t = TEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wEe(e, t) {
+function TEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63662,16 +63671,16 @@ function wEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function TEe(e, t) {
+function EEe(e, t) {
if (e == null) return {};
- var n, r, i = EEe(e, t);
+ var n, r, i = DEe(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 EEe(e, t) {
+function DEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63683,27 +63692,27 @@ function EEe(e, t) {
function V3(e, t) {
return e && e !== "none" ? e : t;
}
-var DEe = (e) => {
+var OEe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: V3(r, i),
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, OEe = /*#__PURE__*/ I.memo((e) => {
+}, kEe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: CB,
+ getPosition: wB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: lG(a, t),
+ name: uG(a, t),
hide: o,
type: s,
color: V3(n, i),
@@ -63713,8 +63722,8 @@ var DEe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: l });
});
-function kEe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = rz(TEe(n, xEe));
+function AEe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = iz(EEe(n, SEe));
return /*#__PURE__*/ I.createElement(T3, {
points: t,
dot: r,
@@ -63724,10 +63733,10 @@ function kEe(e) {
baseProps: o
});
}
-function AEe(e) {
+function jEe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = WW(e, n.dataKey, r), d = WW(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? PTe(d) : d, m = bB(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = GW(e, n.dataKey, r), d = GW(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? FTe(d) : d, m = xB(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(B3(B3({}, aY(o, s, m, f)), {}, {
name: a,
value: d,
@@ -63741,7 +63750,7 @@ function AEe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = bB(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = xB(n) ? 0 : t.scale.map(n) ?? 0;
d.push(B3(B3({}, e), {}, { radius: r }, aY(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -63750,7 +63759,7 @@ function AEe(e) {
baseLinePoints: d
};
}
-function jEe(e) {
+function MEe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -63770,10 +63779,10 @@ function jEe(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, r);
}
-function MEe(e) {
+function NEe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, R3({}, az(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ I.isValidElement(i) ? /*#__PURE__*/ I.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ I.createElement(g4, R3({}, oz(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -63786,7 +63795,7 @@ function MEe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ I.createElement(lz, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(kEe, {
+ return /*#__PURE__*/ I.createElement(uz, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ I.createElement(AEe, {
props: r,
points: t
}));
@@ -63794,20 +63803,20 @@ function MEe(e) {
var H3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? B3(B3({}, r), {}, {
- x: vB(a.x, r.x, n),
- y: vB(a.y, r.y, n)
+ x: yB(a.x, r.x, n),
+ y: yB(a.y, r.y, n)
}) : B3(B3({}, r), {}, {
- x: vB(r.cx, r.x, n),
- y: vB(r.cy, r.y, n)
+ x: yB(r.cx, r.x, n),
+ y: yB(r.cy, r.y, n)
});
};
-function NEe(e) {
+function PEe(e) {
var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = KJ(t, "recharts-radar-"), [_, v] = (0, I.useState)(!1), y = !_, b = (0, I.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, I.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ I.createElement(jEe, {
+ return /*#__PURE__*/ I.createElement(MEe, {
showLabels: y,
points: i
}, /*#__PURE__*/ I.createElement(GJ, {
@@ -63821,22 +63830,22 @@ function NEe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(H3(f, m, e)), s = e === 1 ? a : a?.map(H3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(MEe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ I.createElement(NEe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function PEe(e) {
+function FEe(e) {
var t = (0, I.useRef)(void 0), n = (0, I.useRef)(void 0);
- return /*#__PURE__*/ I.createElement(NEe, {
+ return /*#__PURE__*/ I.createElement(PEe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var FEe = {
+var IEe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -63850,27 +63859,27 @@ var FEe = {
radiusAxisId: 0,
zIndex: BY.area
};
-function IEe(e) {
+function LEe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = bh("recharts-radar", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(lz, { className: i }, /*#__PURE__*/ I.createElement(PEe, e)), /*#__PURE__*/ I.createElement(M3, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: i }, /*#__PURE__*/ I.createElement(FEe, e)), /*#__PURE__*/ I.createElement(M3, {
points: r,
mainColor: V3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function LEe(e) {
- var t = NG(), n = Q((n) => bEe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ I.createElement(IEe, R3({}, e, {
+function REe(e) {
+ var t = PG(), n = Q((n) => xEe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ I.createElement(LEe, R3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function U3(e) {
- var t = NB(e, FEe);
+ var t = PB(e, IEe);
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "radar"
@@ -63882,7 +63891,7 @@ function U3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ I.createElement(_3, { legendPayload: DEe(t) }), /*#__PURE__*/ I.createElement(OEe, {
+ }), /*#__PURE__*/ I.createElement(_3, { legendPayload: OEe(t) }), /*#__PURE__*/ I.createElement(kEe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -63891,7 +63900,7 @@ function U3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ I.createElement(LEe, R3({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(REe, R3({}, t, { id: e }))));
}
U3.displayName = "Radar";
//#endregion
@@ -63915,7 +63924,7 @@ function K3(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var q3 = (e, t, n) => {
var r = n ?? e;
- if (!bB(r)) return gB(r, t, 0);
+ if (!xB(r)) return _B(r, t, 0);
}, J3 = (e, t, n) => {
var r = {}, i = e.filter(cX), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -63950,26 +63959,26 @@ function X3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y3(Object(n), !0).forEach(function(t) {
- REe(e, t, n[t]);
+ zEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function REe(e, t, n) {
- return (t = zEe(t)) in e ? Object.defineProperty(e, t, {
+function zEe(e, t, n) {
+ return (t = BEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zEe(e) {
- var t = BEe(e, "string");
+function BEe(e) {
+ var t = VEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BEe(e, t) {
+function VEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63979,11 +63988,11 @@ function BEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function VEe(e, t, n, r, i) {
+function HEe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = gB(e, n, 0, !0), s, c = [];
- if (LW(r[0]?.barSize)) {
+ var o = _B(e, n, 0, !0), s, c = [];
+ if (RW(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -64002,11 +64011,11 @@ function VEe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = gB(t, n, 0, !0);
+ var p = _B(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m >>= 0);
- var h = LW(i) ? Math.min(m, i) : m;
+ var h = RW(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -64020,7 +64029,7 @@ function VEe(e, t, n, r, i) {
}
}
var Z3 = (e, t, n, r, i, a, o) => {
- var s = bB(o) ? t : o, c = VEe(n, r, i === a ? a : i, e, s);
+ var s = xB(o) ? t : o, c = HEe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => X3(X3({}, e), {}, { position: X3(X3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Q3 = (e, t) => {
var n = oX(t);
@@ -64056,26 +64065,26 @@ function t6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? e6(Object(n), !0).forEach(function(t) {
- HEe(e, t, n[t]);
+ UEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HEe(e, t, n) {
- return (t = UEe(t)) in e ? Object.defineProperty(e, t, {
+function UEe(e, t, n) {
+ return (t = WEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UEe(e) {
- var t = WEe(e, "string");
+function WEe(e) {
+ var t = GEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WEe(e, t) {
+function GEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64087,30 +64096,30 @@ function WEe(e, t) {
}
var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
-}), r6 = (e, t) => rwe(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => YY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
+}), r6 = (e, t) => iwe(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => YY(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
}), a6 = (e, t, n) => A4(e, "angleAxis", n, !1), o6 = $([y4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), s6 = $([
- pK,
+ mK,
n6,
r6,
i6,
a6
-], (e, t, n, r, i) => KW(e, "radiusAxis") ? sG(t, n, !1) : sG(r, i, !1)), GEe = $([
+], (e, t, n, r, i) => qW(e, "radiusAxis") ? cG(t, n, !1) : cG(r, i, !1)), KEe = $([
i6,
n6,
- pK
+ mK
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return tG({ numericAxis: r });
-}), KEe = (e, t, n, r, i) => i, qEe = (e, t, n, r, i) => n, JEe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", YEe = $([$([
+ if (r != null && r.scale != null) return nG({ numericAxis: r });
+}), qEe = (e, t, n, r, i) => i, JEe = (e, t, n, r, i) => n, YEe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", XEe = $([$([
$([
$([
- pK,
+ mK,
y4,
- qEe,
- JEe
+ JEe,
+ YEe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(l6)),
NY,
() => void 0
@@ -64119,7 +64128,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
jY,
MY,
$([
- pK,
+ mK,
AY,
i6,
a6,
@@ -64127,8 +64136,8 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
r6,
c6
], (e, t, n, r, i, a, o) => {
- var s = bB(o) ? t : o;
- return e === "centric" ? sG(n, r, !0) ?? s ?? 0 : sG(i, a, !0) ?? s ?? 0;
+ var s = xB(o) ? t : o;
+ return e === "centric" ? cG(n, r, !0) ?? s ?? 0 : cG(i, a, !0) ?? s ?? 0;
}),
s6,
c6
@@ -64141,7 +64150,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
u6,
PY,
FY
-], i1), XEe = $([
+], i1), ZEe = $([
i6,
a6,
n6,
@@ -64149,17 +64158,17 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
mY,
o6,
s6,
- pK,
- GEe,
- rX,
+ mK,
KEe,
- YEe,
- $([(e, t, n) => pK(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
+ rX,
+ qEe,
+ XEe,
+ $([(e, t, n) => mK(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return pDe({
+ return mDe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -64180,7 +64189,7 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), ZEe = $([hY, (e, t) => t], (e, t) => {
+}), QEe = $([hY, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -64194,20 +64203,20 @@ var n6 = $([(e, t) => XY(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function f6(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && LW(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && RW(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var QEe = [
+var $Ee = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], $Ee = [
+], eDe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], eDe = ["value", "background"];
+], tDe = ["value", "background"];
function p6() {
return p6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -64231,26 +64240,26 @@ function h6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m6(Object(n), !0).forEach(function(t) {
- tDe(e, t, n[t]);
+ nDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tDe(e, t, n) {
- return (t = nDe(t)) in e ? Object.defineProperty(e, t, {
+function nDe(e, t, n) {
+ return (t = rDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nDe(e) {
- var t = rDe(e, "string");
+function rDe(e) {
+ var t = iDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rDe(e, t) {
+function iDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64262,14 +64271,14 @@ function rDe(e, t) {
}
function g6(e, t) {
if (e == null) return {};
- var n, r, i = iDe(e, t);
+ var n, r, i = aDe(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 iDe(e, t) {
+function aDe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64279,7 +64288,7 @@ function iDe(e, t) {
return n;
}
var _6 = [];
-function aDe(e) {
+function oDe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -64296,15 +64305,15 @@ function aDe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ I.createElement(GCe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ I.createElement(KCe, { value: t ? i : void 0 }, r);
}
-function oDe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, QEe), l = rz(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, $Ee), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ I.createElement(aDe, {
+function sDe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, $Ee), l = iz(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, eDe), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ I.createElement(oDe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), jB(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), MB(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -64321,7 +64330,7 @@ function oDe(e) {
}, /*#__PURE__*/ I.createElement(K3, f)) : /*#__PURE__*/ I.createElement(K3, p6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }), n.children);
}
-function sDe(e) {
+function cDe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = KJ(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, I.useState)(!1), m = (0, I.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, I.useCallback)(() => {
@@ -64340,34 +64349,34 @@ function sDe(e) {
var i = e === 1 ? r : (r ?? _6).map((t, n) => {
var r = d && d[n];
if (r) return h6(h6({}, t), {}, {
- startAngle: vB(r.startAngle, t.startAngle, e),
- endAngle: vB(r.endAngle, t.endAngle, e)
+ startAngle: yB(r.startAngle, t.startAngle, e),
+ endAngle: yB(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return h6(h6({}, t), {}, { endAngle: vB(a, i, e) });
+ return h6(h6({}, t), {}, { endAngle: yB(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(oDe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ I.createElement(sDe, {
sectors: i ?? _6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function cDe(e) {
+function lDe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(sDe, {
+ return /*#__PURE__*/ I.createElement(cDe, {
props: e,
previousSectorsRef: t
});
}
-function lDe(e) {
- var t = Q((t) => ZEe(t, e.legendType));
+function uDe(e) {
+ var t = Q((t) => QEe(t, e.legendType));
return /*#__PURE__*/ I.createElement(_3, { legendPayload: t ?? [] });
}
-var uDe = /*#__PURE__*/ I.memo((e) => {
+var dDe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: CB,
+ getPosition: wB,
settings: {
graphicalItemId: l,
stroke: r,
@@ -64375,7 +64384,7 @@ var uDe = /*#__PURE__*/ I.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: lG(a, t),
+ name: uG(a, t),
hide: o,
type: c,
color: s,
@@ -64383,14 +64392,14 @@ var uDe = /*#__PURE__*/ I.memo((e) => {
}
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: u });
-}), dDe = class extends I.PureComponent {
+}), fDe = class extends I.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = iz(this.props.background);
+ var { cornerRadius: t } = this.props, n = az(this.props.background);
return /*#__PURE__*/ I.createElement(t2, { zIndex: f6(this.props.background, BY.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = g6(e, eDe);
+ var { value: i, background: a } = e, o = g6(e, tDe);
if (!a) return null;
- var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), jB(this.props, e, r)), {}, {
+ var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), MB(this.props, e, r)), {}, {
index: r,
className: bh("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -64403,17 +64412,17 @@ var uDe = /*#__PURE__*/ I.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = bh("recharts-area", n);
- return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(lz, { className: i }, r && /*#__PURE__*/ I.createElement(lz, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(lz, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(cDe, this.props))));
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: i }, r && /*#__PURE__*/ I.createElement(uz, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ I.createElement(uz, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ I.createElement(lDe, this.props))));
}
};
-function fDe(e) {
+function pDe(e) {
var t = I.useMemo(() => t3(e.children, v2), [e.children]), n = I.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: QW(e.stackId),
+ stackId: $W(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -64428,8 +64437,8 @@ function fDe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => XEe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(uDe, {
+ ]), r = Q((r) => ZEe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(dDe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -64439,7 +64448,7 @@ function fDe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ I.createElement(dDe, p6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ I.createElement(fDe, p6({}, e, { sectors: r })));
}
var v6 = {
angleAxisId: 0,
@@ -64458,12 +64467,12 @@ var v6 = {
radiusAxisId: 0,
zIndex: BY.bar
};
-function pDe(e) {
+function mDe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
return g == null || l == null ? _6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = YW(n[r + t], i) : (b = WW(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 = eG({
+ if (n ? b = XW(n[r + t], i) : (b = GW(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 = tG({
axis: c,
ticks: l,
bandSize: u,
@@ -64474,7 +64483,7 @@ function pDe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = dB(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = fB(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -64486,7 +64495,7 @@ function pDe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = eG({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = tG({
axis: f,
ticks: g,
bandSize: u,
@@ -64497,7 +64506,7 @@ function pDe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = dB(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = fB(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -64514,7 +64523,7 @@ function pDe(e) {
});
}
function y6(e) {
- var t = NB(e, v6);
+ var t = PB(e, v6);
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "radialBar"
@@ -64526,17 +64535,17 @@ function y6(e) {
hide: t.hide ?? v6.hide,
angleAxisId: t.angleAxisId ?? v6.angleAxisId,
radiusAxisId: t.radiusAxisId ?? v6.radiusAxisId,
- stackId: QW(t.stackId),
+ stackId: $W(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ I.createElement(lDe, t), /*#__PURE__*/ I.createElement(fDe, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(uDe, t), /*#__PURE__*/ I.createElement(pDe, p6({}, t, { id: e }))));
}
y6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var b6 = (e) => {
- var { chartData: t } = e, n = oV(), r = NG();
+ var { chartData: t } = e, n = sV(), r = PG();
return (0, I.useEffect)(() => r ? () => {} : (n(f2(t)), () => {
n(f2(void 0));
}), [
@@ -64555,13 +64564,13 @@ var b6 = (e) => {
bottom: 0,
left: 0
}
-}, S6 = HU({
+}, S6 = UU({
name: "brush",
initialState: x6,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? x6 : t.payload;
} }
-}), { setBrushSettings: mDe } = S6.actions, hDe = S6.reducer, gDe = (e, t) => {
+}), { setBrushSettings: hDe } = S6.actions, gDe = S6.reducer, _De = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -64569,9 +64578,9 @@ var b6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, _De = (e) => {
+}, vDe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return gDe({
+ return _De({
x: t,
y: n
}, {
@@ -64579,13 +64588,13 @@ var b6 = (e) => {
y: i
});
};
-function vDe(e) {
+function yDe(e) {
return (e % 180 + 180) % 180;
}
-var yDe = function(e) {
- var { width: t, height: n } = e, r = vDe(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 bDe = function(e) {
+ var { width: t, height: n } = e, r = yDe(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);
-}, C6 = HU({
+}, C6 = UU({
name: "referenceElements",
initialState: {
dots: [],
@@ -64597,26 +64606,26 @@ var yDe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = pU(e).dots.findIndex((e) => e === t.payload);
+ var n = mU(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = pU(e).areas.findIndex((e) => e === t.payload);
+ var n = mU(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(hq(t.payload));
+ e.lines.push(gq(t.payload));
},
removeLine: (e, t) => {
- var n = pU(e).lines.findIndex((e) => e === t.payload);
+ var n = mU(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: bDe, removeDot: xDe, addArea: SDe, removeArea: CDe, addLine: wDe, removeLine: TDe } = C6.actions, EDe = C6.reducer, w6 = /*#__PURE__*/ (0, I.createContext)(void 0), DDe = (e) => {
- var { children: t } = e, [n] = (0, I.useState)(`${hB("recharts")}-clip`), r = k3();
+}), { addDot: xDe, removeDot: SDe, addArea: CDe, removeArea: wDe, addLine: TDe, removeLine: EDe } = C6.actions, DDe = C6.reducer, w6 = /*#__PURE__*/ (0, I.createContext)(void 0), ODe = (e) => {
+ var { children: t } = e, [n] = (0, I.useState)(`${gB("recharts")}-clip`), r = k3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ I.createElement(w6.Provider, { value: n }, /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: n }, /*#__PURE__*/ I.createElement("rect", {
@@ -64625,7 +64634,7 @@ var yDe = function(e) {
height: s,
width: o
}))), t);
-}, ODe = () => (0, I.useContext)(w6), kDe = class {
+}, kDe = () => (0, I.useContext)(w6), ADe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -64665,26 +64674,26 @@ function E6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? T6(Object(n), !0).forEach(function(t) {
- ADe(e, t, n[t]);
+ jDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ADe(e, t, n) {
- return (t = jDe(t)) in e ? Object.defineProperty(e, t, {
+function jDe(e, t, n) {
+ return (t = MDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jDe(e) {
- var t = MDe(e, "string");
+function MDe(e) {
+ var t = NDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MDe(e, t) {
+function NDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64703,18 +64712,18 @@ function D6() {
return e;
}, D6.apply(null, arguments);
}
-var NDe = (e, t) => {
+var PDe = (e, t) => {
var n;
if (/*#__PURE__*/ I.isValidElement(e)) n = /*#__PURE__*/ I.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!LW(t.x1) || !LW(t.y1) || !LW(t.x2) || !LW(t.y2)) return null;
+ if (!RW(t.x1) || !RW(t.y1) || !RW(t.x2) || !RW(t.y2)) return null;
n = /*#__PURE__*/ I.createElement("line", D6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, PDe = (e, t, n, r, i, a) => {
+}, FDe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!LW(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!RW(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -64723,9 +64732,9 @@ var NDe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, FDe = (e, t, n, r, i, a) => {
+}, IDe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!LW(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!RW(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -64734,7 +64743,7 @@ var NDe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, IDe = (e, t, n, r) => {
+}, LDe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -64743,43 +64752,43 @@ var NDe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, LDe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = mB(s);
- return mB(c) ? PDe(c, u, r, a, t, n) : d ? FDe(s, u, r, i, e, n) : l != null && l.length === 2 ? IDe(l, u, r, new kDe({
+}, RDe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = hB(s);
+ return hB(c) ? FDe(c, u, r, a, t, n) : d ? IDe(s, u, r, i, e, n) : l != null && l.length === 2 ? LDe(l, u, r, new ADe({
x: e,
y: t
})) : null;
};
-function RDe(e) {
- var t = oV();
- return (0, I.useEffect)(() => (t(wDe(e)), () => {
- t(TDe(e));
+function zDe(e) {
+ var t = sV();
+ return (0, I.useEffect)(() => (t(TDe(e)), () => {
+ t(EDe(e));
})), null;
}
-function zDe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = NG(), s = ODe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = sK();
+function BDe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = PG(), s = kDe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = cK();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = LDe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = RDe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, az(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, oz(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = _De({
+ }), x = vDe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(lz, { className: bh("recharts-reference-line", i) }, NDe(r, b), /*#__PURE__*/ I.createElement(Z2, D6({}, x, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-reference-line", i) }, PDe(r, b), /*#__PURE__*/ I.createElement(Z2, D6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ I.createElement(a4, { label: e.label }), e.children)));
}
-var BDe = {
+var VDe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -64792,15 +64801,15 @@ var BDe = {
zIndex: BY.line
};
function O6(e) {
- var t = NB(e, BDe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(RDe, {
+ var t = PB(e, VDe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(zDe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ I.createElement(zDe, t));
+ }), /*#__PURE__*/ I.createElement(BDe, t));
}
O6.displayName = "ReferenceLine";
//#endregion
@@ -64816,13 +64825,13 @@ function k6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function VDe(e, t, n) {
- return yDe({
+function HDe(e, t, n) {
+ return bDe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function HDe(e, t, n) {
+function UDe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -64837,12 +64846,12 @@ function A6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function UDe(e, t) {
+function WDe(e, t) {
return k6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function WDe(e, t, n, r, i) {
+function GDe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
if (t === void 0) return { v: k6(r, l) };
@@ -64851,7 +64860,7 @@ function WDe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function GDe(e, t, n, r, i) {
+function KDe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
@@ -64888,26 +64897,26 @@ function M6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j6(Object(n), !0).forEach(function(t) {
- KDe(e, t, n[t]);
+ qDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KDe(e, t, n) {
- return (t = qDe(t)) in e ? Object.defineProperty(e, t, {
+function qDe(e, t, n) {
+ return (t = JDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qDe(e) {
- var t = JDe(e, "string");
+function JDe(e) {
+ var t = YDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JDe(e, t) {
+function YDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64917,7 +64926,7 @@ function JDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function YDe(e, t, n, r, i) {
+function XDe(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -64930,7 +64939,7 @@ function YDe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function XDe(e, t, n, r, i, a) {
+function ZDe(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
@@ -64954,7 +64963,7 @@ function XDe(e, t, n, r, i, a) {
function N6(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || pJ.isSsr) return UDe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || pJ.isSsr) return WDe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
fontSize: t,
letterSpacing: n
@@ -64963,19 +64972,19 @@ function N6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? VDe(w2(i, {
+ return p === "width" ? HDe(w2(i, {
fontSize: t,
letterSpacing: n
}), m, d) : w2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? dB(_.coordinate - g.coordinate) : 1, y = HDe(a, v, p);
- return c === "equidistantPreserveStart" ? WDe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? GDe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? XDe(v, y, h, i, o, c === "preserveStartEnd") : YDe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? fB(_.coordinate - g.coordinate) : 1, y = UDe(a, v, p);
+ return c === "equidistantPreserveStart" ? GDe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? KDe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? ZDe(v, y, h, i, o, c === "preserveStartEnd") : XDe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var ZDe = (e) => {
+var QDe = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -64988,7 +64997,7 @@ var ZDe = (e) => {
return Math.round(l);
}
return 0;
-}, P6 = HU({
+}, P6 = UU({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -64997,14 +65006,14 @@ var ZDe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = hq(i);
+ e[n][r] = gq(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: QDe, removeRenderedTicks: $De } = P6.actions, eOe = P6.reducer, tOe = [
+}), { setRenderedTicks: $De, removeRenderedTicks: eOe } = P6.actions, tOe = P6.reducer, nOe = [
"axisLine",
"width",
"height",
@@ -65014,16 +65023,16 @@ var ZDe = (e) => {
"axisType",
"axisId"
];
-function nOe(e, t) {
+function rOe(e, t) {
if (e == null) return {};
- var n, r, i = rOe(e, t);
+ var n, r, i = iOe(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 rOe(e, t) {
+function iOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65055,26 +65064,26 @@ function L6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? I6(Object(n), !0).forEach(function(t) {
- iOe(e, t, n[t]);
+ aOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iOe(e, t, n) {
- return (t = aOe(t)) in e ? Object.defineProperty(e, t, {
+function aOe(e, t, n) {
+ return (t = oOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aOe(e) {
- var t = oOe(e, "string");
+function oOe(e) {
+ var t = sOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oOe(e, t) {
+function sOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65108,10 +65117,10 @@ var R6 = {
interval: "preserveEnd",
zIndex: BY.axis
};
-function sOe(e) {
+function cOe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = L6(L6(L6({}, c), rz(s)), {}, { fill: "none" });
+ var l = L6(L6(L6({}, c), iz(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = L6(L6({}, l), {}, {
@@ -65129,9 +65138,9 @@ function sOe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ I.createElement("line", F6({}, l, { className: bh("recharts-cartesian-axis-line", cB(s, "className")) }));
+ return /*#__PURE__*/ I.createElement("line", F6({}, l, { className: bh("recharts-cartesian-axis-line", lB(s, "className")) }));
}
-function cOe(e, t, n, r, i, a, o, s, c) {
+function lOe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -65158,14 +65167,14 @@ function cOe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function lOe(e, t) {
+function uOe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function uOe(e, t) {
+function dOe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -65173,7 +65182,7 @@ function uOe(e, t) {
default: return t ? "end" : "start";
}
}
-function dOe(e) {
+function fOe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = bh(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ I.isValidElement(t)) i = /*#__PURE__*/ I.cloneElement(t, L6(L6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(L6(L6({}, n), {}, { className: a }));
@@ -65183,9 +65192,9 @@ function dOe(e) {
}
return i;
}
-function fOe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = oV();
- return (0, I.useEffect)(() => r == null || n == null ? CB : (i(QDe({
+function pOe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = sV();
+ return (0, I.useEffect)(() => r == null || n == null ? wB : (i($De({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -65195,7 +65204,7 @@ function fOe(e) {
axisId: r,
axisType: n
})), () => {
- i($De({
+ i(eOe({
axisId: r,
axisType: n
}));
@@ -65206,15 +65215,15 @@ function fOe(e) {
n
]), null;
}
-var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = rz(b), E = iz(r), D = L2(T.textAnchor) ? T.textAnchor : lOe(u, d), O = uOe(u, d), k = {};
+var mOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = iz(b), E = az(r), D = L2(T.textAnchor) ? T.textAnchor : uOe(u, d), O = dOe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, cOe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, lOe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ I.createElement(lz, {
+ return /*#__PURE__*/ I.createElement(uz, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ I.createElement("line", F6({}, A, n, { className: bh("recharts-cartesian-axis-tick-line", cB(i, "className")) })));
+ }, i && /*#__PURE__*/ I.createElement("line", F6({}, A, n, { className: bh("recharts-cartesian-axis-tick-line", lB(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = L6(L6({}, L6(L6(L6(L6({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -65227,16 +65236,16 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ I.createElement(lz, F6({
+ return /*#__PURE__*/ I.createElement(uz, F6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, jB(x, n, t)), r && /*#__PURE__*/ I.createElement(dOe, {
+ }, MB(x, n, t)), r && /*#__PURE__*/ I.createElement(fOe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(fOe, {
+ return /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ I.createElement(pOe, {
ticks: w,
axisId: C,
axisType: S
@@ -65244,9 +65253,9 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ I.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), mOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = nOe(e, tOe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
- (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => ZDe({
+}), hOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = rOe(e, nOe), [d, f] = (0, I.useState)(""), [p, m] = (0, I.useState)(""), h = (0, I.useRef)(null);
+ (0, I.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => QDe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -65264,7 +65273,7 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(lz, { className: bh("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(sOe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ I.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ I.createElement(uz, { className: bh("recharts-cartesian-axis", a) }, /*#__PURE__*/ I.createElement(cOe, {
x: e.x,
y: e.y,
width: r,
@@ -65272,8 +65281,8 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: rz(e)
- }), /*#__PURE__*/ I.createElement(pOe, {
+ otherSvgProps: iz(e)
+ }), /*#__PURE__*/ I.createElement(mOe, {
ref: g,
axisType: c,
events: u,
@@ -65309,19 +65318,19 @@ var pOe = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), z6 = /*#__PURE__*/ I.forwardRef((e, t) => {
- var n = NB(e, R6);
- return /*#__PURE__*/ I.createElement(mOe, F6({}, n, { ref: t }));
+ var n = PB(e, R6);
+ return /*#__PURE__*/ I.createElement(hOe, F6({}, n, { ref: t }));
});
z6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var hOe = [
+var gOe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], gOe = ["offset"], _Oe = ["xAxisId", "yAxisId"], vOe = ["xAxisId", "yAxisId"];
+], _Oe = ["offset"], vOe = ["xAxisId", "yAxisId"], yOe = ["xAxisId", "yAxisId"];
function B6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -65336,26 +65345,26 @@ function V6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B6(Object(n), !0).forEach(function(t) {
- yOe(e, t, n[t]);
+ bOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yOe(e, t, n) {
- return (t = bOe(t)) in e ? Object.defineProperty(e, t, {
+function bOe(e, t, n) {
+ return (t = xOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bOe(e) {
- var t = xOe(e, "string");
+function xOe(e) {
+ var t = SOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xOe(e, t) {
+function SOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65376,14 +65385,14 @@ function H6() {
}
function U6(e, t) {
if (e == null) return {};
- var n, r, i = SOe(e, t);
+ var n, r, i = COe(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 SOe(e, t) {
+function COe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65392,7 +65401,7 @@ function SOe(e, t) {
}
return n;
}
-var COe = (e) => {
+var wOe = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -65413,7 +65422,7 @@ function W6(e) {
if (/*#__PURE__*/ I.isValidElement(t)) r = /*#__PURE__*/ I.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = rz(U6(n, hOe)) ?? {}, { offset: u } = l, d = U6(l, gOe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = iz(U6(n, gOe)) ?? {}, { offset: u } = l, d = U6(l, _Oe);
r = /*#__PURE__*/ I.createElement("line", H6({}, d, {
x1: i,
y1: a,
@@ -65425,10 +65434,10 @@ function W6(e) {
}
return r;
}
-function wOe(e) {
+function TOe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = U6(e, _Oe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, vOe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: t,
y1: e,
@@ -65445,10 +65454,10 @@ function wOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function TOe(e) {
+function EOe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = U6(e, vOe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, yOe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: e,
y1: t,
@@ -65465,7 +65474,7 @@ function TOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function EOe(e) {
+function DOe(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -65488,7 +65497,7 @@ function EOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function DOe(e) {
+function OOe(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -65511,10 +65520,10 @@ function DOe(e) {
});
return /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var OOe = (e, t) => {
+var kOe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return qW(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: JW(n, !0),
+ return JW(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: YW(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -65522,10 +65531,10 @@ var OOe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, kOe = (e, t) => {
+}, AOe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return qW(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: JW(n, !0),
+ return JW(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: YW(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -65533,7 +65542,7 @@ var OOe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, AOe = {
+}, jOe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -65548,14 +65557,14 @@ var OOe = (e, t) => {
zIndex: BY.grid
};
function G6(e) {
- var t = uK(), n = dK(), r = lK(), i = V6(V6({}, NB(e, AOe)), {}, {
+ var t = dK(), n = fK(), r = uK(), i = V6(V6({}, PB(e, jOe)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
- }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = NG(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
- if (!RW(l) || !RW(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || OOe, v = i.horizontalCoordinatesGenerator || kOe, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = PG(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
+ if (!zW(l) || !zW(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || kOe, v = i.horizontalCoordinatesGenerator || AOe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? V6(V6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -65563,7 +65572,7 @@ function G6(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- zG(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ BG(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
@@ -65572,9 +65581,9 @@ function G6(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- zG(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ BG(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(COe, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ I.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ I.createElement(wOe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -65582,12 +65591,12 @@ function G6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ I.createElement(EOe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(DOe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(wOe, H6({}, i, {
+ }), /*#__PURE__*/ I.createElement(DOe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ I.createElement(OOe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ I.createElement(TOe, H6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ I.createElement(TOe, H6({}, i, {
+ })), /*#__PURE__*/ I.createElement(EOe, H6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -65597,7 +65606,7 @@ function G6(e) {
G6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var K6 = HU({
+var K6 = UU({
name: "errorBars",
initialState: {},
reducers: {
@@ -65614,17 +65623,17 @@ var K6 = HU({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: jOe, replaceErrorBar: MOe, removeErrorBar: NOe } = K6.actions, POe = K6.reducer, FOe = ["children"];
-function IOe(e, t) {
+}), { addErrorBar: MOe, replaceErrorBar: NOe, removeErrorBar: POe } = K6.actions, FOe = K6.reducer, IOe = ["children"];
+function LOe(e, t) {
if (e == null) return {};
- var n, r, i = LOe(e, t);
+ var n, r, i = ROe(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 LOe(e, t) {
+function ROe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65633,7 +65642,7 @@ function LOe(e, t) {
}
return n;
}
-var ROe = /*#__PURE__*/ (0, I.createContext)({
+var zOe = /*#__PURE__*/ (0, I.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -65645,8 +65654,8 @@ var ROe = /*#__PURE__*/ (0, I.createContext)({
errorBarOffset: 0
});
function q6(e) {
- var { children: t } = e, n = IOe(e, FOe);
- return /*#__PURE__*/ I.createElement(ROe.Provider, { value: n }, t);
+ var { children: t } = e, n = LOe(e, IOe);
+ return /*#__PURE__*/ I.createElement(zOe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -65671,30 +65680,30 @@ function Y6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), zOe = $([
- pK,
+var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), BOe = $([
+ mK,
X6,
Q6,
Z6,
$6
-], (e, t, n, r, i) => KW(e, "xAxis") ? sG(t, r, !1) : sG(n, i, !1)), BOe = (e, t, n, r, i) => i;
-function VOe(e) {
+], (e, t, n, r, i) => qW(e, "xAxis") ? cG(t, r, !1) : cG(n, i, !1)), VOe = (e, t, n, r, i) => i;
+function HOe(e) {
return e.type === "line";
}
-var HOe = $([
- pK,
+var UOe = $([
+ mK,
X6,
Q6,
Z6,
$6,
- $([H$, BOe], (e, t) => e.filter(VOe).find((e) => e.id === t)),
- zOe,
+ $([H$, VOe], (e, t) => e.filter(HOe).find((e) => e.id === t)),
+ BOe,
gY
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return cke({
+ if (p != null) return lke({
layout: e,
xAxis: t,
yAxis: n,
@@ -65709,7 +65718,7 @@ var HOe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function e8(e) {
- var t = iz(e), n = 3, r = 2;
+ var t = az(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -65724,13 +65733,13 @@ function e8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var UOe = ["id"], WOe = [
+var WOe = ["id"], GOe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], GOe = [
+], KOe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -65769,26 +65778,26 @@ function r8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? n8(Object(n), !0).forEach(function(t) {
- KOe(e, t, n[t]);
+ qOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KOe(e, t, n) {
- return (t = qOe(t)) in e ? Object.defineProperty(e, t, {
+function qOe(e, t, n) {
+ return (t = JOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qOe(e) {
- var t = JOe(e, "string");
+function JOe(e) {
+ var t = YOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JOe(e, t) {
+function YOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65800,14 +65809,14 @@ function JOe(e, t) {
}
function i8(e, t) {
if (e == null) return {};
- var n, r, i = YOe(e, t);
+ var n, r, i = XOe(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 YOe(e, t) {
+function XOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65816,27 +65825,27 @@ function YOe(e, t) {
}
return n;
}
-var XOe = (e) => {
+var ZOe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, ZOe = /*#__PURE__*/ I.memo((e) => {
+}, QOe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: CB,
+ getPosition: wB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: lG(o, t),
+ name: uG(o, t),
hide: s,
type: l,
color: r,
@@ -65846,11 +65855,11 @@ var XOe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: d });
}), a8 = (e, t) => `${t}px ${e}px`;
-function QOe(e, t) {
+function $Oe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var $Oe = (e, t, n) => {
+var eke = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return a8(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
@@ -65862,13 +65871,13 @@ var $Oe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...QOe(n, i),
+ ...$Oe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function eke(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = rz(i8(r, UOe));
+function tke(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = iz(i8(r, WOe));
return /*#__PURE__*/ I.createElement(T3, {
points: n,
dot: i,
@@ -65880,7 +65889,7 @@ function eke(e) {
clipPathId: t
});
}
-function tke(e) {
+function nke(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, I.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -65901,7 +65910,7 @@ function tke(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function o8(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = r8(r8({}, az(i8(a, WOe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = r8(r8({}, oz(i8(a, GOe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -65914,28 +65923,28 @@ function o8(e) {
return /*#__PURE__*/ I.createElement(I.Fragment, null, r?.length > 1 && /*#__PURE__*/ I.createElement(d3, t8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(eke, {
+ }, d, { pathRef: n })), /*#__PURE__*/ I.createElement(tke, {
points: r,
clipPathId: t,
props: a
}));
}
-function nke(e) {
+function rke(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function rke(e) {
+function ike(e) {
var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = KJ(o, "recharts-line-"), y = (0, I.useRef)(v), [b, x] = (0, I.useState)(!1), S = !b, C = (0, I.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, I.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = nke(r.current), E = (0, I.useRef)(0);
+ }, [g]), T = rke(r.current), E = (0, I.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ I.createElement(tke, {
+ return /*#__PURE__*/ I.createElement(nke, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ I.createElement(GJ, {
@@ -65948,20 +65957,20 @@ function rke(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = vB(D, T + D, e), u = Math.min(l, T), d = c ? s ? $Oe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
+ var l = yB(D, T + D, e), u = Math.min(l, T), d = c ? s ? eke(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return r8(r8({}, t), {}, {
- x: vB(i.x, t.x, e),
- y: vB(i.y, t.y, e)
+ x: yB(i.x, t.x, e),
+ y: yB(i.y, t.y, e)
});
}
return f ? r8(r8({}, t), {}, {
- x: vB(p * 2, t.x, e),
- y: vB(m / 2, t.y, e)
+ x: yB(p * 2, t.x, e),
+ y: yB(m / 2, t.y, e)
}) : r8(r8({}, t), {}, {
x: t.x,
y: t.y
@@ -65984,9 +65993,9 @@ function rke(e) {
});
}), /*#__PURE__*/ I.createElement(f4, { label: n.label }));
}
-function ike(e) {
+function ake(e) {
var { clipPathId: t, props: n } = e, r = (0, I.useRef)(null), i = (0, I.useRef)(0), a = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(rke, {
+ return /*#__PURE__*/ I.createElement(ike, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -65994,17 +66003,17 @@ function ike(e) {
pathRef: a
});
}
-var ake = (e, t) => ({
+var oke = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: WW(e.payload, t)
-}), oke = class extends I.Component {
+ errorVal: GW(e.payload, t)
+}), ske = class extends I.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
var p = bh("recharts-line", r), m = u, { r: h, strokeWidth: g } = e8(t), _ = n3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(lz, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: f }, /*#__PURE__*/ I.createElement(uz, { className: p }, d && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -66017,9 +66026,9 @@ var ake = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: ake,
+ dataPointFormatter: oke,
errorBarOffset: 0
- }, /*#__PURE__*/ I.createElement(ike, {
+ }, /*#__PURE__*/ I.createElement(ake, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ I.createElement(M3, {
@@ -66050,11 +66059,11 @@ var ake = (e, t) => ({
zIndex: BY.line,
type: "linear"
};
-function ske(e) {
- var t = NB(e, s8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = i8(t, GOe), { needClip: _ } = J6(p, m), v = k3(), y = mK(), b = NG(), x = Q((e) => HOe(e, p, m, b, h));
+function cke(e) {
+ var t = PB(e, s8), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = i8(t, KOe), { needClip: _ } = J6(p, m), v = k3(), y = hK(), b = PG(), x = Q((e) => UOe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ I.createElement(oke, t8({}, g, {
+ return /*#__PURE__*/ I.createElement(ske, t8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -66078,23 +66087,23 @@ function ske(e) {
needClip: _
}));
}
-function cke(e) {
+function lke(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
- var l = WW(e, o);
+ var l = GW(e, o);
if (t === "horizontal") return {
- x: $W({
+ x: eG({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (bB(l) ? null : r.scale.map(l)) ?? null,
+ y: (xB(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = bB(l) ? null : n.scale.map(l), d = $W({
+ var u = xB(l) ? null : n.scale.map(l), d = eG({
axis: r,
ticks: a,
bandSize: s,
@@ -66109,12 +66118,12 @@ function cke(e) {
};
}).filter(Boolean);
}
-function lke(e) {
- var t = NB(e, s8), n = NG();
+function uke(e) {
+ var t = PB(e, s8), n = PG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: XOe(t) }), /*#__PURE__*/ I.createElement(ZOe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: ZOe(t) }), /*#__PURE__*/ I.createElement(QOe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -66135,9 +66144,9 @@ function lke(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ I.createElement(ske, t8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(cke, t8({}, t, { id: e }))));
}
-var c8 = /*#__PURE__*/ I.memo(lke, Vq);
+var c8 = /*#__PURE__*/ I.memo(uke, Hq);
c8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -66149,19 +66158,19 @@ function u8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), uke = $([
- pK,
+var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), dke = $([
+ mK,
d8,
p8,
f8,
m8
-], (e, t, n, r, i) => KW(e, "xAxis") ? sG(t, r, !1) : sG(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => KW(pK(e), "xAxis") ? "yAxis" : "xAxis", dke = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), fke = $([
- pK,
+], (e, t, n, r, i) => qW(e, "xAxis") ? cG(t, r, !1) : cG(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => qW(mK(e), "xAxis") ? "yAxis" : "xAxis", fke = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), pke = $([
+ mK,
d8,
p8,
f8,
m8,
- $([h8, (e, t, n) => a1(e, g8(e), dke(e, t), n)], (e, t) => {
+ $([h8, (e, t, n) => a1(e, g8(e), fke(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = oX(e);
if (n != null && r != null) {
@@ -66171,14 +66180,14 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
}
}),
_Y,
- uke,
+ dke,
h8,
- A_e
+ j_e
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return Mke({
+ if (m != null) return Nke({
layout: e,
xAxis: t,
yAxis: n,
@@ -66192,7 +66201,7 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), pke = ["id"], mke = [
+}), mke = ["id"], hke = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -66219,14 +66228,14 @@ function _8() {
}
function v8(e, t) {
if (e == null) return {};
- var n, r, i = hke(e, t);
+ var n, r, i = gke(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 hke(e, t) {
+function gke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66249,26 +66258,26 @@ function b8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y8(Object(n), !0).forEach(function(t) {
- gke(e, t, n[t]);
+ _ke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gke(e, t, n) {
- return (t = _ke(t)) in e ? Object.defineProperty(e, t, {
+function _ke(e, t, n) {
+ return (t = vke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _ke(e) {
- var t = vke(e, "string");
+function vke(e) {
+ var t = yke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vke(e, t) {
+function yke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66281,27 +66290,27 @@ function vke(e, t) {
function x8(e, t) {
return e && e !== "none" ? e : t;
}
-var yke = (e) => {
+var bke = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: x8(r, i),
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, bke = /*#__PURE__*/ I.memo((e) => {
+}, xke = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: CB,
+ getPosition: wB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: lG(o, t),
+ name: uG(o, t),
hide: s,
type: l,
color: x8(r, a),
@@ -66311,8 +66320,8 @@ var yke = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: d });
});
-function xke(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = rz(r);
+function Ske(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = iz(r);
return /*#__PURE__*/ I.createElement(T3, {
points: n,
dot: a,
@@ -66324,7 +66333,7 @@ function xke(e) {
clipPathId: t
});
}
-function Ske(e) {
+function Cke(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -66345,8 +66354,8 @@ function Ske(e) {
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
function S8(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = v8(a, pke), p = rz(f), m = az(f);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(lz, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(DJ, _8({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = v8(a, mke), p = iz(f), m = oz(f);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, t?.length > 1 && /*#__PURE__*/ I.createElement(uz, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ I.createElement(DJ, _8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -66369,15 +66378,15 @@ function S8(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ I.createElement(xke, {
+ }))), /*#__PURE__*/ I.createElement(Ske, {
points: t,
props: f,
clipPathId: i
}));
}
-function Cke(e) {
+function wke(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!LW(a) || !LW(o)) return null;
+ if (!RW(a) || !RW(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: 0,
@@ -66386,9 +66395,9 @@ function Cke(e) {
height: Math.floor(s)
}) : null;
}
-function wke(e) {
+function Tke(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!LW(a) || !LW(o)) return null;
+ if (!RW(a) || !RW(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ I.createElement("rect", {
x: a < o ? a : a - s,
@@ -66397,32 +66406,32 @@ function wke(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function Tke(e) {
+function Eke(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ I.createElement(Cke, {
+ return n === "vertical" ? /*#__PURE__*/ I.createElement(wke, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ I.createElement(wke, {
+ }) : /*#__PURE__*/ I.createElement(Tke, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function Eke(e) {
+function Dke(e) {
var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = KJ((0, I.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = hK(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = gK(), [g, _] = (0, I.useState)(!1), v = !g, y = (0, I.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, I.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ I.createElement(Ske, {
+ return /*#__PURE__*/ I.createElement(Cke, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ I.createElement(GJ, {
@@ -66441,18 +66450,18 @@ function Eke(e) {
if (x[r]) {
var i = x[r];
return b8(b8({}, t), {}, {
- x: vB(i.x, t.x, e),
- y: vB(i.y, t.y, e)
+ x: yB(i.x, t.x, e),
+ y: yB(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? vB(S, s, e) : bB(s) || fB(s) ? vB(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? yB(S, s, e) : xB(s) || pB(s) ? yB(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return b8(b8({}, t), {}, {
- x: vB(i.x, t.x, e),
- y: vB(i.y, t.y, e)
+ x: yB(i.x, t.x, e),
+ y: yB(i.y, t.y, e)
});
}
return t;
@@ -66465,13 +66474,13 @@ function Eke(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(lz, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Tke, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ I.createElement(uz, null, c && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ I.createElement(Eke, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ I.createElement(lz, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(S8, {
+ }))), /*#__PURE__*/ I.createElement(uz, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ I.createElement(S8, {
points: o,
baseLine: s,
needClip: t,
@@ -66480,9 +66489,9 @@ function Eke(e) {
})));
}), /*#__PURE__*/ I.createElement(f4, { label: r.label }));
}
-function Dke(e) {
+function Oke(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, I.useRef)(null), a = (0, I.useRef)();
- return /*#__PURE__*/ I.createElement(Eke, {
+ return /*#__PURE__*/ I.createElement(Dke, {
needClip: t,
clipPathId: n,
props: r,
@@ -66490,12 +66499,12 @@ function Dke(e) {
previousBaselineRef: a
});
}
-var Oke = class extends I.PureComponent {
+var kke = class extends I.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
var m = bh("recharts-area", r), h = d, { r: g, strokeWidth: _ } = e8(t), v = n3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(lz, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
+ return /*#__PURE__*/ I.createElement(t2, { zIndex: p }, /*#__PURE__*/ I.createElement(uz, { className: m }, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -66504,7 +66513,7 @@ var Oke = class extends I.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ I.createElement(Dke, {
+ }))), /*#__PURE__*/ I.createElement(Oke, {
needClip: o,
clipPathId: h,
props: this.props
@@ -66522,7 +66531,7 @@ var Oke = class extends I.PureComponent {
clipPath: b
}));
}
-}, kke = {
+}, Ake = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -66542,11 +66551,11 @@ var Oke = class extends I.PureComponent {
yAxisId: 0,
zIndex: BY.area
};
-function Ake(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = v8(e, mke), g = mK(), _ = U0(), { needClip: v } = J6(p, m), y = NG(), { points: b, isRange: x, baseLine: S } = Q((t) => fke(t, e.id, y)) ?? {}, C = k3();
+function jke(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = v8(e, hke), g = hK(), _ = U0(), { needClip: v } = J6(p, m), y = PG(), { points: b, isRange: x, baseLine: S } = Q((t) => pke(t, e.id, y)) ?? {}, C = k3();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ I.createElement(Oke, _8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ I.createElement(kke, _8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -66572,7 +66581,7 @@ function Ake(e) {
yAxisId: m
}));
}
-var jke = (e, t, n, r, i) => {
+var Mke = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -66582,17 +66591,17 @@ var jke = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function Mke(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = jke(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function Nke(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = Mke(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = WW(e, r);
+ var o = GW(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && WW(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && GW(e, r) == null;
return g ? {
- x: $W({
+ x: eG({
axis: s,
ticks: d,
bandSize: p,
@@ -66604,7 +66613,7 @@ function Mke(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: $W({
+ y: eG({
axis: c,
ticks: f,
bandSize: p,
@@ -66632,12 +66641,12 @@ function Mke(e) {
isRange: _
};
}
-function Nke(e) {
- var t = NB(e, kke), n = NG();
+function Pke(e) {
+ var t = PB(e, Ake), n = PG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: yke(t) }), /*#__PURE__*/ I.createElement(bke, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: bke(t) }), /*#__PURE__*/ I.createElement(xke, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -66656,21 +66665,21 @@ function Nke(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: QW(t.stackId),
+ stackId: $W(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ I.createElement(Ake, _8({}, t, { id: e }))));
+ }), /*#__PURE__*/ I.createElement(jke, _8({}, t, { id: e }))));
}
-var C8 = /*#__PURE__*/ I.memo(Nke, Vq);
+var C8 = /*#__PURE__*/ I.memo(Pke, Hq);
C8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var Pke = "Invariant failed";
-function Fke(e, t) {
- if (!e) throw Error(Pke);
+var Fke = "Invariant failed";
+function Ike(e, t) {
+ if (!e) throw Error(Fke);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -66690,45 +66699,45 @@ function T8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var Ike = function(e) {
+var Lke = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
- var i = Z(n) || bB(n);
- return i ? e(n, r) : (!i && Fke(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || xB(n);
+ return i ? e(n, r) : (!i && Ike(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, Lke = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), Rke = $([E8], (e) => e?.maxBarSize), zke = (e, t, n, r) => r, Bke = $([
- pK,
+}, Rke = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), zke = $([E8], (e) => e?.maxBarSize), Bke = (e, t, n, r) => r, Vke = $([
+ mK,
H$,
l8,
u8,
- Lke
-], (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")), Vke = (e, t, n) => {
- var r = pK(e), i = l8(e, t), a = u8(e, t);
+ Rke
+], (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")), Hke = (e, t, n) => {
+ var r = mK(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, Hke = $([
- Bke,
+}, Uke = $([
+ Vke,
NY,
(e, t) => {
- var n = pK(e), r = l8(e, t), i = u8(e, t);
+ var n = mK(e), r = l8(e, t), i = u8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], J3), Uke = (e, t, n) => {
+], J3), Wke = (e, t, n) => {
var r = E8(e, t);
if (r == null) return 0;
var i = l8(e, t), a = u8(e, t);
if (i == null || a == null) return 0;
- var o = pK(e), s = AY(e), { maxBarSize: c } = r, l = bB(c) ? s : c, u, d;
- return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), sG(u, d, !0) ?? l ?? 0;
+ var o = mK(e), s = AY(e), { maxBarSize: c } = r, l = xB(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), cG(u, d, !0) ?? l ?? 0;
}, D8 = (e, t, n) => {
- var r = pK(e), i = l8(e, t), a = u8(e, t);
+ var r = mK(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), sG(o, s);
+ return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), cG(o, s);
}
-}, Wke = $([
- kG,
- jG,
+}, Gke = $([
+ AG,
+ MG,
(e, t, n) => {
var r = l8(e, t);
if (r != null) return J1(e, "xAxis", r, n);
@@ -66746,25 +66755,25 @@ var Ike = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- Hke,
+ Uke,
AY,
jY,
MY,
- Uke,
+ Wke,
D8,
- Rke
+ zke
], Z3), E8], $3),
- pK,
+ mK,
_Y,
D8,
- $([Vke, E8], Q3),
+ $([Hke, E8], Q3),
E8,
- zke
+ Bke
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return vAe({
+ if (_ != null) return yAe({
layout: s,
barSettings: d,
pos: o,
@@ -66781,7 +66790,7 @@ var Ike = function(e) {
dataStartIndex: m
});
}
-}), Gke = ["index"];
+}), Kke = ["index"];
function O8() {
return O8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66791,16 +66800,16 @@ function O8() {
return e;
}, O8.apply(null, arguments);
}
-function Kke(e, t) {
+function qke(e, t) {
if (e == null) return {};
- var n, r, i = qke(e, t);
+ var n, r, i = Jke(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 qke(e, t) {
+function Jke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66809,31 +66818,31 @@ function qke(e, t) {
}
return n;
}
-var k8 = /*#__PURE__*/ (0, I.createContext)(void 0), Jke = (e) => {
+var k8 = /*#__PURE__*/ (0, I.createContext)(void 0), Yke = (e) => {
var t = (0, I.useContext)(k8);
if (t != null) return t.stackId;
- if (e != null) return QW(e);
-}, Yke = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Xke = (e) => {
+ if (e != null) return $W(e);
+}, Xke = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, Zke = (e) => {
var t = (0, I.useContext)(k8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${Yke(n, e)})`;
+ return `url(#${Xke(n, e)})`;
}
}, A8 = (e) => {
- var { index: t } = e, n = Kke(e, Gke), r = Xke(t);
- return /*#__PURE__*/ I.createElement(lz, O8({
+ var { index: t } = e, n = qke(e, Kke), r = Zke(t);
+ return /*#__PURE__*/ I.createElement(uz, O8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, Zke = [
+}, Qke = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], Qke = [
+], $ke = [
"value",
"background",
"tooltipPosition"
-], $ke = ["id"], eAe = [
+], eAe = ["id"], tAe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -66861,26 +66870,26 @@ function N8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M8(Object(n), !0).forEach(function(t) {
- tAe(e, t, n[t]);
+ nAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tAe(e, t, n) {
- return (t = nAe(t)) in e ? Object.defineProperty(e, t, {
+function nAe(e, t, n) {
+ return (t = rAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nAe(e) {
- var t = rAe(e, "string");
+function rAe(e) {
+ var t = iAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rAe(e, t) {
+function iAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66892,14 +66901,14 @@ function rAe(e, t) {
}
function P8(e, t) {
if (e == null) return {};
- var n, r, i = iAe(e, t);
+ var n, r, i = aAe(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 iAe(e, t) {
+function aAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66908,27 +66917,27 @@ function iAe(e, t) {
}
return n;
}
-var aAe = (e) => {
+var oAe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: lG(n, t),
+ value: uG(n, t),
payload: e
}];
-}, oAe = /*#__PURE__*/ I.memo((e) => {
+}, sAe = /*#__PURE__*/ I.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: CB,
+ getPosition: wB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: lG(a, t),
+ name: uG(a, t),
hide: o,
type: c,
color: i,
@@ -66938,17 +66947,17 @@ var aAe = (e) => {
};
return /*#__PURE__*/ I.createElement(h3, { tooltipEntrySettings: u });
});
-function sAe(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, Zke), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
+function cAe(e) {
+ var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, Qke), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
if (!i || n == null) return null;
- var p = iz(i);
+ var p = az(i);
return /*#__PURE__*/ I.createElement(t2, { zIndex: f6(i, BY.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, Qke);
+ var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, $ke);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = N8(N8(N8(N8(N8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), jB(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), MB(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -66959,7 +66968,7 @@ function sAe(e) {
return /*#__PURE__*/ I.createElement(T8, j8({ key: `background-bar-${n}` }, _));
}));
}
-function cAe(e) {
+function lAe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -66979,7 +66988,7 @@ function cAe(e) {
});
return /*#__PURE__*/ I.createElement(l4, { value: t ? i : void 0 }, n);
}
-function lAe(e) {
+function uAe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P0), c = Q(I0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, I.useState)(!1), [f, p] = (0, I.useState)(!1);
(0, I.useEffect)(() => {
var e;
@@ -67000,7 +67009,7 @@ function lAe(e) {
}));
return g ? /*#__PURE__*/ I.createElement(t2, { zIndex: BY.activeBar }, /*#__PURE__*/ I.createElement(A8, { index: i.originalDataIndex }, v)) : v;
}
-function uAe(e) {
+function dAe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ I.createElement(T8, j8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -67009,24 +67018,24 @@ function uAe(e) {
dataKey: a
}));
}
-function dAe(e) {
- var { data: t, props: n } = e, r = rz(n) ?? {}, { id: i } = r, a = P8(r, $ke), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, eAe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
+function fAe(e) {
+ var { data: t, props: n } = e, r = iz(n) ?? {}, { id: i } = r, a = P8(r, eAe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, tAe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
return t ? /*#__PURE__*/ I.createElement(I.Fragment, null, t.map((e, t) => /*#__PURE__*/ I.createElement(A8, j8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, jB(f, e, t), {
+ }, MB(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ I.createElement(lAe, {
+ }), c ? /*#__PURE__*/ I.createElement(uAe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ I.createElement(uAe, {
+ }) : /*#__PURE__*/ I.createElement(dAe, {
shape: o,
baseProps: a,
entry: e,
@@ -67034,13 +67043,13 @@ function dAe(e) {
dataKey: s
})))) : null;
}
-function fAe(e) {
+function pAe(e) {
var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = KJ(t, "recharts-bar-"), [p, m] = (0, I.useState)(!1), h = !p, g = (0, I.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, I.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ I.createElement(cAe, {
+ return /*#__PURE__*/ I.createElement(lAe, {
showLabels: h,
rects: r
}, /*#__PURE__*/ I.createElement(GJ, {
@@ -67056,68 +67065,68 @@ function fAe(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return N8(N8({}, t), {}, {
- x: vB(r.x, t.x, e),
- y: vB(r.y, t.y, e),
- width: vB(r.width, t.width, e),
- height: vB(r.height, t.height, e)
+ x: yB(r.x, t.x, e),
+ y: yB(r.y, t.y, e),
+ width: yB(r.width, t.width, e),
+ height: yB(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = vB(0, t.height, e), o = vB(t.stackedBarStart, t.y, e);
+ var a = yB(0, t.height, e), o = yB(t.stackedBarStart, t.y, e);
return N8(N8({}, t), {}, {
y: o,
height: a
});
}
- var s = vB(0, t.width, e), c = vB(t.stackedBarStart, t.x, e);
+ var s = yB(0, t.width, e), c = yB(t.stackedBarStart, t.x, e);
return N8(N8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(lz, null, /*#__PURE__*/ I.createElement(dAe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ I.createElement(uz, null, /*#__PURE__*/ I.createElement(fAe, {
props: t,
data: a
}));
}), /*#__PURE__*/ I.createElement(f4, { label: t.label }), t.children);
}
-function pAe(e) {
+function mAe(e) {
var t = (0, I.useRef)(null);
- return /*#__PURE__*/ I.createElement(fAe, {
+ return /*#__PURE__*/ I.createElement(pAe, {
previousRectanglesRef: t,
props: e
});
}
-var F8 = 0, mAe = (e, t) => {
+var F8 = 0, hAe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: WW(e, t)
+ errorVal: GW(e, t)
};
-}, hAe = class extends I.PureComponent {
+}, gAe = class extends I.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = bh("recharts-bar", r), u = c;
- return /*#__PURE__*/ I.createElement(lz, {
+ return /*#__PURE__*/ I.createElement(uz, {
className: l,
id: c
}, o && /*#__PURE__*/ I.createElement("defs", null, /*#__PURE__*/ I.createElement(Y6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ I.createElement(lz, {
+ })), /*#__PURE__*/ I.createElement(uz, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ I.createElement(sAe, {
+ }, /*#__PURE__*/ I.createElement(cAe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ I.createElement(pAe, this.props)));
+ }), /*#__PURE__*/ I.createElement(mAe, this.props)));
}
-}, gAe = {
+}, _Ae = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -67132,17 +67141,17 @@ var F8 = 0, mAe = (e, t) => {
yAxisId: 0,
zIndex: BY.bar
};
-function _Ae(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = J6(t, n), f = mK(), p = NG(), m = t3(e.children, v2), h = Q((t) => Wke(t, e.id, p, m));
+function vAe(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = J6(t, n), f = hK(), p = PG(), m = t3(e.children, v2), h = Q((t) => Gke(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__*/ I.createElement(q6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: mAe,
+ dataPointFormatter: hAe,
errorBarOffset: g
- }, /*#__PURE__*/ I.createElement(hAe, j8({}, e, {
+ }, /*#__PURE__*/ I.createElement(gAe, j8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -67158,20 +67167,20 @@ function _Ae(e) {
isAnimationActive: u
})));
}
-function vAe(e) {
- var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = tG({ numericAxis: _ }), b = _.scale.map(y);
+function yAe(e) {
+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = nG({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = YW(E, v);
- } else _ = WW(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = Ike(r, F8)(_[1], f);
+ _ = XW(E, v);
+ } else _ = GW(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = Lke(r, F8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = eG({
+ x = tG({
axis: s,
ticks: l,
bandSize: o,
@@ -67180,19 +67189,19 @@ function vAe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = fB(A) ? 0 : A, T = {
+ if (w = pB(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = dB(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = fB(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = eG({
+ if (x = M, S = tG({
axis: c,
ticks: u,
bandSize: o,
@@ -67205,7 +67214,7 @@ function vAe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = dB(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = fB(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
@@ -67227,12 +67236,12 @@ function vAe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function yAe(e) {
- var t = NB(e, gAe), n = Jke(t.stackId), r = NG();
+function bAe(e) {
+ var t = PB(e, _Ae), n = Yke(t.stackId), r = PG();
return /*#__PURE__*/ I.createElement(v3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: aAe(t) }), /*#__PURE__*/ I.createElement(oAe, {
+ }, (e) => /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(g3, { legendPayload: oAe(t) }), /*#__PURE__*/ I.createElement(sAe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -67257,23 +67266,23 @@ function yAe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(_Ae, j8({}, t, { id: e })))));
+ }), /*#__PURE__*/ I.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ I.createElement(vAe, j8({}, t, { id: e })))));
}
-var I8 = /*#__PURE__*/ I.memo(yAe, Vq);
+var I8 = /*#__PURE__*/ I.memo(bAe, Hq);
I8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var bAe = ["domain", "range"], xAe = ["domain", "range"];
+var xAe = ["domain", "range"], SAe = ["domain", "range"];
function L8(e, t) {
if (e == null) return {};
- var n, r, i = SAe(e, t);
+ var n, r, i = CAe(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 SAe(e, t) {
+function CAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67287,16 +67296,16 @@ function R8(e, t) {
}
function z8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = L8(e, bAe), { domain: a, range: o } = t, s = L8(t, xAe);
- return !R8(n, a) || !R8(r, o) ? !1 : Vq(i, s);
+ var { domain: n, range: r } = e, i = L8(e, xAe), { domain: a, range: o } = t, s = L8(t, SAe);
+ return !R8(n, a) || !R8(r, o) ? !1 : Hq(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var CAe = ["type"], wAe = [
+var wAe = ["type"], TAe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], TAe = ["id", "scale"];
+], EAe = ["id", "scale"];
function B8() {
return B8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -67320,26 +67329,26 @@ function H8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V8(Object(n), !0).forEach(function(t) {
- EAe(e, t, n[t]);
+ DAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EAe(e, t, n) {
- return (t = DAe(t)) in e ? Object.defineProperty(e, t, {
+function DAe(e, t, n) {
+ return (t = OAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DAe(e) {
- var t = OAe(e, "string");
+function OAe(e) {
+ var t = kAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OAe(e, t) {
+function kAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67351,14 +67360,14 @@ function OAe(e, t) {
}
function U8(e, t) {
if (e == null) return {};
- var n, r, i = kAe(e, t);
+ var n, r, i = AAe(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 kAe(e, t) {
+function AAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67367,23 +67376,23 @@ function kAe(e, t) {
}
return n;
}
-function AAe(e) {
- var t = oV(), n = (0, I.useRef)(null), r = hK(), { type: i } = e, a = U8(e, CAe), o = WY(r, "xAxis", i), s = (0, I.useMemo)(() => {
+function jAe(e) {
+ var t = sV(), n = (0, I.useRef)(null), r = gK(), { type: i } = e, a = U8(e, wAe), o = WY(r, "xAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return H8(H8({}, a), {}, { type: o });
}, [a, o]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(KTe(s)) : n.current !== s && t(qTe({
+ s != null && (n.current === null ? t(qTe(s)) : n.current !== s && t(JTe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(JTe(n.current)), null);
+ n.current &&= (t(YTe(n.current)), null);
}, [t]), null;
}
-var jAe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(jG), i = NG(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Qbe(e, t)), l = Q((e) => M$(e, t));
+var MAe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(MG), i = PG(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => $be(e, t)), l = Q((e) => M$(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, wAe), { id: m, scale: h } = l, g = U8(l, TAe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, TAe), { id: m, scale: h } = l, g = U8(l, EAe);
return /*#__PURE__*/ I.createElement(z6, B8({}, p, g, {
x: c.x,
y: c.y,
@@ -67395,7 +67404,7 @@ var jAe = (e) => {
axisType: a,
axisId: t
}));
-}, MAe = {
+}, NAe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -67420,8 +67429,8 @@ var jAe = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, W8 = /*#__PURE__*/ I.memo((e) => {
- var t = NB(e, MAe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(AAe, {
+ var t = PB(e, NAe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(jAe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -67447,16 +67456,16 @@ var jAe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(jAe, t));
+ }), /*#__PURE__*/ I.createElement(MAe, t));
}, z8);
W8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var NAe = ["type"], PAe = [
+var PAe = ["type"], FAe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], FAe = ["id", "scale"];
+], IAe = ["id", "scale"];
function G8() {
return G8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -67480,26 +67489,26 @@ function q8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K8(Object(n), !0).forEach(function(t) {
- IAe(e, t, n[t]);
+ LAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IAe(e, t, n) {
- return (t = LAe(t)) in e ? Object.defineProperty(e, t, {
+function LAe(e, t, n) {
+ return (t = RAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LAe(e) {
- var t = RAe(e, "string");
+function RAe(e) {
+ var t = zAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RAe(e, t) {
+function zAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67511,14 +67520,14 @@ function RAe(e, t) {
}
function J8(e, t) {
if (e == null) return {};
- var n, r, i = zAe(e, t);
+ var n, r, i = BAe(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 zAe(e, t) {
+function BAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67527,27 +67536,27 @@ function zAe(e, t) {
}
return n;
}
-function BAe(e) {
- var t = oV(), n = (0, I.useRef)(null), r = hK(), { type: i } = e, a = J8(e, NAe), o = WY(r, "yAxis", i), s = (0, I.useMemo)(() => {
+function VAe(e) {
+ var t = sV(), n = (0, I.useRef)(null), r = gK(), { type: i } = e, a = J8(e, PAe), o = WY(r, "yAxis", i), s = (0, I.useMemo)(() => {
if (o != null) return q8(q8({}, a), {}, { type: o });
}, [o, a]);
return (0, I.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(YTe(s)) : n.current !== s && t(XTe({
+ s != null && (n.current === null ? t(XTe(s)) : n.current !== s && t(ZTe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, I.useLayoutEffect)(() => () => {
- n.current &&= (t(ZTe(n.current)), null);
+ n.current &&= (t(QTe(n.current)), null);
}, [t]), null;
}
-function VAe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(jG), c = NG(), l = oV(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => $be(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function HAe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, I.useRef)(null), o = (0, I.useRef)(null), s = Q(MG), c = PG(), l = sV(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => exe(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, I.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || t4(i) || /*#__PURE__*/ (0, I.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(tEe({
+ Math.round(d.width) !== Math.round(n) && l(nEe({
id: t,
width: n
}));
@@ -67562,7 +67571,7 @@ function VAe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, PAe), { id: y, scale: b } = m, x = J8(m, FAe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, FAe), { id: y, scale: b } = m, x = J8(m, IAe);
return /*#__PURE__*/ I.createElement(z6, G8({}, v, x, {
ref: a,
labelRef: o,
@@ -67578,7 +67587,7 @@ function VAe(e) {
axisId: t
}));
}
-var HAe = {
+var UAe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -67603,8 +67612,8 @@ var HAe = {
width: P$.width,
yAxisId: 0
}, Y8 = /*#__PURE__*/ I.memo((e) => {
- var t = NB(e, HAe);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(BAe, {
+ var t = PB(e, UAe);
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(VAe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -67630,27 +67639,27 @@ var HAe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ I.createElement(VAe, t));
+ }), /*#__PURE__*/ I.createElement(HAe, t));
}, z8);
Y8.displayName = "YAxis";
var X8 = $([
(e, t) => t,
- pK,
+ mK,
rX,
dX,
D0,
k0,
- Yxe,
- kG
-], nSe);
+ Xxe,
+ AG
+], rSe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function UAe(e) {
+function WAe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Z8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (UAe(e)) {
+ if (WAe(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 {
@@ -67665,19 +67674,19 @@ function Z8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Q8 = bU("mouseClick"), $8 = OW();
+var Q8 = xU("mouseClick"), $8 = kW();
$8.startListening({
actionCreator: Q8,
effect: (e, t) => {
var n = e.payload, r = X8(t.getState(), Z8(n));
- r?.activeIndex != null && t.dispatch(lxe({
+ r?.activeIndex != null && t.dispatch(uxe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var e5 = bU("mouseMove"), t5 = OW(), n5 = null, r5 = null, i5 = null;
+var e5 = xU("mouseMove"), t5 = kW(), n5 = null, r5 = null, i5 = null;
t5.startListening({
actionCreator: e5,
effect: (e, t) => {
@@ -67708,7 +67717,7 @@ t5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function WAe(e, t) {
+function GAe(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
@@ -67725,17 +67734,17 @@ var a5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, o5 = HU({
+}, o5 = UU({
name: "rootProps",
initialState: a5,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? a5.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;
} }
-}), GAe = o5.reducer, { updateOptions: KAe } = o5.actions, s5 = HU({
+}), KAe = o5.reducer, { updateOptions: qAe } = o5.actions, s5 = UU({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), { updatePolarOptions: qAe } = s5.actions, JAe = s5.reducer, c5 = bU("keyDown"), l5 = bU("focus"), u5 = bU("blur"), d5 = OW(), f5 = null, p5 = null, m5 = null;
+}), { updatePolarOptions: JAe } = s5.actions, YAe = s5.reducer, c5 = xU("keyDown"), l5 = xU("focus"), u5 = xU("blur"), d5 = kW(), f5 = null, p5 = null, m5 = null;
d5.startListening({
actionCreator: c5,
effect: (e, t) => {
@@ -67760,7 +67769,7 @@ d5.startListening({
}));
return;
}
- var c = exe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = txe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = X0(e, "axis", "hover", String(l));
t.dispatch(o0({
@@ -67823,7 +67832,7 @@ function h5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var g5 = bU("externalEvent"), _5 = OW(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
+var g5 = xU("externalEvent"), _5 = kW(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
_5.startListening({
actionCreator: g5,
effect: (e, t) => {
@@ -67843,12 +67852,12 @@ _5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: Fxe(a),
+ activeCoordinate: Ixe(a),
activeDataKey: I0(a),
activeIndex: P0(a),
activeLabel: F0(a),
activeTooltipIndex: P0(a),
- isTooltipActive: Ixe(a)
+ isTooltipActive: Lxe(a)
};
n && n(o, r);
} finally {
@@ -67872,7 +67881,7 @@ _5.startListening({
}
}
});
-var YAe = $([
+var XAe = $([
$([m0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -67884,7 +67893,7 @@ var YAe = $([
if (i != null) return i(t);
}
}
-}), x5 = bU("touchMove"), S5 = OW(), C5 = null, w5 = null, T5 = null, E5 = null;
+}), x5 = xU("touchMove"), S5 = kW(), C5 = null, w5 = null, T5 = null, E5 = null;
S5.startListening({
actionCreator: x5,
effect: (e, t) => {
@@ -67917,9 +67926,9 @@ S5.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(vG), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
+ var s = o.getAttribute(yG), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = YAe(e, s, c);
+ var { dataKey: u } = l, d = XAe(e, s, c);
t.dispatch(n0({
activeDataKey: u,
activeIndex: s,
@@ -67951,33 +67960,33 @@ var D5 = {
"scroll",
"wheel"
]
-}, O5 = HU({
+}, O5 = UU({
name: "eventSettings",
initialState: D5,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = hq(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = gq(t.payload.throttledEvents));
} }
-}), { setEventSettings: XAe } = O5.actions, ZAe = O5.reducer, QAe = WV({
- brush: hDe,
- cartesianAxis: nEe,
- chartData: kSe,
- errorBars: POe,
- eventSettings: ZAe,
- graphicalItems: MTe,
- layout: FW,
- legend: Sq,
- options: wSe,
- polarAxis: Swe,
- polarOptions: JAe,
- referenceElements: EDe,
- renderedTicks: eOe,
- rootProps: GAe,
- tooltip: uxe,
- zIndex: hSe
-}), $Ae = function(e) {
+}), { setEventSettings: ZAe } = O5.actions, QAe = O5.reducer, $Ae = GV({
+ brush: gDe,
+ cartesianAxis: rEe,
+ chartData: ASe,
+ errorBars: FOe,
+ eventSettings: QAe,
+ graphicalItems: NTe,
+ layout: IW,
+ legend: Cq,
+ options: TSe,
+ polarAxis: Cwe,
+ polarOptions: YAe,
+ referenceElements: DDe,
+ renderedTicks: tOe,
+ rootProps: KAe,
+ tooltip: dxe,
+ zIndex: gSe
+}), eje = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return MU({
- reducer: QAe,
+ return NU({
+ reducer: $Ae,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -67995,10 +68004,10 @@ var D5 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(AU({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(jU({ type: "raf" }));
},
devTools: pJ.devToolsEnabled && {
- serialize: { replacer: WAe },
+ serialize: { replacer: GAe },
name: `recharts-${t}`
}
});
@@ -68006,21 +68015,21 @@ var D5 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function k5(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = NG(), a = (0, I.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = PG(), a = (0, I.useRef)(null);
if (i) return n;
- a.current ??= $Ae(t, r);
- var o = aV;
- return /*#__PURE__*/ I.createElement(Rq, {
+ a.current ??= eje(t, r);
+ var o = oV;
+ return /*#__PURE__*/ I.createElement(zq, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function eje(e) {
- var { layout: t, margin: n } = e, r = oV(), i = NG();
+function tje(e) {
+ var { layout: t, margin: n } = e, r = sV(), i = PG();
return (0, I.useEffect)(() => {
- i || (r(MW(t)), r(jW(n)));
+ i || (r(NW(t)), r(MW(n)));
}, [
r,
i,
@@ -68028,31 +68037,31 @@ function eje(e) {
n
]), null;
}
-var A5 = /*#__PURE__*/ (0, I.memo)(eje, Vq);
+var A5 = /*#__PURE__*/ (0, I.memo)(tje, Hq);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function j5(e) {
- var t = oV();
+ var t = sV();
return (0, I.useEffect)(() => {
- t(KAe(e));
+ t(qAe(e));
}, [t, e]), null;
}
var M5 = /*#__PURE__*/ (0, I.memo)((e) => {
- var t = oV();
+ var t = sV();
return (0, I.useEffect)(() => {
- t(XAe(e));
+ t(ZAe(e));
}, [t, e]), null;
-}, Vq);
+}, Hq);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function N5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = oV();
- return (0, I.useLayoutEffect)(() => (r.current && i(pSe({
+ var { zIndex: t, isPanorama: n } = e, r = (0, I.useRef)(null), i = sV();
+ return (0, I.useLayoutEffect)(() => (r.current && i(mSe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(mSe({
+ i(hSe({
zIndex: t,
isPanorama: n
}));
@@ -68067,7 +68076,7 @@ function N5(e) {
});
}
function P5(e) {
- var { children: t, isPanorama: n } = e, r = Q(iSe);
+ var { children: t, isPanorama: n } = e, r = Q(aSe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ I.createElement(I.Fragment, null, i.map((e) => /*#__PURE__*/ I.createElement(N5, {
@@ -68082,17 +68091,17 @@ function P5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var tje = ["children"];
-function nje(e, t) {
+var nje = ["children"];
+function rje(e, t) {
if (e == null) return {};
- var n, r, i = rje(e, t);
+ var n, r, i = ije(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 rje(e, t) {
+function ije(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68110,46 +68119,46 @@ function F5() {
return e;
}, F5.apply(null, arguments);
}
-var ije = {
+var aje = {
width: "100%",
height: "100%",
display: "block"
-}, aje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = uK(), r = dK(), i = _J();
- if (!RW(n) || !RW(r)) return null;
+}, oje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = dK(), r = fK(), i = _J();
+ if (!zW(n) || !zW(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ I.createElement(sz, F5({}, 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__*/ I.createElement(cz, F5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: ije,
+ style: aje,
ref: t
}), a);
-}), oje = (e) => {
- var { children: t } = e, n = Q(FG);
+}), sje = (e) => {
+ var { children: t } = e, n = Q(IG);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ I.createElement(sz, {
+ return /*#__PURE__*/ I.createElement(cz, {
width: r,
height: i,
x: o,
y: a
}, t);
}, I5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n } = e, r = nje(e, tje);
- return NG() ? /*#__PURE__*/ I.createElement(oje, null, /*#__PURE__*/ I.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(aje, F5({ ref: t }, r), /*#__PURE__*/ I.createElement(P5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = rje(e, nje);
+ return PG() ? /*#__PURE__*/ I.createElement(sje, null, /*#__PURE__*/ I.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ I.createElement(oje, F5({ ref: t }, r), /*#__PURE__*/ I.createElement(P5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function sje() {
- var e = oV(), [t, n] = (0, I.useState)(null), r = Q(mG);
+function cje() {
+ var e = sV(), [t, n] = (0, I.useState)(null), r = Q(hG);
return (0, I.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- LW(n) && n !== r && e(PW(n));
+ RW(n) && n !== r && e(FW(n));
}
}, [
t,
@@ -68169,30 +68178,30 @@ function L5(e, t) {
}
return n;
}
-function cje(e) {
+function lje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L5(Object(n), !0).forEach(function(t) {
- lje(e, t, n[t]);
+ uje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lje(e, t, n) {
- return (t = uje(t)) in e ? Object.defineProperty(e, t, {
+function uje(e, t, n) {
+ return (t = dje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uje(e) {
- var t = dje(e, "string");
+function dje(e) {
+ var t = fje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dje(e, t) {
+function fje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68211,7 +68220,7 @@ function R5() {
return e;
}, R5.apply(null, arguments);
}
-var fje = () => (RSe(), null);
+var pje = () => (zSe(), null);
function z5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -68220,7 +68229,7 @@ function z5(e) {
}
return 0;
}
-var pje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+var mje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var n = (0, I.useRef)(null), [r, i] = (0, I.useState)({
containerWidth: z5(e.style?.width),
containerHeight: z5(e.style?.height)
@@ -68248,11 +68257,11 @@ var pje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
}, [t, a]);
return (0, I.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ }, [a]), /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ I.createElement("div", R5({ ref: o }, e)));
-}), mje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), hje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, I.useState)({
containerWidth: z5(n),
containerHeight: z5(r)
@@ -68270,32 +68279,32 @@ var pje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ I.createElement("div", R5({ ref: s }, e)));
-}), hje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ return /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", R5({ ref: t }, e)));
-}), gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+}), _je = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(mje, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(hje, R5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ I.createElement(hje, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ I.createElement(gje, R5({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ })) : /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement("div", R5({ ref: t }, e)));
});
-function _je(e) {
- return e ? pje : gje;
+function vje(e) {
+ return e ? mje : _je;
}
-var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = oV(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = sje(), D = rK(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
+var yje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, I.useRef)(null), x = sV(), [S, C] = (0, I.useState)(null), [w, T] = (0, I.useState)(null), E = cje(), D = iK(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, I.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -68367,12 +68376,12 @@ var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), le = _je(v);
- return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(uz.Provider, { value: w }, /*#__PURE__*/ I.createElement(le, {
+ }, [x, p]), le = vje(v);
+ return /*#__PURE__*/ I.createElement(a2.Provider, { value: S }, /*#__PURE__*/ I.createElement(dz.Provider, { value: w }, /*#__PURE__*/ I.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
className: bh("recharts-wrapper", r),
- style: cje({
+ style: lje({
position: "relative",
cursor: "default",
width: O,
@@ -68393,8 +68402,8 @@ var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ I.createElement(fje, null), n)));
-}), yje = [
+ }, /*#__PURE__*/ I.createElement(pje, null), n)));
+}), bje = [
"width",
"height",
"responsive",
@@ -68405,16 +68414,16 @@ var vje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
"title",
"desc"
];
-function bje(e, t) {
+function xje(e, t) {
if (e == null) return {};
- var n, r, i = xje(e, t);
+ var n, r, i = Sje(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 xje(e, t) {
+function Sje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68424,15 +68433,15 @@ function xje(e, t) {
return n;
}
var B5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = rz(bje(e, yje));
- return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(yK, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = iz(xje(e, bje));
+ return c ? /*#__PURE__*/ I.createElement(I.Fragment, null, /*#__PURE__*/ I.createElement(bK, {
width: n,
height: r
}), /*#__PURE__*/ I.createElement(I5, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ I.createElement(vje, {
+ }, a)) : /*#__PURE__*/ I.createElement(yje, {
className: o,
style: s,
width: n,
@@ -68454,7 +68463,7 @@ var B5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ I.createElement(DDe, null, a)));
+ }, /*#__PURE__*/ I.createElement(ODe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -68477,30 +68486,30 @@ function H5(e, t) {
}
return n;
}
-function Sje(e) {
+function Cje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H5(Object(n), !0).forEach(function(t) {
- Cje(e, t, n[t]);
+ wje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cje(e, t, n) {
- return (t = wje(t)) in e ? Object.defineProperty(e, t, {
+function wje(e, t, n) {
+ return (t = Tje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wje(e) {
- var t = Tje(e, "string");
+function Tje(e) {
+ var t = Eje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Tje(e, t) {
+function Eje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68510,7 +68519,7 @@ function Tje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Eje = Sje({
+var Dje = Cje({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -68526,7 +68535,7 @@ var Eje = Sje({
stackOffset: "none",
syncMethod: "index"
}, D5), U5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = NB(e.categoricalChartProps, Eje), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = PB(e.categoricalChartProps, Dje), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -68555,32 +68564,32 @@ var Eje = Sje({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ I.createElement(B5, V5({}, n, { ref: t })));
-}), Dje = ["axis"], Oje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+}), Oje = ["axis"], kje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Dje,
+ validateTooltipEventTypes: Oje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
-})), kje = ["axis", "item"], W5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+})), Aje = ["axis", "item"], W5 = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: kje,
+ validateTooltipEventTypes: Aje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function Aje(e) {
- var t = oV();
+function jje(e) {
+ var t = sV();
return (0, I.useEffect)(() => {
- t(qAe(e));
+ t(JAe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var jje = ["layout"];
+var Mje = ["layout"];
function G5() {
return G5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68590,16 +68599,16 @@ function G5() {
return e;
}, G5.apply(null, arguments);
}
-function Mje(e, t) {
+function Nje(e, t) {
if (e == null) return {};
- var n, r, i = Nje(e, t);
+ var n, r, i = Pje(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 Nje(e, t) {
+function Pje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68618,30 +68627,30 @@ function K5(e, t) {
}
return n;
}
-function Pje(e) {
+function Fje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K5(Object(n), !0).forEach(function(t) {
- Fje(e, t, n[t]);
+ Ije(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Fje(e, t, n) {
- return (t = Ije(t)) in e ? Object.defineProperty(e, t, {
+function Ije(e, t, n) {
+ return (t = Lje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ije(e) {
- var t = Lje(e, "string");
+function Lje(e) {
+ var t = Rje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Lje(e, t) {
+function Rje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68651,7 +68660,7 @@ function Lje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var q5 = Pje({
+var q5 = Fje({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -68671,7 +68680,7 @@ var q5 = Pje({
innerRadius: 0,
outerRadius: "80%"
}, D5), J5 = /*#__PURE__*/ (0, I.forwardRef)(function(e, t) {
- var n = NB(e.categoricalChartProps, q5), { layout: r } = n, i = Mje(n, jje), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = PB(e.categoricalChartProps, q5), { layout: r } = n, i = Nje(n, Mje), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -68699,7 +68708,7 @@ var q5 = Pje({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ I.createElement(Aje, {
+ }), /*#__PURE__*/ I.createElement(jje, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -68724,26 +68733,26 @@ function X5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y5(Object(n), !0).forEach(function(t) {
- Rje(e, t, n[t]);
+ zje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rje(e, t, n) {
- return (t = zje(t)) in e ? Object.defineProperty(e, t, {
+function zje(e, t, n) {
+ return (t = Bje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zje(e) {
- var t = Bje(e, "string");
+function Bje(e) {
+ var t = Vje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bje(e, t) {
+function Vje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68753,24 +68762,24 @@ function Bje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Vje = ["axis"], Hje = X5(X5({}, q5), {}, {
+var Hje = ["axis"], Uje = X5(X5({}, q5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), Uje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = NB(e, Hje);
+}), Wje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = PB(e, Uje);
return /*#__PURE__*/ I.createElement(J5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Vje,
+ validateTooltipEventTypes: Hje,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
});
-}), Wje = ["axis"], Gje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
+}), Gje = ["axis"], Kje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => /*#__PURE__*/ I.createElement(U5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Wje,
+ validateTooltipEventTypes: Gje,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
@@ -68791,26 +68800,26 @@ function Q5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Z5(Object(n), !0).forEach(function(t) {
- Kje(e, t, n[t]);
+ $5(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kje(e, t, n) {
- return (t = $5(t)) in e ? Object.defineProperty(e, t, {
+function $5(e, t, n) {
+ return (t = qje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $5(e) {
- var t = qje(e, "string");
+function qje(e) {
+ var t = Jje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qje(e, t) {
+function Jje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68820,16 +68829,16 @@ function qje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Jje = ["axis", "item"], Yje = Q5(Q5({}, q5), {}, {
+var Yje = ["axis", "item"], Xje = Q5(Q5({}, q5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), Xje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
- var n = NB(e, Yje);
+}), Zje = /*#__PURE__*/ (0, I.forwardRef)((e, t) => {
+ var n = PB(e, Xje);
return /*#__PURE__*/ I.createElement(J5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Jje,
+ validateTooltipEventTypes: Yje,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
@@ -68846,7 +68855,7 @@ var t7 = {
light: "",
dark: ".dark"
}, n7 = Object.keys(t7);
-function Zje(e) {
+function Qje(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !n7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${n7.join(", ")}). Received empty object or invalid keys.`);
}
var r7 = I.createContext(null);
@@ -68860,7 +68869,7 @@ function a7({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = I.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return Zje(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
+ return Qje(t), /* @__PURE__ */ (0, L.jsx)(r7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, L.jsxs)("div", {
"data-slot": "chart",
@@ -68872,7 +68881,7 @@ function a7({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, L.jsx)(aK, {
+ /* @__PURE__ */ (0, L.jsx)(oK, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -68891,7 +68900,7 @@ function o7({ isLoading: e }) {
})
}) : null;
}
-function Qje(e, t) {
+function $je(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -68906,7 +68915,7 @@ var s7 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : Qje(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : $je(r, l7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries(t7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, L.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -68920,15 +68929,15 @@ function l7(e) {
let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var $je = (e = 10, t = 0, n = 70) => {
+var eMe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, eMe = {
+}, tMe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, tMe = {
+}, nMe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -68955,7 +68964,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", eMe[p], tMe[m], n),
+ className: e7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", tMe[p], nMe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, L.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -68969,7 +68978,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: nMe(n, o)
+ style: rMe(n, o)
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: e7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -68988,10 +68997,10 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function nMe(e, t) {
+function rMe(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 d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(KSe, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, L.jsx)(qSe, {
animationDuration: e,
...t
});
@@ -69008,7 +69017,7 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(rMe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, L.jsx)(i.icon, {}) : /* @__PURE__ */ (0, L.jsx)(iMe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -69017,8 +69026,8 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function rMe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = iMe(t, n), i = aMe(t, n);
+function iMe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = aMe(t, n), i = oMe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, L.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -69050,10 +69059,10 @@ function rMe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function iMe(e, t) {
+function aMe(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 aMe(e, t) {
+function oMe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -69068,12 +69077,12 @@ function aMe(e, t) {
...n
};
}
-var p7 = aJ, m7 = () => null, h7 = {
+var p7 = oJ, m7 = () => null, h7 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function oMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function sMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = I.useRef(null), [a, o] = I.useState(!1), s = (0, I.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, I.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -69119,7 +69128,7 @@ function oMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function sMe({ 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 cMe({ 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 = I.useRef(null), S = I.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = I.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = I.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -69153,7 +69162,7 @@ function sMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = oMe({
+ }, [C, v]), { isDragging: A, bind: j } = sMe({
range: E,
totalPoints: C,
containerRef: x,
@@ -69209,7 +69218,7 @@ function sMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, L.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, L.jsx)(cMe, {
+ children: /* @__PURE__ */ (0, L.jsx)(lMe, {
data: e,
keys: S,
chartConfig: t,
@@ -69278,7 +69287,7 @@ function g7({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function lMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = I.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: l7(t)
@@ -69335,10 +69344,10 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, L.jsx)(aK, {
+ if (r === "line") return /* @__PURE__ */ (0, L.jsx)(oK, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(Oje, {
+ children: /* @__PURE__ */ (0, L.jsxs)(kje, {
data: e,
margin: {
top: 4,
@@ -69362,7 +69371,7 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, L.jsx)(aK, {
+ return /* @__PURE__ */ (0, L.jsx)(oK, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, L.jsxs)(W5, {
@@ -69391,10 +69400,10 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, L.jsx)(aK, {
+ return /* @__PURE__ */ (0, L.jsx)(oK, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, L.jsxs)(Gje, {
+ children: /* @__PURE__ */ (0, L.jsxs)(Kje, {
data: e,
margin: {
top: 4,
@@ -69420,7 +69429,7 @@ function cMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function lMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function uMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = I.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -69444,7 +69453,7 @@ function lMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var uMe = {
+var dMe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, L.jsx)("pattern", {
id: e,
x: "0",
@@ -69617,7 +69626,7 @@ var uMe = {
})
};
function _7({ variant: e }) {
- let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = uMe[e];
+ let t = (0, I.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = dMe[e];
return /* @__PURE__ */ (0, L.jsxs)(t2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, L.jsxs)("defs", { children: [
@@ -69648,7 +69657,7 @@ function _7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var v7 = 2, dMe = "loading", fMe = 2e3, pMe = "evil-stacked", mMe = .5, hMe = .05, gMe = [
+var v7 = 2, fMe = "loading", pMe = 2e3, mMe = "evil-stacked", hMe = .5, gMe = .05, _Me = [
0,
.7,
.5,
@@ -69660,7 +69669,7 @@ function b7() {
return e;
}
function x7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = v7, 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, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = FMe(m, h), { visibleData: T, brushProps: E } = lMe({ data: t }), D = (0, I.useMemo)(() => {
+ let _ = (0, I.useId)().replace(/:/g, ""), [v] = (0, I.useState)(() => Date.now()), [y, b] = (0, I.useState)(f), [x, S] = (0, I.useState)(!1), { loadingData: C, onShimmerExit: w } = IMe(m, h), { visibleData: T, brushProps: E } = uMe({ data: t }), D = (0, I.useMemo)(() => {
let e = I.Children.toArray(n), t = e.find((e) => (0, I.isValidElement)(e) && e.type === m7), r = (0, I.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -69703,7 +69712,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, L.jsx)(sMe, {
+ footer: O && !m && /* @__PURE__ */ (0, L.jsx)(cMe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -69734,7 +69743,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, L.jsx)(_7, { variant: d }),
/* @__PURE__ */ (0, L.jsx)(O6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, L.jsx)(IMe, {
+ m && /* @__PURE__ */ (0, L.jsx)(LMe, {
chartId: _,
onShimmerExit: w
})
@@ -69743,7 +69752,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function _Me({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+function vMe({ 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 } = b7(), b = (0, I.useId)().replace(/:/g, ""), x = ep();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
@@ -69766,7 +69775,7 @@ function _Me({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
dataKey: e,
- stackId: u ? pMe : void 0,
+ stackId: u ? mMe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -69783,44 +69792,44 @@ function _Me({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(EMe, {
+ /* @__PURE__ */ (0, L.jsx)(DMe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, L.jsx)(DMe, {
+ t === "hatched" && /* @__PURE__ */ (0, L.jsx)(OMe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, L.jsx)(kMe, {
+ t === "duotone" && /* @__PURE__ */ (0, L.jsx)(AMe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(AMe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, L.jsx)(jMe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, L.jsx)(jMe, {
+ t === "gradient" && /* @__PURE__ */ (0, L.jsx)(MMe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, L.jsx)(MMe, {
+ t === "stripped" && /* @__PURE__ */ (0, L.jsx)(NMe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, L.jsx)(OMe, {
+ s && /* @__PURE__ */ (0, L.jsx)(kMe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, L.jsx)(NMe, {
+ o && /* @__PURE__ */ (0, L.jsx)(PMe, {
id: b,
dataKey: e
})
] })] });
}
-function vMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function yMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = b7();
return o ? null : /* @__PURE__ */ (0, L.jsx)(W8, {
tickLine: e,
@@ -69831,7 +69840,7 @@ function vMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function yMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function bMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = b7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(Y8, {
tickLine: e,
@@ -69843,7 +69852,7 @@ function yMe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function bMe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function xMe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = b7();
return /* @__PURE__ */ (0, L.jsx)(G6, {
strokeDasharray: e,
@@ -69852,7 +69861,7 @@ function bMe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function xMe({ variant: e, roundness: t, defaultIndex: n }) {
+function SMe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = b7();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
@@ -69864,7 +69873,7 @@ function xMe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function SMe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function CMe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = b7();
return /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -69878,7 +69887,7 @@ function SMe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var S7 = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = CMe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : wMe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = TMe({
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = wMe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : TMe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = EMe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -69923,7 +69932,7 @@ var S7 = (e) => {
children: A
}) : A]
});
-}, CMe = (e, t, n, r, i) => {
+}, wMe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -69938,11 +69947,11 @@ var S7 = (e) => {
break;
default: s = t;
}
- let c = s * hMe * 1e3, l = mMe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * gMe * 1e3, l = hMe * 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: gMe,
+ ease: _Me,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -69956,7 +69965,7 @@ var S7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, wMe = (e, t, n) => {
+}, TMe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -69965,10 +69974,10 @@ var S7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, TMe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, EMe = ({ 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;
-}, EMe = ({ id: e, dataKey: t, config: n }) => {
+}, DMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -69990,7 +69999,7 @@ var S7 = (e) => {
}, i);
})
});
-}, DMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, OMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -70031,7 +70040,7 @@ var S7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), OMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), kMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -70072,7 +70081,7 @@ var S7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), kMe = ({ id: e, dataKey: t, config: n }) => {
+] }), AMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -70140,7 +70149,7 @@ var S7 = (e) => {
})
})
] });
-}, AMe = ({ id: e, dataKey: t, config: n }) => {
+}, jMe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
@@ -70208,7 +70217,7 @@ var S7 = (e) => {
})
})
] });
-}, jMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+}, MMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -70245,7 +70254,7 @@ var S7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), MMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
+] }), NMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -70282,7 +70291,7 @@ var S7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), NMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+] }), PMe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -70302,35 +70311,35 @@ var S7 = (e) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), PMe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), FMe = (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 FMe(e, t = 12) {
+function IMe(e, t = 12) {
let [n, r] = (0, I.useState)(!1), i = (0, I.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, I.useMemo)(() => $je(t, 20, 80), [t, n]),
+ loadingData: (0, I.useMemo)(() => eMe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
- dataKey: dMe,
+var LMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(I8, {
+ dataKey: fMe,
fill: "currentColor",
fillOpacity: .15,
radius: v7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(LMe, {
+}), /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(RMe, {
chartId: e,
onShimmerExit: t
-}) })] }), LMe = ({ chartId: e, onShimmerExit: t }) => {
- let n = PMe(), r = (0, I.useRef)(-1);
+}) })] }), RMe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = FMe(), r = (0, I.useRef)(-1);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
/* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -70361,7 +70370,7 @@ var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: fMe / 1e3,
+ duration: pMe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -70383,7 +70392,7 @@ var IMe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, L.jsxs)(L.Fr
})
] });
};
-x7.Bar = _Me, x7.XAxis = vMe, x7.YAxis = yMe, x7.Grid = bMe, x7.Tooltip = xMe, x7.Legend = SMe, x7.Brush = m7;
+x7.Bar = vMe, x7.XAxis = yMe, x7.YAxis = bMe, x7.Grid = xMe, x7.Tooltip = SMe, x7.Legend = CMe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
var C7 = `${gw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
@@ -70413,7 +70422,7 @@ var T7 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
-function RMe(e) {
+function zMe(e) {
return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
colors: E7(T7[t % T7.length])
@@ -70438,7 +70447,7 @@ function k7({ swatch: e, name: t, value: n }) {
});
}
var A7 = "size-2.5 shrink-0 rounded-xs";
-function zMe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function BMe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = i7(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, L.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -70463,7 +70472,7 @@ function zMe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, L.jsx)(d7, {
cursor: !1,
- content: /* @__PURE__ */ (0, L.jsx)(zMe, {
+ content: /* @__PURE__ */ (0, L.jsx)(BMe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -70540,7 +70549,7 @@ var F7 = [
"周六",
"周日"
], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function BMe(e) {
+function VMe(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;
@@ -70557,7 +70566,7 @@ function BMe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function VMe(e) {
+function HMe(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,
@@ -70596,19 +70605,19 @@ var L7 = 14, R7 = 17, z7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, HMe = {
+}, UMe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function UMe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function WMe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${HMe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${UMe[a]}`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -70666,7 +70675,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, L.jsx)(UMe, {
+ }), g && _ ? /* @__PURE__ */ (0, L.jsx)(WMe, {
cell: g,
series: t.series,
tone: c,
@@ -70682,7 +70691,7 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var WMe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
+var GMe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, L.jsx)("text", {
x: 0,
y: 18 + t * R7 + 7,
dominantBaseline: "middle",
@@ -70696,7 +70705,7 @@ var WMe = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [F7.map((e, t) =>
children: t
}, t))] });
function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = BMe(e), s = VMe(e);
+ let o = VMe(e), s = HMe(e);
return s.cells.length ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, L.jsx)(B7, {
@@ -70707,7 +70716,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: WMe,
+ axis: GMe,
footer: /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, L.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, L.jsx)(B7, {
title: n,
@@ -70779,14 +70788,14 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var GMe = "30%", KMe = "100%", U7 = 5, W7 = 14, qMe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
+var KMe = "30%", qMe = "100%", U7 = 5, W7 = 14, JMe = 5, G7 = 1500, K7 = (0, I.createContext)(null);
function q7() {
let e = (0, I.use)(K7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = GMe, outerRadius: l = KMe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = eNe(f), v = ZMe(o), y = (0, I.useCallback)((e, t) => {
+function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = KMe, outerRadius: l = qMe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, I.useId)().replace(/:/g, ""), [h, g] = (0, I.useState)(u), _ = tNe(f), v = QMe(o), y = (0, I.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -70818,7 +70827,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(Xje, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, L.jsxs)(Zje, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -70837,8 +70846,8 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, L.jsx)(_7, { variant: p }),
r,
- f && /* @__PURE__ */ (0, L.jsx)(tNe, {}),
- /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)(QMe, {
+ f && /* @__PURE__ */ (0, L.jsx)(nNe, {}),
+ /* @__PURE__ */ (0, L.jsx)("defs", { children: /* @__PURE__ */ (0, L.jsx)($Me, {
config: e,
chartId: m
}) })
@@ -70847,7 +70856,7 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function JMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function YMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = q7();
return s ? null : /* @__PURE__ */ (0, L.jsx)(y6, {
dataKey: e,
@@ -70872,7 +70881,7 @@ function JMe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
...a
});
}
-function YMe({ variant: e, roundness: t, defaultIndex: n }) {
+function XMe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = q7();
return i ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -70885,7 +70894,7 @@ function YMe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function XMe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function ZMe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = q7();
return a ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -70899,7 +70908,7 @@ function XMe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function ZMe(e) {
+function QMe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -70915,7 +70924,7 @@ function ZMe(e) {
};
}
}
-var QMe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var $Me = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = l7(n);
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -70938,13 +70947,13 @@ var QMe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, L.jsx)(L.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function $Me() {
- return Array.from({ length: qMe }, (e, t) => ({
+function eNe() {
+ return Array.from({ length: JMe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function eNe(e) {
+function tNe(e) {
let [t, n] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -70952,9 +70961,9 @@ function eNe(e) {
n((e) => e + 1);
}, G7);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => $Me(), [t]);
+ }, [e]), (0, I.useMemo)(() => eNe(), [t]);
}
-var tNe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
+var nNe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
dataKey: "value",
cornerRadius: U7,
barSize: W7,
@@ -70968,17 +70977,17 @@ var tNe = () => /* @__PURE__ */ (0, L.jsx)(y6, {
fillOpacity: .25
})
});
-J7.RadialBar = JMe, J7.Tooltip = YMe, J7.Legend = XMe;
+J7.RadialBar = YMe, J7.Tooltip = XMe, J7.Legend = ZMe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var nNe = [
+var rNe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], rNe = [
+], iNe = [
"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",
@@ -71019,7 +71028,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, L.jsxs)(J7, {
data: f,
nameKey: "slice",
- config: RMe(s.map((e) => e.name)),
+ config: zMe(s.map((e) => e.name)),
max: Ape(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
@@ -71051,13 +71060,13 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${rNe[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 ${iNe[t % 6]}`,
children: [
/* @__PURE__ */ (0, L.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, L.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${nNe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${rNe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, L.jsx)("b", {
@@ -71076,7 +71085,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var iNe = 10, X7 = T7[5], aNe = T7[4], oNe = `${gw()} flex flex-col gap-4`, sNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", cNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", lNe = "开始播放后,这里会显示最近的真实观看证据。", uNe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", dNe = "添加媒体文件夹后,这里会显示存储空间。";
+var aNe = 10, X7 = T7[5], oNe = T7[4], sNe = `${gw()} flex flex-col gap-4`, cNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", lNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", uNe = "开始播放后,这里会显示最近的真实观看证据。", dNe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", fNe = "添加媒体文件夹后,这里会显示存储空间。";
function Z7({ term: e, value: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -71098,7 +71107,7 @@ function Q7({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [XR(t, n), "%"]
+ children: [ZR(t, n), "%"]
})]
})]
}), /* @__PURE__ */ (0, L.jsx)(xw, {
@@ -71129,14 +71138,14 @@ function $7({ term: e, figure: t, unit: n }) {
}
function e9({ headline: e, children: t }) {
return /* @__PURE__ */ (0, L.jsxs)("div", {
- className: `${oNe} md:flex-row md:gap-6`,
+ className: `${sNe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, L.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function fNe({ data: t, configurable: n, openMediaSettings: r }) {
+function pNe({ data: t, configurable: n, openMediaSettings: r }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -71171,7 +71180,7 @@ function fNe({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: X7,
- rows: $R(t.by_quality)
+ rows: ez(t.by_quality)
}),
/* @__PURE__ */ (0, L.jsx)(P7, {
title: "文件类型",
@@ -71197,10 +71206,10 @@ function fNe({ data: t, configurable: n, openMediaSettings: r }) {
size: "small",
children: "添加关注"
})] }),
- children: sNe
+ children: cNe
});
}
-function pNe({ data: e }) {
+function mNe({ data: e }) {
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
@@ -71215,11 +71224,11 @@ function pNe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: aNe,
+ color: oNe,
rows: Lpe(e.replays)
})] });
}
-function mNe({ attribution: e }) {
+function hNe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-col",
@@ -71252,7 +71261,7 @@ function mNe({ attribution: e }) {
]
});
}
-function hNe({ volume: e }) {
+function gNe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -71269,7 +71278,7 @@ function hNe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [a(n), /* @__PURE__ */ (0, L.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [XR(n, t), "%"]
+ children: [ZR(n, t), "%"]
})]
})]
}),
@@ -71291,10 +71300,10 @@ function hNe({ volume: e }) {
]
});
}
-function gNe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function _Ne({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(hNe, { volume: e }, `${e.kind}:${e.label}`))
+ children: e.map((e) => /* @__PURE__ */ (0, L.jsx)(gNe, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
icon: sC,
@@ -71304,12 +71313,12 @@ function gNe({ volumes: e, configurable: t, openMediaSettings: n }) {
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: dNe
+ children: fNe
});
}
-function _Ne({ tags: e, tagLabel: t, onTag: n }) {
+function vNe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: iNe,
+ previewCount: aNe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, L.jsx)("li", {
className: "min-w-0",
@@ -71343,14 +71352,14 @@ function _Ne({ tags: e, tagLabel: t, onTag: n }) {
size: "small",
children: "补全资料"
}),
- children: cNe
+ children: lNe
});
}
-function vNe({ rows: e }) {
+function yNe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = ZR(e);
+ let t = QR(e);
return /* @__PURE__ */ (0, L.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, L.jsxs)("div", {
@@ -71374,7 +71383,7 @@ function vNe({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${QR(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${$R(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -71389,10 +71398,10 @@ function vNe({ rows: e }) {
size: "small",
children: "浏览馆藏"
}),
- children: lNe
+ children: uNe
});
}
-function yNe({ sources: e, videos: t }) {
+function bNe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, L.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, L.jsxs)("article", {
@@ -71432,17 +71441,17 @@ function yNe({ sources: e, videos: t }) {
size: "small",
children: "补全资料"
}),
- children: uNe
+ children: dNe
});
}
function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, L.jsx)(vA, {
+ return /* @__PURE__ */ (0, L.jsx)(yA, {
id: e,
- className: ND({
+ className: PD({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, L.jsx)(LD, {
+ children: /* @__PURE__ */ (0, L.jsx)(RD, {
label: t,
icon: i,
accent: a,
@@ -71451,28 +71460,28 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function bNe(e) {
+function xNe(e) {
let t = Ft({
- queryKey: JR,
- queryFn: ({ signal: e }) => YR(e)
+ queryKey: YR,
+ queryFn: ({ signal: e }) => XR(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, L.jsx)(yw, { children: /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? K(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = XR(n.tag_cov, n.attribution.videos);
+ let r = n.consumption, i = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = ZR(n.tag_cov, n.attribution.videos);
return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${a(s)}`
}),
- /* @__PURE__ */ (0, L.jsxs)(gA, {
+ /* @__PURE__ */ (0, L.jsxs)(_A, {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, L.jsxs)(_A, {
+ /* @__PURE__ */ (0, L.jsxs)(vA, {
"aria-label": "统计视图",
- className: PD,
+ className: FD,
children: [
/* @__PURE__ */ (0, L.jsx)(t9, {
id: "inventory",
@@ -71508,14 +71517,14 @@ function bNe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "inventory",
- children: /* @__PURE__ */ (0, L.jsx)(fNe, {
+ children: /* @__PURE__ */ (0, L.jsx)(pNe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ /* @__PURE__ */ (0, L.jsxs)(bA, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, L.jsx)(e9, {
@@ -71561,9 +71570,9 @@ function bNe(e) {
})
]
})
- }), /* @__PURE__ */ (0, L.jsx)(pNe, { data: n })]
+ }), /* @__PURE__ */ (0, L.jsx)(mNe, { data: n })]
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "coverage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -71571,10 +71580,10 @@ function bNe(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, L.jsx)(mNe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, L.jsx)(hNe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "storage",
children: /* @__PURE__ */ (0, L.jsx)(e9, {
headline: /* @__PURE__ */ (0, L.jsx)($7, {
@@ -71582,7 +71591,7 @@ function bNe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, L.jsx)(gNe, {
+ children: /* @__PURE__ */ (0, L.jsx)(_Ne, {
volumes: n.storage_volumes,
...e
})
@@ -71590,50 +71599,50 @@ function bNe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(gA, {
+ /* @__PURE__ */ (0, L.jsxs)(_A, {
className: `${gw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsxs)(BN, {
+ children: /* @__PURE__ */ (0, L.jsxs)(VN, {
"aria-label": "统计维度",
- className: HN,
+ className: UN,
children: [
- /* @__PURE__ */ (0, L.jsx)(vA, {
+ /* @__PURE__ */ (0, L.jsx)(yA, {
id: "tags",
- className: UN,
+ className: WN,
children: "内容标签"
}),
- /* @__PURE__ */ (0, L.jsx)(vA, {
+ /* @__PURE__ */ (0, L.jsx)(yA, {
id: "recent",
- className: UN,
+ className: WN,
children: "最近看过"
}),
- /* @__PURE__ */ (0, L.jsx)(vA, {
+ /* @__PURE__ */ (0, L.jsx)(yA, {
id: "sources",
- className: UN,
+ className: WN,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(_Ne, {
+ children: /* @__PURE__ */ (0, L.jsx)(vNe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(vNe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, L.jsx)(yNe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, L.jsx)(yA, {
+ /* @__PURE__ */ (0, L.jsx)(bA, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(yNe, {
+ children: /* @__PURE__ */ (0, L.jsx)(bNe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -71644,7 +71653,7 @@ function bNe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function xNe(e, t) {
+function SNe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -71668,13 +71677,13 @@ function a9(e, t) {
function o9(e) {
return e.value;
}
-function SNe(e) {
+function CNe(e) {
return e.index;
}
-function CNe(e) {
+function wNe(e) {
return e.nodes;
}
-function wNe(e) {
+function TNe(e) {
return e.links;
}
function s9(e, t) {
@@ -71689,8 +71698,8 @@ function c9({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function TNe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = SNe, c = xNe, l, u, d = CNe, f = wNe, p = 6;
+function ENe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = CNe, c = SNe, l, u, d = wNe, f = TNe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -71876,7 +71885,7 @@ function TNe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, ENe = u9 - d9;
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, DNe = u9 - d9;
function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -71917,7 +71926,7 @@ f9.prototype = p9.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) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > ENe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + 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) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > DNe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + 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";
@@ -71935,27 +71944,27 @@ function m9(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function DNe(e) {
+function ONe(e) {
return e[0];
}
-function ONe(e) {
+function kNe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var kNe = Array.prototype.slice;
+var ANe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function ANe(e) {
+function jNe(e) {
return e.source;
}
-function jNe(e) {
+function MNe(e) {
return e.target;
}
-function MNe(e) {
- var t = ANe, n = jNe, r = DNe, i = ONe, a = null;
+function NNe(e) {
+ var t = jNe, n = MNe, r = ONe, i = kNe, a = null;
function o() {
- var o, s = kNe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = ANe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = p9(), 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) {
@@ -71970,48 +71979,48 @@ function MNe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function NNe(e, t, n, r, i) {
+function PNe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function PNe() {
- return MNe(NNe);
+function FNe() {
+ return NNe(PNe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function FNe(e) {
+function INe(e) {
return [e.source.x1, e.y0];
}
-function INe(e) {
+function LNe(e) {
return [e.target.x0, e.y1];
}
-function LNe() {
- return PNe().source(FNe).target(INe);
+function RNe() {
+ return FNe().source(INe).target(LNe);
}
//#endregion
//#region src/react/taste/taste.ts
-var RNe = "/api/taste", h9 = "/api/taste/refresh", zNe = "/api/taste/import", BNe = "/api/taste/source", g9 = (e) => ["taste", e], VNe = ["taste", "refresh"], HNe = [
+var zNe = "/api/taste", h9 = "/api/taste/refresh", BNe = "/api/taste/import", VNe = "/api/taste/source", g9 = (e) => ["taste", e], HNe = ["taste", "refresh"], UNe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => hw(`${RNe}?window=${e}`, t), UNe = (e) => hw(h9, e);
-async function WNe(e, t) {
+], _9 = (e, t) => hw(`${zNe}?window=${e}`, t), WNe = (e) => hw(h9, e);
+async function GNe(e, t) {
await X.fetchQuery({
queryKey: g9(e),
queryFn: () => _9(e, t)
});
}
-var GNe = (e) => q(h9, {
+var KNe = (e) => q(h9, {
window: e,
background: !0
-}), KNe = (e, t) => q(BNe, {
+}), qNe = (e, t) => q(VNe, {
operation: "remove",
source_key: e,
window: t
});
-async function qNe(e) {
- let t = await fetch(zNe, {
+async function JNe(e) {
+ let t = await fetch(BNe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -72029,21 +72038,21 @@ async function qNe(e) {
}
return n;
}
-var JNe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", YNe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, XNe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function ZNe(e) {
+var YNe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", XNe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, ZNe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function QNe(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function QNe(e) {
- let t = e.map(XNe), n = Math.max(1, ...t);
+function $Ne(e) {
+ let t = e.map(ZNe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var y9 = (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 $Ne(e) {
+function ePe(e) {
let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
@@ -72054,10 +72063,10 @@ var b9 = {
source: 145,
target: 545
};
-function ePe(e = []) {
+function tPe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = TNe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = ENe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -72072,7 +72081,7 @@ function ePe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = LNe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = RNe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -72102,7 +72111,7 @@ function ePe(e = []) {
total: a
};
}
-var tPe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var nPe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = I.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = I.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -72225,14 +72234,14 @@ var T9 = I.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
T9.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var nPe = 1, rPe = .3, iPe = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
+var rPe = 1, iPe = .3, aPe = 6, E9 = 1500, D9 = "value", O9 = (0, I.createContext)(null);
function k9() {
let e = (0, I.use)(O9);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function A9({ 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, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = _Pe(c, l), m = (0, I.useCallback)((e) => {
+ let u = (0, I.useId)().replace(/:/g, ""), [d, f] = (0, I.useState)(o), p = vPe(c, l), m = (0, I.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, I.useMemo)(() => ({
config: e,
@@ -72250,32 +72259,32 @@ function A9({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, L.jsxs)(a7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(Uje, {
+ children: [/* @__PURE__ */ (0, L.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, L.jsxs)(Wje, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, L.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, L.jsx)(vPe, {})
+ c && /* @__PURE__ */ (0, L.jsx)(yPe, {})
]
})]
})
});
}
-function aPe({ dataKey: e, variant: t = "filled", fillOpacity: n = rPe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function oPe({ dataKey: e, variant: t = "filled", fillOpacity: n = iPe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = k9(), d = (0, I.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 } = dPe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = fPe(a, d, e, p.dot);
return /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, L.jsx)(U3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: nPe,
+ strokeWidth: rPe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -72288,29 +72297,29 @@ function aPe({ dataKey: e, variant: t = "filled", fillOpacity: n = rPe, isGlowin
},
...o
}), /* @__PURE__ */ (0, L.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, L.jsx)(fPe, {
+ /* @__PURE__ */ (0, L.jsx)(pPe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, L.jsx)(pPe, {
+ /* @__PURE__ */ (0, L.jsx)(mPe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, L.jsx)(mPe, {
+ m && /* @__PURE__ */ (0, L.jsx)(hPe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, L.jsx)(hPe, {
+ r && /* @__PURE__ */ (0, L.jsx)(gPe, {
id: d,
dataKey: e
})
] })] });
}
var j9 = () => null, M9 = () => null;
-function oPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function sPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, L.jsx)(I4, {
gridType: e,
stroke: t,
@@ -72319,7 +72328,7 @@ function oPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function sPe({ tick: e = {
+function cPe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -72330,7 +72339,7 @@ function sPe({ tick: e = {
...n
});
}
-function cPe({ tick: e = {
+function lPe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -72342,7 +72351,7 @@ function cPe({ tick: e = {
...r
});
}
-function lPe({ variant: e, roundness: t, defaultIndex: n }) {
+function uPe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = k9();
return r ? null : /* @__PURE__ */ (0, L.jsx)(d7, {
defaultIndex: n,
@@ -72354,7 +72363,7 @@ function lPe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function uPe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function dPe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = k9();
return i ? null : /* @__PURE__ */ (0, L.jsx)(p7, {
verticalAlign: n,
@@ -72367,7 +72376,7 @@ function uPe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var dPe = (e, t, n, r) => {
+var fPe = (e, t, n, r) => {
let i = !1, a = !1;
return I.Children.forEach(e, (e) => {
if ((0, I.isValidElement)(e)) {
@@ -72409,7 +72418,7 @@ var dPe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), fPe = ({ id: e, dataKey: t, config: n }) => {
+}) }), pPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -72422,7 +72431,7 @@ var dPe = (e, t, n, r) => {
colorsCount: r
})
});
-}, pPe = ({ id: e, dataKey: t, config: n }) => {
+}, mPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {});
return /* @__PURE__ */ (0, L.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -72435,7 +72444,7 @@ var dPe = (e, t, n, r) => {
colorsCount: r
})
});
-}, mPe = ({ id: e, dataKey: t, config: n }) => {
+}, hPe = ({ id: e, dataKey: t, config: n }) => {
let r = l7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, L.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -72448,7 +72457,7 @@ var dPe = (e, t, n, r) => {
opacities: i
})
});
-}, hPe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
+}, gPe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, L.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -72468,7 +72477,7 @@ var dPe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, L.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, L.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), gPe = (e) => [
+}), _Pe = (e) => [
"A",
"B",
"C",
@@ -72479,7 +72488,7 @@ var dPe = (e, t, n, r) => {
skill: e,
[D9]: 30 + Math.random() * 70
}));
-function _Pe(e, t = iPe) {
+function vPe(e, t = aPe) {
let [n, r] = (0, I.useState)(0);
return (0, I.useEffect)(() => {
if (!e) return;
@@ -72487,9 +72496,9 @@ function _Pe(e, t = iPe) {
r((e) => e + 1);
}, E9);
return () => clearInterval(t);
- }, [e]), (0, I.useMemo)(() => gPe(t), [t, n]);
+ }, [e]), (0, I.useMemo)(() => _Pe(t), [t, n]);
}
-var vPe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
+var yPe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
@@ -72501,17 +72510,17 @@ var vPe = () => /* @__PURE__ */ (0, L.jsx)(U3, {
animationDuration: E9,
animationEasing: "ease-in-out"
});
-A9.Radar = aPe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = oPe, A9.PolarAngleAxis = sPe, A9.PolarRadiusAxis = cPe, A9.Tooltip = lPe, A9.Legend = uPe;
+A9.Radar = oPe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = sPe, A9.PolarAngleAxis = cPe, A9.PolarRadiusAxis = lPe, A9.Tooltip = uPe, A9.Legend = dPe;
//#endregion
//#region src/react/taste/charts.tsx
-var yPe = [
+var bPe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], bPe = [
+], xPe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -72521,7 +72530,7 @@ var yPe = [
], P9 = { value: {
label: "标签命中",
colors: E7(T7[3])
-} }, xPe = [
+} }, SPe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -72531,20 +72540,20 @@ var yPe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], SPe = 26, CPe = { radius: P9.value }, wPe = (e, t) => Math.sqrt(e / t);
-function TPe({ rows: e, label: t }) {
- let n = $Ne(e);
+], CPe = 26, wPe = { radius: P9.value }, TPe = (e, t) => Math.sqrt(e / t);
+function EPe({ rows: e, label: t }) {
+ let n = ePe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: wPe(e.value, r)
+ radius: TPe(e.value, r)
}));
return /* @__PURE__ */ (0, L.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, L.jsxs)(A9, {
data: i,
- config: CPe,
+ config: wPe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -72561,17 +72570,17 @@ function TPe({ rows: e, label: t }) {
})
});
}
-function EPe({ rows: e, label: t }) {
+function DPe({ rows: e, label: t }) {
let n = y9(e, 8);
return n.length ? /* @__PURE__ */ (0, L.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${xPe[n.length]}`,
+ className: `flex grow flex-col ${SPe[n.length]}`,
children: /* @__PURE__ */ (0, L.jsxs)(x7, {
data: n,
config: P9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: SPe },
+ chartProps: { maxBarSize: CPe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, L.jsx)(x7.YAxis, {
@@ -72595,8 +72604,8 @@ function EPe({ rows: e, label: t }) {
})
}) : null;
}
-function DPe({ flows: e }) {
- let [t, n] = (0, I.useState)(null), r = ePe(e);
+function OPe({ flows: e }) {
+ let [t, n] = (0, I.useState)(null), r = tPe(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, L.jsxs)("section", {
@@ -72624,7 +72633,7 @@ function DPe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${yPe[e.color]}`,
+ className: `outline-none transition-opacity ${bPe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -72658,14 +72667,14 @@ function DPe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? bPe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? xPe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, L.jsxs)("text", {
x: x9[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: [tPe(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
+ children: [nPe(e.name), /* @__PURE__ */ (0, L.jsx)("tspan", {
x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -72683,11 +72692,11 @@ function DPe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var OPe = 10, F9 = sw(TA, EA, "text-body-2-medium"), I9 = `${gw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", kPe = "读取运行 Peach 的这台电脑上的浏览记录", APe = "导入或读取浏览记录后,这里会列出已采集设备。", jPe = "馆藏里暂时没有对得上浏览信号的标签。", MPe = "采集浏览记录后,这里会显示聚合后的口味证据。", NPe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", PPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", FPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", IPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", LPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+var kPe = 10, F9 = sw(EA, DA, "text-body-2-medium"), I9 = `${gw()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", APe = "读取运行 Peach 的这台电脑上的浏览记录", jPe = "导入或读取浏览记录后,这里会列出已采集设备。", MPe = "馆藏里暂时没有对得上浏览信号的标签。", NPe = "采集浏览记录后,这里会显示聚合后的口味证据。", PPe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", FPe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", IPe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", LPe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", RPe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, L.jsx)("div", {
- className: ND(),
- children: /* @__PURE__ */ (0, L.jsx)(LD, {
+ className: PD(),
+ children: /* @__PURE__ */ (0, L.jsx)(RD, {
label: t,
icon: e,
accent: i,
@@ -72710,22 +72719,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function RPe({ html: e }) {
+function zPe({ html: e }) {
return /* @__PURE__ */ (0, L.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 ${bL}`,
+ 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 ${xL}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+function BPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
if (!e.length) return /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
icon: gC,
title: "暂无足够证据",
children: r
});
- let o = QNe(e);
+ let o = $Ne(e);
return /* @__PURE__ */ (0, L.jsx)(H7, {
- previewCount: OPe,
+ previewCount: kPe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, L.jsxs)(L.Fragment, { children: [
@@ -72752,7 +72761,7 @@ function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(RPe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, L.jsx)(zPe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -72764,7 +72773,7 @@ function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, L.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: ZNe(e)
+ children: QNe(e)
})]
}),
s ? /* @__PURE__ */ (0, L.jsx)(qS, {
@@ -72788,23 +72797,23 @@ function zPe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
});
}
function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, L.jsxs)(gA, {
+ return /* @__PURE__ */ (0, L.jsxs)(_A, {
className: `${gw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, L.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, L.jsx)(BN, {
+ children: /* @__PURE__ */ (0, L.jsx)(VN, {
"aria-label": e,
- className: HN,
- children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(vA, {
+ className: UN,
+ children: t.map((e) => /* @__PURE__ */ (0, L.jsx)(yA, {
id: e.id,
- className: UN,
+ className: WN,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(yA, {
+ }), t.map((e) => /* @__PURE__ */ (0, L.jsx)(bA, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, L.jsx)(zPe, {
+ children: /* @__PURE__ */ (0, L.jsx)(BPe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -72812,7 +72821,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function BPe({ data: e, onSignal: t, navigate: n }) {
+function VPe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -72887,12 +72896,12 @@ function BPe({ data: e, onSignal: t, navigate: n }) {
shell: "plain",
icon: gC,
title: "还没有可探索的入口",
- children: jPe
+ children: MPe
})
]
});
}
-function VPe({ onboarding: e, done: t }) {
+function HPe({ onboarding: e, done: t }) {
let [n, r] = (0, I.useState)(() => {
try {
return localStorage.getItem(R9) === "1";
@@ -72905,17 +72914,17 @@ function VPe({ onboarding: e, done: t }) {
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, L.jsxs)(QA, {
+ children: /* @__PURE__ */ (0, L.jsxs)($A, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: PPe
+ children: FPe
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: FPe
+ children: IPe
}),
/* @__PURE__ */ (0, L.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -72945,7 +72954,7 @@ function VPe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, L.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: IPe
+ children: LPe
}),
/* @__PURE__ */ (0, L.jsx)("span", {
className: "self-start",
@@ -72965,7 +72974,7 @@ function VPe({ onboarding: e, done: t }) {
})
});
}
-function HPe({ busy: e, onRefresh: t, onImport: n }) {
+function UPe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, I.useRef)(null), [i, a] = (0, I.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -72975,7 +72984,7 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
"data-variant": "primary",
children: [/* @__PURE__ */ (0, L.jsx)(G, {
leadingIcon: $S,
- title: kPe,
+ title: APe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
@@ -72991,14 +73000,14 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, L.jsx)(Ck, {
+ }), /* @__PURE__ */ (0, L.jsx)(wk, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: wA,
- children: /* @__PURE__ */ (0, L.jsxs)(xA, {
+ className: TA,
+ children: /* @__PURE__ */ (0, L.jsxs)(SA, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, L.jsxs)("button", {
@@ -73021,9 +73030,9 @@ function HPe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function UPe({ sources: e, window: t, toast: n }) {
+function WPe({ sources: e, window: t, toast: n }) {
let r = It({
- mutationFn: (e) => KNe(e, t),
+ mutationFn: (e) => qNe(e, t),
onSuccess: (e) => {
X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
@@ -73075,7 +73084,7 @@ function UPe({ sources: e, window: t, toast: n }) {
onClick: () => {
r.isPending || g({
title: "移除口味数据源",
- body: LPe,
+ body: RPe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -73087,26 +73096,26 @@ function UPe({ sources: e, window: t, toast: n }) {
shell: "plain",
icon: eC,
title: "还没有数据源",
- children: APe
+ children: jPe
})
]
});
}
-function WPe(e) {
+function GPe(e) {
let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: o } = e, [s, c] = (0, I.useState)("all"), [l, u] = (0, I.useState)("browser"), d = (0, I.useRef)(null), f = Ft({
queryKey: g9(s),
queryFn: ({ signal: e }) => _9(s, e),
placeholderData: Pe
- }), { job: p, running: m, outcome: h, start: g } = bj({
- queryKey: VNe,
- queryFn: ({ signal: e }) => UNe(e),
- start: () => GNe(s),
- idlePollMs: JNe,
+ }), { job: p, running: m, outcome: h, start: g } = xj({
+ queryKey: HNe,
+ queryFn: ({ signal: e }) => WNe(e),
+ start: () => KNe(s),
+ idlePollMs: YNe,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
}), _ = It({
- mutationFn: (e) => qNe(e),
+ mutationFn: (e) => JNe(e),
onSuccess: (e) => {
X.setQueryData(g9("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -73123,40 +73132,40 @@ function WPe(e) {
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
return /* @__PURE__ */ (0, L.jsxs)(yw, { children: [
- /* @__PURE__ */ (0, L.jsxs)(gA, {
+ /* @__PURE__ */ (0, L.jsxs)(_A, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, L.jsxs)(BN, {
+ children: [/* @__PURE__ */ (0, L.jsxs)(VN, {
"aria-label": "口味证据来源",
- className: HN,
- children: [/* @__PURE__ */ (0, L.jsx)(vA, {
+ className: UN,
+ children: [/* @__PURE__ */ (0, L.jsx)(yA, {
id: "browser",
- className: UN,
+ className: WN,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, L.jsx)(vA, {
+ }), /* @__PURE__ */ (0, L.jsx)(yA, {
id: "peach",
- className: UN,
+ className: WN,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, L.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, L.jsx)(hj, {
+ /* @__PURE__ */ (0, L.jsx)(gj, {
"aria-label": "分析范围",
selectedKey: s,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: HNe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(gj, {
+ children: UNe.map(([e, t]) => /* @__PURE__ */ (0, L.jsx)(_j, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, L.jsx)(HPe, {
+ /* @__PURE__ */ (0, L.jsx)(UPe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -73172,7 +73181,7 @@ function WPe(e) {
]
})]
}),
- /* @__PURE__ */ (0, L.jsx)(VPe, {
+ /* @__PURE__ */ (0, L.jsx)(HPe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -73180,24 +73189,24 @@ function WPe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- m ? /* @__PURE__ */ (0, L.jsx)(RA, {
+ m ? /* @__PURE__ */ (0, L.jsx)(zA, {
label: p?.message || "正在读取浏览记录并更新口味分析",
value: p?.checked,
total: p?.total
}) : null,
- _.isPending ? /* @__PURE__ */ (0, L.jsx)(RA, { label: "正在导入历史文件" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, L.jsx)(zA, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, L.jsx)(J, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ /* @__PURE__ */ (0, L.jsxs)(bA, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: PD,
+ className: FD,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
@@ -73238,7 +73247,7 @@ function WPe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, L.jsx)(TPe, {
+ /* @__PURE__ */ (0, L.jsx)(EPe, {
rows: T,
label: "主要口味维度"
}),
@@ -73249,14 +73258,14 @@ function WPe(e) {
]
}), /* @__PURE__ */ (0, L.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, L.jsx)(EPe, {
+ children: T.length ? /* @__PURE__ */ (0, L.jsx)(DPe, {
rows: T,
label: "口味维度排名"
}) : /* @__PURE__ */ (0, L.jsx)(_w, {
shell: "plain",
icon: gC,
title: "暂无口味维度",
- children: MPe
+ children: NPe
})
})]
}),
@@ -73272,7 +73281,7 @@ function WPe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, L.jsx)(DPe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, L.jsx)(OPe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, L.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
@@ -73315,26 +73324,26 @@ function WPe(e) {
rows: E,
kind: "",
visual: "none",
- empty: NPe
+ empty: PPe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, L.jsxs)(yA, {
+ /* @__PURE__ */ (0, L.jsxs)(bA, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, L.jsxs)("div", {
- className: PD,
+ className: FD,
children: [
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 0,
icon: iC,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: YNe(x.peach_seconds || 0)
+ detail: XNe(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, L.jsx)(z9, {
accent: 1,
@@ -73429,12 +73438,12 @@ function WPe(e) {
})
]
}),
- /* @__PURE__ */ (0, L.jsx)(BPe, {
+ /* @__PURE__ */ (0, L.jsx)(VPe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, L.jsx)(UPe, {
+ /* @__PURE__ */ (0, L.jsx)(WPe, {
sources: b.sources || [],
window: s,
toast: r
@@ -73463,26 +73472,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function GPe(e) {
+function KPe(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 KPe = (e) => {
+var qPe = (e) => {
switch (e) {
- case "success": return YPe;
- case "info": return ZPe;
- case "warning": return XPe;
- case "error": return QPe;
+ case "success": return XPe;
+ case "info": return QPe;
+ case "warning": return ZPe;
+ case "error": return $Pe;
default: return null;
}
-}, qPe = Array(12).fill(0), JPe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
+}, JPe = Array(12).fill(0), YPe = ({ visible: e, className: t }) => /*#__PURE__*/ I.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, qPe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
+}, /*#__PURE__*/ I.createElement("div", { className: "sonner-spinner" }, JPe.map((e, t) => /*#__PURE__*/ I.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), YPe = /*#__PURE__*/ I.createElement("svg", {
+})))), XPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -73493,7 +73502,7 @@ var KPe = (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"
-})), XPe = /*#__PURE__*/ I.createElement("svg", {
+})), ZPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -73504,7 +73513,7 @@ var KPe = (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"
-})), ZPe = /*#__PURE__*/ I.createElement("svg", {
+})), QPe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -73515,7 +73524,7 @@ var KPe = (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"
-})), QPe = /*#__PURE__*/ I.createElement("svg", {
+})), $Pe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -73526,7 +73535,7 @@ var KPe = (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"
-})), $Pe = /*#__PURE__*/ I.createElement("svg", {
+})), eFe = /*#__PURE__*/ I.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -73547,7 +73556,7 @@ var KPe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), eFe = () => {
+})), tFe = () => {
let [e, t] = I.useState(document.hidden);
return I.useEffect(() => {
let e = () => {
@@ -73555,7 +73564,7 @@ var KPe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, tFe = 1, nFe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : tFe++, W9 = new class {
+}, nFe = 1, rFe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : nFe++, W9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -73565,7 +73574,7 @@ var KPe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - nFe;
+ let e = this.toasts.length - rFe;
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 = U9(e), i = this.pendingDismissals.get(r);
@@ -73643,7 +73652,7 @@ var KPe = (e) => {
type: "default",
message: e
});
- else if (iFe(e) && !e.ok) {
+ else if (aFe(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" && !I.isValidElement(r) ? r : { message: r };
this.create({
@@ -73696,7 +73705,7 @@ var KPe = (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();
}
-}(), rFe = (e, t) => W9.message(e, t), iFe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(rFe, {
+}(), iFe = (e, t) => W9.message(e, t), aFe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(iFe, {
success: W9.success,
info: W9.info,
warning: W9.warning,
@@ -73710,20 +73719,20 @@ var KPe = (e) => {
getHistory: () => W9.toasts,
getToasts: () => W9.getActiveToasts()
});
-GPe("[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%)}");
+KPe("[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 K9(e) {
return e.label !== void 0;
}
-var aFe = 3, oFe = "24px", sFe = "16px", q9 = 4e3, cFe = 356, lFe = 14, uFe = 45, dFe = 200;
+var oFe = 3, sFe = "24px", cFe = "16px", q9 = 4e3, lFe = 356, uFe = 14, dFe = 45, fFe = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function fFe(e) {
+function pFe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var pFe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, ne] = I.useState(!1), [F, re] = I.useState(!1), [ie, ae] = I.useState(0), [oe, se] = I.useState(0), ce = I.useRef(n.duration || y || q9), le = I.useRef(null), ue = I.useRef(null), L = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = eFe(), Ee = I.useMemo(() => e.swipeDirections ?? fFe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var mFe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = I.useState(null), [O, k] = I.useState(null), [A, j] = I.useState(!1), [M, N] = I.useState(!1), [ee, te] = I.useState(!1), [P, ne] = I.useState(!1), [F, re] = I.useState(!1), [ie, ae] = I.useState(0), [oe, se] = I.useState(0), ce = I.useRef(n.duration || y || q9), le = I.useRef(null), ue = I.useRef(null), L = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = I.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = I.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = I.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = I.useRef(0), ye = I.useRef(0), be = I.useRef(0), xe = I.useRef(null), [Se, Ce] = b.split("-"), we = I.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = tFe(), Ee = I.useMemo(() => e.swipeDirections ?? pFe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = I.useMemo(() => he * x + we, [he, we]), I.useEffect(() => {
ce.current = _e;
}, [_e]), I.useEffect(() => {
@@ -73764,7 +73773,7 @@ var pFe = (e) => {
let ke = I.useCallback(() => {
N(!0), ae(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, dFe);
+ }, fFe);
}, [
n,
d,
@@ -73797,12 +73806,12 @@ var pFe = (e) => {
return w?.loading ? /*#__PURE__*/ I.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ I.createElement(JPe, {
+ }, w.loading) : /*#__PURE__*/ I.createElement(YPe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || KPe(z);
+ let je = n.icon || w?.[z] || qPe(z);
return /*#__PURE__*/ I.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -73849,7 +73858,7 @@ var pFe = (e) => {
if (P || !fe) return;
xe.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= uFe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= dFe || a > .11)) {
ae(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), ne(!0);
return;
}
@@ -73890,7 +73899,7 @@ var pFe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? $Pe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
+ }, w?.close ?? eFe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ I.createElement("div", {
"data-icon": "",
className: J9(C?.icon, n?.classNames?.icon)
}, z === "loading" ? n.icon || Ae() : n.promise ? Ae() : null, z === "loading" ? null : je) : null, /*#__PURE__*/ I.createElement("div", {
@@ -73925,10 +73934,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function mFe(e, t) {
+function hFe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? sFe : oFe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? cFe : sFe;
function o(e) {
[
"top",
@@ -73949,8 +73958,8 @@ function mFe(e, t) {
}) : o(a);
}), n;
}
-var hFe = /*#__PURE__*/ I.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 = aFe, toastOptions: g, dir: _ = Y9(), gap: v = lFe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), ne = I.useRef(!1), F = I.useCallback((e) => {
+var gFe = /*#__PURE__*/ I.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 = oFe, toastOptions: g, dir: _ = Y9(), gap: v = uFe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = I.useState([]), w = I.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = I.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = I.useState([]), [O, k] = I.useState(!1), [A, j] = I.useState(!1), [M, N] = I.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = I.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = I.useRef(null), ne = I.useRef(!1), F = I.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return I.useEffect(() => W9.subscribe((e) => {
@@ -74036,10 +74045,10 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${cFe}px`,
+ "--width": `${lFe}px`,
"--gap": `${v}px`,
...m,
- ...mFe(l, u)
+ ...hFe(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -74057,7 +74066,7 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(pFe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ I.createElement(mFe, {
key: n.id,
icons: y,
index: i,
@@ -74091,8 +74100,8 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, gFe = (e, t) => {
- Z9 || (Z9 = !0, (0, HS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(hFe, {
+}), Z9 = !1, _Fe = (e, t) => {
+ Z9 || (Z9 = !0, (0, HS.createRoot)(e).render(/* @__PURE__ */ (0, L.jsx)(gFe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -74113,7 +74122,7 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, _Fe = (e, t) => {
+}, vFe = (e, t) => {
let n = t.alert ? G9.error : G9.success, r = t.action;
n(/* @__PURE__ */ (0, L.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -74126,7 +74135,7 @@ var hFe = /*#__PURE__*/ I.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function vFe() {
+function yFe() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
@@ -74136,7 +74145,7 @@ function $9(e) {
children: /* @__PURE__ */ (0, L.jsx)(sd, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, L.jsx)(vy, {
- getContainer: vFe,
+ getContainer: yFe,
children: /* @__PURE__ */ (0, L.jsx)(e, { ...t })
})
})
@@ -74147,95 +74156,95 @@ function $9(e) {
};
};
}
-var yFe = {
+var bFe = {
activity: {
prefetch: (e, t) => tre(t),
mount: $9(pre)
},
"catalog-grid": {
prefetch: xre,
- mount: $9(vT)
+ mount: $9(yT)
},
configuration: {
- prefetch: (e, t) => BR(t),
+ prefetch: (e, t) => VR(t),
mount: $9(Spe)
},
"configuration-summary": {
- prefetch: (e, t) => BR(t),
+ prefetch: (e, t) => VR(t),
mount: $9(wpe)
},
"data-cleanup": {
- prefetch: (e, t) => _ie(t),
- mount: $9(gM)
+ prefetch: (e, t) => gie(t),
+ mount: $9(_M)
},
duplicates: {
- prefetch: (e, t) => LT(t),
- mount: $9(PM)
+ prefetch: (e, t) => RT(t),
+ mount: $9(FM)
},
"entity-hero": {
prefetch: async () => {},
- mount: $9(Woe)
+ mount: $9(Uoe)
},
"entity-filter": {
prefetch: async () => {},
- mount: $9(ZN)
+ mount: $9(QN)
},
"entity-body": {
prefetch: async () => {},
- mount: $9(kN)
+ mount: $9(AN)
},
"follow-detail": {
- prefetch: $se,
- mount: $9(gce)
+ prefetch: Qse,
+ mount: $9(hce)
},
"follow-feed": {
- prefetch: Bse,
- mount: $9(Nce)
+ prefetch: zse,
+ mount: $9(Mce)
},
"item-detail": {
- prefetch: xue,
- mount: $9(Uue)
+ prefetch: bue,
+ mount: $9(Hue)
},
"follow-manage": {
- prefetch: (e, t) => jse(t, e.tab),
- mount: $9(hue)
+ prefetch: (e, t) => Ase(t, e.tab),
+ mount: $9(mue)
},
index: {
- prefetch: (e, t) => nN(e, t),
- mount: $9(xde)
+ prefetch: (e, t) => rN(e, t),
+ mount: $9(bde)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(Rde)
+ mount: $9(Lde)
},
"library-processing": {
- prefetch: (e, t) => JT(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Wde, { ...e }) : /* @__PURE__ */ (0, L.jsx)(lj, { ...e }))
+ prefetch: (e, t) => YT(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, L.jsx)(Ude, { ...e }) : /* @__PURE__ */ (0, L.jsx)(uj, { ...e }))
},
playlists: {
- prefetch: (e, t) => Kde(t),
- mount: $9(ife)
+ prefetch: (e, t) => Gde(t),
+ mount: $9(rfe)
},
"quality-goals": {
- prefetch: (e, t) => bE(t),
- mount: $9(ofe)
+ prefetch: (e, t) => xE(t),
+ mount: $9(afe)
},
review: {
- prefetch: (e, t) => Fre(t),
- mount: $9(Sfe)
+ prefetch: (e, t) => Pre(t),
+ mount: $9(xfe)
},
scraping: {
- prefetch: (e, t) => kfe(t),
+ prefetch: (e, t) => Ofe(t),
mount: $9(Ffe)
},
stats: {
prefetch: (e, t) => Epe(t),
- mount: $9(bNe)
+ mount: $9(xNe)
},
taste: {
- prefetch: (e, t) => WNe("all", t),
- mount: $9(WPe)
+ prefetch: (e, t) => GNe("all", t),
+ mount: $9(GPe)
}
};
//#endregion
-export { gFe as mountToaster, yFe as pages, _Fe as showToast };
+export { _Fe as mountToaster, bFe as pages, vFe as showToast };