Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(taste): 浏览器画像的排行条与雷达等高,榜单头像按人脸框放大

longmeidaocc3e4e5df8f6
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index 2f55129f3..207ebcfe6 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -69,6 +69,40 @@ const qualityGoal = (id: number, name: string) => ({
/** 1×1 的透明 PNG,够让 `<img>` 走完一次加载。 */
const PIXEL = 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==';
+/** 口味页浏览器画像的五个维度:头一个是其余的十倍,和真实馆藏的分布一样。 */
+const TASTE_CATEGORIES = [['剧情', 657], ['写真', 68], ['素人', 56], ['偶像', 4], ['企划', 1]]
+ .map(([name, score]) => ({ name, score }));
+
+/** 一张全身站姿照的人脸框:脸落在画面上半截的一小块里,小圆框要放大好几倍才看得清。 */
+const TASTE_FACE = { cx: .439, cy: .224, faceW: 67, imgW: 640, imgH: 960 };
+
+/** 口味页按改写过的 `/api/taste` 打开:演示库没有浏览记录,也没有带人脸框的实体图。
+ * 字段以 `src/peach/taste_history.py` 与 `src/peach/web_stats.py` 为准;实体图换成与人脸框同尺寸的纯色图。 */
+async function openTaste(browser: Browser, viewport: typeof DESKTOP): Promise<Visit> {
+ const opened = await visit(browser, '/taste', viewport);
+ const face = (id: number, name: string) => ({
+ name, peach_items: 3, peach_score: 5, entity_id: id, has_image: true, avatar_focus: { box: TASTE_FACE },
+ });
+ await opened.page.route(/\/api\/taste\?/, async (route) => {
+ const json = await (await route.fetch()).json();
+ await route.fulfill({ json: { ...json, rankings: { ...json.rankings,
+ browser_categories: TASTE_CATEGORIES,
+ peach_performers: [face(901, '演示女优')],
+ peach_creators: [face(902, '演示创作者')],
+ } } });
+ });
+ await opened.page.route(/\/entity-image\?/, (route) => route.fulfill({
+ contentType: 'image/svg+xml',
+ body: `<svg xmlns="http://www.w3.org/2000/svg" width="${TASTE_FACE.imgW}" height="${TASTE_FACE.imgH}">`
+ + `<rect width="${TASTE_FACE.imgW}" height="${TASTE_FACE.imgH}" fill="#888"/></svg>`,
+ }));
+ await opened.page.reload({ waitUntil: 'load' });
+ await expectBody(opened.page, '/taste', [
+ opened.page.locator('#stats').getByRole('tab', { name: '浏览器记录', exact: true }),
+ ]);
+ return opened;
+}
+
/** 高清版目标页按给定的一份 `/api/quality-goals` 打开:演示库里凑不齐很长的标题。 */
async function openQualityGoals(browser: Browser, items: unknown[]): Promise<Visit> {
const opened = await visit(browser, '/quality-goals', DESKTOP);
@@ -237,40 +271,6 @@ async function openIndexPage(browser: Browser, path: string): Promise<Visit> {
return opened;
}
-/** 口味页浏览器画像的五个维度:头一个是其余的十倍,和真实馆藏的分布一样。 */
-const TASTE_CATEGORIES = [['剧情', 657], ['写真', 68], ['素人', 56], ['偶像', 4], ['企划', 1]]
- .map(([name, score]) => ({ name, score }));
-
-/** 一张全身站姿照的人脸框:脸落在画面上半截的一小块里,小圆框要放大好几倍才看得清。 */
-const TASTE_FACE = { cx: .439, cy: .224, faceW: 67, imgW: 640, imgH: 960 };
-
-/** 口味页按改写过的 `/api/taste` 打开:演示库没有浏览记录,也没有带人脸框的实体图。
- * 字段以 `src/peach/taste_history.py` 与 `src/peach/web_stats.py` 为准;实体图换成与人脸框同尺寸的纯色图。 */
-async function openTaste(browser: Browser, viewport: typeof DESKTOP): Promise<Visit> {
- const opened = await visit(browser, '/taste', viewport);
- const face = (id: number, name: string) => ({
- name, peach_items: 3, peach_score: 5, entity_id: id, has_image: true, avatar_focus: { box: TASTE_FACE },
- });
- await opened.page.route(/\/api\/taste\?/, async (route) => {
- const json = await (await route.fetch()).json();
- await route.fulfill({ json: { ...json, rankings: { ...json.rankings,
- browser_categories: TASTE_CATEGORIES,
- peach_performers: [face(901, '演示女优')],
- peach_creators: [face(902, '演示创作者')],
- } } });
- });
- await opened.page.route(/\/entity-image\?/, (route) => route.fulfill({
- contentType: 'image/svg+xml',
- body: `<svg xmlns="http://www.w3.org/2000/svg" width="${TASTE_FACE.imgW}" height="${TASTE_FACE.imgH}">`
- + `<rect width="${TASTE_FACE.imgW}" height="${TASTE_FACE.imgH}" fill="#888"/></svg>`,
- }));
- await opened.page.reload({ waitUntil: 'load' });
- await expectBody(opened.page, '/taste', [
- opened.page.locator('#stats').getByRole('tab', { name: '浏览器记录', exact: true }),
- ]);
- return opened;
-}
-
/** 一串 `box-shadow`(计算值或 token 原文)里最大的那个像素数:落影三层里最远那层的模糊半径。 */
const farthestShadow = (shadow: string) =>
Math.max(0, ...[...shadow.matchAll(/(\d+(?:\.\d+)?)px/g)].map((match) => Number(match[1])));
@@ -3049,6 +3049,75 @@ describe('设计决定', () => {
}
});
+ for (const viewport of VIEWPORTS) {
+ it(`口味维度排名宽屏跟雷达那一栏等高、窄屏按条数给高度,图拉高时条不变粗(${viewport.name})`, { timeout: 60_000 }, async () => {
+ const opened = await openTaste(browser, viewport);
+ try {
+ const page = opened.page;
+ const bars = page.locator('section[aria-label="口味维度排名"]');
+ await bars.locator('.recharts-bar-rectangle').first().waitFor({ state: 'visible', timeout: 15_000 });
+ await settle(page);
+ const shown = await page.locator('section[aria-label="浏览器画像"]').evaluate((section) => {
+ const radar = section.firstElementChild!.getBoundingClientRect();
+ const ranked = section.querySelector('section[aria-label="口味维度排名"]')!.getBoundingClientRect();
+ return {
+ radar: radar.height,
+ ranked: ranked.height,
+ thickness: [...section.querySelectorAll('.recharts-bar-rectangle')]
+ .map((bar) => bar.getBoundingClientRect().height),
+ };
+ });
+ assert.equal(shown.thickness.length, TASTE_CATEGORIES.length);
+ if (viewport.mobile) {
+ assert.ok(shown.ranked >= 32 * TASTE_CATEGORIES.length,
+ `窄屏排行条只有 ${shown.ranked}px,${TASTE_CATEGORIES.length} 条挤不下`);
+ } else {
+ assert.ok(Math.abs(shown.ranked - shown.radar) < 2,
+ `排行条 ${shown.ranked}px,雷达那一栏 ${shown.radar}px,两栏不等高`);
+ }
+ // 26 是一格 32 里默认留出的粗细;图被拉高时多出来的高度拉开条距,不进条本身。
+ assert.ok(shown.thickness.every((height) => height <= 26.5), `条粗 ${shown.thickness.join('、')}px`);
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+ }
+
+ it('口味榜的女优与创作者头像按人脸框放大:图保持原比例、盖满圆框,不露出底下的首字母', { timeout: 60_000 }, async () => {
+ const opened = await openTaste(browser, DESKTOP);
+ try {
+ const page = opened.page;
+ await page.getByRole('tablist', { name: '口味证据来源' }).getByRole('tab', { name: 'Peach 内部' }).click();
+ for (const name of ['女优', '创作者']) {
+ await page.getByRole('tablist', { name: 'Peach 口味维度' }).getByRole('tab', { name }).click();
+ const img = page.getByRole('tabpanel', { name }).locator('img[data-facebox]').first();
+ await img.scrollIntoViewIfNeeded();
+ // 放大是图加载后 `avatarFrame` 写进内联 style 的;等到那一步落地再量。
+ await page.waitForFunction((element) => element instanceof HTMLImageElement
+ && element.complete && element.naturalWidth > 0 && element.style.width !== '',
+ await img.elementHandle(), { timeout: 15_000 });
+ const frame = await img.evaluate((element) => {
+ const ring = element.parentElement!.getBoundingClientRect();
+ const box = element.getBoundingClientRect();
+ return {
+ maxWidth: getComputedStyle(element).maxWidth, ring: ring.width,
+ width: box.width, aspect: box.width / box.height,
+ gaps: [box.left - ring.left, ring.right - box.right, box.top - ring.top, ring.bottom - box.bottom],
+ };
+ });
+ assert.equal(frame.maxWidth, 'none', `${name}头像的图被预检的 max-width 夹住`);
+ assert.ok(frame.width > frame.ring, `${name}头像没有按人脸框放大:图宽 ${frame.width}px,圆框 ${frame.ring}px`);
+ assert.ok(Math.abs(frame.aspect - TASTE_FACE.imgW / TASTE_FACE.imgH) < .02,
+ `${name}头像的图宽高比 ${frame.aspect},被压扁了`);
+ assert.ok(frame.gaps.every((gap) => gap <= .5), `${name}头像的图没盖满圆框:${frame.gaps.join('、')}`);
+ }
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+
it('被打断的那一轮只有结束原因,卡片正文下面不留空行', { timeout: 60_000 }, async () => {
const opened = await openActivity(browser, [
{ ...settledRun(1, 'interrupted', '追更检查'), error: '服务重启,这一轮没有跑完' },
@@ -3235,41 +3304,6 @@ describe('设计决定', () => {
}
});
- for (const viewport of VIEWPORTS) {
- it(`口味维度排名宽屏跟雷达那一栏等高、窄屏按条数给高度,图拉高时条不变粗(${viewport.name})`, { timeout: 60_000 }, async () => {
- const opened = await openTaste(browser, viewport);
- try {
- const page = opened.page;
- const bars = page.locator('section[aria-label="口味维度排名"]');
- await bars.locator('.recharts-bar-rectangle').first().waitFor({ state: 'visible', timeout: 15_000 });
- await settle(page);
- const shown = await page.locator('section[aria-label="浏览器画像"]').evaluate((section) => {
- const radar = section.firstElementChild!.getBoundingClientRect();
- const ranked = section.querySelector('section[aria-label="口味维度排名"]')!.getBoundingClientRect();
- return {
- radar: radar.height,
- ranked: ranked.height,
- thickness: [...section.querySelectorAll('.recharts-bar-rectangle')]
- .map((bar) => bar.getBoundingClientRect().height),
- };
- });
- assert.equal(shown.thickness.length, TASTE_CATEGORIES.length);
- if (viewport.mobile) {
- assert.ok(shown.ranked >= 32 * TASTE_CATEGORIES.length,
- `窄屏排行条只有 ${shown.ranked}px,${TASTE_CATEGORIES.length} 条挤不下`);
- } else {
- assert.ok(Math.abs(shown.ranked - shown.radar) < 2,
- `排行条 ${shown.ranked}px,雷达那一栏 ${shown.radar}px,两栏不等高`);
- }
- // 26 是一格 32 里默认留出的粗细;图被拉高时多出来的高度拉开条距,不进条本身。
- assert.ok(shown.thickness.every((height) => height <= 26.5), `条粗 ${shown.thickness.join('、')}px`);
- assert.deepEqual(opened.problems, []);
- } finally {
- await opened.close();
- }
- });
- }
-
it('统计页选中的读数卡:2px 描边压在脚注带上面、圆角跟卡走,接触阴影收掉', { timeout: 60_000 }, async () => {
const opened = await visit(browser, '/stats', DESKTOP);
try {
diff --git a/frontend/src/react/components/legacy-avatar.ts b/frontend/src/react/components/legacy-avatar.ts
new file mode 100644
index 000000000..f841d3195
--- /dev/null
+++ b/frontend/src/react/components/legacy-avatar.ts
@@ -0,0 +1,8 @@
+/* 遗留层 `avatarInner` 画出来的头像放进 React 岛时,圆框里那张图的写法。
+ *
+ * 图铺满圆框、按 cover 裁。有人脸框时,遗留层的 `avatarFrame`(`web/app.js`)在图加载时往图上
+ * 写内联的 left/top/width/height 百分比,把脸放大到框中,宽度常常超过 100%。岛里的 Tailwind
+ * 预检给每张图加了 `max-width:100%`,不放开的话宽被夹回框宽、高照样放大,脸偏到左边,右侧
+ * 露出底下的首字母。遗留层自己的 `.searchface img` 没有这条预检。 */
+export const LEGACY_AVATAR_IMG =
+ '[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover';
diff --git a/frontend/src/react/review/review-evidence.tsx b/frontend/src/react/review/review-evidence.tsx
index a3f29958c..73ccef492 100644
--- a/frontend/src/react/review/review-evidence.tsx
+++ b/frontend/src/react/review/review-evidence.tsx
@@ -8,6 +8,7 @@ import { VisuallyHidden } from 'react-aria-components';
import { Button, ButtonLink } from '@/components/base/buttons/button';
import { CheckboxGlyph } from '@/components/base/checkbox/checkbox-glyph';
+import { LEGACY_AVATAR_IMG } from '../components/legacy-avatar';
import { busyProps } from '../settings/use-action';
import type { ReviewAsset, ReviewRow } from './review';
@@ -70,7 +71,7 @@ export function EntityHead(
<div className="flex min-w-0 items-center gap-3">
{/* `avatarInner` 是遗留层唯一那份「有图走图、没图退首字母」的实现,页面不重画一遍。 */}
<button type="button" aria-label={`打开创作者页:${name}`} onClick={() => openEntity(kind, name)}
- 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 [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover"
+ 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 ${LEGACY_AVATAR_IMG}`}
dangerouslySetInnerHTML={{ __html: avatar }} />
<div className="flex min-w-0 flex-col items-start">
<button type="button" onClick={() => openEntity(kind, name)}
diff --git a/frontend/src/react/taste/taste-page.tsx b/frontend/src/react/taste/taste-page.tsx
index c4f045f7d..90d780417 100644
--- a/frontend/src/react/taste/taste-page.tsx
+++ b/frontend/src/react/taste/taste-page.tsx
@@ -38,6 +38,7 @@ import type { TasteProps } from '../bundle';
import { cardClass } from '../components/card';
import { EmptyState } from '../components/empty-state';
import { ExpandableRanking } from '../components/expandable-ranking';
+import { LEGACY_AVATAR_IMG } from '../components/legacy-avatar';
import { LoadingDots } from '../components/loading-dots';
import { Note } from '../components/note';
import { Page } from '../components/page';
@@ -107,7 +108,7 @@ function SiteAvatar({ name, domain }: { name: string; domain: string }) {
/** 实体圆标。`avatarInner` 是遗留层唯一那份回落链实现,页面不重画一遍。 */
function EntityAvatar({ html }: { html: string }) {
return (
- <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 [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover"
+ <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 ${LEGACY_AVATAR_IMG}`}
dangerouslySetInnerHTML={{ __html: html }} />
);
}
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 76622e196..08e4a12ea 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}.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-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.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{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-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-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}.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-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}.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-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}.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-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-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-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\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@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\:flex-nowrap{flex-wrap:nowrap}.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-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))}}@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-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)}}@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 #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.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);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[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}.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-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.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{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-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-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}.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-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}.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-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}.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-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-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-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\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@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\:flex-nowrap{flex-wrap:nowrap}.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-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))}}@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)}}@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 #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.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);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[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 0c7e0ff32..5a20ef1b8 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -1,30 +1,30 @@
import { LOC as e, fmtDur as t, fmtSize as n, mapLimit as r, requestErrorMessage as i, siteMarkUrl as a } from "/js/core.js";
-import { MEDIA_SOURCE_ICONS as o, attachOverlayScrollbar as s, confirmModal as c, setCollapseOpen as l } from "/js/ui-components.js";
+import { MEDIA_SOURCE_ICONS as o, attachOverlayScrollbar as s, confirmModal as c, indexSkeletonHtml as l, setCollapseOpen as u } from "/js/ui-components.js";
//#region \0rolldown/runtime.js
-var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, m = Object.getPrototypeOf, h = Object.prototype.hasOwnProperty, g = (e, t, n) => () => {
+var d = Object.create, f = Object.defineProperty, p = Object.getOwnPropertyDescriptor, m = Object.getOwnPropertyNames, h = Object.getPrototypeOf, g = Object.prototype.hasOwnProperty, _ = (e, t, n) => () => {
if (n) throw n[0];
try {
return e && (t = e(e = 0)), t;
} catch (e) {
throw n = [e], e;
}
-}, _ = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), v = (e, t) => {
+}, v = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), y = (e, t) => {
let n = {};
- for (var r in e) d(n, r, {
+ for (var r in e) f(n, r, {
get: e[r],
enumerable: !0
});
- return t || d(n, Symbol.toStringTag, { value: "Module" }), n;
-}, y = (e, t, n, r) => {
- if (t && typeof t == "object" || typeof t == "function") for (var i = p(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !h.call(e, s) && s !== n && d(e, s, {
+ return t || f(n, Symbol.toStringTag, { value: "Module" }), n;
+}, b = (e, t, n, r) => {
+ if (t && typeof t == "object" || typeof t == "function") for (var i = m(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !g.call(e, s) && s !== n && f(e, s, {
get: ((e) => t[e]).bind(null, s),
- enumerable: !(r = f(t, s)) || r.enumerable
+ enumerable: !(r = p(t, s)) || r.enumerable
});
return e;
-}, b = (e, t, n) => (n = e == null ? {} : u(m(e)), y(t || !e || !e.__esModule || !h.call(e, "default") ? d(n, "default", {
+}, x = (e, t, n) => (n = e == null ? {} : d(h(e)), b(t || !e || !e.__esModule || !g.call(e, "default") ? f(n, "default", {
value: e,
enumerable: !0
-}) : n, e)), x = (e) => h.call(e, "module.exports") ? e["module.exports"] : y(d({}, "__esModule", { value: !0 }), e), S = /* @__PURE__ */ _(((e) => {
+}) : n, e)), S = (e) => g.call(e, "module.exports") ? e["module.exports"] : b(f({}, "__esModule", { value: !0 }), e), C = /* @__PURE__ */ v(((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.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.for("react.view_transition"), m = Symbol.iterator;
function h(e) {
return typeof e != "object" || !e ? null : (e = m && e[m] || e["@@iterator"], typeof e == "function" ? e : null);
@@ -183,14 +183,14 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
t !== null && n.types !== null && (t.types = n.types), T.T = t;
}
}
- function L(e) {
+ function ne(e) {
var t = T.T;
if (t !== null) {
var n = t.types;
n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);
- } else te(L.bind(null, e));
+ } else te(ne.bind(null, e));
}
- var ne = {
+ var L = {
map: F,
forEach: function(e, t, n) {
F(e, function() {
@@ -213,12 +213,12 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
return e;
}
};
- e.Activity = f, e.Children = ne, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
+ e.Activity = f, e.Children = L, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
__proto__: null,
c: function(e) {
return T.H.useMemoCache(e);
}
- }, e.addTransitionType = L, e.cache = function(e) {
+ }, e.addTransitionType = ne, e.cache = function(e) {
return function() {
return e.apply(null, arguments);
};
@@ -319,9 +319,9 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
}, e.useTransition = function() {
return T.H.useTransition();
}, e.version = "19.3.0";
-})), C = /* @__PURE__ */ _(((e, t) => {
- t.exports = S();
-})), w = /* @__PURE__ */ _(((e) => {
+})), w = /* @__PURE__ */ v(((e, t) => {
+ t.exports = C();
+})), T = /* @__PURE__ */ v(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
function r(e, n, r) {
var i = null;
@@ -336,25 +336,25 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
};
}
e.Fragment = n, e.jsx = r, e.jsxs = r;
-})), T = /* @__PURE__ */ _(((e, t) => {
- t.exports = w();
-})), E = /* @__PURE__ */ b(C(), 1), D = T(), O = E.createContext(void 0), k = (e) => {
- let t = E.useContext(O);
+})), E = /* @__PURE__ */ v(((e, t) => {
+ t.exports = T();
+})), D = /* @__PURE__ */ x(w(), 1), O = E(), k = D.createContext(void 0), A = (e) => {
+ let t = D.useContext(k);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
return t;
-}, A = ({ client: e, children: t }) => (E.useEffect(() => (e.mount(), () => {
+}, j = ({ client: e, children: t }) => (D.useEffect(() => (e.mount(), () => {
e.unmount();
-}), [e]), /* @__PURE__ */ (0, D.jsx)(O.Provider, {
+}), [e]), /* @__PURE__ */ (0, O.jsx)(k.Provider, {
value: e,
children: t
-})), j = {
+})), M = {
setTimeout: (e, t) => setTimeout(e, t),
clearTimeout: (e) => clearTimeout(e),
setInterval: (e, t) => setInterval(e, t),
clearInterval: (e) => clearInterval(e)
-}, M = new class {
- #e = j;
+}, N = new class {
+ #e = M;
setTimeoutProvider(e) {
this.#e = e;
}
@@ -371,31 +371,31 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
this.#e.clearInterval(e);
}
}();
-function N(e) {
+function P(e) {
setTimeout(e, 0);
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/utils.js
-var P = typeof window > "u" || "Deno" in globalThis;
-function F() {}
-function I(e, t) {
+var F = typeof window > "u" || "Deno" in globalThis;
+function I() {}
+function ee(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function ee(e) {
+function te(e) {
return typeof e == "number" && e >= 0 && e !== Infinity;
}
-function te(e, t) {
+function ne(e, t) {
return Math.max(e + (t || 0) - Date.now(), 0);
}
function L(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function ne(e, t) {
+function re(e, t) {
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
if (o) {
if (r) {
- if (t.queryHash !== ie(o, t.options)) return !1;
- } else if (!oe(t.queryKey, o)) return !1;
+ if (t.queryHash !== ae(o, t.options)) return !1;
+ } else if (!se(t.queryKey, o)) return !1;
}
if (n !== "all") {
let e = t.isActive();
@@ -403,68 +403,68 @@ function ne(e, t) {
}
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
}
-function re(e, t) {
+function ie(e, t) {
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
if (a) {
if (!t.options.mutationKey) return !1;
if (n) {
- if (ae(t.options.mutationKey) !== ae(a)) return !1;
- } else if (!oe(t.options.mutationKey, a)) return !1;
+ if (oe(t.options.mutationKey) !== oe(a)) return !1;
+ } else if (!se(t.options.mutationKey, a)) return !1;
}
return !(r && t.state.status !== r || i && !i(t));
}
-function ie(e, t) {
- return (t?.queryKeyHashFn || ae)(e);
+function ae(e, t) {
+ return (t?.queryKeyHashFn || oe)(e);
}
-function ae(e) {
- return JSON.stringify(e, (e, t) => R(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
+function oe(e) {
+ return JSON.stringify(e, (e, t) => z(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
}
-function oe(e, t) {
+function se(e, t) {
if (e === t) return !0;
if (typeof e != typeof t) return !1;
if (e && t && typeof e == "object" && typeof t == "object") {
if (Array.isArray(e) && Array.isArray(t)) {
if (t.length > e.length) return !1;
- for (let n = 0; n < t.length; n++) if (!oe(e[n], t[n])) return !1;
+ for (let n = 0; n < t.length; n++) if (!se(e[n], t[n])) return !1;
return !0;
}
let n = Object.keys(t);
- for (let r of n) if (!oe(e[r], t[r])) return !1;
+ for (let r of n) if (!se(e[r], t[r])) return !1;
return !0;
}
return !1;
}
-var se = Object.prototype.hasOwnProperty;
-function ce(e, t, n = 0) {
+var ce = Object.prototype.hasOwnProperty;
+function le(e, t, n = 0) {
if (e === t) return e;
if (n > 500) return t;
- let r = ue(e) && ue(t);
- if (!r && !(R(e) && R(t))) return t;
+ let r = R(e) && R(t);
+ if (!r && !(z(e) && z(t))) return t;
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
for (let l = 0; l < o; l++) {
let o = r ? l : a[l], u = e[o], d = t[o];
if (u === d) {
- s[o] = u, (r ? l < i : se.call(e, o)) && c++;
+ s[o] = u, (r ? l < i : ce.call(e, o)) && c++;
continue;
}
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
s[o] = d;
continue;
}
- let f = ce(u, d, n + 1);
+ let f = le(u, d, n + 1);
s[o] = f, f === u && c++;
}
return i === o && c === i ? e : s;
}
-function le(e, t) {
+function ue(e, t) {
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
for (let n in e) if (e[n] !== t[n]) return !1;
return !0;
}
-function ue(e) {
+function R(e) {
return Array.isArray(e) && e.length === Object.keys(e).length;
}
-function R(e) {
+function z(e) {
if (!de(e)) return !1;
let t = Object.getPrototypeOf(e), n = t?.constructor;
if (n === void 0) return !0;
@@ -477,11 +477,11 @@ function de(e) {
}
function fe(e) {
return new Promise((t) => {
- M.setTimeout(t, e);
+ N.setTimeout(t, e);
});
}
function pe(e, t, n) {
- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : ce(e, t);
+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : le(e, t);
}
function me(e) {
return e;
@@ -510,7 +510,7 @@ function be(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
-var xe = () => P, Se = () => xe(), Ce = class {
+var xe = () => F, Se = () => xe(), Ce = class {
constructor() {
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
}
@@ -561,7 +561,7 @@ var xe = () => P, Se = () => xe(), Ce = class {
isFocused() {
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
}
-}(), Te = N;
+}(), Te = P;
function Ee() {
let e = [], t = 0, n = (e) => {
e();
@@ -658,7 +658,7 @@ function Me(e) {
let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {
a = e, o = t;
});
- s.catch(F);
+ s.catch(I);
let c = () => i !== "pending", l = (t) => {
if (!c()) {
let n = new je(t);
@@ -717,7 +717,7 @@ var Ne = class {
this.clearGcTimeout();
}
scheduleGc() {
- this.clearGcTimeout(), ee(this.gcTime) && (this.#e = M.setTimeout(() => {
+ this.clearGcTimeout(), te(this.gcTime) && (this.#e = N.setTimeout(() => {
this.optionalRemove();
}, this.gcTime));
}
@@ -725,7 +725,7 @@ var Ne = class {
this.gcTime = Math.max(this.gcTime || 0, e ?? (Se() ? Infinity : 3e5));
}
clearGcTimeout() {
- this.#e !== void 0 && (M.clearTimeout(this.#e), this.#e = void 0);
+ this.#e !== void 0 && (N.clearTimeout(this.#e), this.#e = void 0);
}
};
//#endregion
@@ -787,9 +787,15 @@ function Fe(e, { pages: t, pageParams: n }) {
function Ie(e, { pages: t, pageParams: n }) {
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
}
+function Le(e, t) {
+ return t ? Fe(e, t) != null : !1;
+}
+function Re(e, t) {
+ return !t || !e.getPreviousPageParam ? !1 : Ie(e, t) != null;
+}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/query.js
-var Le = class extends Ne {
+var ze = class extends Ne {
#e;
#t;
#n;
@@ -799,7 +805,7 @@ var Le = class extends Ne {
#o;
#s;
constructor(e) {
- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Be(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = He(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
}
get meta() {
return this.options.meta;
@@ -815,8 +821,8 @@ var Le = class extends Ne {
...this.#o,
...e
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
- let e = Be(this.options);
- e.data !== void 0 && (this.setState(ze(e.data, e.dataUpdatedAt)), this.#t = e);
+ let e = He(this.options);
+ e.data !== void 0 && (this.setState(Ve(e.data, e.dataUpdatedAt)), this.#t = e);
}
}
optionalRemove() {
@@ -839,7 +845,7 @@ var Le = class extends Ne {
}
cancel(e) {
let t = this.#a?.promise;
- return this.#a?.cancel(e), t ? t.then(F).catch(F) : Promise.resolve();
+ return this.#a?.cancel(e), t ? t.then(I).catch(I) : Promise.resolve();
}
destroy() {
super.destroy(), this.cancel({ silent: !0 });
@@ -866,7 +872,7 @@ var Le = class extends Ne {
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
}
isStaleByTime(e = 0) {
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !te(this.state.dataUpdatedAt, e);
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ne(this.state.dataUpdatedAt, e);
}
onFocus() {
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
@@ -999,13 +1005,13 @@ var Le = class extends Ne {
};
case "fetch": return {
...t,
- ...Re(t.data, this.options),
+ ...Be(t.data, this.options),
fetchMeta: e.meta ?? null
};
case "success":
let n = {
...t,
- ...ze(e.data, e.dataUpdatedAt),
+ ...Ve(e.data, e.dataUpdatedAt),
dataUpdateCount: t.dataUpdateCount + 1,
...!e.manual && {
fetchStatus: "idle",
@@ -1048,7 +1054,7 @@ var Le = class extends Ne {
});
}
};
-function Re(e, t) {
+function Be(e, t) {
return {
fetchFailureCount: 0,
fetchFailureReason: null,
@@ -1059,7 +1065,7 @@ function Re(e, t) {
}
};
}
-function ze(e, t) {
+function Ve(e, t) {
return {
data: e,
dataUpdatedAt: t ?? Date.now(),
@@ -1068,7 +1074,7 @@ function ze(e, t) {
status: "success"
};
}
-function Be(e) {
+function He(e) {
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
return {
data: t,
@@ -1087,7 +1093,7 @@ function Be(e) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
-var Ve = class extends Ce {
+var Ue = class extends Ce {
#e;
#t = void 0;
#n = void 0;
@@ -1109,16 +1115,16 @@ var Ve = class extends Ce {
this.refetch = this.refetch.bind(this);
}
onSubscribe() {
- this.listeners.size === 1 && (this.#t.addObserver(this), Ue(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
+ this.listeners.size === 1 && (this.#t.addObserver(this), Ge(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
}
onUnsubscribe() {
this.hasListeners() || this.destroy();
}
shouldFetchOnReconnect() {
- return We(this.#t, this.options, this.options.refetchOnReconnect);
+ return Ke(this.#t, this.options, this.options.refetchOnReconnect);
}
shouldFetchOnWindowFocus() {
- return We(this.#t, this.options, this.options.refetchOnWindowFocus);
+ return Ke(this.#t, this.options, this.options.refetchOnWindowFocus);
}
destroy() {
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
@@ -1126,19 +1132,19 @@ var Ve = class extends Ce {
setOptions(e) {
let t = this.options, n = this.#t;
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof L(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
- this.#S(), this.#t.setOptions(this.options), t._defaulted && !le(this.options, t) && this.#e.getQueryCache().notify({
+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !ue(this.options, t) && this.#e.getQueryCache().notify({
type: "observerOptionsUpdated",
query: this.#t,
observer: this
});
let r = this.hasListeners();
- r && Ge(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || L(this.options.enabled, this.#t) !== L(t.enabled, this.#t) || L(this.options.staleTime, this.#t) !== L(t.staleTime, this.#t)) && this.#g();
+ r && qe(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || L(this.options.enabled, this.#t) !== L(t.enabled, this.#t) || L(this.options.staleTime, this.#t) !== L(t.staleTime, this.#t)) && this.#g();
let i = this.#_();
r && (this.#t !== n || L(this.options.enabled, this.#t) !== L(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
}
getOptimisticResult(e) {
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
- return le(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
+ return ue(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
}
getCurrentResult() {
return this.#r;
@@ -1177,17 +1183,17 @@ var Ve = class extends Ce {
#m(e) {
this.#S();
let t = this.#t.fetch(this.options, e);
- return e?.throwOnError || (t = t.catch(F)), t;
+ return e?.throwOnError || (t = t.catch(I)), t;
}
#h(e) {
- return !Se() && L(this.options.enabled, this.#t) !== !1 && ee(e);
+ return !Se() && L(this.options.enabled, this.#t) !== !1 && te(e);
}
#g() {
this.#b();
let e = L(this.options.staleTime, this.#t);
if (this.#r.isStale || !this.#h(e)) return;
- let t = te(this.#r.dataUpdatedAt, e) + 1;
- this.#u = M.setTimeout(() => {
+ let t = ne(this.#r.dataUpdatedAt, e) + 1;
+ this.#u = N.setTimeout(() => {
this.#r.isStale || this.updateResult();
}, t);
}
@@ -1195,7 +1201,7 @@ var Ve = class extends Ce {
return L(this.options.refetchInterval, this.#t) ?? !1;
}
#v(e) {
- this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = M.setInterval(() => {
+ this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = N.setInterval(() => {
(this.options.refetchIntervalInBackground || we.isFocused()) && this.#m();
}, this.#f));
}
@@ -1203,18 +1209,18 @@ var Ve = class extends Ce {
this.#g(), this.#v(this.#_());
}
#b() {
- this.#u !== void 0 && (M.clearTimeout(this.#u), this.#u = void 0);
+ this.#u !== void 0 && (N.clearTimeout(this.#u), this.#u = void 0);
}
#x() {
- this.#d !== void 0 && (M.clearInterval(this.#d), this.#d = void 0);
+ this.#d !== void 0 && (N.clearInterval(this.#d), this.#d = void 0);
}
createResult(e, t) {
let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
if (t._optimisticResults) {
- let i = this.hasListeners(), a = !i && Ue(e, t), o = i && Ge(e, n, t, r);
+ let i = this.hasListeners(), a = !i && Ge(e, t), o = i && qe(e, n, t, r);
(a || o) && (l = {
...l,
- ...Re(c.data, e.options)
+ ...Be(c.data, e.options)
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
}
let { error: f, errorUpdatedAt: p, status: m } = l;
@@ -1257,14 +1263,14 @@ var Ve = class extends Ce {
isPaused: l.fetchStatus === "paused",
isPlaceholderData: u,
isRefetchError: v && b,
- isStale: Ke(e, t),
+ isStale: Je(e, t),
refetch: this.refetch,
isEnabled: L(t.enabled, e) !== !1
};
}
updateResult() {
let e = this.#r, t = this.createResult(this.#t, this.options);
- if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), le(t, e)) return;
+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), ue(t, e)) return;
this.#r = t;
let n = (() => {
if (!e) return !0;
@@ -1295,34 +1301,75 @@ var Ve = class extends Ce {
this.updateResult(), this.hasListeners() && this.#y();
}
};
-function He(e, t) {
+function We(e, t) {
return L(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || L(t.retryOnMount, e) !== !1);
}
-function Ue(e, t) {
- return He(e, t) || e.state.data !== void 0 && We(e, t, t.refetchOnMount);
+function Ge(e, t) {
+ return We(e, t) || e.state.data !== void 0 && Ke(e, t, t.refetchOnMount);
}
-function We(e, t, n) {
+function Ke(e, t, n) {
if (L(t.enabled, e) !== !1 && L(t.staleTime, e) !== "static") {
let r = L(n, e);
- return r === "always" || r !== !1 && Ke(e, t);
+ return r === "always" || r !== !1 && Je(e, t);
}
return !1;
}
-function Ge(e, t, n, r) {
- return (e !== t || L(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ke(e, n);
+function qe(e, t, n, r) {
+ return (e !== t || L(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Je(e, n);
}
-function Ke(e, t) {
+function Je(e, t) {
return L(t.enabled, e) !== !1 && e.isStaleByTime(L(t.staleTime, e));
}
//#endregion
-//#region node_modules/@tanstack/query-core/build/modern/mutation.js
-var qe = class extends Ne {
+//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js
+var Ye = class extends Ue {
+ constructor(e, t) {
+ super(e, t);
+ }
+ bindMethods() {
+ super.bindMethods(), this.fetchNextPage = this.fetchNextPage.bind(this), this.fetchPreviousPage = this.fetchPreviousPage.bind(this);
+ }
+ setOptions(e) {
+ e._type = "infinite", super.setOptions(e);
+ }
+ getOptimisticResult(e) {
+ return e._type = "infinite", super.getOptimisticResult(e);
+ }
+ fetchNextPage(e) {
+ return this.fetch({
+ ...e,
+ meta: { fetchMore: { direction: "forward" } }
+ });
+ }
+ fetchPreviousPage(e) {
+ return this.fetch({
+ ...e,
+ meta: { fetchMore: { direction: "backward" } }
+ });
+ }
+ createResult(e, t) {
+ let { state: n } = e, r = super.createResult(e, t), { isFetching: i, isRefetching: a, isError: o, isRefetchError: s } = r, c = n.fetchMeta?.fetchMore?.direction, l = o && c === "forward", u = i && c === "forward", d = o && c === "backward", f = i && c === "backward";
+ return {
+ ...r,
+ fetchNextPage: this.fetchNextPage,
+ fetchPreviousPage: this.fetchPreviousPage,
+ hasNextPage: Le(t, n.data),
+ hasPreviousPage: Re(t, n.data),
+ isFetchNextPageError: l,
+ isFetchingNextPage: u,
+ isFetchPreviousPageError: d,
+ isFetchingPreviousPage: f,
+ isRefetchError: s && !l && !d,
+ isRefetching: a && !u && !f
+ };
+ }
+}, Xe = class extends Ne {
#e;
#t;
#n;
#r;
constructor(e) {
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Je(), this.setOptions(e.options), this.scheduleGc();
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ze(), this.setOptions(e.options), this.scheduleGc();
}
setOptions(e) {
this.options = e, this.updateGcTime(this.options.gcTime);
@@ -1484,7 +1531,7 @@ var qe = class extends Ne {
});
}
};
-function Je() {
+function Ze() {
return {
context: void 0,
data: void 0,
@@ -1499,7 +1546,7 @@ function Je() {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
-var Ye = class extends Ce {
+var Qe = class extends Ce {
#e;
#t;
#n;
@@ -1507,7 +1554,7 @@ var Ye = class extends Ce {
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
}
build(e, t, n) {
- let r = new qe({
+ let r = new Xe({
client: e,
mutationCache: this,
mutationId: ++this.#n,
@@ -1518,7 +1565,7 @@ var Ye = class extends Ce {
}
add(e) {
this.#e.add(e);
- let t = Xe(e);
+ let t = $e(e);
if (typeof t == "string") {
let n = this.#t.get(t);
n ? n.push(e) : this.#t.set(t, [e]);
@@ -1530,7 +1577,7 @@ var Ye = class extends Ce {
}
remove(e) {
if (this.#e.delete(e)) {
- let t = Xe(e);
+ let t = $e(e);
if (typeof t == "string") {
let n = this.#t.get(t);
if (n) {
@@ -1547,7 +1594,7 @@ var Ye = class extends Ce {
});
}
canRun(e) {
- let t = Xe(e);
+ let t = $e(e);
if (typeof t == "string") {
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
return !n || n === e;
@@ -1555,7 +1602,7 @@ var Ye = class extends Ce {
return !0;
}
runNext(e) {
- let t = Xe(e);
+ let t = $e(e);
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
}
clear() {
@@ -1576,10 +1623,10 @@ var Ye = class extends Ce {
exact: !0,
...e
};
- return this.getAll().find((e) => re(t, e));
+ return this.getAll().find((e) => ie(t, e));
}
findAll(e = {}) {
- return this.getAll().filter((t) => re(e, t));
+ return this.getAll().filter((t) => ie(e, t));
}
notify(e) {
De.batch(() => {
@@ -1590,15 +1637,15 @@ var Ye = class extends Ce {
}
resumePausedMutations() {
let e = this.getAll().filter((e) => e.state.isPaused);
- return De.batch(() => Promise.all(e.map((e) => e.continue().catch(F))));
+ return De.batch(() => Promise.all(e.map((e) => e.continue().catch(I))));
}
};
-function Xe(e) {
+function $e(e) {
return e.options.scope?.id;
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js
-var Ze = class extends Ce {
+var et = class extends Ce {
#e;
#t = void 0;
#n;
@@ -1611,11 +1658,11 @@ var Ze = class extends Ce {
}
setOptions(e) {
let t = this.options;
- this.options = this.#e.defaultMutationOptions(e), le(this.options, t) || this.#e.getMutationCache().notify({
+ this.options = this.#e.defaultMutationOptions(e), ue(this.options, t) || this.#e.getMutationCache().notify({
type: "observerOptionsUpdated",
mutation: this.#n,
observer: this
- }), t?.mutationKey && this.options.mutationKey && ae(t.mutationKey) !== ae(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
+ }), t?.mutationKey && this.options.mutationKey && oe(t.mutationKey) !== oe(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
}
onSubscribe() {
this.listeners.size === 1 && this.#n && (this.#n.addObserver(this), this.#i());
@@ -1636,7 +1683,7 @@ var Ze = class extends Ce {
return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);
}
#i() {
- let e = this.#n?.state ?? Je();
+ let e = this.#n?.state ?? Ze();
this.#t = {
...e,
isPending: e.status === "pending",
@@ -1684,14 +1731,14 @@ var Ze = class extends Ce {
});
});
}
-}, Qe = class extends Ce {
+}, tt = class extends Ce {
#e;
constructor(e = {}) {
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
}
build(e, t, n) {
- let r = t.queryKey, i = t.queryHash ?? ie(r, t), a = this.get(i);
- return a || (a = new Le({
+ let r = t.queryKey, i = t.queryHash ?? ae(r, t), a = this.get(i);
+ return a || (a = new ze({
client: e,
queryKey: r,
queryHash: i,
@@ -1707,8 +1754,7 @@ var Ze = class extends Ce {
}));
}
remove(e) {
- let t = this.#e.get(e.queryHash);
- t && (e.destroy(), t === e && this.#e.delete(e.queryHash), this.notify({
+ this.#e.get(e.queryHash) === e && (e.destroy(), this.#e.delete(e.queryHash), this.notify({
type: "removed",
query: e
}));
@@ -1731,11 +1777,11 @@ var Ze = class extends Ce {
exact: !0,
...e
};
- return this.getAll().find((e) => ne(t, e));
+ return this.getAll().find((e) => re(t, e));
}
findAll(e = {}) {
let t = this.getAll();
- return Object.keys(e).length > 0 ? t.filter((t) => ne(e, t)) : t;
+ return Object.keys(e).length > 0 ? t.filter((t) => re(e, t)) : t;
}
notify(e) {
De.batch(() => {
@@ -1758,7 +1804,7 @@ var Ze = class extends Ce {
});
});
}
-}, $e = class {
+}, nt = class {
#e;
#t;
#n;
@@ -1768,7 +1814,7 @@ var Ze = class extends Ce {
#o;
#s;
constructor(e = {}) {
- this.#e = e.queryCache || new Qe(), this.#t = e.mutationCache || new Ye(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
+ this.#e = e.queryCache || new tt(), this.#t = e.mutationCache || new Qe(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
}
mount() {
this.#a++, this.#a === 1 && (this.#o = we.subscribe(async (e) => {
@@ -1804,7 +1850,7 @@ var Ze = class extends Ce {
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
}
setQueryData(e, t, n) {
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = I(t, i);
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ee(t, i);
if (a !== void 0) return this.#e.build(this, r).setData(a, {
...n,
manual: !0
@@ -1842,7 +1888,7 @@ var Ze = class extends Ce {
revert: !0,
...t
}, r = De.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
- return Promise.all(r).then(F).catch(F);
+ return Promise.all(r).then(I).catch(I);
}
invalidateQueries(e, t = {}) {
return De.batch(() => (this.#e.findAll(e).forEach((e) => {
@@ -1858,9 +1904,9 @@ var Ze = class extends Ce {
cancelRefetch: t.cancelRefetch ?? !0
}, r = De.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
let t = e.fetch(void 0, n);
- return n.throwOnError || (t = t.catch(F)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
+ return n.throwOnError || (t = t.catch(I)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
}));
- return Promise.all(r).then(F);
+ return Promise.all(r).then(I);
}
async query(e) {
let t = this.defaultQueryOptions(e);
@@ -1875,7 +1921,7 @@ var Ze = class extends Ce {
return n.isStaleByTime(L(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
}
prefetchQuery(e) {
- return this.fetchQuery(e).then(F).catch(F);
+ return this.fetchQuery(e).then(I).catch(I);
}
infiniteQuery(e) {
return e._type = "infinite", this.query(e);
@@ -1884,7 +1930,7 @@ var Ze = class extends Ce {
return e._type = "infinite", this.fetchQuery(e);
}
prefetchInfiniteQuery(e) {
- return this.fetchInfiniteQuery(e).then(F).catch(F);
+ return this.fetchInfiniteQuery(e).then(I).catch(I);
}
ensureInfiniteQueryData(e) {
return e._type = "infinite", this.ensureQueryData(e);
@@ -1905,7 +1951,7 @@ var Ze = class extends Ce {
this.#n = e;
}
setQueryDefaults(e, t) {
- this.#r.set(ae(e), {
+ this.#r.set(oe(e), {
queryKey: e,
defaultOptions: t
});
@@ -1913,11 +1959,11 @@ var Ze = class extends Ce {
getQueryDefaults(e) {
let t = [...this.#r.values()], n = {};
return t.forEach((t) => {
- oe(e, t.queryKey) && Object.assign(n, t.defaultOptions);
+ se(e, t.queryKey) && Object.assign(n, t.defaultOptions);
}), n;
}
setMutationDefaults(e, t) {
- this.#i.set(ae(e), {
+ this.#i.set(oe(e), {
mutationKey: e,
defaultOptions: t
});
@@ -1925,7 +1971,7 @@ var Ze = class extends Ce {
getMutationDefaults(e) {
let t = [...this.#i.values()], n = {};
return t.forEach((t) => {
- oe(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
+ se(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
}), n;
}
defaultQueryOptions(e) {
@@ -1936,7 +1982,7 @@ var Ze = class extends Ce {
...e,
_defaulted: !0
};
- return t.queryHash ||= ie(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === _e && (t.enabled = !1), t;
+ return t.queryHash ||= ae(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === _e && (t.enabled = !1), t;
}
defaultMutationOptions(e) {
return e?._defaulted ? e : {
@@ -1949,11 +1995,11 @@ var Ze = class extends Ce {
clear() {
this.#e.clear(), this.#t.clear();
}
-}, et = E.createContext(!1), tt = () => E.useContext(et);
-et.Provider;
+}, rt = D.createContext(!1), it = () => D.useContext(rt);
+rt.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function nt() {
+function at() {
let e = !1;
return {
clearReset: () => {
@@ -1965,34 +2011,34 @@ function nt() {
isReset: () => e
};
}
-var rt = E.createContext(nt()), it = () => E.useContext(rt), at = (e, t, n) => {
+var ot = D.createContext(at()), st = () => D.useContext(ot), ct = (e, t, n) => {
let r = n?.state.error && typeof e.throwOnError == "function" ? ye(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, ot = (e) => {
- E.useEffect(() => {
+}, lt = (e) => {
+ D.useEffect(() => {
e.clearReset();
}, [e]);
-}, st = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ye(n, [e.error, r])), ct = (e) => {
+}, ut = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ye(n, [e.error, r])), dt = (e) => {
if (e.suspense) {
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
}
-}, lt = (e, t) => e?.suspense && t.isPending, ut = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, ft = (e, t) => e?.suspense && t.isPending, pt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function dt(e, t, n) {
- let r = tt(), i = it(), a = k(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, ct(o), at(o, i, s), ot(i);
- let [l] = E.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
- if (E.useSyncExternalStore(E.useCallback((e) => {
- let t = d ? l.subscribe(De.batchCalls(e)) : F;
+function mt(e, t, n) {
+ let r = it(), i = st(), a = A(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, dt(o), ct(o, i, s), lt(i);
+ let [l] = D.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
+ if (D.useSyncExternalStore(D.useCallback((e) => {
+ let t = d ? l.subscribe(De.batchCalls(e)) : I;
return l.updateResult(), t;
- }, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), E.useEffect(() => {
+ }, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), D.useEffect(() => {
l.setOptions(o);
- }, [o, l]), lt(o, u)) throw ut(o, l, i);
- if (st({
+ }, [o, l]), ft(o, u)) throw pt(o, l, i);
+ if (ut({
result: u,
errorResetBoundary: i,
throwOnError: o.throwOnError,
@@ -2003,18 +2049,18 @@ function dt(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function ft(e, t) {
- return dt(e, Ve, t);
+function ht(e, t) {
+ return mt(e, Ue, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function pt(e, t) {
- let n = k(t), [r] = E.useState(() => new Ze(n, e));
- E.useEffect(() => {
+function gt(e, t) {
+ let n = A(t), [r] = D.useState(() => new et(n, e));
+ D.useEffect(() => {
r.setOptions(e);
}, [r, e]);
- let i = E.useSyncExternalStore(E.useCallback((e) => r.subscribe(De.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = E.useCallback((...e) => {
- r.mutate(e[0], e[1]).catch(F);
+ let i = D.useSyncExternalStore(D.useCallback((e) => r.subscribe(De.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = D.useCallback((...e) => {
+ r.mutate(e[0], e[1]).catch(I);
}, [r]);
if (i.error && ye(r.options.throwOnError, [i.error])) throw i.error;
return {
@@ -2024,47 +2070,52 @@ function pt(e, t) {
};
}
//#endregion
+//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
+function _t(e, t) {
+ return mt(e, Ye, t);
+}
+//#endregion
//#region node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
-var mt = (0, E.createContext)({});
+var vt = (0, D.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
-function ht(e) {
- let t = (0, E.useRef)(null);
+function yt(e) {
+ let t = (0, D.useRef)(null);
return t.current === null && (t.current = e()), t.current;
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
-var gt = typeof window < "u" ? E.useLayoutEffect : E.useEffect, _t = /* @__PURE__ */ (0, E.createContext)(null);
+var bt = typeof window < "u" ? D.useLayoutEffect : D.useEffect, xt = /* @__PURE__ */ (0, D.createContext)(null);
//#endregion
//#region node_modules/motion-utils/dist/es/array.mjs
-function vt(e, t) {
+function St(e, t) {
e.indexOf(t) === -1 && e.push(t);
}
-function yt(e, t) {
+function Ct(e, t) {
let n = e.indexOf(t);
n > -1 && e.splice(n, 1);
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var bt = (e, t, n) => n > t ? t : n < e ? e : n, xt = {}, St = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Ct = (e) => typeof e == "object" && !!e, wt = (e) => /^0[^.\s]+$/u.test(e);
+var wt = (e, t, n) => n > t ? t : n < e ? e : n, Tt = {}, Et = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Dt = (e) => typeof e == "object" && !!e, Ot = (e) => /^0[^.\s]+$/u.test(e);
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function Tt(e) {
+function kt(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var Et = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Dt = (...e) => e.reduce((e, t) => (n) => t(e(n))), Ot = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
+var At = /* @__NO_SIDE_EFFECTS__ */ (e) => e, jt = (...e) => e.reduce((e, t) => (n) => t(e(n))), Mt = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
let r = t - e;
return r ? (n - e) / r : 1;
-}, kt = class {
+}, Nt = class {
constructor() {
this.subscriptions = [];
}
add(e) {
- return vt(this.subscriptions, e), () => yt(this.subscriptions, e);
+ return St(this.subscriptions, e), () => Ct(this.subscriptions, e);
}
notify(e, t, n) {
let r = this.subscriptions.length;
@@ -2082,42 +2133,42 @@ var Et = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Dt = (...e) => e.reduce((e, t) =>
clear() {
this.subscriptions.length = 0;
}
-}, At = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, jt = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, Mt = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Nt = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Pt = 1e-7, Ft = 12;
-function It(e, t, n, r, i) {
+}, Pt = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Ft = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, It = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, Lt = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Rt = 1e-7, zt = 12;
+function Bt(e, t, n, r, i) {
let a, o, s = 0;
do
- o = t + (n - t) / 2, a = Nt(o, r, i) - e, a > 0 ? n = o : t = o;
- while (Math.abs(a) > Pt && ++s < Ft);
+ o = t + (n - t) / 2, a = Lt(o, r, i) - e, a > 0 ? n = o : t = o;
+ while (Math.abs(a) > Rt && ++s < zt);
return o;
}
/*#__NO_SIDE_EFFECTS__*/
-function Lt(e, t, n, r) {
- if (e === t && n === r) return Et;
- let i = (t) => It(t, 0, 1, e, n);
- return (e) => e === 0 || e === 1 ? e : Nt(i(e), t, r);
+function Vt(e, t, n, r) {
+ if (e === t && n === r) return At;
+ let i = (t) => Bt(t, 0, 1, e, n);
+ return (e) => e === 0 || e === 1 ? e : Lt(i(e), t, r);
}
//#endregion
//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
-var Rt = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, zt = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Bt = /*@__PURE__*/ Lt(.33, 1.53, .69, .99), Vt = /*@__PURE__*/ zt(Bt), Ht = /*@__PURE__*/ Rt(Vt), Ut = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Vt(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Wt = (e) => 1 - Math.sin(Math.acos(e)), Gt = /* @__PURE__ */ zt(Wt), Kt = /* @__PURE__ */ Rt(Wt), qt = /*@__PURE__*/ Lt(.42, 0, 1, 1), Jt = /*@__PURE__*/ Lt(0, 0, .58, 1), Yt = /*@__PURE__*/ Lt(.42, 0, .58, 1), Xt = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", Zt = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", Qt = {
- linear: Et,
- easeIn: qt,
- easeInOut: Yt,
- easeOut: Jt,
- circIn: Wt,
- circInOut: Kt,
- circOut: Gt,
- backIn: Vt,
- backInOut: Ht,
- backOut: Bt,
- anticipate: Ut
-}, $t = (e) => typeof e == "string", en = (e) => {
- if (/* @__PURE__ */ Zt(e)) {
+var Ht = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ut = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), Wt = /*@__PURE__*/ Vt(.33, 1.53, .69, .99), Gt = /*@__PURE__*/ Ut(Wt), Kt = /*@__PURE__*/ Ht(Gt), qt = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * Gt(e) : .5 * (2 - 2 ** (-10 * (e - 1))), Jt = (e) => 1 - Math.sin(Math.acos(e)), Yt = /* @__PURE__ */ Ut(Jt), Xt = /* @__PURE__ */ Ht(Jt), Zt = /*@__PURE__*/ Vt(.42, 0, 1, 1), Qt = /*@__PURE__*/ Vt(0, 0, .58, 1), $t = /*@__PURE__*/ Vt(.42, 0, .58, 1), en = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", tn = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", nn = {
+ linear: At,
+ easeIn: Zt,
+ easeInOut: $t,
+ easeOut: Qt,
+ circIn: Jt,
+ circInOut: Xt,
+ circOut: Yt,
+ backIn: Gt,
+ backInOut: Kt,
+ backOut: Wt,
+ anticipate: qt
+}, rn = (e) => typeof e == "string", an = (e) => {
+ if (/* @__PURE__ */ tn(e)) {
e.length;
let [t, n, r, i] = e;
- return /* @__PURE__ */ Lt(t, n, r, i);
+ return /* @__PURE__ */ Vt(t, n, r, i);
}
- return $t(e) ? (Qt[e], `${e}`, Qt[e]) : e;
-}, tn = [
+ return rn(e) ? (nn[e], `${e}`, nn[e]) : e;
+}, on = [
"setup",
"read",
"resolveKeyframes",
@@ -2129,7 +2180,7 @@ var Rt = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 -
];
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs
-function nn(e) {
+function sn(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
delta: 0,
timestamp: 0,
@@ -2160,25 +2211,25 @@ function nn(e) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
-var rn = 40;
-function an(e, t) {
+var cn = 40;
+function ln(e, t) {
let n = !1, r = !0, i = {
delta: 0,
timestamp: 0,
isProcessing: !1
- }, a = () => n = !0, o = tn.reduce((e, t) => (e[t] = nn(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
- let a = xt.useManualTiming, o = a ? i.timestamp : performance.now();
- n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, rn), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
+ }, a = () => n = !0, o = on.reduce((e, t) => (e[t] = sn(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
+ let a = Tt.useManualTiming, o = a ? i.timestamp : performance.now();
+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, cn), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
}, g = () => {
n = !0, r = !0, i.isProcessing || e(h);
};
return {
- schedule: tn.reduce((e, t) => {
+ schedule: on.reduce((e, t) => {
let r = o[t];
return e[t] = (e, t = !1, i = !1) => (n || g(), r.schedule(e, t, i)), e;
}, {}),
cancel: (e) => {
- for (let t = 0; t < tn.length; t++) o[tn[t]].cancel(e);
+ for (let t = 0; t < on.length; t++) o[on[t]].cancel(e);
},
state: i,
steps: o
@@ -2186,59 +2237,59 @@ function an(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
-var { schedule: on, cancel: sn, state: cn, steps: ln } = /* @__PURE__ */ an(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Et, !0), un;
-function dn() {
- un = void 0;
+var { schedule: un, cancel: dn, state: fn, steps: pn } = /* @__PURE__ */ ln(typeof requestAnimationFrame < "u" ? requestAnimationFrame : At, !0), mn;
+function hn() {
+ mn = void 0;
}
-var fn = {
- now: () => (un === void 0 && fn.set(cn.isProcessing || xt.useManualTiming ? cn.timestamp : performance.now()), un),
+var gn = {
+ now: () => (mn === void 0 && gn.set(fn.isProcessing || Tt.useManualTiming ? fn.timestamp : performance.now()), mn),
set: (e) => {
- un = e, queueMicrotask(dn);
+ mn = e, queueMicrotask(hn);
}
-}, pn = (e) => (t) => typeof t == "string" && t.startsWith(e), mn = /*@__PURE__*/ pn("--"), hn = /*@__PURE__*/ pn("var(--"), gn = (e) => hn(e) ? _n.test(e.split("/*")[0].trim()) : !1, _n = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
-function vn(e) {
+}, _n = (e) => (t) => typeof t == "string" && t.startsWith(e), vn = /*@__PURE__*/ _n("--"), yn = /*@__PURE__*/ _n("var(--"), bn = (e) => yn(e) ? xn.test(e.split("/*")[0].trim()) : !1, xn = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
+function Sn(e) {
return typeof e == "string" && e.split("/*")[0].includes("var(--");
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
-var yn = {
+var Cn = {
test: (e) => typeof e == "number",
parse: parseFloat,
transform: (e) => e
-}, bn = {
- ...yn,
- transform: (e) => bt(0, 1, e)
-}, xn = {
- ...yn,
+}, wn = {
+ ...Cn,
+ transform: (e) => wt(0, 1, e)
+}, Tn = {
+ ...Cn,
default: 1
-}, Sn = (e) => Math.round(e * 1e5) / 1e5, Cn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
+}, En = (e) => Math.round(e * 1e5) / 1e5, Dn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
-function wn(e) {
+function On(e) {
return e == null;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
-var Tn = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, En = (e, t) => (n) => !!(typeof n == "string" && Tn.test(n) && n.startsWith(e) || t && !wn(n) && Object.prototype.hasOwnProperty.call(n, t)), Dn = (e, t, n) => (r) => {
+var kn = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, An = (e, t) => (n) => !!(typeof n == "string" && kn.test(n) && n.startsWith(e) || t && !On(n) && Object.prototype.hasOwnProperty.call(n, t)), jn = (e, t, n) => (r) => {
if (typeof r != "string") return r;
- let [i, a, o, s] = r.match(Cn);
+ let [i, a, o, s] = r.match(Dn);
return {
[e]: parseFloat(i),
[t]: parseFloat(a),
[n]: parseFloat(o),
alpha: s === void 0 ? 1 : parseFloat(s)
};
-}, On = (e) => bt(0, 255, e), kn = {
- ...yn,
- transform: (e) => Math.round(On(e))
-}, An = {
- test: /*@__PURE__*/ En("rgb", "red"),
- parse: /*@__PURE__*/ Dn("red", "green", "blue"),
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + kn.transform(e) + ", " + kn.transform(t) + ", " + kn.transform(n) + ", " + Sn(bn.transform(r)) + ")"
+}, Mn = (e) => wt(0, 255, e), Nn = {
+ ...Cn,
+ transform: (e) => Math.round(Mn(e))
+}, Pn = {
+ test: /*@__PURE__*/ An("rgb", "red"),
+ parse: /*@__PURE__*/ jn("red", "green", "blue"),
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Nn.transform(e) + ", " + Nn.transform(t) + ", " + Nn.transform(n) + ", " + En(wn.transform(r)) + ")"
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
-function jn(e) {
+function Fn(e) {
let t = "", n = "", r = "", i = "";
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
red: parseInt(t, 16),
@@ -2247,38 +2298,38 @@ function jn(e) {
alpha: i ? parseInt(i, 16) / 255 : 1
};
}
-var Mn = {
- test: /*@__PURE__*/ En("#"),
- parse: jn,
- transform: An.transform
-}, Nn = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
+var In = {
+ test: /*@__PURE__*/ An("#"),
+ parse: Fn,
+ transform: Pn.transform
+}, Ln = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
parse: parseFloat,
transform: (t) => `${t}${e}`
-}), Pn = /*@__PURE__*/ Nn("deg"), Fn = /*@__PURE__*/ Nn("%"), z = /*@__PURE__*/ Nn("px"), In = /*@__PURE__*/ Nn("vh"), Ln = /*@__PURE__*/ Nn("vw"), Rn = {
- ...Fn,
- parse: (e) => Fn.parse(e) / 100,
- transform: (e) => Fn.transform(e * 100)
-}, zn = {
- test: /*@__PURE__*/ En("hsl", "hue"),
- parse: /*@__PURE__*/ Dn("hue", "saturation", "lightness"),
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Fn.transform(Sn(t)) + ", " + Fn.transform(Sn(n)) + ", " + Sn(bn.transform(r)) + ")"
-}, Bn = {
- test: (e) => An.test(e) || Mn.test(e) || zn.test(e),
- parse: (e) => An.test(e) ? An.parse(e) : zn.test(e) ? zn.parse(e) : Mn.parse(e),
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? An.transform(e) : zn.transform(e),
+}), Rn = /*@__PURE__*/ Ln("deg"), zn = /*@__PURE__*/ Ln("%"), B = /*@__PURE__*/ Ln("px"), Bn = /*@__PURE__*/ Ln("vh"), Vn = /*@__PURE__*/ Ln("vw"), Hn = {
+ ...zn,
+ parse: (e) => zn.parse(e) / 100,
+ transform: (e) => zn.transform(e * 100)
+}, Un = {
+ test: /*@__PURE__*/ An("hsl", "hue"),
+ parse: /*@__PURE__*/ jn("hue", "saturation", "lightness"),
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + zn.transform(En(t)) + ", " + zn.transform(En(n)) + ", " + En(wn.transform(r)) + ")"
+}, Wn = {
+ test: (e) => Pn.test(e) || In.test(e) || Un.test(e),
+ parse: (e) => Pn.test(e) ? Pn.parse(e) : Un.test(e) ? Un.parse(e) : In.parse(e),
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Pn.transform(e) : Un.transform(e),
getAnimatableNone: (e) => {
- let t = Bn.parse(e);
- return t.alpha = 0, Bn.transform(t);
+ let t = Wn.parse(e);
+ return t.alpha = 0, Wn.transform(t);
}
-}, Vn = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
+}, Gn = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/index.mjs
-function Hn(e) {
- return isNaN(e) && typeof e == "string" && (e.match(Cn)?.length || 0) + (e.match(Vn)?.length || 0) > 0;
+function Kn(e) {
+ return isNaN(e) && typeof e == "string" && (e.match(Dn)?.length || 0) + (e.match(Gn)?.length || 0) > 0;
}
-var Un = "number", Wn = "color", Gn = "var", Kn = "var(", qn = "${}", Jn = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
-function Yn(e) {
+var qn = "number", Jn = "color", Yn = "var", Xn = "var(", Zn = "${}", Qn = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
+function $n(e) {
let t = e.toString(), n = [], r = {
color: [],
number: [],
@@ -2286,51 +2337,51 @@ function Yn(e) {
}, i = [], a = 0;
return {
values: n,
- split: t.replace(Jn, (e) => (Bn.test(e) ? (r.color.push(a), i.push(Wn), n.push(Bn.parse(e))) : e.startsWith(Kn) ? (r.var.push(a), i.push(Gn), n.push(e)) : (r.number.push(a), i.push(Un), n.push(parseFloat(e))), ++a, qn)).split(qn),
+ split: t.replace(Qn, (e) => (Wn.test(e) ? (r.color.push(a), i.push(Jn), n.push(Wn.parse(e))) : e.startsWith(Xn) ? (r.var.push(a), i.push(Yn), n.push(e)) : (r.number.push(a), i.push(qn), n.push(parseFloat(e))), ++a, Zn)).split(Zn),
indexes: r,
types: i
};
}
-function Xn(e) {
- return Yn(e).values;
+function er(e) {
+ return $n(e).values;
}
-function Zn({ split: e, types: t }) {
+function tr({ split: e, types: t }) {
let n = e.length;
return (r) => {
let i = "";
for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {
let e = t[a];
- i += e === Un ? Sn(r[a]) : e === Wn ? Bn.transform(r[a]) : r[a];
+ i += e === qn ? En(r[a]) : e === Jn ? Wn.transform(r[a]) : r[a];
}
return i;
};
}
-function Qn(e) {
- return Zn(Yn(e));
+function nr(e) {
+ return tr($n(e));
}
-var $n = (e) => typeof e == "number" ? 0 : Bn.test(e) ? Bn.getAnimatableNone(e) : e, er = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : $n(e);
-function tr(e) {
- let t = Yn(e);
- return Zn(t)(t.values.map((e, n) => er(e, t.split[n])));
+var rr = (e) => typeof e == "number" ? 0 : Wn.test(e) ? Wn.getAnimatableNone(e) : e, ir = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : rr(e);
+function ar(e) {
+ let t = $n(e);
+ return tr(t)(t.values.map((e, n) => ir(e, t.split[n])));
}
-var nr = {
- test: Hn,
- parse: Xn,
- createTransformer: Qn,
- getAnimatableNone: tr
+var or = {
+ test: Kn,
+ parse: er,
+ createTransformer: nr,
+ getAnimatableNone: ar
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function rr(e, t, n) {
+function sr(e, t, n) {
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
}
-function ir({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function cr({ hue: e, saturation: t, lightness: n, alpha: r }) {
e /= 360, t /= 100, n /= 100;
let i = 0, a = 0, o = 0;
if (!t) i = a = o = n;
else {
let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;
- i = rr(s, r, e + 1 / 3), a = rr(s, r, e), o = rr(s, r, e - 1 / 3);
+ i = sr(s, r, e + 1 / 3), a = sr(s, r, e), o = sr(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -2341,61 +2392,61 @@ function ir({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function ar(e, t) {
+function lr(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var or = (e, t, n) => e + (t - e) * n, sr = (e, t, n) => {
+var ur = (e, t, n) => e + (t - e) * n, dr = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, cr = [
- Mn,
- An,
- zn
-], lr = (e) => cr.find((t) => t.test(e));
-function ur(e) {
- let t = lr(e);
+}, fr = [
+ In,
+ Pn,
+ Un
+], pr = (e) => fr.find((t) => t.test(e));
+function mr(e) {
+ let t = pr(e);
if (`${e}`, !t) return !1;
let n = t.parse(e);
- return t === zn && (n = ir(n)), n;
+ return t === Un && (n = cr(n)), n;
}
-var dr = (e, t) => {
- let n = ur(e), r = ur(t);
- if (!n || !r) return ar(e, t);
+var hr = (e, t) => {
+ let n = mr(e), r = mr(t);
+ if (!n || !r) return lr(e, t);
let i = { ...n };
- return (e) => (i.red = sr(n.red, r.red, e), i.green = sr(n.green, r.green, e), i.blue = sr(n.blue, r.blue, e), i.alpha = or(n.alpha, r.alpha, e), An.transform(i));
-}, fr = /* @__PURE__ */ new Set(["none", "hidden"]);
-function pr(e, t) {
- return fr.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
+ return (e) => (i.red = dr(n.red, r.red, e), i.green = dr(n.green, r.green, e), i.blue = dr(n.blue, r.blue, e), i.alpha = ur(n.alpha, r.alpha, e), Pn.transform(i));
+}, gr = /* @__PURE__ */ new Set(["none", "hidden"]);
+function _r(e, t) {
+ return gr.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs
-function mr(e, t) {
- return (n) => or(e, t, n);
+function vr(e, t) {
+ return (n) => ur(e, t, n);
}
-function hr(e) {
- return typeof e == "number" ? mr : typeof e == "string" ? gn(e) ? ar : Bn.test(e) ? dr : yr : Array.isArray(e) ? gr : typeof e == "object" ? Bn.test(e) ? dr : _r : ar;
+function yr(e) {
+ return typeof e == "number" ? vr : typeof e == "string" ? bn(e) ? lr : Wn.test(e) ? hr : Cr : Array.isArray(e) ? br : typeof e == "object" ? Wn.test(e) ? hr : xr : lr;
}
-function gr(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => hr(e)(e, t[n]));
+function br(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => yr(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function _r(e, t) {
+function xr(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = hr(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = yr(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function vr(e, t) {
+function Sr(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -2407,50 +2458,50 @@ function vr(e, t) {
}
return n;
}
-var yr = (e, t) => {
- let n = nr.createTransformer(t), r = Yn(e), i = Yn(t);
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? fr.has(e) && !i.values.length || fr.has(t) && !r.values.length ? pr(e, t) : Dt(gr(vr(r, i), i.values), n) : (`${e}${t}`, ar(e, t));
+var Cr = (e, t) => {
+ let n = or.createTransformer(t), r = $n(e), i = $n(t);
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? gr.has(e) && !i.values.length || gr.has(t) && !r.values.length ? _r(e, t) : jt(br(Sr(r, i), i.values), n) : (`${e}${t}`, lr(e, t));
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs
-function br(e, t, n) {
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? or(e, t, n) : hr(e)(e, t);
+function wr(e, t, n) {
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? ur(e, t, n) : yr(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var xr = (e) => {
+var Tr = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
- start: (e = !0) => on.update(t, e),
- stop: () => sn(t),
- now: () => cn.isProcessing ? cn.timestamp : fn.now()
+ start: (e = !0) => un.update(t, e),
+ stop: () => dn(t),
+ now: () => fn.isProcessing ? fn.timestamp : gn.now()
};
-}, Sr = (e, t, n = 10) => {
+}, Er = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, Cr = 2e4;
-function wr(e) {
+}, Dr = 2e4;
+function Or(e) {
let t = 0, n = e.next(t);
for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
return t >= 2e4 ? Infinity : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function Tr(e, t = 100, n) {
+function kr(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(wr(r), Cr);
+ }), i = Math.min(Or(r), Dr);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
- duration: /* @__PURE__ */ jt(i)
+ duration: /* @__PURE__ */ Ft(i)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var Er = {
+var Ar = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -2471,31 +2522,31 @@ var Er = {
minDamping: .05,
maxDamping: 1
};
-function Dr(e, t) {
+function jr(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var Or = 12;
-function kr(e, t, n) {
+var Mr = 12;
+function Nr(e, t, n) {
let r = n;
- for (let n = 1; n < Or; n++) r -= e(r) / t(r);
+ for (let n = 1; n < Mr; n++) r -= e(r) / t(r);
return r;
}
-var Ar = .001;
-function jr({ duration: e = Er.duration, bounce: t = Er.bounce, velocity: n = Er.velocity, mass: r = Er.mass }) {
+var Pr = .001;
+function Fr({ duration: e = Ar.duration, bounce: t = Ar.bounce, velocity: n = Ar.velocity, mass: r = Ar.mass }) {
let i, a;
- Er.maxDuration;
+ Ar.maxDuration;
let o = 1 - t;
- o = bt(Er.minDamping, Er.maxDamping, o), e = bt(Er.minDuration, Er.maxDuration, /* @__PURE__ */ jt(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = Dr(t, o), c = Math.exp(-i);
- return Ar - a / s * c;
+ o = wt(Ar.minDamping, Ar.maxDamping, o), e = wt(Ar.minDuration, Ar.maxDuration, /* @__PURE__ */ Ft(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = jr(t, o), c = Math.exp(-i);
+ return Pr - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = Dr(t ** 2, o);
- return (-i(t) + Ar > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = jr(t ** 2, o);
+ return (-i(t) + Pr > 0 ? -1 : 1) * ((a - s) * c) / l;
}) : (i = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
- let s = 5 / e, c = kr(i, a, s);
- if (e = /* @__PURE__ */ At(e), isNaN(c)) return {
- stiffness: Er.stiffness,
- damping: Er.damping,
+ let s = 5 / e, c = Nr(i, a, s);
+ if (e = /* @__PURE__ */ Pt(e), isNaN(c)) return {
+ stiffness: Ar.stiffness,
+ damping: Ar.damping,
duration: e
};
{
@@ -2507,47 +2558,47 @@ function jr({ duration: e = Er.duration, bounce: t = Er.bounce, velocity: n = Er
};
}
}
-var Mr = ["duration", "bounce"], Nr = [
+var Ir = ["duration", "bounce"], Lr = [
"stiffness",
"damping",
"mass"
];
-function Pr(e, t) {
+function Rr(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function Fr(e) {
+function zr(e) {
let t = {
- velocity: Er.velocity,
- stiffness: Er.stiffness,
- damping: Er.damping,
- mass: Er.mass,
+ velocity: Ar.velocity,
+ stiffness: Ar.stiffness,
+ damping: Ar.damping,
+ mass: Ar.mass,
isResolvedFromDuration: !1,
...e
};
- if (!Pr(e, Nr) && Pr(e, Mr)) {
+ if (!Rr(e, Lr) && Rr(e, Ir)) {
if (t.velocity = 0, e.visualDuration) {
- let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * bt(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
+ let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * wt(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: Er.mass,
+ mass: Ar.mass,
stiffness: i,
damping: a
};
} else {
- let n = jr({
+ let n = Fr({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: Er.mass
+ mass: Ar.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function Ir(e = Er.visualDuration, t = Er.bounce) {
+function Br(e = Ar.visualDuration, t = Ar.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -2555,13 +2606,13 @@ function Ir(e = Er.visualDuration, t = Er.bounce) {
}, { restSpeed: r, restDelta: i } = n, a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = {
done: !1,
value: a
- }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = Fr({
+ }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = zr({
...n,
- velocity: -/* @__PURE__ */ jt(n.velocity || 0)
- }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ jt(Math.sqrt(c / u)), v = Math.abs(g) < 5;
- r ||= v ? Er.restSpeed.granular : Er.restSpeed.default, i ||= v ? Er.restDelta.granular : Er.restDelta.default;
+ velocity: -/* @__PURE__ */ Ft(n.velocity || 0)
+ }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ Ft(Math.sqrt(c / u)), v = Math.abs(g) < 5;
+ r ||= v ? Ar.restSpeed.granular : Ar.restSpeed.default, i ||= v ? Ar.restDelta.granular : Ar.restDelta.default;
let y, b, x, S, C, w;
- if (h < 1) x = Dr(_, h), S = (m + h * _ * g) / x, y = (e) => {
+ if (h < 1) x = jr(_, h), S = (m + h * _ * g) / x, y = (e) => {
let t = Math.exp(-h * _ * e);
return o - t * (S * Math.sin(x * e) + g * Math.cos(x * e));
}, C = h * _ * S + g * x, w = h * _ * g - S * x, b = (e) => Math.exp(-h * _ * e) * (C * Math.sin(x * e) + w * Math.cos(x * e));
@@ -2583,42 +2634,42 @@ function Ir(e = Er.visualDuration, t = Er.bounce) {
}
let T = {
calculatedDuration: p && d || null,
- velocity: (e) => /* @__PURE__ */ At(b(e)),
+ velocity: (e) => /* @__PURE__ */ Pt(b(e)),
next: (e) => {
if (!p && h < 1) {
- let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ At(t * (C * n + w * a));
+ let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ Pt(t * (C * n + w * a));
return s.done = Math.abs(l) <= r && Math.abs(o - c) <= i, s.value = s.done ? o : c, s;
}
let t = y(e);
if (p) s.done = e >= d;
else {
- let n = /* @__PURE__ */ At(b(e));
+ let n = /* @__PURE__ */ Pt(b(e));
s.done = Math.abs(n) <= r && Math.abs(o - t) <= i;
}
return s.value = s.done ? o : t, s;
},
toString: () => {
- let e = Math.min(wr(T), Cr), t = Sr((t) => T.next(e * t).value, e, 30);
+ let e = Math.min(Or(T), Dr), t = Er((t) => T.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return T;
}
-Ir.applyToOptions = (e) => {
- let t = Tr(e, 100, Ir);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ At(t.duration), e.type = "keyframes", e;
+Br.applyToOptions = (e) => {
+ let t = kr(e, 100, Br);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Pt(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var Lr = 5;
-function Rr(e, t, n) {
- let r = Math.max(t - Lr, 0);
- return /* @__PURE__ */ Mt(n - e(r), t - r);
+var Vr = 5;
+function Hr(e, t, n) {
+ let r = Math.max(t - Vr, 0);
+ return /* @__PURE__ */ It(n - e(r), t - r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function zr({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function Ur({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -2628,9 +2679,9 @@ function zr({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e), n = y(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : n;
}, x, S, C = (e) => {
- p(f.value) && (x = e, S = Ir({
+ p(f.value) && (x = e, S = Br({
keyframes: [f.value, m(f.value)],
- velocity: Rr(y, e, f.value),
+ velocity: Hr(y, e, f.value),
damping: i,
stiffness: a,
restDelta: l,
@@ -2647,59 +2698,59 @@ function zr({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function Br(e, t, n) {
- let r = [], i = n || xt.mix || br, a = e.length - 1;
+function Wr(e, t, n) {
+ let r = [], i = n || Tt.mix || wr, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
- t && (a = Dt(Array.isArray(t) ? t[n] || Et : t, a)), r.push(a);
+ t && (a = jt(Array.isArray(t) ? t[n] || At : t, a)), r.push(a);
}
return r;
}
-function Vr(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function Gr(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (t.length, a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = Br(t, r, i), c = s.length, l = (n) => {
+ let s = Wr(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
- let i = /* @__PURE__ */ Ot(e[r], e[r + 1], n);
+ let i = /* @__PURE__ */ Mt(e[r], e[r + 1], n);
return s[r](i);
};
- return n ? (t) => l(bt(e[0], e[a - 1], t)) : l;
+ return n ? (t) => l(wt(e[0], e[a - 1], t)) : l;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function Hr(e, t) {
+function Kr(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
- let i = /* @__PURE__ */ Ot(0, t, r);
- e.push(or(n, 1, i));
+ let i = /* @__PURE__ */ Mt(0, t, r);
+ e.push(ur(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function Ur(e) {
+function qr(e) {
let t = [0];
- return Hr(t, e.length - 1), t;
+ return Kr(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function Wr(e, t) {
+function Jr(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function Gr(e, t) {
- return e.map(() => t || Yt).splice(0, e.length - 1);
+function Yr(e, t) {
+ return e.map(() => t || $t).splice(0, e.length - 1);
}
-function Kr({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
- let i = /* @__PURE__ */ Xt(r) ? r.map(en) : en(r), a = {
+function Xr({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+ let i = /* @__PURE__ */ en(r) ? r.map(an) : an(r), a = {
done: !1,
value: t[0]
- }, o = Vr(Wr(n && n.length === t.length ? n : Ur(t), e), t, { ease: Array.isArray(i) ? i : Gr(t, i) });
+ }, o = Gr(Jr(n && n.length === t.length ? n : qr(t), e), t, { ease: Array.isArray(i) ? i : Yr(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -2707,26 +2758,26 @@ function Kr({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var qr = (e) => e !== null;
-function Jr(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(qr), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var Zr = (e) => e !== null;
+function Qr(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(Zr), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var Yr = {
- decay: zr,
- inertia: zr,
- tween: Kr,
- keyframes: Kr,
- spring: Ir
+var $r = {
+ decay: Ur,
+ inertia: Ur,
+ tween: Xr,
+ keyframes: Xr,
+ spring: Br
};
-function Xr(e) {
- typeof e.type == "string" && (e.type = Yr[e.type]);
+function ei(e) {
+ typeof e.type == "string" && (e.type = $r[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Zr = class {
+var ti = class {
constructor() {
this.updateFinished();
}
@@ -2744,21 +2795,21 @@ var Zr = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, Qr = (e) => e / 100, $r = class extends Zr {
+}, ni = (e) => e / 100, ri = class extends ti {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
value: void 0
}, this.stop = () => {
let { motionValue: e } = this.options;
- e && e.updatedAt !== fn.now() && this.tick(fn.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
+ e && e.updatedAt !== gn.now() && this.tick(gn.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
}, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
}
initAnimation() {
let { options: e } = this;
- Xr(e);
- let { type: t = Kr, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Kr;
- s !== Kr && typeof o[0] != "number" && (this.mixKeyframes = Dt(Qr, br(o[0], o[1])), o = [0, 100]);
+ ei(e);
+ let { type: t = Xr, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Xr;
+ s !== Xr && typeof o[0] != "number" && (this.mixKeyframes = jt(ni, wr(o[0], o[1])), o = [0, 100]);
let c = s({
...e,
keyframes: o
@@ -2767,7 +2818,7 @@ var Zr = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = wr(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = Or(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -2785,54 +2836,54 @@ var Zr = class {
let v = this.currentTime, y = n;
if (u) {
let e = Math.min(this.currentTime, r) / o, t = Math.floor(e), n = e % 1;
- !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = bt(0, 1, n) * o;
+ !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = wt(0, 1, n) * o;
}
let b;
_ ? (this.delayState.value = l[0], b = this.delayState) : b = y.next(v), i && !_ && (b.value = i(b.value));
let { done: x } = b;
!_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
- return S && p !== zr && (b.value = Jr(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== Ur && (b.value = Qr(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
}
then(e, t) {
return this.finished.then(e, t);
}
get duration() {
- return /* @__PURE__ */ jt(this.calculatedDuration);
+ return /* @__PURE__ */ Ft(this.calculatedDuration);
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ jt(e);
+ return this.duration + /* @__PURE__ */ Ft(e);
}
get time() {
- return /* @__PURE__ */ jt(this.currentTime);
+ return /* @__PURE__ */ Ft(this.currentTime);
}
set time(e) {
- e = /* @__PURE__ */ At(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
+ e = /* @__PURE__ */ Pt(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
let e = this.currentTime;
if (e <= 0) return this.options.velocity || 0;
if (this.generator.velocity) return this.generator.velocity(e);
let t = this.generator.next(e).value;
- return Rr((e) => this.generator.next(e).value, e, t);
+ return Hr((e) => this.generator.next(e).value, e, t);
}
get speed() {
return this.playbackSpeed;
}
set speed(e) {
let t = this.playbackSpeed !== e;
- t && this.driver && this.updateTime(fn.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ jt(this.currentTime));
+ t && this.driver && this.updateTime(gn.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ Ft(this.currentTime));
}
play() {
if (this.isStopped) return;
- let { driver: e = xr, startTime: t } = this.options;
+ let { driver: e = Tr, startTime: t } = this.options;
this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
let n = this.driver.now();
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
}
pause() {
- this.state = "paused", this.updateTime(fn.now()), this.holdTime = this.currentTime;
+ this.state = "paused", this.updateTime(gn.now()), this.holdTime = this.currentTime;
}
complete() {
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -2858,12 +2909,12 @@ var Zr = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function ei(e) {
+function ii(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var ti = (e) => e * 180 / Math.PI, ni = (e) => ii(ti(Math.atan2(e[1], e[0]))), ri = {
+var ai = (e) => e * 180 / Math.PI, oi = (e) => ci(ai(Math.atan2(e[1], e[0]))), si = {
x: 4,
y: 5,
translateX: 4,
@@ -2871,54 +2922,54 @@ var ti = (e) => e * 180 / Math.PI, ni = (e) => ii(ti(Math.atan2(e[1], e[0]))), r
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: ni,
- rotateZ: ni,
- skewX: (e) => ti(Math.atan(e[1])),
- skewY: (e) => ti(Math.atan(e[2])),
+ rotate: oi,
+ rotateZ: oi,
+ skewX: (e) => ai(Math.atan(e[1])),
+ skewY: (e) => ai(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, ii = (e) => (e %= 360, e < 0 && (e += 360), e), ai = ni, oi = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), si = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), ci = {
+}, ci = (e) => (e %= 360, e < 0 && (e += 360), e), li = oi, ui = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), di = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), fi = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: oi,
- scaleY: si,
- scale: (e) => (oi(e) + si(e)) / 2,
- rotateX: (e) => ii(ti(Math.atan2(e[6], e[5]))),
- rotateY: (e) => ii(ti(Math.atan2(-e[2], e[0]))),
- rotateZ: ai,
- rotate: ai,
- skewX: (e) => ti(Math.atan(e[4])),
- skewY: (e) => ti(Math.atan(e[1])),
+ scaleX: ui,
+ scaleY: di,
+ scale: (e) => (ui(e) + di(e)) / 2,
+ rotateX: (e) => ci(ai(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => ci(ai(Math.atan2(-e[2], e[0]))),
+ rotateZ: li,
+ rotate: li,
+ skewX: (e) => ai(Math.atan(e[4])),
+ skewY: (e) => ai(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function li(e) {
+function pi(e) {
return +!!e.includes("scale");
}
-function ui(e, t) {
- if (!e || e === "none") return li(t);
+function mi(e, t) {
+ if (!e || e === "none") return pi(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = ci, i = n;
+ if (n) r = fi, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = ri, i = t;
+ r = si, i = t;
}
- if (!i) return li(t);
- let a = r[t], o = i[1].split(",").map(fi);
+ if (!i) return pi(t);
+ let a = r[t], o = i[1].split(",").map(gi);
return typeof a == "function" ? a(o) : o[a];
}
-var di = (e, t) => {
+var hi = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return ui(n, t);
+ return mi(n, t);
};
-function fi(e) {
+function gi(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var pi = [
+var _i = [
"transformPerspective",
"x",
"y",
@@ -2936,19 +2987,19 @@ var pi = [
"skew",
"skewX",
"skewY"
-], mi = /* @__PURE__ */ new Set([...pi, "pathRotation"]), hi = (e) => e === yn || e === z, gi = /* @__PURE__ */ new Set([
+], vi = /* @__PURE__ */ new Set([..._i, "pathRotation"]), yi = (e) => e === Cn || e === B, bi = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), _i = pi.filter((e) => !gi.has(e));
-function vi(e) {
+]), xi = _i.filter((e) => !bi.has(e));
+function Si(e) {
let t = [];
- return _i.forEach((n) => {
+ return xi.forEach((n) => {
let r = e.getValue(n);
r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
}), t;
}
-var yi = {
+var Ci = {
width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
let i = e.max - e.min;
return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -2961,18 +3012,18 @@ var yi = {
left: (e, { left: t }) => parseFloat(t),
bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
- x: (e, { transform: t }) => ui(t, "x"),
- y: (e, { transform: t }) => ui(t, "y")
+ x: (e, { transform: t }) => mi(t, "x"),
+ y: (e, { transform: t }) => mi(t, "y")
};
-yi.translateX = yi.x, yi.translateY = yi.y;
+Ci.translateX = Ci.x, Ci.translateY = Ci.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var bi = /* @__PURE__ */ new Set(), xi = !1, Si = !1, Ci = !1;
-function wi() {
- if (Si) {
- let e = Array.from(bi).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
+var wi = /* @__PURE__ */ new Set(), Ti = !1, Ei = !1, Di = !1;
+function Oi() {
+ if (Ei) {
+ let e = Array.from(wi).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
t.forEach((e) => {
- let t = vi(e);
+ let t = Si(e);
t.length && (n.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -2984,22 +3035,22 @@ function wi() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- Si = !1, xi = !1, bi.forEach((e) => e.complete(Ci)), bi.clear();
+ Ei = !1, Ti = !1, wi.forEach((e) => e.complete(Di)), wi.clear();
}
-function Ti() {
- bi.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (Si = !0);
+function ki() {
+ wi.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (Ei = !0);
});
}
-function Ei() {
- Ci = !0, Ti(), wi(), Ci = !1;
+function Ai() {
+ Di = !0, ki(), Oi(), Di = !1;
}
-var Di = class {
+var ji = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (bi.add(this), xi || (xi = !0, on.read(Ti), on.resolveKeyframes(wi))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (wi.add(this), Ti || (Ti = !0, un.read(ki), un.resolveKeyframes(Oi))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -3012,70 +3063,70 @@ var Di = class {
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- ei(e);
+ ii(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), bi.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), wi.delete(this);
}
cancel() {
- this.state === "scheduled" && (bi.delete(this), this.state = "pending");
+ this.state === "scheduled" && (wi.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, Oi = (e) => e.startsWith("--");
+}, Mi = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function ki(e, t, n) {
- Oi(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function Ni(e, t, n) {
+ Mi(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Ai = {};
+var Pi = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function ji(e, t) {
- let n = /* @__PURE__ */ Tt(e);
- return () => Ai[t] ?? n();
+function Fi(e, t) {
+ let n = /* @__PURE__ */ kt(e);
+ return () => Pi[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Mi = /* @__PURE__ */ ji(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Ni = /*@__PURE__*/ ji(() => {
+var Ii = /* @__PURE__ */ Fi(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Li = /*@__PURE__*/ Fi(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), Pi = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Fi = {
+}, "linearEasing"), Ri = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, zi = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ Pi([
+ circIn: /*@__PURE__*/ Ri([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ Pi([
+ circOut: /*@__PURE__*/ Ri([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ Pi([
+ backIn: /*@__PURE__*/ Ri([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ Pi([
+ backOut: /*@__PURE__*/ Ri([
.33,
1.53,
.69,
@@ -3084,15 +3135,15 @@ var Mi = /* @__PURE__ */ ji(() => window.ScrollTimeline !== void 0, "scrollTimel
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function Ii(e, t) {
- if (e) return typeof e == "function" ? Ni() ? Sr(e, t) : "ease-out" : /* @__PURE__ */ Zt(e) ? Pi(e) : Array.isArray(e) ? e.map((e) => Ii(e, t) || Fi.easeOut) : Fi[e];
+function Bi(e, t) {
+ if (e) return typeof e == "function" ? Li() ? Er(e, t) : "ease-out" : /* @__PURE__ */ tn(e) ? Ri(e) : Array.isArray(e) ? e.map((e) => Bi(e, t) || zi.easeOut) : zi[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function Li(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function Vi(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = Ii(s, i);
+ let d = Bi(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -3106,26 +3157,26 @@ function Li(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function Ri(e) {
+function Hi(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function zi({ type: e, ...t }) {
- return Ri(e) && Ni() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Ui({ type: e, ...t }) {
+ return Hi(e) && Li() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var Bi = class extends Zr {
+var Wi = class extends ti {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = zi(e);
- this.animation = Li(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Ui(e);
+ this.animation = Vi(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = Jr(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), ki(t, n, e), this.animation.cancel();
+ let e = Qr(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), Ni(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
};
@@ -3156,18 +3207,18 @@ var Bi = class extends Zr {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ jt(Number(e));
+ return /* @__PURE__ */ Ft(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ jt(e);
+ return this.duration + /* @__PURE__ */ Ft(e);
}
get time() {
- return /* @__PURE__ */ jt(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ Ft(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ At(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Pt(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -3185,24 +3236,24 @@ var Bi = class extends Zr {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Mi() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), Et) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Ii() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), At) : r(this);
}
-}, Vi = {
- anticipate: Ut,
- backInOut: Ht,
- circInOut: Kt
+}, Gi = {
+ anticipate: qt,
+ backInOut: Kt,
+ circInOut: Xt
};
-function Hi(e) {
- return e in Vi;
+function Ki(e) {
+ return e in Gi;
}
-function Ui(e) {
- typeof e.ease == "string" && Hi(e.ease) && (e.ease = Vi[e.ease]);
+function qi(e) {
+ typeof e.ease == "string" && Ki(e.ease) && (e.ease = Gi[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var Wi = 10, Gi = class extends Bi {
+var Ji = 10, Yi = class extends Wi {
constructor(e) {
- Ui(e), Xr(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ qi(e), ei(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
updateMotionValue(e) {
let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;
@@ -3211,48 +3262,48 @@ var Wi = 10, Gi = class extends Bi {
t.set(e);
return;
}
- let o = new $r({
+ let o = new ri({
...a,
autoplay: !1
- }), s = Math.max(Wi, fn.now() - this.startTime), c = bt(0, Wi, s - Wi), l = o.sample(s).value, { name: u } = this.options;
- i && u && ki(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(Ji, gn.now() - this.startTime), c = wt(0, Ji, s - Ji), l = o.sample(s).value, { name: u } = this.options;
+ i && u && Ni(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, Ki = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (nr.test(e) || e === "0") && !e.startsWith("url("));
+}, Xi = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (or.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function qi(e) {
+function Zi(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function Ji(e, t, n, r) {
+function Qi(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = Ki(i, t), s = Ki(a, t);
- return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : qi(e) || (n === "spring" || Ri(n)) && r;
+ let a = e[e.length - 1], o = Xi(i, t), s = Xi(a, t);
+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : Zi(e) || (n === "spring" || Hi(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function Yi(e) {
+function $i(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var Xi = /* @__PURE__ */ new Set([
+var ea = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), Zi = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function Qi(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Zi.test(e[t])) return !0;
+]), ta = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function na(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && ta.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var $i = /* @__PURE__ */ new Set([
+var ra = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -3263,20 +3314,20 @@ var $i = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), ea = /*@__PURE__*/ Tt(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function ta(e) {
+]), ia = /*@__PURE__*/ kt(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function aa(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e, c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return ea() && n && (Xi.has(n) || $i.has(n) && Qi(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return ia() && n && (ea.has(n) || ra.has(n) && na(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var na = 40, ra = class extends Zr {
+var oa = 40, sa = class extends ti {
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
- }, this.createdAt = fn.now();
+ }, this.createdAt = gn.now();
let d = {
autoplay: e,
delay: t,
@@ -3288,33 +3339,33 @@ var na = 40, ra = class extends Zr {
motionValue: c,
element: l,
...u
- }, f = l?.KeyframeResolver || Di;
+ }, f = l?.KeyframeResolver || ji;
this.keyframeResolver = new f(o, (e, t, n) => this.onKeyframesResolved(e, t, d, !n), s, c, l), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
- this.resolvedAt = fn.now();
+ this.resolvedAt = gn.now();
let u = !0;
- Ji(e, i, a, o) || (u = !1, (xt.instantAnimations || !s) && l?.(Jr(e, n, t)), e[0] = e[e.length - 1], Yi(n), n.repeat = 0);
+ Qi(e, i, a, o) || (u = !1, (Tt.instantAnimations || !s) && l?.(Qr(e, n, t)), e[0] = e[e.length - 1], $i(n), n.repeat = 0);
let d = {
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > na ? this.resolvedAt : this.createdAt : void 0,
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > oa ? this.resolvedAt : this.createdAt : void 0,
finalKeyframe: t,
...n,
keyframes: e
- }, f = u && !c && ta(d), p = d.motionValue?.owner?.current, m;
+ }, f = u && !c && aa(d), p = d.motionValue?.owner?.current, m;
if (f) try {
- m = new Gi({
+ m = new Yi({
...d,
element: p
});
} catch {
- m = new $r(d);
+ m = new ri(d);
}
- else m = new $r(d);
+ else m = new ri(d);
m.finished.then(() => {
this.notifyFinished();
- }).catch(Et), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
+ }).catch(At), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
return this._animation ? this.animation.finished : this._finished;
@@ -3323,7 +3374,7 @@ var na = 40, ra = class extends Zr {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Ei()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), Ai()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -3367,21 +3418,21 @@ var na = 40, ra = class extends Zr {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function ia(e, t, n, r = 0, i = 1) {
+function ca(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var aa = 30, oa = (e) => !isNaN(parseFloat(e)), sa = { current: void 0 }, ca = class {
+var la = 30, ua = (e) => !isNaN(parseFloat(e)), da = { current: void 0 }, fa = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
- let t = fn.now();
+ let t = gn.now();
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = fn.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = oa(this.current));
+ this.current = e, this.updatedAt = gn.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = ua(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -3390,10 +3441,10 @@ var aa = 30, oa = (e) => !isNaN(parseFloat(e)), sa = { current: void 0 }, ca = c
return this.on("change", e);
}
on(e, t) {
- this.events[e] || (this.events[e] = new kt());
+ this.events[e] || (this.events[e] = new Nt());
let n = this.events[e].add(t);
return e === "change" ? () => {
- n(), on.read(() => {
+ n(), un.read(() => {
this.events.change.getSize() || this.stop();
});
} : n;
@@ -3423,16 +3474,16 @@ var aa = 30, oa = (e) => !isNaN(parseFloat(e)), sa = { current: void 0 }, ca = c
this.dependents && this.dependents.delete(e);
}
get() {
- return sa.current && sa.current.push(this), this.current;
+ return da.current && da.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
- let e = fn.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > aa) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, aa);
- return /* @__PURE__ */ Mt(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
+ let e = gn.now();
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > la) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, la);
+ return /* @__PURE__ */ It(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
return this.stop(), new Promise((t) => {
@@ -3454,12 +3505,12 @@ var aa = 30, oa = (e) => !isNaN(parseFloat(e)), sa = { current: void 0 }, ca = c
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function la(e, t) {
- return new ca(e, t);
+function pa(e, t) {
+ return new fa(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function ua(e, t) {
+function ma(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -3471,26 +3522,26 @@ function ua(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function da(e, t) {
+function ha(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : ua(n, e);
+ return n === e ? n : ma(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var fa = {
+var ga = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, pa = (e) => ({
+}, _a = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), ma = {
+}), va = {
type: "keyframes",
duration: .8
-}, ha = {
+}, ya = {
type: "keyframes",
ease: [
.25,
@@ -3499,7 +3550,7 @@ var fa = {
1
],
duration: .3
-}, ga = (e, { keyframes: t }) => t.length > 2 ? ma : mi.has(e) ? e.startsWith("scale") ? pa(t[1]) : fa : ha, _a = /* @__PURE__ */ new Set([
+}, ba = (e, { keyframes: t }) => t.length > 2 ? va : vi.has(e) ? e.startsWith("scale") ? _a(t[1]) : ga : ya, xa = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -3511,15 +3562,15 @@ var fa = {
"from",
"elapsed"
]);
-function va(e) {
- for (let t in e) if (!_a.has(t)) return !0;
+function Sa(e) {
+ for (let t in e) if (!xa.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var ya = (e, t, n, r = {}, i, a) => (o) => {
- let s = da(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
- l -= /* @__PURE__ */ At(c);
+var Ca = (e, t, n, r = {}, i, a) => (o) => {
+ let s = ha(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+ l -= /* @__PURE__ */ Pt(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
ease: "easeOut",
@@ -3536,160 +3587,160 @@ var ya = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- va(s) || Object.assign(u, ga(e, u)), u.duration &&= /* @__PURE__ */ At(u.duration), u.repeatDelay &&= /* @__PURE__ */ At(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ Sa(s) || Object.assign(u, ba(e, u)), u.duration &&= /* @__PURE__ */ Pt(u.duration), u.repeatDelay &&= /* @__PURE__ */ Pt(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Yi(u), u.delay === 0 && (d = !0)), (xt.instantAnimations || xt.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, Yi(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = Jr(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && ($i(u), u.delay === 0 && (d = !0)), (Tt.instantAnimations || Tt.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, $i(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = Qr(u.keyframes, s);
if (e !== void 0) {
- on.update(() => {
+ un.update(() => {
u.onUpdate(e), u.onComplete();
});
return;
}
}
- return s.isSync ? new $r(u) : new ra(u);
-}, ba = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function xa(e) {
- let t = ba.exec(e);
+ return s.isSync ? new ri(u) : new sa(u);
+}, wa = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function Ta(e) {
+ let t = wa.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function Sa(e, t, n = 1) {
+function Ea(e, t, n = 1) {
`${e}`;
- let [r, i] = xa(e);
+ let [r, i] = Ta(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
- return St(e) ? parseFloat(e) : e;
+ return Et(e) ? parseFloat(e) : e;
}
- return gn(i) ? Sa(i, t, n + 1) : i;
+ return bn(i) ? Ea(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function Ca(e) {
+function Da(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function wa(e, t, n, r) {
+function Oa(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = Ca(r);
+ let [i, a] = Da(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
- let [i, a] = Ca(r);
+ let [i, a] = Da(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function Ta(e, t, n) {
+function ka(e, t, n) {
let r = e.getProps();
- return wa(r, t, n === void 0 ? r.custom : n, e);
+ return Oa(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var Ea = /* @__PURE__ */ new Set([
+var Aa = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...pi
-]), Da = (e) => Array.isArray(e);
+ ..._i
+]), ja = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function Oa(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, la(n));
+function Ma(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, pa(n));
}
-function ka(e) {
- return Da(e) ? e[e.length - 1] || 0 : e;
+function Na(e) {
+ return ja(e) ? e[e.length - 1] || 0 : e;
}
-function Aa(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = Ta(e, t) || {};
+function Pa(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = ka(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) Oa(e, t, ka(i[t]));
+ for (let t in i) Ma(e, t, Na(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var ja = (e) => !!(e && e.getVelocity);
+var Fa = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function Ma(e) {
- return !!(ja(e) && e.add);
+function Ia(e) {
+ return !!(Fa(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function Na(e, t) {
+function La(e, t) {
let n = e.getValue("willChange");
- if (Ma(n)) return n.add(t);
- if (!n && xt.WillChange) {
- let n = new xt.WillChange("auto");
+ if (Ia(n)) return n.add(t);
+ if (!n && Tt.WillChange) {
+ let n = new Tt.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function Pa(e) {
+function Ra(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var Fa = "data-" + Pa("framerAppearId");
+var za = "data-" + Ra("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function Ia(e) {
- return e.props[Fa];
+function Ba(e) {
+ return e.props[za];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function La({ protectedKeys: e, needsAnimating: t }, n) {
+function Va({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function Ra(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function Ha(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? ua(a, c) : c;
+ a = a ? ma(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
p && p.animateVisualElement(e, s, a, n, d);
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && La(f, t)) continue;
+ if (i === void 0 || f && Va(f, t)) continue;
let o = {
delay: n,
- ...da(a || {}, t)
+ ...ha(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
- on.update(() => r.set(i));
+ un.update(() => r.set(i));
continue;
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = Ia(e);
+ let n = Ba(e);
if (n) {
- let e = window.MotionHandoffAnimation(n, t, on);
+ let e = window.MotionHandoffAnimation(n, t, un);
e !== null && (o.startTime = e, p = !0);
}
}
- Na(e, t);
+ La(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(ya(t, r, i, m && Ea.has(t) ? { type: !1 } : o, e, p));
+ r.start(Ca(t, r, i, m && Aa.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
- let t = () => on.update(() => {
- o && Aa(e, o);
+ let t = () => un.update(() => {
+ o && Pa(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -3697,12 +3748,12 @@ function Ra(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function za(e, t, n = {}) {
- let r = Ta(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function Ua(e, t, n = {}) {
+ let r = ka(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
n.transitionOverride && (i = n.transitionOverride);
- let a = r ? () => Promise.all(Ra(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(Ha(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return Ba(e, t, r, a, o, s, n);
+ return Wa(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -3710,26 +3761,26 @@ function za(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function Ba(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function Wa(e, t, n = 0, r = 0, i = 0, a = 1, o) {
let s = [];
- for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(za(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(Ua(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + ia(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + ca(e.variantChildren, c, r, i, a)
}).then(() => c.notify("AnimationComplete", t)));
return Promise.all(s);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function Va(e, t, n = {}) {
+function Ga(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => za(e, t, n));
+ let i = t.map((t) => Ua(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = za(e, t, n);
+ } else if (typeof t == "string") r = Ua(e, t, n);
else {
- let i = typeof t == "function" ? Ta(e, t, n.custom) : t;
- r = Promise.all(Ra(e, i, n));
+ let i = typeof t == "function" ? ka(e, t, n.custom) : t;
+ r = Promise.all(Ha(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -3737,176 +3788,176 @@ function Va(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var Ha = {
+var Ka = {
test: (e) => e === "auto",
parse: (e) => e
-}, Ua = (e) => (t) => t.test(e), Wa = [
- yn,
- z,
- Fn,
- Pn,
- Ln,
- In,
- Ha
-], Ga = (e) => Wa.find(Ua(e));
+}, qa = (e) => (t) => t.test(e), Ja = [
+ Cn,
+ B,
+ zn,
+ Rn,
+ Vn,
+ Bn,
+ Ka
+], Ya = (e) => Ja.find(qa(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function Ka(e) {
- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || wt(e);
+function Xa(e) {
+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || Ot(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var qa = /* @__PURE__ */ new Set([
+var Za = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function Ja(e) {
+function Qa(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
- let [r] = n.match(Cn) || [];
+ let [r] = n.match(Dn) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!qa.has(t);
+ let i = n.replace(r, ""), a = +!!Za.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var Ya = /\b([a-z-]*)\(.*?\)/gu, Xa = {
- ...nr,
+var $a = /\b([a-z-]*)\(.*?\)/gu, eo = {
+ ...or,
getAnimatableNone: (e) => {
- let t = e.match(Ya);
- return t ? t.map(Ja).join(" ") : e;
+ let t = e.match($a);
+ return t ? t.map(Qa).join(" ") : e;
}
-}, Za = {
- ...nr,
+}, to = {
+ ...or,
getAnimatableNone: (e) => {
- let t = nr.parse(e);
- return nr.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = or.parse(e);
+ return or.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, Qa = {
- ...yn,
+}, no = {
+ ...Cn,
transform: Math.round
-}, $a = {
- borderWidth: z,
- borderTopWidth: z,
- borderRightWidth: z,
- borderBottomWidth: z,
- borderLeftWidth: z,
- borderRadius: z,
- borderTopLeftRadius: z,
- borderTopRightRadius: z,
- borderBottomRightRadius: z,
- borderBottomLeftRadius: z,
- width: z,
- maxWidth: z,
- height: z,
- maxHeight: z,
- top: z,
- right: z,
- bottom: z,
- left: z,
- inset: z,
- insetBlock: z,
- insetBlockStart: z,
- insetBlockEnd: z,
- insetInline: z,
- insetInlineStart: z,
- insetInlineEnd: z,
- padding: z,
- paddingTop: z,
- paddingRight: z,
- paddingBottom: z,
- paddingLeft: z,
- paddingBlock: z,
- paddingBlockStart: z,
- paddingBlockEnd: z,
- paddingInline: z,
- paddingInlineStart: z,
- paddingInlineEnd: z,
- margin: z,
- marginTop: z,
- marginRight: z,
- marginBottom: z,
- marginLeft: z,
- marginBlock: z,
- marginBlockStart: z,
- marginBlockEnd: z,
- marginInline: z,
- marginInlineStart: z,
- marginInlineEnd: z,
- fontSize: z,
- backgroundPositionX: z,
- backgroundPositionY: z,
- rotate: Pn,
- pathRotation: Pn,
- rotateX: Pn,
- rotateY: Pn,
- rotateZ: Pn,
- scale: xn,
- scaleX: xn,
- scaleY: xn,
- scaleZ: xn,
- skew: Pn,
- skewX: Pn,
- skewY: Pn,
- distance: z,
- translateX: z,
- translateY: z,
- translateZ: z,
- x: z,
- y: z,
- z,
- perspective: z,
- transformPerspective: z,
- opacity: bn,
- originX: Rn,
- originY: Rn,
- originZ: z,
- zIndex: Qa,
- fillOpacity: bn,
- strokeOpacity: bn,
- numOctaves: Qa
-}, eo = {
- ...$a,
- color: Bn,
- backgroundColor: Bn,
- outlineColor: Bn,
- fill: Bn,
- stroke: Bn,
- borderColor: Bn,
- borderTopColor: Bn,
- borderRightColor: Bn,
- borderBottomColor: Bn,
- borderLeftColor: Bn,
- filter: Xa,
- WebkitFilter: Xa,
- mask: Za,
- WebkitMask: Za
-}, to = (e) => eo[e], no = /*@__PURE__*/ new Set([Xa, Za]);
-function ro(e, t) {
- let n = to(e);
- return no.has(n) || (n = nr), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+}, ro = {
+ borderWidth: B,
+ borderTopWidth: B,
+ borderRightWidth: B,
+ borderBottomWidth: B,
+ borderLeftWidth: B,
+ borderRadius: B,
+ borderTopLeftRadius: B,
+ borderTopRightRadius: B,
+ borderBottomRightRadius: B,
+ borderBottomLeftRadius: B,
+ width: B,
+ maxWidth: B,
+ height: B,
+ maxHeight: B,
+ top: B,
+ right: B,
+ bottom: B,
+ left: B,
+ inset: B,
+ insetBlock: B,
+ insetBlockStart: B,
+ insetBlockEnd: B,
+ insetInline: B,
+ insetInlineStart: B,
+ insetInlineEnd: B,
+ padding: B,
+ paddingTop: B,
+ paddingRight: B,
+ paddingBottom: B,
+ paddingLeft: B,
+ paddingBlock: B,
+ paddingBlockStart: B,
+ paddingBlockEnd: B,
+ paddingInline: B,
+ paddingInlineStart: B,
+ paddingInlineEnd: B,
+ margin: B,
+ marginTop: B,
+ marginRight: B,
+ marginBottom: B,
+ marginLeft: B,
+ marginBlock: B,
+ marginBlockStart: B,
+ marginBlockEnd: B,
+ marginInline: B,
+ marginInlineStart: B,
+ marginInlineEnd: B,
+ fontSize: B,
+ backgroundPositionX: B,
+ backgroundPositionY: B,
+ rotate: Rn,
+ pathRotation: Rn,
+ rotateX: Rn,
+ rotateY: Rn,
+ rotateZ: Rn,
+ scale: Tn,
+ scaleX: Tn,
+ scaleY: Tn,
+ scaleZ: Tn,
+ skew: Rn,
+ skewX: Rn,
+ skewY: Rn,
+ distance: B,
+ translateX: B,
+ translateY: B,
+ translateZ: B,
+ x: B,
+ y: B,
+ z: B,
+ perspective: B,
+ transformPerspective: B,
+ opacity: wn,
+ originX: Hn,
+ originY: Hn,
+ originZ: B,
+ zIndex: no,
+ fillOpacity: wn,
+ strokeOpacity: wn,
+ numOctaves: no
+}, io = {
+ ...ro,
+ color: Wn,
+ backgroundColor: Wn,
+ outlineColor: Wn,
+ fill: Wn,
+ stroke: Wn,
+ borderColor: Wn,
+ borderTopColor: Wn,
+ borderRightColor: Wn,
+ borderBottomColor: Wn,
+ borderLeftColor: Wn,
+ filter: eo,
+ WebkitFilter: eo,
+ mask: to,
+ WebkitMask: to
+}, ao = (e) => io[e], oo = /*@__PURE__*/ new Set([eo, to]);
+function so(e, t) {
+ let n = ao(e);
+ return oo.has(n) || (n = or), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var io = /* @__PURE__ */ new Set([
+var co = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function ao(e, t, n) {
+function lo(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !io.has(t) && Yn(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !co.has(t) && $n(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = ro(n, i);
+ if (i && n) for (let r of t) e[r] = so(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var oo = class extends Di {
+var uo = class extends ji {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -3916,34 +3967,34 @@ var oo = class extends Di {
super.readKeyframes();
for (let n = 0; n < e.length; n++) {
let r = e[n];
- if (typeof r == "string" && (r = r.trim(), gn(r))) {
- let i = Sa(r, t.current);
+ if (typeof r == "string" && (r = r.trim(), bn(r))) {
+ let i = Ea(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !Ea.has(n) || e.length !== 2) return;
- let [r, i] = e, a = Ga(r), o = Ga(i);
- if (vn(r) !== vn(i) && yi[n]) {
+ if (this.resolveNoneKeyframes(), !Aa.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = Ya(r), o = Ya(i);
+ if (Sn(r) !== Sn(i) && Ci[n]) {
this.needsMeasurement = !0;
return;
}
if (a !== o) {
- if (hi(a) && hi(o)) for (let t = 0; t < e.length; t++) {
+ if (yi(a) && yi(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else yi[n] && (this.needsMeasurement = !0);
+ else Ci[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || Ka(e[t])) && n.push(t);
- n.length && ao(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || Xa(e[t])) && n.push(t);
+ n.length && lo(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
if (!e || !e.current) return;
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = yi[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Ci[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
let r = t[t.length - 1];
r !== void 0 && e.getValue(n, r).jump(r, !1);
}
@@ -3953,11 +4004,11 @@ var oo = class extends Di {
let r = e.getValue(t);
r && r.jump(this.measuredOrigin, !1);
let i = n.length - 1, a = n[i];
- n[i] = yi[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
+ n[i] = Ci[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, so = [
+}, fo = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
@@ -3965,7 +4016,7 @@ var oo = class extends Di {
];
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function co(e, t, n) {
+function po(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -3978,34 +4029,34 @@ function co(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var lo = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var mo = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function uo(e) {
- return Ct(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
+function ho(e) {
+ return Dt(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: fo, cancel: po } = /* @__PURE__ */ an(queueMicrotask, !1), mo = {
+var { schedule: go, cancel: _o } = /* @__PURE__ */ ln(queueMicrotask, !1), vo = {
x: !1,
y: !1
};
-function ho() {
- return mo.x || mo.y;
+function yo() {
+ return vo.x || vo.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function go(e) {
- return e === "x" || e === "y" ? mo[e] ? null : (mo[e] = !0, () => {
- mo[e] = !1;
- }) : mo.x || mo.y ? null : (mo.x = mo.y = !0, () => {
- mo.x = mo.y = !1;
+function bo(e) {
+ return e === "x" || e === "y" ? vo[e] ? null : (vo[e] = !0, () => {
+ vo[e] = !1;
+ }) : vo.x || vo.y ? null : (vo.x = vo.y = !0, () => {
+ vo.x = vo.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function _o(e, t) {
- let n = co(e), r = new AbortController();
+function xo(e, t) {
+ let n = po(e), r = new AbortController();
return [
n,
{
@@ -4018,11 +4069,11 @@ function _o(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function vo(e) {
- return !(e.pointerType === "touch" || ho());
+function So(e) {
+ return !(e.pointerType === "touch" || yo());
}
-function yo(e, t, n = {}) {
- let [r, i, a] = _o(e, n);
+function Co(e, t, n = {}) {
+ let [r, i, a] = xo(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -4042,7 +4093,7 @@ function yo(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!vo(n)) return;
+ if (!So(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -4051,124 +4102,124 @@ function yo(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var bo = (e, t) => t ? e === t || bo(e, t.parentElement) : !1, xo = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, So = /* @__PURE__ */ new Set([
+var wo = (e, t) => t ? e === t || wo(e, t.parentElement) : !1, To = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Eo = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Co(e) {
- return So.has(e.tagName) || e.isContentEditable === !0;
+function Do(e) {
+ return Eo.has(e.tagName) || e.isContentEditable === !0;
}
-var wo = /* @__PURE__ */ new Set([
+var Oo = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function To(e) {
- return wo.has(e.tagName) || e.isContentEditable === !0;
+function ko(e) {
+ return Oo.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var Eo = /* @__PURE__ */ new WeakSet();
+var Ao = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function Do(e) {
+function jo(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function Oo(e, t) {
+function Mo(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var ko = (e, t) => {
+var No = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = Do(() => {
- if (Eo.has(n)) return;
- Oo(n, "down");
- let e = Do(() => {
- Oo(n, "up");
+ let r = jo(() => {
+ if (Ao.has(n)) return;
+ Mo(n, "down");
+ let e = jo(() => {
+ Mo(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Oo(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => Mo(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function Ao(e) {
- return xo(e) && !ho();
+function Po(e) {
+ return To(e) && !yo();
}
-var jo = /* @__PURE__ */ new WeakSet();
-function Mo(e, t, n = {}) {
- let [r, i, a] = _o(e, n), o = (e) => {
+var Fo = /* @__PURE__ */ new WeakSet();
+function Io(e, t, n = {}) {
+ let [r, i, a] = xo(e, n), o = (e) => {
let r = e.currentTarget;
- if (!Ao(e) || jo.has(e)) return;
- Eo.add(r), n.stopPropagation && jo.add(e);
+ if (!Po(e) || Fo.has(e)) return;
+ Ao.add(r), n.stopPropagation && Fo.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Eo.has(r) && Eo.delete(r), Ao(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Ao.has(r) && Ao.delete(r), Po(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || bo(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || wo(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), uo(e) && (e.addEventListener("focus", (e) => ko(e, i)), !Co(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), ho(e) && (e.addEventListener("focus", (e) => No(e, i)), !Do(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function No(e) {
- return Ct(e) && "ownerSVGElement" in e;
+function Lo(e) {
+ return Dt(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Po = /* @__PURE__ */ new WeakMap(), Fo, Io = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : No(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Lo = /*@__PURE__*/ Io("inline", "width", "offsetWidth"), Ro = /*@__PURE__*/ Io("block", "height", "offsetHeight");
-function zo({ target: e, borderBoxSize: t }) {
- Po.get(e)?.forEach((n) => {
+var Ro = /* @__PURE__ */ new WeakMap(), zo, Bo = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Lo(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Vo = /*@__PURE__*/ Bo("inline", "width", "offsetWidth"), Ho = /*@__PURE__*/ Bo("block", "height", "offsetHeight");
+function Uo({ target: e, borderBoxSize: t }) {
+ Ro.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Lo(e, t);
+ return Vo(e, t);
},
get height() {
- return Ro(e, t);
+ return Ho(e, t);
}
});
});
}
-function Bo(e) {
- e.forEach(zo);
+function Wo(e) {
+ e.forEach(Uo);
}
-function Vo() {
- typeof ResizeObserver > "u" || (Fo = new ResizeObserver(Bo));
+function Go() {
+ typeof ResizeObserver > "u" || (zo = new ResizeObserver(Wo));
}
-function Ho(e, t) {
- Fo || Vo();
- let n = co(e);
+function Ko(e, t) {
+ zo || Go();
+ let n = po(e);
return n.forEach((e) => {
- let n = Po.get(e);
- n || (n = /* @__PURE__ */ new Set(), Po.set(e, n)), n.add(t), Fo?.observe(e);
+ let n = Ro.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Ro.set(e, n)), n.add(t), zo?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Po.get(e);
- n?.delete(t), n?.size || Fo?.unobserve(e);
+ let n = Ro.get(e);
+ n?.delete(t), n?.size || zo?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Uo = /* @__PURE__ */ new Set(), Wo;
-function Go() {
- Wo = () => {
+var qo = /* @__PURE__ */ new Set(), Jo;
+function Yo() {
+ Jo = () => {
let e = {
get width() {
return window.innerWidth;
@@ -4177,49 +4228,49 @@ function Go() {
return window.innerHeight;
}
};
- Uo.forEach((t) => t(e));
- }, window.addEventListener("resize", Wo);
+ qo.forEach((t) => t(e));
+ }, window.addEventListener("resize", Jo);
}
-function Ko(e) {
- return Uo.add(e), Wo || Go(), () => {
- Uo.delete(e), !Uo.size && typeof Wo == "function" && (window.removeEventListener("resize", Wo), Wo = void 0);
+function Xo(e) {
+ return qo.add(e), Jo || Yo(), () => {
+ qo.delete(e), !qo.size && typeof Jo == "function" && (window.removeEventListener("resize", Jo), Jo = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function qo(e, t) {
- return typeof e == "function" ? Ko(e) : Ho(e, t);
+function Zo(e, t) {
+ return typeof e == "function" ? Xo(e) : Ko(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var Jo = {
+var Qo = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function Yo(e) {
- return No(e) && e.tagName === "svg";
+function $o(e) {
+ return Lo(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function Xo(...e) {
- let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = Vr(i, a, o);
+function es(...e) {
+ let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = Gr(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function Zo(e, t, n = {}) {
+function ts(e, t, n = {}) {
let r = e.get(), i = null, a = r, o, s = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, c = () => {
i &&= (i.stop(), null), e.animation = void 0;
}, l = () => {
- let t = $o(e.get()), r = $o(a);
+ let t = rs(e.get()), r = rs(a);
if (t === r) {
c();
return;
}
let s = i ? i.getGeneratorVelocity() : e.getVelocity();
- c(), i = new $r({
+ c(), i = new ri({
keyframes: [t, r],
velocity: s,
type: "spring",
@@ -4234,10 +4285,10 @@ function Zo(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(Qo(e, s)), on.postRender(u);
- }, c), ja(t)) {
+ a = e, o = (e) => t(ns(e, s)), un.postRender(u);
+ }, c), Fa(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(Qo(t, s), !1)) : e.set(Qo(t, s));
+ r ? (r = !1, e.jump(ns(t, s), !1)) : e.set(ns(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -4245,46 +4296,46 @@ function Zo(e, t, n = {}) {
}
return c;
}
-function Qo(e, t) {
+function ns(e, t) {
return t ? e + t : e;
}
-function $o(e) {
+function rs(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var es = [
- ...Wa,
- Bn,
- nr
-], ts = (e) => es.find(Ua(e)), ns = () => ({
+var is = [
+ ...Ja,
+ Wn,
+ or
+], as = (e) => is.find(qa(e)), os = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), rs = () => ({
- x: ns(),
- y: ns()
-}), is = () => ({
+}), ss = () => ({
+ x: os(),
+ y: os()
+}), cs = () => ({
min: 0,
max: 0
-}), as = () => ({
- x: is(),
- y: is()
-}), os = /* @__PURE__ */ new WeakMap();
+}), ls = () => ({
+ x: cs(),
+ y: cs()
+}), us = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function ss(e) {
+function ds(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function cs(e) {
+function fs(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var ls = [
+var ps = [
"animate",
"whileInView",
"whileFocus",
@@ -4292,29 +4343,29 @@ var ls = [
"whileTap",
"whileDrag",
"exit"
-], us = ["initial", ...ls];
+], ms = ["initial", ...ps];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function ds(e) {
- return ss(e.animate) || us.some((t) => cs(e[t]));
+function hs(e) {
+ return ds(e.animate) || ms.some((t) => fs(e[t]));
}
-function fs(e) {
- return !!(ds(e) || e.variants);
+function gs(e) {
+ return !!(hs(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function ps(e, t, n) {
+function _s(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (ja(i)) e.addValue(r, i);
- else if (ja(a)) e.addValue(r, la(i, { owner: e }));
+ if (Fa(i)) e.addValue(r, i);
+ else if (Fa(a)) e.addValue(r, pa(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, la(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, pa(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -4323,18 +4374,18 @@ function ps(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var ms = { current: null }, hs = { current: !1 }, gs = typeof window < "u";
-function _s() {
- if (hs.current = !0, gs) {
+var vs = { current: null }, ys = { current: !1 }, bs = typeof window < "u";
+function xs() {
+ if (ys.current = !0, bs) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => ms.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => vs.current = e.matches;
e.addEventListener("change", t), t();
- } else ms.current = !1;
+ } else vs.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var vs = [
+var Ss = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -4342,38 +4393,38 @@ var vs = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], ys = {};
-function bs(e) {
- ys = e;
+], Cs = {};
+function ws(e) {
+ Cs = e;
}
-function xs() {
- return ys;
+function Ts() {
+ return Cs;
}
-var Ss = class {
+var Es = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Di, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = ji, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
- let e = fn.now();
- this.renderScheduledAt < e && (this.renderScheduledAt = e, on.render(this.render, !1, !0));
+ let e = gn.now();
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, un.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = ds(t), this.isVariantNode = fs(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = hs(t), this.isVariantNode = gs(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && ja(t) && t.set(c[e]);
+ c[e] !== void 0 && Fa(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, os.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (hs.current || _s(), this.shouldReduceMotion = ms.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, us.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (ys.current || xs(), this.shouldReduceMotion = vs.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
- this.projection && this.projection.unmount(), sn(this.notifyUpdate), sn(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
+ this.projection && this.projection.unmount(), dn(this.notifyUpdate), dn(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
for (let e in this.events) this.events[e].clear();
for (let e in this.features) {
let t = this.features[e];
@@ -4388,24 +4439,24 @@ var Ss = class {
this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && Xi.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Bi({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && ea.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Wi({
element: this.current,
name: e,
keyframes: r,
times: i,
ease: a,
- duration: /* @__PURE__ */ At(o)
+ duration: /* @__PURE__ */ Pt(o)
}), c = n(s);
this.valueSubscriptions.set(e, () => {
c(), s.cancel();
});
return;
}
- let n = mi.has(e);
+ let n = vi.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && on.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && un.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i && i();
@@ -4416,8 +4467,8 @@ var Ss = class {
}
updateFeatures() {
let e = "animation";
- for (e in ys) {
- let t = ys[e];
+ for (e in Cs) {
+ let t = Cs[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -4430,7 +4481,7 @@ var Ss = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : as();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : ls();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -4440,13 +4491,13 @@ var Ss = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < vs.length; t++) {
- let n = vs[t];
+ for (let t = 0; t < Ss.length; t++) {
+ let n = Ss[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = ps(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = _s(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -4482,11 +4533,11 @@ var Ss = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = la(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = pa(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (St(n) || wt(n)) ? n = parseFloat(n) : !ts(n) && nr.test(t) && (n = ro(e, t)), this.setBaseTarget(e, ja(n) ? n.get() : n)), ja(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (Et(n) || Ot(n)) ? n = parseFloat(n) : !as(n) && or.test(t) && (n = so(e, t)), this.setBaseTarget(e, Fa(n) ? n.get() : n)), Fa(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -4494,25 +4545,25 @@ var Ss = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = wa(this.props, t, this.presenceContext?.custom);
+ let r = Oa(this.props, t, this.presenceContext?.custom);
r && (n = r[e]);
}
if (t && n !== void 0) return n;
let r = this.getBaseTargetFromProps(this.props, e);
- return r !== void 0 && !ja(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !Fa(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
}
on(e, t) {
- return this.events[e] || (this.events[e] = new kt()), this.events[e].add(t);
+ return this.events[e] || (this.events[e] = new Nt()), this.events[e].add(t);
}
notify(e, ...t) {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- fo.render(this.render);
+ go.render(this.render);
}
-}, Cs = class extends Ss {
+}, Ds = class extends Es {
constructor() {
- super(...arguments), this.KeyframeResolver = oo;
+ super(...arguments), this.KeyframeResolver = uo;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -4527,11 +4578,11 @@ var Ss = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- ja(e) && (this.childSubscription = e.on("change", (e) => {
+ Fa(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, ws = class {
+}, Os = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -4539,7 +4590,7 @@ var Ss = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Ts({ top: e, left: t, right: n, bottom: r }) {
+function ks({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -4551,7 +4602,7 @@ function Ts({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function Es({ x: e, y: t }) {
+function As({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -4559,7 +4610,7 @@ function Es({ x: e, y: t }) {
left: e.min
};
}
-function Ds(e, t) {
+function js(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -4577,37 +4628,37 @@ function Ds(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Os(e) {
+function Ms(e) {
return e === void 0 || e === 1;
}
-function ks({ scale: e, scaleX: t, scaleY: n }) {
- return !Os(e) || !Os(t) || !Os(n);
+function Ns({ scale: e, scaleX: t, scaleY: n }) {
+ return !Ms(e) || !Ms(t) || !Ms(n);
}
-function As(e) {
- return ks(e) || js(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function Ps(e) {
+ return Ns(e) || Fs(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
-function js(e) {
- return Ms(e.x) || Ms(e.y);
+function Fs(e) {
+ return Is(e.x) || Is(e.y);
}
-function Ms(e) {
+function Is(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function Ns(e, t, n) {
+function Ls(e, t, n) {
return n + t * (e - n);
}
-function Ps(e, t, n, r, i) {
- return i !== void 0 && (e = Ns(e, i, r)), Ns(e, n, r) + t;
+function Rs(e, t, n, r, i) {
+ return i !== void 0 && (e = Ls(e, i, r)), Ls(e, n, r) + t;
}
-function Fs(e, t = 0, n = 1, r, i) {
- e.min = Ps(e.min, t, n, r, i), e.max = Ps(e.max, t, n, r, i);
+function zs(e, t = 0, n = 1, r, i) {
+ e.min = Rs(e.min, t, n, r, i), e.max = Rs(e.max, t, n, r, i);
}
-function Is(e, { x: t, y: n }) {
- Fs(e.x, t.translate, t.scale, t.originPoint), Fs(e.y, n.translate, n.scale, n.originPoint);
+function Bs(e, { x: t, y: n }) {
+ zs(e.x, t.translate, t.scale, t.originPoint), zs(e.y, n.translate, n.scale, n.originPoint);
}
-var Ls = .999999999999, Rs = 1.0000000000001;
-function zs(e, t, n, r = !1) {
+var Vs = .999999999999, Hs = 1.0000000000001;
+function Us(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -4615,44 +4666,44 @@ function zs(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Bs(e.x, -a.scroll.offset.x), Bs(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Is(e, o)), r && As(a.latestValues) && Us(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Ws(e.x, -a.scroll.offset.x), Ws(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Bs(e, o)), r && Ps(a.latestValues) && qs(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < Rs && t.x > Ls && (t.x = 1), t.y < Rs && t.y > Ls && (t.y = 1);
+ t.x < Hs && t.x > Vs && (t.x = 1), t.y < Hs && t.y > Vs && (t.y = 1);
}
-function Bs(e, t) {
+function Ws(e, t) {
e.min += t, e.max += t;
}
-function Vs(e, t, n, r, i = .5) {
- Fs(e, t, n, or(e.min, e.max, i), r);
+function Gs(e, t, n, r, i = .5) {
+ zs(e, t, n, ur(e.min, e.max, i), r);
}
-function Hs(e, t) {
+function Ks(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function Us(e, t, n) {
+function qs(e, t, n) {
let r = n ?? e;
- Vs(e.x, Hs(t.x, r.x), t.scaleX, t.scale, t.originX), Vs(e.y, Hs(t.y, r.y), t.scaleY, t.scale, t.originY);
+ Gs(e.x, Ks(t.x, r.x), t.scaleX, t.scale, t.originX), Gs(e.y, Ks(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function Ws(e, t) {
- return Ts(Ds(e.getBoundingClientRect(), t));
+function Js(e, t) {
+ return ks(js(e.getBoundingClientRect(), t));
}
-function Gs(e, t, n) {
- let r = Ws(e, n), { scroll: i } = t;
- return i && (Bs(r.x, i.offset.x), Bs(r.y, i.offset.y)), r;
+function Ys(e, t, n) {
+ let r = Js(e, n), { scroll: i } = t;
+ return i && (Ws(r.x, i.offset.x), Ws(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var Ks = {
+var Xs = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, qs = pi.length;
-function Js(e, t, n) {
+}, Zs = _i.length;
+function Qs(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < qs; a++) {
- let o = pi[a], s = e[o];
+ for (let a = 0; a < Zs; a++) {
+ let o = _i[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -4661,154 +4712,154 @@ function Js(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = lo(s, $a[o]);
+ let e = mo(s, ro[o]);
if (!c) {
i = !1;
- let t = Ks[o] || o;
+ let t = Xs[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${lo(a, $a.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${mo(a, ro.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function Ys(e, t, n) {
+function $s(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (mi.has(e)) {
+ if (vi.has(e)) {
o = !0;
continue;
}
- if (mn(e)) {
+ if (vn(e)) {
i[e] = n;
continue;
}
{
- let t = lo(n, $a[e]);
+ let t = mo(n, ro[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = Js(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = Qs(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function Xs(e, { style: t, vars: n }, r, i) {
+function ec(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function Zs(e, t) {
+function tc(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var Qs = { correct: (e, t) => {
+var nc = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
- if (z.test(e)) e = parseFloat(e);
+ if (B.test(e)) e = parseFloat(e);
else return e;
}
- return `${Zs(e, t.target.x)}% ${Zs(e, t.target.y)}%`;
-} }, $s = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = nr.parse(e);
+ return `${tc(e, t.target.x)}% ${tc(e, t.target.y)}%`;
+} }, rc = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = or.parse(e);
if (i.length > 5) return r;
- let a = nr.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = or.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
i[0 + o] /= s, i[1 + o] /= c;
- let l = or(s, c, .5);
+ let l = ur(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, ec = {
+} }, ic = {
borderRadius: {
- ...Qs,
- applyTo: [...so]
+ ...nc,
+ applyTo: [...fo]
},
- borderTopLeftRadius: Qs,
- borderTopRightRadius: Qs,
- borderBottomLeftRadius: Qs,
- borderBottomRightRadius: Qs,
- boxShadow: $s
+ borderTopLeftRadius: nc,
+ borderTopRightRadius: nc,
+ borderBottomLeftRadius: nc,
+ borderBottomRightRadius: nc,
+ boxShadow: rc
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function tc(e, { layout: t, layoutId: n }) {
- return mi.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!ec[e] || e === "opacity");
+function ac(e, { layout: t, layoutId: n }) {
+ return vi.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!ic[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function nc(e, t, n) {
+function oc(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (ja(r[t]) || i && ja(i[t]) || tc(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (Fa(r[t]) || i && Fa(i[t]) || ac(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function rc(e) {
+function sc(e) {
return window.getComputedStyle(e);
}
-var ic = class extends Cs {
+var cc = class extends Ds {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = Xs;
+ super(...arguments), this.type = "html", this.renderInstance = ec;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if (mi.has(t)) return this.projection?.isProjecting ? li(t) : di(e, t);
+ if (vi.has(t)) return this.projection?.isProjecting ? pi(t) : hi(e, t);
{
- let n = rc(e), r = (mn(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = sc(e), r = (vn(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return Ws(e, t);
+ return Js(e, t);
}
build(e, t, n) {
- Ys(e, t, n.transformTemplate);
+ $s(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return nc(e, t, n);
+ return oc(e, t, n);
}
-}, ac = {
+}, lc = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, oc = {
+}, uc = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function sc(e, t, n = 1, r = 0, i = !0) {
+function dc(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? ac : oc;
+ let a = i ? lc : uc;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var cc = [
+var fc = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function lc(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (Ys(e, s, l), c) {
+function pc(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if ($s(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
- for (let e of cc) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && sc(d, i, a, o, !1);
+ for (let e of fc) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && dc(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var uc = /* @__PURE__ */ new Set([
+var mc = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -4832,68 +4883,68 @@ var uc = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), dc = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), hc = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function fc(e, t, n, r) {
- Xs(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(uc.has(n) ? n : Pa(n), t.attrs[n]);
+function gc(e, t, n, r) {
+ ec(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(mc.has(n) ? n : Ra(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function pc(e, t, n) {
- let r = nc(e, t, n);
- for (let n in e) if (ja(e[n]) || ja(t[n])) {
- let t = pi.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function _c(e, t, n) {
+ let r = oc(e, t, n);
+ for (let n in e) if (Fa(e[n]) || Fa(t[n])) {
+ let t = _i.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var mc = class extends Cs {
+var vc = class extends Ds {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = as;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = ls;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if (mi.has(t)) {
- let e = to(t);
+ if (vi.has(t)) {
+ let e = ao(t);
return e && e.default || 0;
}
- return t = uc.has(t) ? t : Pa(t), e.getAttribute(t);
+ return t = mc.has(t) ? t : Ra(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return pc(e, t, n);
+ return _c(e, t, n);
}
build(e, t, n) {
- lc(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ pc(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- fc(e, t, n, r);
+ gc(e, t, n, r);
}
mount(e) {
- this.isSVGTag = dc(e.tagName), super.mount(e);
+ this.isSVGTag = hc(e.tagName), super.mount(e);
}
-}, hc = us.length;
-function gc(e) {
+}, yc = ms.length;
+function bc(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && gc(e.parent) || {};
+ let t = e.parent && bc(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < hc; n++) {
- let r = us[n], i = e.props[r];
- (cs(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < yc; n++) {
+ let r = ms[n], i = e.props[r];
+ (fs(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function _c(e, t) {
+function xc(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -4902,13 +4953,13 @@ function _c(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var vc = [...ls].reverse(), yc = ls.length;
-function bc(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => Va(e, t, n)));
+var Sc = [...ps].reverse(), Cc = ps.length;
+function wc(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => Ga(e, t, n)));
}
-function xc(e) {
- let t = bc(e), n = wc(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = Ta(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function Tc(e) {
+ let t = wc(e), n = Oc(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = ka(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -4923,12 +4974,12 @@ function xc(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = gc(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < yc; t++) {
- let p = vc[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = cs(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = bc(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < Cc; t++) {
+ let p = Sc[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = fs(h), _ = p === o ? m.isActive : null;
_ === !1 && (f = t);
let v = h === c[p] && h !== s[p] && g;
- if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || ss(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || ds(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -4936,7 +4987,7 @@ function xc(e) {
});
continue;
}
- let y = Sc(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = Ec(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -4950,7 +5001,7 @@ function xc(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = Da(t) && Da(n) ? !_c(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = ja(t) && ja(n) ? !xc(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -4960,10 +5011,10 @@ function xc(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = Ta(r, t);
+ let { parent: r } = e, i = ka(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = ia(r.enteringChildren, e, t);
+ n.delay = ca(r.enteringChildren, e, t);
}
}
return {
@@ -4975,7 +5026,7 @@ function xc(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = Ta(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = ka(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -4999,14 +5050,14 @@ function xc(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = wc(), i = !0;
+ n = Oc(), i = !0;
}
};
}
-function Sc(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !_c(t, e) : !1;
+function Ec(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !xc(t, e) : !1;
}
-function Cc(e = !1) {
+function Dc(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -5014,115 +5065,115 @@ function Cc(e = !1) {
prevResolvedValues: {}
};
}
-function wc() {
+function Oc() {
return {
- animate: Cc(!0),
- whileInView: Cc(),
- whileHover: Cc(),
- whileTap: Cc(),
- whileDrag: Cc(),
- whileFocus: Cc(),
- exit: Cc()
+ animate: Dc(!0),
+ whileInView: Dc(),
+ whileHover: Dc(),
+ whileTap: Dc(),
+ whileDrag: Dc(),
+ whileFocus: Dc(),
+ exit: Dc()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function Tc(e, t) {
+function kc(e, t) {
e.min = t.min, e.max = t.max;
}
-function Ec(e, t) {
- Tc(e.x, t.x), Tc(e.y, t.y);
+function Ac(e, t) {
+ kc(e.x, t.x), kc(e.y, t.y);
}
-function Dc(e, t) {
+function jc(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var Oc = .9999, kc = 1.0001, Ac = -.01, jc = .01;
-function Mc(e) {
+var Mc = .9999, Nc = 1.0001, Pc = -.01, Fc = .01;
+function Ic(e) {
return e.max - e.min;
}
-function Nc(e, t, n) {
+function Lc(e, t, n) {
return Math.abs(e - t) <= n;
}
-function Pc(e, t, n, r = .5) {
- e.origin = r, e.originPoint = or(t.min, t.max, e.origin), e.scale = Mc(n) / Mc(t), e.translate = or(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Oc && e.scale <= kc || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Ac && e.translate <= jc || isNaN(e.translate)) && (e.translate = 0);
+function Rc(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = ur(t.min, t.max, e.origin), e.scale = Ic(n) / Ic(t), e.translate = ur(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Mc && e.scale <= Nc || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Pc && e.translate <= Fc || isNaN(e.translate)) && (e.translate = 0);
}
-function Fc(e, t, n, r) {
- Pc(e.x, t.x, n.x, r ? r.originX : void 0), Pc(e.y, t.y, n.y, r ? r.originY : void 0);
+function zc(e, t, n, r) {
+ Rc(e.x, t.x, n.x, r ? r.originX : void 0), Rc(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function Ic(e, t, n, r = 0) {
- e.min = (r ? or(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Mc(t);
+function Bc(e, t, n, r = 0) {
+ e.min = (r ? ur(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Ic(t);
}
-function Lc(e, t, n, r) {
- Ic(e.x, t.x, n.x, r?.x), Ic(e.y, t.y, n.y, r?.y);
+function Vc(e, t, n, r) {
+ Bc(e.x, t.x, n.x, r?.x), Bc(e.y, t.y, n.y, r?.y);
}
-function Rc(e, t, n, r = 0) {
- let i = r ? or(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + Mc(t);
+function Hc(e, t, n, r = 0) {
+ let i = r ? ur(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + Ic(t);
}
-function zc(e, t, n, r) {
- Rc(e.x, t.x, n.x, r?.x), Rc(e.y, t.y, n.y, r?.y);
+function Uc(e, t, n, r) {
+ Hc(e.x, t.x, n.x, r?.x), Hc(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function Bc(e, t, n, r, i) {
- return e -= t, e = Ns(e, 1 / n, r), i !== void 0 && (e = Ns(e, 1 / i, r)), e;
+function Wc(e, t, n, r, i) {
+ return e -= t, e = Ls(e, 1 / n, r), i !== void 0 && (e = Ls(e, 1 / i, r)), e;
}
-function Vc(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (Fn.test(t) && (t = parseFloat(t), t = or(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = or(a.min, a.max, r);
- e === a && (s -= t), e.min = Bc(e.min, t, n, s, i), e.max = Bc(e.max, t, n, s, i);
+function Gc(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if (zn.test(t) && (t = parseFloat(t), t = ur(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = ur(a.min, a.max, r);
+ e === a && (s -= t), e.min = Wc(e.min, t, n, s, i), e.max = Wc(e.max, t, n, s, i);
}
-function Hc(e, t, [n, r, i], a, o) {
- Vc(e, t[n], t[r], t[i], t.scale, a, o);
+function Kc(e, t, [n, r, i], a, o) {
+ Gc(e, t[n], t[r], t[i], t.scale, a, o);
}
-var Uc = [
+var qc = [
"x",
"scaleX",
"originX"
-], Wc = [
+], Jc = [
"y",
"scaleY",
"originY"
];
-function Gc(e, t, n, r) {
- Hc(e.x, t, Uc, n ? n.x : void 0, r ? r.x : void 0), Hc(e.y, t, Wc, n ? n.y : void 0, r ? r.y : void 0);
+function Yc(e, t, n, r) {
+ Kc(e.x, t, qc, n ? n.x : void 0, r ? r.x : void 0), Kc(e.y, t, Jc, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function Kc(e) {
+function Xc(e) {
return e.translate === 0 && e.scale === 1;
}
-function qc(e) {
- return Kc(e.x) && Kc(e.y);
+function Zc(e) {
+ return Xc(e.x) && Xc(e.y);
}
-function Jc(e, t) {
+function Qc(e, t) {
return e.min === t.min && e.max === t.max;
}
-function Yc(e, t) {
- return Jc(e.x, t.x) && Jc(e.y, t.y);
+function $c(e, t) {
+ return Qc(e.x, t.x) && Qc(e.y, t.y);
}
-function Xc(e, t) {
+function el(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function Zc(e, t) {
- return Xc(e.x, t.x) && Xc(e.y, t.y);
+function tl(e, t) {
+ return el(e.x, t.x) && el(e.y, t.y);
}
-function Qc(e) {
- return Mc(e.x) / Mc(e.y);
+function nl(e) {
+ return Ic(e.x) / Ic(e.y);
}
-function $c(e, t) {
+function rl(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function el(e) {
+function il(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function tl(e, t, n) {
+function al(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -5133,81 +5184,81 @@ function tl(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var nl = so.length, rl = (e) => typeof e == "string" ? parseFloat(e) : e, il = (e) => typeof e == "number" || z.test(e);
-function al(e, t, n, r, i, a) {
- i ? (e.opacity = or(0, n.opacity ?? 1, sl(r)), e.opacityExit = or(t.opacity ?? 1, 0, cl(r))) : a && (e.opacity = or(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < nl; i++) {
- let a = so[i], o = ol(t, a), s = ol(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || il(o) === il(s) ? (e[a] = Math.max(or(rl(o), rl(s), r), 0), (Fn.test(s) || Fn.test(o)) && (e[a] += "%")) : e[a] = s);
+var ol = fo.length, sl = (e) => typeof e == "string" ? parseFloat(e) : e, cl = (e) => typeof e == "number" || B.test(e);
+function ll(e, t, n, r, i, a) {
+ i ? (e.opacity = ur(0, n.opacity ?? 1, dl(r)), e.opacityExit = ur(t.opacity ?? 1, 0, fl(r))) : a && (e.opacity = ur(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < ol; i++) {
+ let a = fo[i], o = ul(t, a), s = ul(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || cl(o) === cl(s) ? (e[a] = Math.max(ur(sl(o), sl(s), r), 0), (zn.test(s) || zn.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = or(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = ur(t.rotate || 0, n.rotate || 0, r));
}
-function ol(e, t) {
+function ul(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var sl = /*@__PURE__*/ ll(0, .5, Gt), cl = /*@__PURE__*/ ll(.5, .95, Et);
-function ll(e, t, n) {
- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Ot(e, t, r));
+var dl = /*@__PURE__*/ pl(0, .5, Yt), fl = /*@__PURE__*/ pl(.5, .95, At);
+function pl(e, t, n) {
+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Mt(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function ul(e, t, n) {
- let r = ja(e) ? e : la(e);
- return r.start(ya("", r, t, n)), r.animation;
+function ml(e, t, n) {
+ let r = Fa(e) ? e : pa(e);
+ return r.start(Ca("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function dl(e, t, n, r = { passive: !0 }) {
+function hl(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var fl = (e, t) => e.depth - t.depth, pl = class {
+var gl = (e, t) => e.depth - t.depth, _l = class {
constructor() {
this.children = [], this.isDirty = !1;
}
add(e) {
- vt(this.children, e), this.isDirty = !0;
+ St(this.children, e), this.isDirty = !0;
}
remove(e) {
- yt(this.children, e), this.isDirty = !0;
+ Ct(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(fl), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(gl), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function ml(e, t) {
- let n = fn.now(), r = ({ timestamp: i }) => {
+function vl(e, t) {
+ let n = gn.now(), r = ({ timestamp: i }) => {
let a = i - n;
- a >= t && (sn(r), e(a - t));
+ a >= t && (dn(r), e(a - t));
};
- return on.setup(r, !0), () => sn(r);
+ return un.setup(r, !0), () => dn(r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function hl(e) {
- return ja(e) ? e.get() : e;
+function yl(e) {
+ return Fa(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var gl = class {
+var bl = class {
constructor() {
this.members = [];
}
add(e) {
- vt(this.members, e);
+ St(this.members, e);
for (let t = this.members.length - 1; t >= 0; t--) {
let n = this.members[t];
if (n === e || n === this.lead || n === this.prevLead) continue;
let r = n.instance;
- (!r || r.isConnected === !1) && !n.snapshot && (yt(this.members, n), n.unmount());
+ (!r || r.isConnected === !1) && !n.snapshot && (Ct(this.members, n), n.unmount());
}
e.scheduleRender();
}
remove(e) {
- if (yt(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
+ if (Ct(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
let e = this.members[this.members.length - 1];
e && this.promote(e);
}
@@ -5238,51 +5289,51 @@ var gl = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, _l = {
+}, xl = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, vl = {
+}, Sl = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, yl = [
+}, Cl = [
"",
"X",
"Y",
"Z"
-], bl = 1e3, xl = 0;
-function Sl(e, t, n, r) {
+], wl = 1e3, Tl = 0;
+function El(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function Cl(e) {
+function Dl(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = Ia(t);
+ let n = Ba(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
- window.MotionCancelOptimisedAnimation(n, "transform", on, !(t || r));
+ window.MotionCancelOptimisedAnimation(n, "transform", un, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && Cl(r);
+ r && !r.hasCheckedOptimisedAppear && Dl(r);
}
-function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function Ol({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = xl++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = Tl++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, Jo.value && (vl.nodes = vl.calculatedTargetDeltas = vl.calculatedProjections = 0), this.nodes.forEach(Dl), this.nodes.forEach(Il), this.nodes.forEach(Ll), this.nodes.forEach(Ol), Jo.addProjectionMetrics && Jo.addProjectionMetrics(vl);
+ this.projectionUpdateScheduled = !1, Qo.value && (Sl.nodes = Sl.calculatedTargetDeltas = Sl.calculatedProjections = 0), this.nodes.forEach(jl), this.nodes.forEach(Bl), this.nodes.forEach(Vl), this.nodes.forEach(Ml), Qo.addProjectionMetrics && Qo.addProjectionMetrics(Sl);
}, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new pl());
+ this.root === this && (this.nodes = new _l());
}
addEventListener(e, t) {
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new kt()), this.eventHandlers.get(e).add(t);
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Nt()), this.eventHandlers.get(e).add(t);
}
notifyListeners(e, ...t) {
let n = this.eventHandlers.get(e);
@@ -5293,15 +5344,15 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = No(t) && !Yo(t), this.instance = t;
+ this.isSVG = Lo(t) && !$o(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
- on.read(() => {
+ un.read(() => {
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = ml(i, 250), _l.hasAnimatedSinceResize && (_l.hasAnimatedSinceResize = !1, this.nodes.forEach(Fl)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = vl(i, 250), xl.hasAnimatedSinceResize && (xl.hasAnimatedSinceResize = !1, this.nodes.forEach(zl)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -5309,23 +5360,23 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || Wl, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !Zc(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || Jl, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !tl(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...da(a, "layout"),
+ ...ha(a, "layout"),
onPlay: o,
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || Fl(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || zl(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
unmount() {
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
let e = this.getStack();
- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), sn(this.updateProjection);
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), dn(this.updateProjection);
}
blockUpdate() {
this.updateManuallyBlocked = !0;
@@ -5340,7 +5391,7 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Rl), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Hl), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -5351,7 +5402,7 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Cl(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Dl(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -5365,39 +5416,39 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(jl), this.nodes.forEach(Al);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Fl), this.nodes.forEach(Pl);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(Ml);
+ this.nodes.forEach(Il);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Nl), this.nodes.forEach(Pl), this.nodes.forEach(Tl), this.nodes.forEach(El)) : this.nodes.forEach(Ml), this.clearAllSnapshots();
- let e = fn.now();
- cn.delta = bt(0, 1e3 / 60, e - cn.timestamp), cn.timestamp = e, cn.isProcessing = !0, ln.update.process(cn), ln.preRender.process(cn), ln.render.process(cn), cn.isProcessing = !1;
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Ll), this.nodes.forEach(Rl), this.nodes.forEach(kl), this.nodes.forEach(Al)) : this.nodes.forEach(Il), this.clearAllSnapshots();
+ let e = gn.now();
+ fn.delta = wt(0, 1e3 / 60, e - fn.timestamp), fn.timestamp = e, fn.isProcessing = !0, pn.update.process(fn), pn.preRender.process(fn), pn.render.process(fn), fn.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, fo.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, go.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(kl), this.sharedNodes.forEach(zl);
+ this.nodes.forEach(Nl), this.sharedNodes.forEach(Ul);
}
scheduleUpdateProjection() {
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, on.preRender(this.updateProjection, !1, !0));
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, un.preRender(this.updateProjection, !1, !0));
}
scheduleCheckAfterUnmount() {
- on.postRender(() => {
+ un.postRender(() => {
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !Mc(this.snapshot.measuredBox.x) && !Mc(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !Ic(this.snapshot.measuredBox.x) && !Ic(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= as(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= ls(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -5416,12 +5467,12 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !qc(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || As(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !Zc(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Ps(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), Jl(n), {
+ return e && (n = this.removeTransform(n)), Ql(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -5431,42 +5482,42 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return as();
+ if (!e) return ls();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Xl))) {
+ if (!(this.scroll?.wasRoot || this.path.some(eu))) {
let { scroll: e } = this.root;
- e && (Bs(t.x, e.offset.x), Bs(t.y, e.offset.y));
+ e && (Ws(t.x, e.offset.x), Ws(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = as();
- if (Ec(t, e), this.scroll?.wasRoot) return t;
+ let t = ls();
+ if (Ac(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && Ec(t, e), Bs(t.x, i.offset.x), Bs(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && Ac(t, e), Ws(t.x, i.offset.x), Ws(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || as();
- Ec(r, e);
+ let r = n || ls();
+ Ac(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (Bs(r.x, -n.scroll.offset.x), Bs(r.y, -n.scroll.offset.y)), As(n.latestValues) && Us(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (Ws(r.x, -n.scroll.offset.x), Ws(r.y, -n.scroll.offset.y)), Ps(n.latestValues) && qs(r, n.latestValues, n.layout?.layoutBox);
}
- return As(this.latestValues) && Us(r, this.latestValues, this.layout?.layoutBox), r;
+ return Ps(this.latestValues) && qs(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = as();
- Ec(t, e);
+ let t = ls();
+ Ac(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!As(n.latestValues)) continue;
+ if (!Ps(n.latestValues)) continue;
let r;
- n.instance && (ks(n.latestValues) && n.updateSnapshot(), r = as(), Ec(r, n.measurePageBox())), Gc(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Ns(n.latestValues) && n.updateSnapshot(), r = ls(), Ac(r, n.measurePageBox())), Yc(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return As(this.latestValues) && Gc(t, this.latestValues), t;
+ return Ps(this.latestValues) && Yc(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -5482,7 +5533,7 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
}
forceRelativeParentToResolveTarget() {
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== cn.timestamp && this.relativeParent.resolveTargetDelta(!0);
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== fn.timestamp && this.relativeParent.resolveTargetDelta(!0);
}
resolveTargetDelta(e = !1) {
let t = this.getLead();
@@ -5491,36 +5542,36 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
let { layout: r, layoutId: i } = this.options;
if (!this.layout || !(r || i)) return;
- this.resolvedRelativeTargetAt = cn.timestamp;
+ this.resolvedRelativeTargetAt = fn.timestamp;
let a = this.getClosestProjectingParent();
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = as(), this.targetWithTransforms = as()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Lc(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Ec(this.target, this.layout.layoutBox), Is(this.target, this.targetDelta)) : Ec(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Jo.value && vl.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = ls(), this.targetWithTransforms = ls()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Vc(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : Ac(this.target, this.layout.layoutBox), Bs(this.target, this.targetDelta)) : Ac(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), Qo.value && Sl.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || ks(this.parent.latestValues) || js(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || Ns(this.parent.latestValues) || Fs(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = as(), this.relativeTargetOrigin = as(), zc(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Ec(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = ls(), this.relativeTargetOrigin = ls(), Uc(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Ac(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
}
calcProjection() {
let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === cn.timestamp && (n = !1), n) return;
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === fn.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- Ec(this.layoutCorrected, this.layout.layoutBox);
+ Ac(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- zs(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = as());
+ Us(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = ls());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Dc(this.prevProjectionDelta.x, this.projectionDelta.x), Dc(this.prevProjectionDelta.y, this.projectionDelta.y)), Fc(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !$c(this.projectionDelta.x, this.prevProjectionDelta.x) || !$c(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Jo.value && vl.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (jc(this.prevProjectionDelta.x, this.projectionDelta.x), jc(this.prevProjectionDelta.y, this.projectionDelta.y)), zc(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !rl(this.projectionDelta.x, this.prevProjectionDelta.x) || !rl(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), Qo.value && Sl.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -5536,22 +5587,22 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = rs(), this.projectionDelta = rs(), this.projectionDeltaWithTransform = rs();
+ this.prevProjectionDelta = ss(), this.projectionDelta = ss(), this.projectionDeltaWithTransform = ss();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = rs();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = ss();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = as(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Ul));
+ let s = ls(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(ql));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = or(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = or(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Bl(o.x, e.x, n), Bl(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (zc(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Hl(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Yc(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= as(), Ec(f, this.relativeTarget)), c && (this.animationValues = a, al(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = ur(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = ur(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (Wl(o.x, e.x, n), Wl(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Uc(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Kl(this.relativeTarget, this.relativeTargetOrigin, s, n), f && $c(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= ls(), Ac(f, this.relativeTarget)), c && (this.animationValues = a, ll(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (sn(this.pendingAnimation), void 0), this.pendingAnimation = on.update(() => {
- _l.hasAnimatedSinceResize = !0, this.motionValue ||= la(0), this.motionValue.jump(0, !1), this.currentAnimation = ul(this.motionValue, [0, 1e3], {
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (dn(this.pendingAnimation), void 0), this.pendingAnimation = un.update(() => {
+ xl.hasAnimatedSinceResize = !0, this.motionValue ||= pa(0), this.motionValue.jump(0, !1), this.currentAnimation = ml(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -5570,23 +5621,23 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(bl), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(wl), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
if (!(!t || !n || !r)) {
- if (this !== e && this.layout && r && Yl(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || as();
- let t = Mc(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && $l(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || ls();
+ let t = Ic(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = Mc(this.layout.layoutBox.y);
+ let r = Ic(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- Ec(t, n), Us(t, i), Fc(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ Ac(t, n), qs(t, i), zc(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new gl()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new bl()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -5623,8 +5674,8 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && Sl("z", e, r, this.animationValues);
- for (let t = 0; t < yl.length; t++) Sl(`rotate${yl[t]}`, e, r, this.animationValues), Sl(`skew${yl[t]}`, e, r, this.animationValues);
+ n.z && El("z", e, r, this.animationValues);
+ for (let t = 0; t < Cl.length; t++) El(`rotate${Cl[t]}`, e, r, this.animationValues), El(`skew${Cl[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -5637,71 +5688,71 @@ function wl({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = hl(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = yl(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = hl(t?.pointerEvents) || ""), this.hasProjected && !As(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = yl(t?.pointerEvents) || ""), this.hasProjected && !Ps(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = tl(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = al(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in ec) {
+ for (let t in ic) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = ec[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = ic[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? hl(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? yl(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(Al), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(Pl), this.root.sharedNodes.clear();
}
};
}
-function Tl(e) {
+function kl(e) {
e.updateLayout();
}
-function El(e) {
+function Al(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") el((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Mc(r);
+ if (i === "size") il((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = Ic(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- Tc(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else Yl(i, t.layoutBox, n) && el((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Mc(n[r]);
+ kc(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else $l(i, t.layoutBox, n) && il((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = Ic(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = rs();
- Fc(o, n, t.layoutBox);
- let s = rs();
- a ? Fc(s, e.applyTransform(r, !0), t.measuredBox) : Fc(s, n, t.layoutBox);
- let c = !qc(o), l = !1;
+ let o = ss();
+ zc(o, n, t.layoutBox);
+ let s = ss();
+ a ? zc(s, e.applyTransform(r, !0), t.measuredBox) : zc(s, n, t.layoutBox);
+ let c = !Zc(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = as();
- zc(s, t.layoutBox, i.layoutBox, o);
- let c = as();
- zc(c, n, a.layoutBox, o), Zc(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = ls();
+ Uc(s, t.layoutBox, i.layoutBox, o);
+ let c = ls();
+ Uc(c, n, a.layoutBox, o), tl(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -5719,59 +5770,59 @@ function El(e) {
}
e.options.transition = void 0;
}
-function Dl(e) {
- Jo.value && vl.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function jl(e) {
+ Qo.value && Sl.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function Ol(e) {
+function Ml(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function kl(e) {
+function Nl(e) {
e.clearSnapshot();
}
-function Al(e) {
+function Pl(e) {
e.clearMeasurements();
}
-function jl(e) {
+function Fl(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function Ml(e) {
+function Il(e) {
e.isLayoutDirty = !1;
}
-function Nl(e) {
+function Ll(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
}
-function Pl(e) {
+function Rl(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function Fl(e) {
+function zl(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Il(e) {
+function Bl(e) {
e.resolveTargetDelta();
}
-function Ll(e) {
+function Vl(e) {
e.calcProjection();
}
-function Rl(e) {
+function Hl(e) {
e.resetSkewAndRotation();
}
-function zl(e) {
+function Ul(e) {
e.removeLeadSnapshot();
}
-function Bl(e, t, n) {
- e.translate = or(t.translate, 0, n), e.scale = or(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
+function Wl(e, t, n) {
+ e.translate = ur(t.translate, 0, n), e.scale = ur(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function Vl(e, t, n, r) {
- e.min = or(t.min, n.min, r), e.max = or(t.max, n.max, r);
+function Gl(e, t, n, r) {
+ e.min = ur(t.min, n.min, r), e.max = ur(t.max, n.max, r);
}
-function Hl(e, t, n, r) {
- Vl(e.x, t.x, n.x, r), Vl(e.y, t.y, n.y, r);
+function Kl(e, t, n, r) {
+ Gl(e.x, t.x, n.x, r), Gl(e.y, t.y, n.y, r);
}
-function Ul(e) {
+function ql(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var Wl = {
+var Jl = {
duration: .45,
ease: [
.4,
@@ -5779,59 +5830,59 @@ var Wl = {
.1,
1
]
-}, Gl = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Kl = Gl("applewebkit/") && !Gl("chrome/") ? Math.round : Et;
-function ql(e) {
- e.min = Kl(e.min), e.max = Kl(e.max);
+}, Yl = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Xl = Yl("applewebkit/") && !Yl("chrome/") ? Math.round : At;
+function Zl(e) {
+ e.min = Xl(e.min), e.max = Xl(e.max);
}
-function Jl(e) {
- ql(e.x), ql(e.y);
+function Ql(e) {
+ Zl(e.x), Zl(e.y);
}
-function Yl(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Nc(Qc(t), Qc(n), .2);
+function $l(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !Lc(nl(t), nl(n), .2);
}
-function Xl(e) {
+function eu(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var Zl = wl({
- attachResizeListener: (e, t) => dl(e, "resize", t),
+var tu = Ol({
+ attachResizeListener: (e, t) => hl(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), Ql = { current: void 0 }, $l = wl({
+}), nu = { current: void 0 }, ru = Ol({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!Ql.current) {
- let e = new Zl({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), Ql.current = e;
+ if (!nu.current) {
+ let e = new tu({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), nu.current = e;
}
- return Ql.current;
+ return nu.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), eu = (0, E.createContext)({
+}), iu = (0, D.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function tu(e = !0) {
- let t = (0, E.useContext)(_t);
+function au(e = !0) {
+ let t = (0, D.useContext)(xt);
if (t === null) return [!0, null];
- let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, E.useId)();
- (0, E.useEffect)(() => {
+ let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, D.useId)();
+ (0, D.useEffect)(() => {
if (e) return i(a);
}, [e]);
- let o = (0, E.useCallback)(() => e && r && r(a), [
+ let o = (0, D.useCallback)(() => e && r && r(a), [
a,
r,
e
@@ -5840,7 +5891,7 @@ function tu(e = !0) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/LazyContext.mjs
-var nu = (0, E.createContext)({ strict: !1 }), ru = {
+var ou = (0, D.createContext)({ strict: !1 }), su = {
animation: [
"animate",
"variants",
@@ -5877,98 +5928,98 @@ var nu = (0, E.createContext)({ strict: !1 }), ru = {
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, iu = !1;
-function au() {
- if (iu) return;
+}, cu = !1;
+function lu() {
+ if (cu) return;
let e = {};
- for (let t in ru) e[t] = { isEnabled: (e) => ru[t].some((t) => !!e[t]) };
- bs(e), iu = !0;
+ for (let t in su) e[t] = { isEnabled: (e) => su[t].some((t) => !!e[t]) };
+ ws(e), cu = !0;
}
-function ou() {
- return au(), xs();
+function uu() {
+ return lu(), Ts();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function su(e) {
- let t = ou();
+function du(e) {
+ let t = uu();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- bs(t);
+ ws(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var cu = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function lu(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || cu.has(e);
+var fu = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function pu(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || fu.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var uu = /* @__PURE__ */ v({ default: () => du }), du, fu = g((() => {
- throw du = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
-})), pu = (e) => !lu(e);
-function mu(e) {
- typeof e == "function" && (pu = (t) => t.startsWith("on") ? !lu(t) : e(t));
+var mu = /* @__PURE__ */ y({ default: () => hu }), hu, gu = _((() => {
+ throw hu = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
+})), _u = (e) => !pu(e);
+function vu(e) {
+ typeof e == "function" && (_u = (t) => t.startsWith("on") ? !pu(t) : e(t));
}
try {
- mu((fu(), x(uu)).default);
+ vu((gu(), S(mu)).default);
} catch {}
-function hu(e, t, n) {
+function yu(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (ja(e[i]) || (pu(i) || n === !0 && lu(i) || !t && !lu(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (Fa(e[i]) || (_u(i) || n === !0 && pu(i) || !t && !pu(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
return r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function gu({ children: e, isValidProp: t, ...n }) {
- t && mu(t);
- let r = (0, E.useContext)(eu);
+function bu({ children: e, isValidProp: t, ...n }) {
+ t && vu(t);
+ let r = (0, D.useContext)(iu);
n = {
...r,
...n
- }, n.transition = ua(n.transition, r.transition), n.isStatic = ht(() => n.isStatic);
- let i = (0, E.useMemo)(() => n, [
+ }, n.transition = ma(n.transition, r.transition), n.isStatic = yt(() => n.isStatic);
+ let i = (0, D.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
n.reducedMotion,
n.skipAnimations
]);
- return (0, D.jsx)(eu.Provider, {
+ return (0, O.jsx)(iu.Provider, {
value: i,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var _u = /* @__PURE__ */ (0, E.createContext)({});
+var xu = /* @__PURE__ */ (0, D.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function vu(e, t) {
- if (ds(e)) {
+function Su(e, t) {
+ if (hs(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || cs(t) ? t : void 0,
- animate: cs(n) ? n : void 0
+ initial: t === !1 || fs(t) ? t : void 0,
+ animate: fs(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function yu(e) {
- let { initial: t, animate: n } = vu(e, (0, E.useContext)(_u));
- return (0, E.useMemo)(() => ({
+function Cu(e) {
+ let { initial: t, animate: n } = Su(e, (0, D.useContext)(xu));
+ return (0, D.useMemo)(() => ({
initial: t,
animate: n
- }), [bu(t), bu(n)]);
+ }), [wu(t), wu(n)]);
}
-function bu(e) {
+function wu(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var xu = () => ({
+var Tu = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -5976,42 +6027,42 @@ var xu = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function Su(e, t, n) {
- for (let r in t) !ja(t[r]) && !tc(r, n) && (e[r] = t[r]);
+function Eu(e, t, n) {
+ for (let r in t) !Fa(t[r]) && !ac(r, n) && (e[r] = t[r]);
}
-function Cu({ transformTemplate: e }, t) {
- return (0, E.useMemo)(() => {
- let n = xu();
- return Ys(n, t, e), Object.assign({}, n.vars, n.style);
+function Du({ transformTemplate: e }, t) {
+ return (0, D.useMemo)(() => {
+ let n = Tu();
+ return $s(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function wu(e, t) {
+function Ou(e, t) {
let n = e.style || {}, r = {};
- return Su(r, n, e), Object.assign(r, Cu(e, t)), r;
+ return Eu(r, n, e), Object.assign(r, Du(e, t)), r;
}
-function Tu(e, t) {
- let n = {}, r = wu(e, t);
+function ku(e, t) {
+ let n = {}, r = Ou(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var Eu = () => ({
- ...xu(),
+var Au = () => ({
+ ...Tu(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Du(e, t, n, r) {
- let i = (0, E.useMemo)(() => {
- let n = Eu();
- return lc(n, t, dc(r), e.transformTemplate, e.style), {
+function ju(e, t, n, r) {
+ let i = (0, D.useMemo)(() => {
+ let n = Au();
+ return pc(n, t, hc(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- Su(t, e.style, e), i.style = {
+ Eu(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -6020,7 +6071,7 @@ function Du(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var Ou = [
+var Mu = [
"animate",
"circle",
"defs",
@@ -6049,42 +6100,42 @@ var Ou = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function ku(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(Ou.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function Nu(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Mu.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function Au(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? ku(e) ? Du : Tu)(t, r, i, e), c = hu(t, typeof e == "string", a), l = e === E.Fragment ? {} : {
+function Pu(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? Nu(e) ? ju : ku)(t, r, i, e), c = yu(t, typeof e == "string", a), l = e === D.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, E.useMemo)(() => ja(u) ? u.get() : u, [u]);
- return (0, E.createElement)(e, {
+ }, { children: u } = t, d = (0, D.useMemo)(() => Fa(u) ? u.get() : u, [u]);
+ return (0, D.createElement)(e, {
...l,
children: d
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function ju({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Fu({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: Mu(n, r, i, e),
+ latestValues: Iu(n, r, i, e),
renderState: t()
};
}
-function Mu(e, t, n, r) {
+function Iu(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = hl(a[e]);
- let { initial: o, animate: s } = e, c = ds(e), l = fs(e);
+ for (let e in a) i[e] = yl(a[e]);
+ let { initial: o, animate: s } = e, c = hs(e), l = gs(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !ss(d)) {
+ if (d && typeof d != "boolean" && !ds(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = wa(e, t[n]);
+ let r = Oa(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -6101,25 +6152,25 @@ function Mu(e, t, n, r) {
}
return i;
}
-var Nu = (e) => (t, n) => {
- let r = (0, E.useContext)(_u), i = (0, E.useContext)(_t), a = () => ju(e, t, r, i);
- return n ? a() : ht(a);
-}, Pu = /*@__PURE__*/ Nu({
- scrapeMotionValuesFromProps: nc,
- createRenderState: xu
-}), Fu = /*@__PURE__*/ Nu({
- scrapeMotionValuesFromProps: pc,
- createRenderState: Eu
-}), Iu = Symbol.for("motionComponentSymbol");
+var Lu = (e) => (t, n) => {
+ let r = (0, D.useContext)(xu), i = (0, D.useContext)(xt), a = () => Fu(e, t, r, i);
+ return n ? a() : yt(a);
+}, Ru = /*@__PURE__*/ Lu({
+ scrapeMotionValuesFromProps: oc,
+ createRenderState: Tu
+}), zu = /*@__PURE__*/ Lu({
+ scrapeMotionValuesFromProps: _c,
+ createRenderState: Au
+}), Bu = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Lu(e, t, n) {
- let r = (0, E.useRef)(n);
- (0, E.useInsertionEffect)(() => {
+function Vu(e, t, n) {
+ let r = (0, D.useRef)(n);
+ (0, D.useInsertionEffect)(() => {
r.current = n;
});
- let i = (0, E.useRef)(null);
- return (0, E.useCallback)((n) => {
+ let i = (0, D.useRef)(null);
+ return (0, D.useCallback)((n) => {
n && e.onMount?.(n), t && (n ? t.mount(n) : t.unmount());
let a = r.current;
if (typeof a == "function") {
@@ -6132,16 +6183,16 @@ function Lu(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Ru = (0, E.createContext)({});
+var Hu = (0, D.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function zu(e) {
+function Uu(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function Bu(e, t, n, r, i, a) {
- let { visualElement: o } = (0, E.useContext)(_u), s = (0, E.useContext)(nu), c = (0, E.useContext)(_t), l = (0, E.useContext)(eu), u = l.reducedMotion, d = l.skipAnimations, f = (0, E.useRef)(null), p = (0, E.useRef)(!1);
+function Wu(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, D.useContext)(xu), s = (0, D.useContext)(ou), c = (0, D.useContext)(xt), l = (0, D.useContext)(iu), u = l.reducedMotion, d = l.skipAnimations, f = (0, D.useRef)(null), p = (0, D.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -6152,27 +6203,27 @@ function Bu(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, E.useContext)(Ru);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Vu(f.current, n, i, h);
- let g = (0, E.useRef)(!1);
- (0, E.useInsertionEffect)(() => {
+ let m = f.current, h = (0, D.useContext)(Hu);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Gu(f.current, n, i, h);
+ let g = (0, D.useRef)(!1);
+ (0, D.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[Fa], v = (0, E.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
- return gt(() => {
+ let _ = n[za], v = (0, D.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ return bt(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
- }), (0, E.useEffect)(() => {
+ }), (0, D.useEffect)(() => {
m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {
window.MotionHandoffMarkAsComplete?.(_);
}), !1), m.enteringChildren = void 0);
}), m;
}
-function Vu(e, t, n, r) {
+function Gu(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Hu(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Ku(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && zu(s),
+ alwaysMeasureLayout: !!o || s && Uu(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -6182,46 +6233,46 @@ function Vu(e, t, n, r) {
layoutAnchor: u
});
}
-function Hu(e) {
- if (e) return e.options.allowProjection === !1 ? Hu(e.parent) : e.projection;
+function Ku(e) {
+ if (e) return e.options.allowProjection === !1 ? Ku(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function Uu(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && su(r);
- let a = n ? n === "svg" : ku(e), o = a ? Fu : Pu;
+function qu(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && du(r);
+ let a = n ? n === "svg" : Nu(e), o = a ? zu : Ru;
function s(n, s) {
let c, l = {
- ...(0, E.useContext)(eu),
+ ...(0, D.useContext)(iu),
...n,
- layoutId: Wu(n)
- }, { isStatic: u } = l, d = yu(n), f = o(n, u);
+ layoutId: Ju(n)
+ }, { isStatic: u } = l, d = Cu(n), f = o(n, u);
if (!u && typeof window < "u") {
- Gu(l, r);
- let t = Ku(l);
- c = t.MeasureLayout, d.visualElement = Bu(e, f, l, i, t.ProjectionNode, a);
+ Yu(l, r);
+ let t = Xu(l);
+ c = t.MeasureLayout, d.visualElement = Wu(e, f, l, i, t.ProjectionNode, a);
}
- return (0, D.jsxs)(_u.Provider, {
+ return (0, O.jsxs)(xu.Provider, {
value: d,
- children: [c && d.visualElement ? (0, D.jsx)(c, {
+ children: [c && d.visualElement ? (0, O.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, Au(e, n, Lu(f, d.visualElement, s), f, u, t, a)]
+ }) : null, Pu(e, n, Vu(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
- let c = (0, E.forwardRef)(s);
- return c[Iu] = e, c;
+ let c = (0, D.forwardRef)(s);
+ return c[Bu] = e, c;
}
-function Wu({ layoutId: e }) {
- let t = (0, E.useContext)(mt).id;
+function Ju({ layoutId: e }) {
+ let t = (0, D.useContext)(vt).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Gu(e, t) {
- (0, E.useContext)(nu).strict;
+function Yu(e, t) {
+ (0, D.useContext)(ou).strict;
}
-function Ku(e) {
- let { drag: t, layout: n } = ou();
+function Xu(e) {
+ let { drag: t, layout: n } = uu();
if (!t && !n) return {};
let r = {
...t,
@@ -6234,20 +6285,20 @@ function Ku(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function qu(e, t) {
- if (typeof Proxy > "u") return Uu;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => Uu(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Uu(a, void 0, e, t)), n.get(a)) });
+function Zu(e, t) {
+ if (typeof Proxy > "u") return qu;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => qu(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, qu(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var Ju = (e, t) => t.isSVG ?? ku(e) ? new mc(t) : new ic(t, { allowProjection: e !== E.Fragment }), Yu = class extends ws {
+var Qu = (e, t) => t.isSVG ?? Nu(e) ? new vc(t) : new cc(t, { allowProjection: e !== D.Fragment }), $u = class extends Os {
constructor(e) {
- super(e), e.animationState ||= xc(e);
+ super(e), e.animationState ||= Tc(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- ss(e) && (this.unmountControls = e.subscribe(this.node));
+ ds(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -6259,11 +6310,11 @@ var Ju = (e, t) => t.isSVG ?? ku(e) ? new mc(t) : new ic(t, { allowProjection: e
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Xu = 0, Zu = {
- animation: { Feature: Yu },
- exit: { Feature: class extends ws {
+}, ed = 0, td = {
+ animation: { Feature: $u },
+ exit: { Feature: class extends Os {
constructor() {
- super(...arguments), this.id = Xu++, this.isExitComplete = !1;
+ super(...arguments), this.id = ed++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -6273,7 +6324,7 @@ var Ju = (e, t) => t.isSVG ?? ku(e) ? new mc(t) : new ic(t, { allowProjection: e
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = Ta(this.node, e, t);
+ let n = ka(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -6298,28 +6349,28 @@ var Ju = (e, t) => t.isSVG ?? ku(e) ? new mc(t) : new ic(t, { allowProjection: e
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function Qu(e) {
+function nd(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var $u = (e) => (t) => xo(t) && e(t, Qu(t));
+var rd = (e) => (t) => To(t) && e(t, nd(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function ed(e, t, n, r) {
- return dl(e, t, $u(n), r);
+function id(e, t, n, r) {
+ return hl(e, t, rd(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var td = ({ current: e }) => e ? e.ownerDocument.defaultView : null, nd = (e, t) => Math.abs(e - t);
-function rd(e, t) {
- let n = nd(e.x, t.x), r = nd(e.y, t.y);
+var ad = ({ current: e }) => e ? e.ownerDocument.defaultView : null, od = (e, t) => Math.abs(e - t);
+function sd(e, t) {
+ let n = od(e.x, t.x), r = od(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
-var id = /*#__PURE__*/ new Set(["auto", "scroll"]), ad = class {
+var cd = /*#__PURE__*/ new Set(["auto", "scroll"]), ld = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -6327,13 +6378,13 @@ var id = /*#__PURE__*/ new Set(["auto", "scroll"]), ad = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = od(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = cd(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = rd(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = ud(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = fd(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = sd(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
if (!t && !n) return;
- let { point: r } = e, { timestamp: i } = cn;
+ let { point: r } = e, { timestamp: i } = fn;
this.history.push({
...r,
timestamp: i
@@ -6341,33 +6392,33 @@ var id = /*#__PURE__*/ new Set(["auto", "scroll"]), ad = class {
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = od(t, this.transformPagePoint), on.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = ud(t, this.transformPagePoint), un.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = cd(e.type === "pointercancel" ? this.lastMoveEventInfo : od(t, this.transformPagePoint), this.history);
+ let a = fd(e.type === "pointercancel" ? this.lastMoveEventInfo : ud(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !xo(e)) return;
+ }, !To(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = od(Qu(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = cn;
+ let s = ud(nd(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = fn;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, cd(s, this.history));
+ u && u(e, fd(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = Dt(ed(this.contextWindow, "pointermove", this.handlePointerMove, d), ed(this.contextWindow, "pointerup", this.handlePointerUp, d), ed(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = jt(id(this.contextWindow, "pointermove", this.handlePointerMove, d), id(this.contextWindow, "pointerup", this.handlePointerUp, d), id(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (id.has(e.overflowX) || id.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (cd.has(e.overflowX) || cd.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -6392,51 +6443,51 @@ var id = /*#__PURE__*/ new Set(["auto", "scroll"]), ad = class {
x: r.x - t.x,
y: r.y - t.y
};
- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), on.update(this.updatePoint, !0));
+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), un.update(this.updatePoint, !0));
}
updateHandlers(e) {
this.handlers = e;
}
end() {
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), sn(this.updatePoint);
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), dn(this.updatePoint);
}
};
-function od(e, t) {
+function ud(e, t) {
return t ? { point: t(e.point) } : e;
}
-function sd(e, t) {
+function dd(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function cd({ point: e }, t) {
+function fd({ point: e }, t) {
return {
point: e,
- delta: sd(e, ud(t)),
- offset: sd(e, ld(t)),
- velocity: dd(t, .1)
+ delta: dd(e, md(t)),
+ offset: dd(e, pd(t)),
+ velocity: hd(t, .1)
};
}
-function ld(e) {
+function pd(e) {
return e[0];
}
-function ud(e) {
+function md(e) {
return e[e.length - 1];
}
-function dd(e, t) {
+function hd(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = ud(e);
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ At(t)));) n--;
+ let n = e.length - 1, r = null, i = md(e);
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Pt(t)));) n--;
if (!r) return {
x: 0,
y: 0
};
- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ At(t) * 2 && (r = e[1]);
- let a = /* @__PURE__ */ jt(i.timestamp - r.timestamp);
+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Pt(t) * 2 && (r = e[1]);
+ let a = /* @__PURE__ */ Ft(i.timestamp - r.timestamp);
if (a === 0) return {
x: 0,
y: 0
@@ -6449,86 +6500,86 @@ function dd(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function fd(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? or(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? or(n, e, r.max) : Math.min(e, n)), e;
+function gd(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? ur(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? ur(n, e, r.max) : Math.min(e, n)), e;
}
-function pd(e, t, n) {
+function _d(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function md(e, { top: t, left: n, bottom: r, right: i }) {
+function vd(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: pd(e.x, n, i),
- y: pd(e.y, t, r)
+ x: _d(e.x, n, i),
+ y: _d(e.y, t, r)
};
}
-function hd(e, t) {
+function yd(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function gd(e, t) {
+function bd(e, t) {
return {
- x: hd(e.x, t.x),
- y: hd(e.y, t.y)
+ x: yd(e.x, t.x),
+ y: yd(e.y, t.y)
};
}
-function _d(e, t) {
- let n = .5, r = Mc(e), i = Mc(t);
- return i > r ? n = /* @__PURE__ */ Ot(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Ot(e.min, e.max - i, t.min)), bt(0, 1, n);
+function xd(e, t) {
+ let n = .5, r = Ic(e), i = Ic(t);
+ return i > r ? n = /* @__PURE__ */ Mt(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Mt(e.min, e.max - i, t.min)), wt(0, 1, n);
}
-function vd(e, t) {
+function Sd(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var yd = .35;
-function bd(e = yd) {
- return e === !1 ? e = 0 : e === !0 && (e = yd), {
- x: xd(e, "left", "right"),
- y: xd(e, "top", "bottom")
+var Cd = .35;
+function wd(e = Cd) {
+ return e === !1 ? e = 0 : e === !0 && (e = Cd), {
+ x: Td(e, "left", "right"),
+ y: Td(e, "top", "bottom")
};
}
-function xd(e, t, n) {
+function Td(e, t, n) {
return {
- min: Sd(e, t),
- max: Sd(e, n)
+ min: Ed(e, t),
+ max: Ed(e, n)
};
}
-function Sd(e, t) {
+function Ed(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
+var Dd = /* @__PURE__ */ new WeakMap(), Od = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = as(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = ls(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
if (r && r.isPresent === !1) return;
let i = (e) => {
- t && this.snapToCursor(Qu(e).point), this.stopAnimation();
+ t && this.snapToCursor(nd(e).point), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = go(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), el((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = bo(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), il((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (Fn.test(t)) {
+ if (zn.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = Mc(r) * (parseFloat(t) / 100));
+ r && (t = Ic(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && on.update(() => i(e, t), !1, !0), Na(this.visualElement, "transform");
+ }), i && un.update(() => i(e, t), !1, !0), La(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -6537,10 +6588,10 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = Od(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = Md(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && on.update(() => a(e, t), !1, !0);
+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && un.update(() => a(e, t), !1, !0);
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -6550,7 +6601,7 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new ad(e, {
+ this.panSession = new ld(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -6560,7 +6611,7 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: td(this.visualElement),
+ contextWindow: ad(this.visualElement),
element: this.visualElement.current
});
}
@@ -6570,7 +6621,7 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
let { velocity: a } = r;
this.startAnimation(a);
let { onDragEnd: o } = this.getProps();
- o && on.postRender(() => o(n, r));
+ o && un.postRender(() => o(n, r));
}
cancel() {
this.isDragging = !1;
@@ -6584,32 +6635,32 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !Dd(e, r, this.currentDirection)) return;
+ if (!n || !jd(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = fd(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = gd(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && zu(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? md(n.layoutBox, e) : !1, this.elastic = bd(t), r !== this.constraints && !zu(e) && n && this.constraints && !this.hasMutatedConstraints && el((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = vd(n.layoutBox[e], this.constraints[e]));
+ e && Uu(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? vd(n.layoutBox, e) : !1, this.elastic = wd(t), r !== this.constraints && !Uu(e) && n && this.constraints && !this.hasMutatedConstraints && il((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Sd(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !zu(e)) return !1;
+ if (!e || !Uu(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = Gs(n, r.root, this.visualElement.getTransformPagePoint()), a = gd(r.layout.layoutBox, i);
+ let i = Ys(n, r.root, this.visualElement.getTransformPagePoint()), a = bd(r.layout.layoutBox, i);
if (t) {
- let e = t(Es(a));
- this.hasMutatedConstraints = !!e, e && (a = Ts(e));
+ let e = t(As(a));
+ this.hasMutatedConstraints = !!e, e && (a = ks(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = el((o) => {
- if (!Dd(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = il((o) => {
+ if (!jd(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -6632,65 +6683,65 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return Na(this.visualElement, e), n.start(ya(e, n, 0, t, this.visualElement, !1));
+ return La(this.visualElement, e), n.start(Ca(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- el((e) => this.getAxisMotionValue(e).stop());
+ il((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- el((t) => {
+ il((t) => {
let { drag: n } = this.getProps();
- if (!Dd(t, n, this.currentDirection)) return;
+ if (!jd(t, n, this.currentDirection)) return;
let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
if (r && r.layout) {
let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
- i.set(e[t] - or(n, a, .5) + o);
+ i.set(e[t] - ur(n, a, .5) + o);
}
});
}
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!zu(t) || !n || !this.constraints) return;
+ if (!Uu(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = {
x: 0,
y: 0
};
- el((e) => {
+ il((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = _d({
+ r[e] = xd({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), el((t) => {
- if (!Dd(t, e, null)) return;
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), il((t) => {
+ if (!jd(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
- n.set(or(i, a, r[t]));
+ n.set(ur(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- Cd.set(this.visualElement, this);
- let e = this.visualElement.current, t = ed(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && To(i);
+ Dd.set(this.visualElement, this);
+ let e = this.visualElement.current, t = id(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && ko(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- zu(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Ed(e, t.current, () => this.scalePositionWithinConstraints()));
+ Uu(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Ad(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), on.read(r);
- let o = dl(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (el((t) => {
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), un.read(r);
+ let o = hl(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (il((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -6700,7 +6751,7 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = yd, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Cd, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -6712,7 +6763,7 @@ var Cd = /* @__PURE__ */ new WeakMap(), wd = class {
};
}
};
-function Td(e) {
+function kd(e) {
let t = !0;
return () => {
if (t) {
@@ -6722,28 +6773,28 @@ function Td(e) {
e();
};
}
-function Ed(e, t, n) {
- let r = qo(e, Td(n)), i = qo(t, Td(n));
+function Ad(e, t, n) {
+ let r = Zo(e, kd(n)), i = Zo(t, kd(n));
return () => {
r(), i();
};
}
-function Dd(e, t, n) {
+function jd(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Od(e, t = 10) {
+function Md(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var kd = class extends ws {
+var Nd = class extends Os {
constructor(e) {
- super(e), this.removeGroupControls = Et, this.removeListeners = Et, this.controls = new wd(e);
+ super(e), this.removeGroupControls = At, this.removeListeners = At, this.controls = new Od(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Et;
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || At;
}
update() {
let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -6752,31 +6803,31 @@ var kd = class extends ws {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Ad = (e) => (t, n) => {
- e && on.update(() => e(t, n), !1, !0);
-}, jd = class extends ws {
+}, Pd = (e) => (t, n) => {
+ e && un.update(() => e(t, n), !1, !0);
+}, Fd = class extends Os {
constructor() {
- super(...arguments), this.removePointerDownListener = Et;
+ super(...arguments), this.removePointerDownListener = At;
}
onPointerDown(e) {
- this.session = new ad(e, this.createPanHandlers(), {
+ this.session = new ld(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: td(this.node)
+ contextWindow: ad(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: Ad(e),
- onStart: Ad(t),
- onMove: Ad(n),
+ onSessionStart: Pd(e),
+ onStart: Pd(t),
+ onMove: Pd(n),
onEnd: (e, t) => {
- delete this.session, r && on.postRender(() => r(e, t));
+ delete this.session, r && un.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = ed(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = id(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -6784,36 +6835,36 @@ var kd = class extends ws {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, Md = !1, Nd = class extends E.Component {
+}, Id = !1, Ld = class extends D.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Md && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), Id && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), _l.hasEverUpdated = !0;
+ })), xl.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a ? (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), Md = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || on.postRender(() => {
+ }), Id = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || un.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
})), null) : null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), fo.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), go.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- Md = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ Id = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -6823,41 +6874,41 @@ var kd = class extends ws {
return null;
}
};
-function Pd(e) {
- let [t, n] = tu(), r = (0, E.useContext)(mt);
- return (0, D.jsx)(Nd, {
+function Rd(e) {
+ let [t, n] = au(), r = (0, D.useContext)(vt);
+ return (0, O.jsx)(Ld, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, E.useContext)(Ru),
+ switchLayoutGroup: (0, D.useContext)(Hu),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Fd = {
- pan: { Feature: jd },
+var zd = {
+ pan: { Feature: Fd },
drag: {
- Feature: kd,
- ProjectionNode: $l,
- MeasureLayout: Pd
+ Feature: Nd,
+ ProjectionNode: ru,
+ MeasureLayout: Rd
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function Id(e, t, n) {
+function Bd(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && on.postRender(() => i(t, Qu(t)));
+ i && un.postRender(() => i(t, nd(t)));
}
-var Ld = class extends ws {
+var Vd = class extends Os {
mount() {
let { current: e } = this.node;
- e && (this.unmount = yo(e, (e, t) => (Id(this.node, t, "Start"), (e) => Id(this.node, e, "End"))));
+ e && (this.unmount = Co(e, (e, t) => (Bd(this.node, t, "Start"), (e) => Bd(this.node, e, "End"))));
}
unmount() {}
-}, Rd = class extends ws {
+}, Hd = class extends Os {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -6874,57 +6925,57 @@ var Ld = class extends ws {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Dt(dl(this.node.current, "focus", () => this.onFocus()), dl(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = jt(hl(this.node.current, "focus", () => this.onFocus()), hl(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function zd(e, t, n) {
+function Ud(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && on.postRender(() => i(t, Qu(t)));
+ i && un.postRender(() => i(t, nd(t)));
}
-var Bd = class extends ws {
+var Wd = class extends Os {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Mo(e, (e, t) => (zd(this.node, t, "Start"), (e, { success: t }) => zd(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = Io(e, (e, t) => (Ud(this.node, t, "Start"), (e, { success: t }) => Ud(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, Vd = /* @__PURE__ */ new WeakMap(), Hd = /* @__PURE__ */ new WeakMap(), Ud = (e) => {
- let t = Vd.get(e.target);
+}, Gd = /* @__PURE__ */ new WeakMap(), Kd = /* @__PURE__ */ new WeakMap(), qd = (e) => {
+ let t = Gd.get(e.target);
t && t(e);
-}, Wd = (e) => {
- e.forEach(Ud);
+}, Jd = (e) => {
+ e.forEach(qd);
};
-function Gd({ root: e, ...t }) {
+function Yd({ root: e, ...t }) {
let n = e || document;
- Hd.has(n) || Hd.set(n, {});
- let r = Hd.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Wd, {
+ Kd.has(n) || Kd.set(n, {});
+ let r = Kd.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(Jd, {
root: e,
...t
})), r[i];
}
-function Kd(e, t, n) {
- let r = Gd(t);
- return Vd.set(e, n), r.observe(e), () => {
- Vd.delete(e), r.unobserve(e);
+function Xd(e, t, n) {
+ let r = Yd(t);
+ return Gd.set(e, n), r.observe(e), () => {
+ Gd.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var qd = {
+var Zd = {
some: 0,
all: 1
-}, Jd = class extends ws {
+}, Qd = class extends Os {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -6933,7 +6984,7 @@ var qd = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : qd[r]
+ threshold: typeof r == "number" ? r : Zd[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -6941,7 +6992,7 @@ var qd = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Kd(this.node.current, a, o);
+ this.stopObserver = Xd(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -6953,35 +7004,35 @@ var qd = {
"amount",
"margin",
"root"
- ].some(Yd(e, t)) && this.startObserver();
+ ].some($d(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Yd({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function $d({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var Xd = {
- inView: { Feature: Jd },
- tap: { Feature: Bd },
- focus: { Feature: Rd },
- hover: { Feature: Ld }
-}, Zd = { layout: {
- ProjectionNode: $l,
- MeasureLayout: Pd
-} }, Qd = /*@__PURE__*/ qu({
- ...Zu,
- ...Xd,
- ...Fd,
- ...Zd
-}, Ju);
+var ef = {
+ inView: { Feature: Qd },
+ tap: { Feature: Wd },
+ focus: { Feature: Hd },
+ hover: { Feature: Vd }
+}, tf = { layout: {
+ ProjectionNode: ru,
+ MeasureLayout: Rd
+} }, nf = /*@__PURE__*/ Zu({
+ ...td,
+ ...ef,
+ ...zd,
+ ...tf
+}, Qu);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function $d(e, t, n) {
- (0, E.useInsertionEffect)(() => e.on(t, n), [
+function rf(e, t, n) {
+ (0, D.useInsertionEffect)(() => e.on(t, n), [
e,
t,
n
@@ -6989,38 +7040,38 @@ function $d(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function ef(e) {
- let t = ht(() => la(e)), { isStatic: n } = (0, E.useContext)(eu);
+function af(e) {
+ let t = yt(() => pa(e)), { isStatic: n } = (0, D.useContext)(iu);
if (n) {
- let [, n] = (0, E.useState)(e);
- (0, E.useEffect)(() => t.on("change", n), []);
+ let [, n] = (0, D.useState)(e);
+ (0, D.useEffect)(() => t.on("change", n), []);
}
return t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function tf(e, t) {
- let n = ef(t()), r = () => n.set(t());
- return r(), gt(() => {
- let t = () => on.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
+function of(e, t) {
+ let n = af(t()), r = () => n.set(t());
+ return r(), bt(() => {
+ let t = () => un.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
- n.forEach((e) => e()), sn(r);
+ n.forEach((e) => e()), dn(r);
};
}), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function nf(e) {
- sa.current = [], e();
- let t = tf(sa.current, e);
- return sa.current = void 0, t;
+function sf(e) {
+ da.current = [], e();
+ let t = of(da.current, e);
+ return da.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function rf(e, t, n, r) {
- if (typeof e == "function") return nf(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return of(e, t, n, r);
- let i = typeof t == "function" ? t : Xo(t, n, r), a = Array.isArray(e) ? af(e, i) : af([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function cf(e, t, n, r) {
+ if (typeof e == "function") return sf(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return uf(e, t, n, r);
+ let i = typeof t == "function" ? t : es(t, n, r), a = Array.isArray(e) ? lf(e, i) : lf([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -7029,46 +7080,46 @@ function rf(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function af(e, t) {
- let n = ht(() => []);
- return tf(e, () => {
+function lf(e, t) {
+ let n = yt(() => []);
+ return of(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function of(e, t, n, r) {
- let i = ht(() => Object.keys(n)), a = ht(() => ({}));
- for (let o of i) a[o] = rf(e, t, n[o], r);
+function uf(e, t, n, r) {
+ let i = yt(() => Object.keys(n)), a = yt(() => ({}));
+ for (let o of i) a[o] = cf(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function sf(e, t = {}) {
- let { isStatic: n } = (0, E.useContext)(eu), r = () => ja(e) ? e.get() : e;
- if (n) return rf(r);
- let i = ef(r());
- return (0, E.useInsertionEffect)(() => Zo(i, e, t), [i, JSON.stringify(t)]), i;
+function df(e, t = {}) {
+ let { isStatic: n } = (0, D.useContext)(iu), r = () => Fa(e) ? e.get() : e;
+ if (n) return cf(r);
+ let i = af(r());
+ return (0, D.useInsertionEffect)(() => ts(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function cf(e, t = {}) {
- return sf(e, {
+function ff(e, t = {}) {
+ return df(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function lf() {
- !hs.current && _s();
- let [e] = (0, E.useState)(ms.current);
+function pf() {
+ !ys.current && xs();
+ let [e] = (0, D.useState)(vs.current);
return e;
}
//#endregion
//#region node_modules/motion/dist/es/react.mjs
-var uf = Qd, df = class {
+var mf = nf, hf = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -7083,22 +7134,22 @@ var uf = Qd, df = class {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, ff = class extends df {
+}, gf = class extends hf {
filter(e, t, n) {
- let [r, i] = gf(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = bf(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends df {
+(class extends hf {
static {
this.type = "header";
}
});
-var pf = class extends df {
+var _f = class extends hf {
static {
this.type = "loader";
}
-}, mf = class extends ff {
+}, vf = class extends gf {
static {
this.type = "item";
}
@@ -7110,7 +7161,7 @@ var pf = class extends df {
return null;
}
};
-(class extends ff {
+(class extends gf {
static {
this.type = "section";
}
@@ -7123,7 +7174,7 @@ var pf = class extends df {
return null;
}
});
-var hf = class {
+var yf = class {
get size() {
return this.itemCount;
}
@@ -7198,14 +7249,14 @@ var hf = class {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = gf(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = bf(this, t, this.firstKey, e);
return t?.commit(n, r), t;
}
constructor() {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
}
};
-function gf(e, t, n, r) {
+function bf(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -7220,7 +7271,7 @@ function gf(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var _f = class {
+var xf = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -7301,7 +7352,7 @@ var _f = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, vf = class e extends _f {
+}, Sf = class e extends xf {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -7352,7 +7403,7 @@ var _f = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, yf = class extends _f {
+}, Cf = class extends xf {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -7360,7 +7411,7 @@ var _f = class {
return !0;
}
createElement(e) {
- return new vf(e, this);
+ return new Sf(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -7382,8 +7433,8 @@ var _f = class {
return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof vf && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof vf ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof Sf && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof Sf ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -7402,19 +7453,19 @@ var _f = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function bf(e) {
- let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, E.useMemo)(() => void 0, [t]), s = (0, E.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
- return (0, E.useMemo)(() => {
+function wf(e) {
+ let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, D.useMemo)(() => void 0, [t]), s = (0, D.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
+ return (0, D.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = xf(a) ? a : null, o = n ? s.get(n) : null;
+ let n = Tf(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
r != null && o.props.id == null && c != null && (c = r + ":" + c);
let l = c ?? e.length;
- o = (0, E.cloneElement)(o, i ? {
+ o = (0, D.cloneElement)(o, i ? {
key: l,
id: c,
value: a
@@ -7433,7 +7484,7 @@ function bf(e) {
i
]);
}
-function xf(e) {
+function Tf(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -7443,26 +7494,26 @@ function xf(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function Sf(e) {
- if (wf()) e.focus({ preventScroll: !0 });
+function Ef(e) {
+ if (Of()) e.focus({ preventScroll: !0 });
else {
- let t = Tf(e);
- e.focus(), Ef(t);
+ let t = kf(e);
+ e.focus(), Af(t);
}
}
-var Cf = null;
-function wf() {
- if (Cf == null) {
- Cf = !1;
+var Df = null;
+function Of() {
+ if (Df == null) {
+ Df = !1;
try {
document.createElement("div").focus({ get preventScroll() {
- return Cf = !0, !0;
+ return Df = !0, !0;
} });
} catch {}
}
- return Cf;
+ return Df;
}
-function Tf(e) {
+function kf(e) {
let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
element: t,
@@ -7475,25 +7526,25 @@ function Tf(e) {
scrollLeft: r.scrollLeft
}), n;
}
-function Ef(e) {
+function Af(e) {
for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Df = (e) => Af(e) ? e.document : jf(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Of = (e) => Df(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function kf(e) {
+var jf = (e) => Pf(e) ? e.document : Ff(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Mf = (e) => jf(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function Nf(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function Af(e) {
+function Pf(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function jf(e) {
- return kf(e) && e.nodeType === 9;
+function Ff(e) {
+ return Nf(e) && e.nodeType === 9;
}
-function Mf(e) {
- return kf(e) && e.nodeType === 11 && "host" in e;
+function If(e) {
+ return Nf(e) && e.nodeType === 11 && "host" in e;
}
-function Nf(e, t, n, r) {
+function Lf(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -7501,7 +7552,7 @@ function Nf(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function Pf(e, t, n, r) {
+function Rf(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -7516,73 +7567,73 @@ function Pf(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var Ff = !1;
-function If() {
- return Ff;
+var zf = !1;
+function Bf() {
+ return zf;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function Lf(e, t) {
- if (!If()) return t && e ? e.contains(t) : !1;
+function Vf(e, t) {
+ if (!Bf()) return t && e ? e.contains(t) : !1;
if (!e || !t) return !1;
let n = t;
for (; n !== null;) {
if (n === e) return !0;
- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Mf(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : If(n) ? n.host : n.parentNode;
}
return !1;
}
-var Rf = (e = document) => {
- if (!If()) return e.activeElement;
+var Hf = (e = document) => {
+ if (!Bf()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
-function B(e) {
- if (If() && e.target instanceof Element && e.target.shadowRoot) {
+function V(e) {
+ if (Bf() && e.target instanceof Element && e.target.shadowRoot) {
if ("composedPath" in e) return e.composedPath()[0] ?? null;
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
}
return e.target;
}
-function zf(e, t) {
+function Uf(e, t) {
if (t === null) return [];
- t ??= Of(e);
+ t ??= Mf(e);
let n = [t];
- if (!If() || !e || e === t) return n;
+ if (!Bf() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; Mf(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; If(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function Bf(e) {
+function Wf(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Of(e);
+ let t = e.getRootNode(), n = Mf(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var Vf = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function Hf(e) {
- let t = Of(e);
+var Gf = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function Kf(e) {
+ let t = Mf(e);
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
if (i) {
- let { getComputedStyle: t } = Of(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = Mf(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function Uf(e, t) {
+function qf(e, t) {
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
}
-function Wf(e, t) {
- return Vf ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Hf(e) && Uf(e, t) && (!e.parentElement || Wf(e.parentElement, e));
+function Jf(e, t) {
+ return Gf ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Kf(e) && qf(e, t) && (!e.parentElement || Jf(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var Gf = [
+var Yf = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -7597,60 +7648,60 @@ var Gf = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], Kf = Gf.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-Gf.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var qf = Gf.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function Jf(e, t) {
- return e.matches(Kf) && !Xf(e) && (t?.skipVisibilityCheck || Wf(e));
+], Xf = Yf.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+Yf.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var Zf = Yf.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function Qf(e, t) {
+ return e.matches(Xf) && !ep(e) && (t?.skipVisibilityCheck || Jf(e));
}
-function Yf(e) {
- return e.matches(qf) && Wf(e) && !Xf(e);
+function $f(e) {
+ return e.matches(Zf) && Jf(e) && !ep(e);
}
-function Xf(e) {
+function ep(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Of(t).HTMLElement && t.inert) return !0;
+ if (t instanceof Mf(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var V = typeof document < "u" ? E.useLayoutEffect : () => {};
+var tp = typeof document < "u" ? D.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function Zf(e) {
+function np(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function Qf(e, t) {
+function rp(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function $f(e) {
- let t = (0, E.useRef)({
+function ip(e) {
+ let t = (0, D.useRef)({
isFocused: !1,
observer: null
});
- return V(() => {
+ return tp(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
};
- }, []), (0, E.useCallback)((n) => {
- let r = B(n);
+ }, []), (0, D.useCallback)((n) => {
+ let r = V(n);
if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {
t.current.isFocused = !0;
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = Zf(r);
+ let t = np(r);
e?.(t);
}
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === Rf() ? null : Rf();
+ let e = n === Hf() ? null : Hf();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -7663,83 +7714,83 @@ function $f(e) {
}
}, [e]);
}
-var ep = !1;
-function tp(e) {
- for (; e && !Jf(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = Rf(Of(e).document);
+var ap = !1;
+function op(e) {
+ for (; e && !Qf(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = Hf(Mf(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && Mf(n) ? n : Of(e), i = (t) => t === e || t != null && Lf(e, t), a = (e) => e === t || t != null && e != null && Lf(t, e);
- ep = !0;
+ let n = e?.getRootNode(), r = n != null && If(n) ? n : Mf(e), i = (t) => t === e || t != null && Vf(e, t), a = (e) => e === t || t != null && e != null && Vf(t, e);
+ ap = !0;
let o = !1, s = (e) => {
- (a(B(e)) || o) && e.stopImmediatePropagation();
+ (a(V(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(B(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Sf(t), d()));
+ (a(V(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ef(t), d()));
}, l = (e) => {
- (i(B(e)) || o) && e.stopImmediatePropagation();
+ (i(V(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(B(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Sf(t), d()));
+ (i(V(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ef(t), d()));
};
r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);
let d = () => {
- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), ep = !1, o = !1;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), ap = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function np(e) {
+function sp(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function rp(e) {
+function cp(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function ip(e) {
+function lp(e) {
let t = null;
return () => (t ??= e(), t);
}
-var ap = ip(function() {
- return rp(/^Mac/i);
-}), op = ip(function() {
- return rp(/^iPhone/i);
-}), sp = ip(function() {
- return rp(/^iPad/i) || ap() && navigator.maxTouchPoints > 1;
-}), cp = ip(function() {
- return op() || sp();
-}), lp = ip(function() {
- return ap() || cp();
-}), up = ip(function() {
- return np(/AppleWebKit/i) && (cp() || !dp());
-}), dp = ip(function() {
- return np(/Chrome|CriOS|CrMo/i);
-}), fp = ip(function() {
- return np(/Android/i);
-}), pp = ip(function() {
- return np(/(Firefox|FxiOS)/i);
+var up = lp(function() {
+ return cp(/^Mac/i);
+}), dp = lp(function() {
+ return cp(/^iPhone/i);
+}), fp = lp(function() {
+ return cp(/^iPad/i) || up() && navigator.maxTouchPoints > 1;
+}), pp = lp(function() {
+ return dp() || fp();
+}), mp = lp(function() {
+ return up() || pp();
+}), hp = lp(function() {
+ return sp(/AppleWebKit/i) && (pp() || !gp());
+}), gp = lp(function() {
+ return sp(/Chrome|CriOS|CrMo/i);
+}), _p = lp(function() {
+ return sp(/Android/i);
+}), vp = lp(function() {
+ return sp(/(Firefox|FxiOS)/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function mp(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : fp() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function yp(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : _p() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function hp(e) {
- return !fp() && e.width === 0 && e.height === 0 || fp() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function bp(e) {
+ return !_p() && e.width === 0 && e.height === 0 || _p() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/openLink.mjs
-var gp = /*#__PURE__*/ (0, E.createContext)({
+var xp = /*#__PURE__*/ (0, D.createContext)({
isNative: !0,
- open: bp,
+ open: Tp,
useHref: (e) => e
});
-function _p() {
- return (0, E.useContext)(gp);
+function Sp() {
+ return (0, D.useContext)(xp);
}
-function vp(e, t, n = !0) {
+function Cp(e, t, n = !0) {
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
- !up() && pp() && window.event?.type?.startsWith("key") && e.target === "_blank" && (ap() ? r = !0 : i = !0);
- let s = up() && ap() && !sp() ? new KeyboardEvent("keydown", {
+ !hp() && vp() && window.event?.type?.startsWith("key") && e.target === "_blank" && (up() ? r = !0 : i = !0);
+ let s = hp() && up() && !fp() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -7754,21 +7805,21 @@ function vp(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- vp.isOpening = n, Sf(e), e.dispatchEvent(s), vp.isOpening = !1;
+ Cp.isOpening = n, Ef(e), e.dispatchEvent(s), Cp.isOpening = !1;
}
-vp.isOpening = !1;
-function yp(e, t) {
+Cp.isOpening = !1;
+function wp(e, t) {
if (e instanceof HTMLAnchorElement) t(e);
else if (e.hasAttribute("data-href")) {
let n = document.createElement("a");
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
}
}
-function bp(e, t) {
- yp(e, (e) => vp(e, t));
+function Tp(e, t) {
+ wp(e, (e) => Cp(e, t));
}
-function xp(e) {
- let t = _p().useHref(e.href ?? "");
+function Ep(e) {
+ let t = Sp().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -7778,8 +7829,8 @@ function xp(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function Sp(e) {
- let t = _p().useHref(e?.href ?? ""), n = {};
+function Dp(e) {
+ let t = Sp().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -7792,133 +7843,133 @@ function Sp(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var Cp = {
+var Op = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, wp = /*#__PURE__*/ E.createContext(Cp), Tp = /*#__PURE__*/ E.createContext(!1);
+}, kp = /*#__PURE__*/ D.createContext(Op), Ap = /*#__PURE__*/ D.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var Ep = /* @__PURE__ */ new WeakMap();
-function Dp(e = !1) {
- let t = (0, E.useContext)(wp), n = (0, E.useRef)(null);
+var jp = /* @__PURE__ */ new WeakMap();
+function Mp(e = !1) {
+ let t = (0, D.useContext)(kp), n = (0, D.useRef)(null);
if (n.current === null && !e) {
- let e = E.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
+ let e = D.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = Ep.get(e);
- n == null ? Ep.set(e, {
+ let n = jp.get(e);
+ n == null ? jp.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, Ep.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, jp.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Op(e) {
- let t = (0, E.useContext)(wp), n = Dp(!!e), r = `react-aria${t.prefix}`;
+function Np(e) {
+ let t = (0, D.useContext)(kp), n = Mp(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function kp(e) {
- let t = E.useId(), [n] = (0, E.useState)(Pp()), r = n ? "react-aria" : `react-aria${Cp.prefix}`;
+function Pp(e) {
+ let t = D.useId(), [n] = (0, D.useState)(zp()), r = n ? "react-aria" : `react-aria${Op.prefix}`;
return e || `${r}-${t}`;
}
-var Ap = typeof E.useId == "function" ? kp : Op;
-function jp() {
+var Fp = typeof D.useId == "function" ? Pp : Np;
+function Ip() {
return !1;
}
-function Mp() {
+function Lp() {
return !0;
}
-function Np(e) {
+function Rp(e) {
return () => {};
}
-function Pp() {
- return typeof E.useSyncExternalStore == "function" ? E.useSyncExternalStore(Np, jp, Mp) : (0, E.useContext)(Tp);
+function zp() {
+ return typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore(Rp, Ip, Lp) : (0, D.useContext)(Ap);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var Fp = null, Ip = /* @__PURE__ */ new Set(), Lp = /* @__PURE__ */ new Map(), Rp = !1, zp = !1, Bp = {
+var Bp = null, Vp = /* @__PURE__ */ new Set(), Hp = /* @__PURE__ */ new Map(), Up = !1, Wp = !1, Gp = {
Tab: !0,
Escape: !0
};
-function Vp(e, t) {
- for (let n of Ip) n(e, t);
+function Kp(e, t) {
+ for (let n of Vp) n(e, t);
}
-function Hp(e) {
- return !(e.metaKey || !ap() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function qp(e) {
+ return !(e.metaKey || !up() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function Up(e) {
- Rp = !0, !vp.isOpening && Hp(e) && (Fp = "keyboard", Vp("keyboard", e));
+function Jp(e) {
+ Up = !0, !Cp.isOpening && qp(e) && (Bp = "keyboard", Kp("keyboard", e));
}
-function Wp(e) {
- Fp = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Rp = !0, Vp("pointer", e));
+function Yp(e) {
+ Bp = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Up = !0, Kp("pointer", e));
}
-function Gp(e) {
- !vp.isOpening && mp(e) && (Rp = !0, Fp = "virtual");
+function Xp(e) {
+ !Cp.isOpening && yp(e) && (Up = !0, Bp = "virtual");
}
-function Kp(e) {
- if (ep) return;
- let t = B(e), n = Of(t), r = Df(t);
+function Zp(e) {
+ if (ap) return;
+ let t = V(e), n = Mf(t), r = jf(t);
if (t === n) {
- zp = !0;
+ Wp = !0;
return;
}
- t === r || !e.isTrusted || (!Rp && !zp && (Fp = "virtual", Vp("virtual", e)), Rp = !1, zp = !1);
+ t === r || !e.isTrusted || (!Up && !Wp && (Bp = "virtual", Kp("virtual", e)), Up = !1, Wp = !1);
}
-function qp() {
- ep || (Rp = !1, zp = !0);
+function Qp() {
+ ap || (Up = !1, Wp = !0);
}
-function Jp(e) {
+function $p(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Of(e), n = Df(e);
- if (Lp.get(t)) return;
+ let t = Mf(e), n = jf(e);
+ if (Hp.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- Rp = !0, r.apply(this, arguments);
+ Up = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", Up, !0), n.addEventListener("keyup", Up, !0), n.addEventListener("click", Gp, !0), t.addEventListener("focus", Kp, !0), t.addEventListener("blur", qp, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Wp, !0), n.addEventListener("pointermove", Wp, !0), n.addEventListener("pointerup", Wp, !0)), t.addEventListener("beforeunload", () => {
- Yp(e);
- }, { once: !0 }), Lp.set(t, { focus: r });
+ }), n.addEventListener("keydown", Jp, !0), n.addEventListener("keyup", Jp, !0), n.addEventListener("click", Xp, !0), t.addEventListener("focus", Zp, !0), t.addEventListener("blur", Qp, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Yp, !0), n.addEventListener("pointermove", Yp, !0), n.addEventListener("pointerup", Yp, !0)), t.addEventListener("beforeunload", () => {
+ em(e);
+ }, { once: !0 }), Hp.set(t, { focus: r });
}
-var Yp = (e, t) => {
- let n = Of(e), r = Df(e);
- t && r.removeEventListener("DOMContentLoaded", t), Lp.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var em = (e, t) => {
+ let n = Mf(e), r = jf(e);
+ t && r.removeEventListener("DOMContentLoaded", t), Hp.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: Lp.get(n).focus
- }), r.removeEventListener("keydown", Up, !0), r.removeEventListener("keyup", Up, !0), r.removeEventListener("click", Gp, !0), n.removeEventListener("focus", Kp, !0), n.removeEventListener("blur", qp, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Wp, !0), r.removeEventListener("pointermove", Wp, !0), r.removeEventListener("pointerup", Wp, !0)), Lp.delete(n));
+ value: Hp.get(n).focus
+ }), r.removeEventListener("keydown", Jp, !0), r.removeEventListener("keyup", Jp, !0), r.removeEventListener("click", Xp, !0), n.removeEventListener("focus", Zp, !0), n.removeEventListener("blur", Qp, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Yp, !0), r.removeEventListener("pointermove", Yp, !0), r.removeEventListener("pointerup", Yp, !0)), Hp.delete(n));
};
-function Xp(e) {
- let t = Df(e), n;
+function tm(e) {
+ let t = jf(e), n;
return t.readyState === "loading" ? (n = () => {
- Jp(e);
- }, t.addEventListener("DOMContentLoaded", n)) : Jp(e), () => Yp(e, n);
+ $p(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : $p(e), () => em(e, n);
}
-typeof document < "u" && Xp();
-function Zp() {
- return Fp !== "pointer";
+typeof document < "u" && tm();
+function nm() {
+ return Bp !== "pointer";
}
-function Qp() {
- return Fp;
+function rm() {
+ return Bp;
}
-function $p(e) {
- Fp = e, Vp(e, null);
+function im(e) {
+ Bp = e, Kp(e, null);
}
-function em() {
- Jp();
- let [e, t] = (0, E.useState)(Fp);
- return (0, E.useEffect)(() => {
+function am() {
+ $p();
+ let [e, t] = (0, D.useState)(Bp);
+ return (0, D.useEffect)(() => {
let e = () => {
- t(Fp);
+ t(Bp);
};
- return Ip.add(e), () => {
- Ip.delete(e);
+ return Vp.add(e), () => {
+ Vp.delete(e);
};
- }, []), Pp() ? null : e;
+ }, []), zp() ? null : e;
}
-var tm = /* @__PURE__ */ new Set([
+var om = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -7929,78 +7980,78 @@ var tm = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function nm(e, t, n) {
- let r = n ? B(n) : void 0, i = Df(r), a = Of(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = Rf(i);
- return e = e || u instanceof o && !tm.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Bp[n.key]);
+function sm(e, t, n) {
+ let r = n ? V(n) : void 0, i = jf(r), a = Mf(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = Hf(i);
+ return e = e || u instanceof o && !om.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Gp[n.key]);
}
-function rm(e, t, n) {
- Jp(), (0, E.useEffect)(() => {
+function cm(e, t, n) {
+ $p(), (0, D.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- nm(!!n?.isTextInput, t, r) && e(Zp());
+ sm(!!n?.isTextInput, t, r) && e(nm());
};
- return Ip.add(t), () => {
- Ip.delete(t);
+ return Vp.add(t), () => {
+ Vp.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var im = /* @__PURE__ */ new Map(), am = /* @__PURE__ */ new Set();
-function om() {
+var lm = /* @__PURE__ */ new Map(), um = /* @__PURE__ */ new Set();
+function dm() {
if (typeof window > "u") return;
function e(e) {
return "propertyName" in e;
}
let t = (t) => {
- let r = B(t);
+ let r = V(t);
if (!e(t) || !r) return;
- let i = im.get(r);
- i || (i = /* @__PURE__ */ new Set(), im.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
+ let i = lm.get(r);
+ i || (i = /* @__PURE__ */ new Set(), lm.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
}, n = (t) => {
- let r = B(t);
+ let r = V(t);
if (!e(t) || !r) return;
- let i = im.get(r);
- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), im.delete(r)), im.size === 0)) {
- for (let e of am) e();
- am.clear();
+ let i = lm.get(r);
+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), lm.delete(r)), lm.size === 0)) {
+ for (let e of um) e();
+ um.clear();
}
};
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
}
-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", om) : om());
-function sm() {
- for (let [e] of im) "isConnected" in e && !e.isConnected && im.delete(e);
+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", dm) : dm());
+function fm() {
+ for (let [e] of lm) "isConnected" in e && !e.isConnected && lm.delete(e);
}
-function cm(e) {
+function pm(e) {
requestAnimationFrame(() => {
- sm(), im.size === 0 ? e() : am.add(e);
+ fm(), lm.size === 0 ? e() : um.add(e);
});
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function lm(e) {
+function mm(e) {
if (!e.isConnected) return;
- let t = Df(e);
- if (Qp() === "virtual") {
- let n = Rf(t);
- cm(() => {
- let r = Rf(t);
- (r === n || r === t.body) && e.isConnected && Sf(e);
+ let t = jf(e);
+ if (rm() === "virtual") {
+ let n = Hf(t);
+ pm(() => {
+ let r = Hf(t);
+ (r === n || r === t.body) && e.isConnected && Ef(e);
});
- } else Sf(e);
+ } else Ef(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function um(...e) {
+function hm(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function dm(e) {
- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(t), i = (0, E.useRef)(null), a = (0, E.useRef)(() => {
+function gm(e) {
+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(t), i = (0, D.useRef)(null), a = (0, D.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
if (e.done) {
@@ -8009,51 +8060,51 @@ function dm(e) {
}
r.current === e.value ? a.current() : n(e.value);
});
- return V(() => {
+ return tp(() => {
r.current = t, i.current && a.current();
- }), [t, (0, E.useCallback)((e) => {
+ }), [t, (0, D.useCallback)((e) => {
i.current = e(r.current), a.current();
}, [a])];
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var fm = !!(typeof window < "u" && window.document && window.document.createElement), pm = /* @__PURE__ */ new Map(), mm;
-typeof FinalizationRegistry < "u" && (mm = new FinalizationRegistry((e) => {
- pm.delete(e);
+var _m = !!(typeof window < "u" && window.document && window.document.createElement), vm = /* @__PURE__ */ new Map(), ym;
+typeof FinalizationRegistry < "u" && (ym = new FinalizationRegistry((e) => {
+ vm.delete(e);
}));
-var hm = /* @__PURE__ */ new WeakMap();
-function gm(e) {
- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(null), i = Ap(t), a = (0, E.useRef)(null), o = hm.get(a);
- if (mm && o !== i && (o != null && mm.unregister(a), mm.register(a, i, a), hm.set(a, i)), fm) {
- let e = pm.get(i);
- e && !e.includes(r) ? e.push(r) : pm.set(i, [r]);
+var bm = /* @__PURE__ */ new WeakMap();
+function xm(e) {
+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(null), i = Fp(t), a = (0, D.useRef)(null), o = bm.get(a);
+ if (ym && o !== i && (o != null && ym.unregister(a), ym.register(a, i, a), bm.set(a, i)), _m) {
+ let e = vm.get(i);
+ e && !e.includes(r) ? e.push(r) : vm.set(i, [r]);
}
- return V(() => {
+ return tp(() => {
let e = i;
return () => {
- mm && (mm.unregister(a), hm.delete(a)), pm.delete(e);
+ ym && (ym.unregister(a), bm.delete(a)), vm.delete(e);
};
- }, [i]), (0, E.useEffect)(() => {
+ }, [i]), (0, D.useEffect)(() => {
let e = r.current;
return e && n(e), () => {
e && (r.current = null);
};
}), i;
}
-function _m(e, t) {
+function Sm(e, t) {
if (e === t) return e;
- let n = pm.get(e);
+ let n = vm.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = pm.get(t);
+ let r = vm.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function vm(e = []) {
- let t = gm(), [n, r] = dm(t), i = (0, E.useCallback)(() => {
+function Cm(e = []) {
+ let t = xm(), [n, r] = gm(t), i = (0, D.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return V(i, [
+ return tp(i, [
t,
i,
...e
@@ -8061,38 +8112,38 @@ function vm(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function ym(...e) {
+function wm(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = bm(e, t);
+ let r = Tm(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : bm(e[n], null);
+ typeof t == "function" ? t() : Tm(e[n], null);
});
};
};
}
-function bm(e, t) {
+function Tm(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function xm(e) {
+function Em(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = xm(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Em(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function Sm() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = xm(e)) && (r && (r += " "), r += t);
+function Dm() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Em(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
@@ -8103,18 +8154,18 @@ function H(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = um(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Sm(n, i) : e === "id" && n && i ? t.id = _m(n, i) : e === "ref" && n && i ? t.ref = ym(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = hm(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Dm(n, i) : e === "id" && n && i ? t.id = Sm(n, i) : e === "ref" && n && i ? t.ref = wm(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Cm(e) {
- let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, E.useCallback)((e) => {
- if (B(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = $f(a), s = (0, E.useCallback)((e) => {
- let t = B(e), r = Df(t), a = r ? Rf(r) : Rf();
+function Om(e) {
+ let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, D.useCallback)((e) => {
+ if (V(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
+ }, [r, i]), o = ip(a), s = (0, D.useCallback)((e) => {
+ let t = V(e), r = jf(t), a = r ? Hf(r) : Hf();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -8128,7 +8179,7 @@ function Cm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function wm(e) {
+function km(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -8153,33 +8204,33 @@ function wm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Tm = /* @__PURE__ */ new Set([
+var Am = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Em = [
+]), jm = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Dm(e) {
+function Mm(e) {
let t = /* @__PURE__ */ new Set();
- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(ap() ? "Meta" : "Control"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(up() ? "Meta" : "Control"), t;
}
-function Om(e) {
+function Nm(e) {
let t = /* @__PURE__ */ new Set();
return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
-function km(e) {
- return Em.filter((t) => e.has(t));
+function Pm(e) {
+ return jm.filter((t) => e.has(t));
}
-function Am(e) {
+function Fm(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Tm.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return Am.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -8191,10 +8242,10 @@ function Am(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function jm(e) {
+function Im(e) {
return e.toLowerCase();
}
-var Mm = {
+var Lm = {
space: " ",
esc: "escape",
del: "delete",
@@ -8206,26 +8257,26 @@ var Mm = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Nm(e) {
- let t = jm(e);
- return Mm[t] ?? t;
+function Rm(e) {
+ let t = Im(e);
+ return Lm[t] ?? t;
}
-function Pm(e) {
- let t = km(Dm(e)), n = Nm(e.key);
+function zm(e) {
+ let t = Pm(Mm(e)), n = Rm(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function Fm(e) {
- let t = km(Om(e)), n = jm(e.key);
+function Bm(e) {
+ let t = Pm(Nm(e)), n = Im(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Im(e) {
+function Vm(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Am(n);
- t.set(Pm(e), r);
+ let e = Fm(n);
+ t.set(zm(e), r);
}
return (e) => {
- let n = Fm(e), r = t.get(n), i = r?.(e);
+ let n = Bm(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -8237,11 +8288,11 @@ function Im(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function Lm(e) {
+function Hm(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Im(t), s = wm((e) => {
- if (!Lf(e.currentTarget, B(e))) {
+ let o = Vm(t), s = km((e) => {
+ if (!Vf(e.currentTarget, V(e))) {
e.continuePropagation();
return;
}
@@ -8250,8 +8301,8 @@ function Lm(e) {
return;
}
o(e);
- }), c = wm((e) => {
- if (!Lf(e.currentTarget, B(e))) {
+ }), c = km((e) => {
+ if (!Vf(e.currentTarget, V(e))) {
e.continuePropagation();
return;
}
@@ -8261,8 +8312,8 @@ function Lm(e) {
}
e.continuePropagation();
});
- i = e.onKeyDown ? um(e.onKeyDown, s) : s, a = e.onKeyUp ? um(e.onKeyUp, c) : c;
- } else i = wm(e.onKeyDown), a = wm(e.onKeyUp);
+ i = e.onKeyDown ? hm(e.onKeyDown, s) : s, a = e.onKeyUp ? hm(e.onKeyUp, c) : c;
+ } else i = km(e.onKeyDown), a = km(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -8270,8 +8321,8 @@ function Lm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function Rm(e) {
- let t = (0, E.useRef)(null), n = (0, E.useRef)(void 0), r = (0, E.useCallback)((t) => {
+function Um(e) {
+ let t = (0, D.useRef)(null), n = (0, D.useRef)(void 0), r = (0, D.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
return () => {
@@ -8282,7 +8333,7 @@ function Rm(e) {
e.current = null;
};
}, [e]);
- return (0, E.useMemo)(() => ({
+ return (0, D.useMemo)(() => ({
get current() {
return t.current;
},
@@ -8293,8 +8344,8 @@ function Rm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function zm(e, t) {
- V(() => {
+function Wm(e, t) {
+ tp(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -8302,17 +8353,17 @@ function zm(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var Bm = /*#__PURE__*/ E.createContext(null);
-function Vm(e) {
- let t = (0, E.useContext)(Bm) || {};
- zm(t, e);
+var Gm = /*#__PURE__*/ D.createContext(null);
+function Km(e) {
+ let t = (0, D.useContext)(Gm) || {};
+ Wm(t, e);
let { ref: n, ...r } = t;
return r;
}
-function Hm(e, t) {
- let { focusProps: n } = Cm(e), { keyboardProps: r } = Lm(e), i = H(n, r), a = Vm(t), o = e.isDisabled ? {} : a, s = (0, E.useRef)(e.autoFocus);
- (0, E.useEffect)(() => {
- s.current && t.current && lm(t.current), s.current = !1;
+function qm(e, t) {
+ let { focusProps: n } = Om(e), { keyboardProps: r } = Hm(e), i = H(n, r), a = Km(t), o = e.isDisabled ? {} : a, s = (0, D.useRef)(e.autoFocus);
+ (0, D.useEffect)(() => {
+ s.current && t.current && mm(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: H({
@@ -8347,23 +8398,23 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var Um = /*#__PURE__*/ (0, E.createContext)(!1);
-function Wm(e) {
- if ((0, E.useContext)(Um)) return /*#__PURE__*/ E.createElement(E.Fragment, null, e.children);
- let t = /*#__PURE__*/ E.createElement(Um.Provider, { value: !0 }, e.children);
- return /*#__PURE__*/ E.createElement("template", null, t);
+var Jm = /*#__PURE__*/ (0, D.createContext)(!1);
+function Ym(e) {
+ if ((0, D.useContext)(Jm)) return /*#__PURE__*/ D.createElement(D.Fragment, null, e.children);
+ let t = /*#__PURE__*/ D.createElement(Jm.Provider, { value: !0 }, e.children);
+ return /*#__PURE__*/ D.createElement("template", null, t);
}
-function Gm(e) {
- let t = (t, n) => (0, E.useContext)(Um) ? null : e(t, n);
- return t.displayName = e.displayName || e.name, (0, E.forwardRef)(t);
+function Xm(e) {
+ let t = (t, n) => (0, D.useContext)(Jm) ? null : e(t, n);
+ return t.displayName = e.displayName || e.name, (0, D.forwardRef)(t);
}
-function Km() {
- return (0, E.useContext)(Um);
+function Zm() {
+ return (0, D.useContext)(Jm);
}
//#endregion
//#region node_modules/react-dom/cjs/react-dom.production.js
-var qm = /* @__PURE__ */ _(((e) => {
- var t = C();
+var Qm = /* @__PURE__ */ v(((e) => {
+ var t = w();
function n(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -8490,7 +8541,7 @@ var qm = /* @__PURE__ */ _(((e) => {
}, e.useFormStatus = function() {
return l.H.useHostTransitionStatus();
}, e.version = "19.3.0";
-})), Jm = /* @__PURE__ */ _(((e, t) => {
+})), $m = /* @__PURE__ */ v(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -8498,9 +8549,9 @@ var qm = /* @__PURE__ */ _(((e) => {
console.error(e);
}
}
- n(), t.exports = qm();
-})), Ym = /* @__PURE__ */ _(((e) => {
- var t = C();
+ n(), t.exports = Qm();
+})), eh = /* @__PURE__ */ v(((e) => {
+ var t = w();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -8537,48 +8588,48 @@ var qm = /* @__PURE__ */ _(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), Xm = /* @__PURE__ */ _(((e, t) => {
- t.exports = Ym();
-})), Zm = /* @__PURE__ */ b(Jm(), 1), Qm = Xm(), $m = /*#__PURE__*/ (0, E.createContext)(!1), eh = /*#__PURE__*/ (0, E.createContext)(null);
-function th(e) {
- if ((0, E.useContext)(eh)) return e.content;
- let { collection: t, document: n } = ah(e.createCollection);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Wm, null, /*#__PURE__*/ E.createElement(eh.Provider, { value: n }, e.content)), /*#__PURE__*/ E.createElement(nh, {
+})), th = /* @__PURE__ */ v(((e, t) => {
+ t.exports = eh();
+})), nh = /* @__PURE__ */ x($m(), 1), rh = th(), ih = /*#__PURE__*/ (0, D.createContext)(!1), ah = /*#__PURE__*/ (0, D.createContext)(null);
+function oh(e) {
+ if ((0, D.useContext)(ah)) return e.content;
+ let { collection: t, document: n } = uh(e.createCollection);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Ym, null, /*#__PURE__*/ D.createElement(ah.Provider, { value: n }, e.content)), /*#__PURE__*/ D.createElement(sh, {
render: e.children,
collection: t
}));
}
-function nh({ collection: e, render: t }) {
+function sh({ collection: e, render: t }) {
return t(e);
}
-function rh(e, t, n) {
- let r = Pp(), i = (0, E.useRef)(r);
+function ch(e, t, n) {
+ let r = zp(), i = (0, D.useRef)(r);
i.current = r;
- let a = (0, E.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Qm.useSyncExternalStore)(e, a);
+ let a = (0, D.useCallback)(() => i.current ? n() : t(), [t, n]);
+ return (0, rh.useSyncExternalStore)(e, a);
}
-var ih = typeof E.useSyncExternalStore == "function" ? E.useSyncExternalStore : rh;
-function ah(e) {
- let [t] = (0, E.useState)(() => new yf(e?.() || new hf()));
+var lh = typeof D.useSyncExternalStore == "function" ? D.useSyncExternalStore : ch;
+function uh(e) {
+ let [t] = (0, D.useState)(() => new Cf(e?.() || new yf()));
return {
- collection: ih((0, E.useCallback)((e) => t.subscribe(e), [t]), (0, E.useCallback)(() => {
+ collection: lh((0, D.useCallback)((e) => t.subscribe(e), [t]), (0, D.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
- }, [t]), (0, E.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
+ }, [t]), (0, D.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var oh = /*#__PURE__*/ (0, E.createContext)(null);
-function sh(e) {
- return class extends df {
+var dh = /*#__PURE__*/ (0, D.createContext)(null);
+function fh(e) {
+ return class extends hf {
static {
this.type = e;
}
};
}
-function ch(e, t, n, r, i, a) {
- typeof e == "string" && (e = sh(e));
- let o = (0, E.useCallback)((i) => {
+function ph(e, t, n, r, i, a) {
+ typeof e == "string" && (e = fh(e));
+ let o = (0, D.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
t,
@@ -8586,81 +8637,81 @@ function ch(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, E.useContext)(oh);
+ ]), s = (0, D.useContext)(dh);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ E.createElement(oh.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ D.createElement(dh.Provider, { value: o }, i) : null;
}
- return /*#__PURE__*/ E.createElement(e.type, { ref: o }, i);
+ return /*#__PURE__*/ D.createElement(e.type, { ref: o }, i);
}
-function lh(e, t) {
- let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, E.forwardRef)((r, i) => {
- let a = (0, E.useContext)(Bm);
- if (!(0, E.useContext)($m)) {
+function mh(e, t) {
+ let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, D.forwardRef)((r, i) => {
+ let a = (0, D.useContext)(Gm);
+ if (!(0, D.useContext)(ih)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return ch(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ E.createElement(Bm.Provider, { value: a }, /*#__PURE__*/ E.createElement(n, { node: e })));
+ return ph(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ D.createElement(Gm.Provider, { value: a }, /*#__PURE__*/ D.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function uh(e, t, n = dh) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, E.forwardRef)((t, i) => ch(e, t, i, null, n(t), (e) => /*#__PURE__*/ E.createElement(r, { node: e })) ?? /*#__PURE__*/ E.createElement(E.Fragment, null));
+function hh(e, t, n = gh) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, D.forwardRef)((t, i) => ph(e, t, i, null, n(t), (e) => /*#__PURE__*/ D.createElement(r, { node: e })) ?? /*#__PURE__*/ D.createElement(D.Fragment, null));
return i.displayName = t.name, i;
}
-function dh(e) {
- return bf({
+function gh(e) {
+ return wf({
...e,
addIdAndValue: !0
});
}
-var fh = /*#__PURE__*/ (0, E.createContext)(null);
-function ph(e) {
- let t = (0, E.useContext)(fh), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = dh({
+var _h = /*#__PURE__*/ (0, D.createContext)(null);
+function vh(e) {
+ let t = (0, D.useContext)(_h), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = gh({
...e,
idScope: r,
dependencies: n
});
- return (0, E.useContext)(eh) && (i = /*#__PURE__*/ E.createElement(mh, null, i)), t = (0, E.useMemo)(() => ({
+ return (0, D.useContext)(ah) && (i = /*#__PURE__*/ D.createElement(yh, null, i)), t = (0, D.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ E.createElement(fh.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ D.createElement(_h.Provider, { value: t }, i);
}
-function mh({ children: e }) {
- let t = (0, E.useContext)(eh), n = (0, E.useMemo)(() => /*#__PURE__*/ E.createElement(eh.Provider, { value: null }, /*#__PURE__*/ E.createElement($m.Provider, { value: !0 }, e)), [e]);
- return Pp() ? /*#__PURE__*/ E.createElement(oh.Provider, { value: t }, n) : /*#__PURE__*/ (0, Zm.createPortal)(n, t);
+function yh({ children: e }) {
+ let t = (0, D.useContext)(ah), n = (0, D.useMemo)(() => /*#__PURE__*/ D.createElement(ah.Provider, { value: null }, /*#__PURE__*/ D.createElement(ih.Provider, { value: !0 }, e)), [e]);
+ return zp() ? /*#__PURE__*/ D.createElement(dh.Provider, { value: t }, n) : /*#__PURE__*/ (0, nh.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var hh = "react-aria-clear-focus", gh = "react-aria-focus";
+var bh = "react-aria-clear-focus", xh = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function _h(e) {
- let t = bh(Df(e));
- t !== e && (t && vh(t, e), e && yh(e, t));
+function Sh(e) {
+ let t = Th(jf(e));
+ t !== e && (t && Ch(t, e), e && wh(e, t));
}
-function vh(e, t) {
+function Ch(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function yh(e, t) {
+function wh(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function bh(e) {
- let t = Rf(e), n = t?.getAttribute("aria-activedescendant");
+function Th(e) {
+ let t = Hf(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-function xh(e) {
- return ap() ? e.metaKey : e.ctrlKey;
+function Eh(e) {
+ return up() ? e.metaKey : e.ctrlKey;
}
-var Sh = /* @__PURE__ */ new Set([
+var Dh = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -8671,27 +8722,27 @@ var Sh = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Ch(e) {
- return e instanceof HTMLInputElement && !Sh.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
+function Oh(e) {
+ return e instanceof HTMLInputElement && !Dh.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var wh = E.useInsertionEffect ?? V;
-function Th(e) {
- let t = (0, E.useRef)(null);
- return wh(() => {
+var kh = D.useInsertionEffect ?? tp;
+function Ah(e) {
+ let t = (0, D.useRef)(null);
+ return kh(() => {
t.current = e;
- }, [e]), (0, E.useCallback)((...e) => {
+ }, [e]), (0, D.useCallback)((...e) => {
let n = t.current;
return n?.(...e);
}, []);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Eh(e, t, n, r) {
- let i = Th(n), a = n == null;
- (0, E.useEffect)(() => {
- if (!(a || e.current == null)) return Nf(e.current, t, i, r);
+function jh(e, t, n, r) {
+ let i = Ah(n), a = n == null;
+ (0, D.useEffect)(() => {
+ if (!(a || e.current == null)) return Lf(e.current, t, i, r);
}, [
e,
t,
@@ -8701,9 +8752,9 @@ function Eh(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Dh(e, t) {
+function Mh(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = gm(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = xm(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
@@ -8711,7 +8762,7 @@ function Dh(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var Oh = /* @__PURE__ */ new Set([
+var Nh = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -8722,7 +8773,7 @@ var Oh = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), kh = /* @__PURE__ */ new Set([
+]), Ph = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -8743,20 +8794,20 @@ var Oh = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Ah(e) {
+function Fh(e) {
if (Intl.Locale) {
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
if (n) return n.direction === "rtl";
- if (t.script) return Oh.has(t.script);
+ if (t.script) return Nh.has(t.script);
}
let t = e.split("-")[0];
- return kh.has(t);
+ return Ph.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var jh = Symbol.for("react-aria.i18n.locale");
-function Mh() {
- let e = typeof window < "u" && window[jh] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Ih = Symbol.for("react-aria.i18n.locale");
+function Lh() {
+ let e = typeof window < "u" && window[Ih] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -8764,33 +8815,33 @@ function Mh() {
}
return {
locale: e,
- direction: Ah(e) ? "rtl" : "ltr"
+ direction: Fh(e) ? "rtl" : "ltr"
};
}
-var Nh = Mh(), Ph = /* @__PURE__ */ new Set();
-function Fh() {
- Nh = Mh();
- for (let e of Ph) e(Nh);
+var Rh = Lh(), zh = /* @__PURE__ */ new Set();
+function Bh() {
+ Rh = Lh();
+ for (let e of zh) e(Rh);
}
-function Ih() {
- let e = Pp(), [t, n] = (0, E.useState)(Nh);
- return (0, E.useEffect)(() => (Ph.size === 0 && window.addEventListener("languagechange", Fh), Ph.add(n), () => {
- Ph.delete(n), Ph.size === 0 && window.removeEventListener("languagechange", Fh);
+function Vh() {
+ let e = zp(), [t, n] = (0, D.useState)(Rh);
+ return (0, D.useEffect)(() => (zh.size === 0 && window.addEventListener("languagechange", Bh), zh.add(n), () => {
+ zh.delete(n), zh.size === 0 && window.removeEventListener("languagechange", Bh);
}), []), e ? {
- locale: typeof window < "u" && window[jh] || "en-US",
+ locale: typeof window < "u" && window[Ih] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var Lh = /*#__PURE__*/ E.createContext(null);
-function Rh() {
- let e = Ih();
- return (0, E.useContext)(Lh) || e;
+var Hh = /*#__PURE__*/ D.createContext(null);
+function Uh() {
+ let e = Vh();
+ return (0, D.useContext)(Hh) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var zh = Symbol.for("react-aria.i18n.locale"), Bh = Symbol.for("react-aria.i18n.strings"), Vh = void 0, Hh = class e {
+var Wh = Symbol.for("react-aria.i18n.locale"), Gh = Symbol.for("react-aria.i18n.strings"), Kh = void 0, qh = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -8801,39 +8852,39 @@ var zh = Symbol.for("react-aria.i18n.locale"), Bh = Symbol.for("react-aria.i18n.
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = Uh(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = Jh(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[zh];
- if (Vh === void 0) {
- let t = window[Bh];
+ let n = window[Wh];
+ if (Kh === void 0) {
+ let t = window[Gh];
if (!t) return null;
- Vh = {};
- for (let r in t) Vh[r] = new e({ [n]: t[r] }, n);
+ Kh = {};
+ for (let r in t) Kh[r] = new e({ [n]: t[r] }, n);
}
- let r = Vh?.[t];
+ let r = Kh?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function Uh(e, t, n = "en-US") {
+function Jh(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = Wh(e), i = Gh(e);
+ let r = Yh(e), i = Xh(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function Wh(e) {
+function Yh(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function Gh(e) {
+function Xh(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Kh = /* @__PURE__ */ new Map(), qh = /* @__PURE__ */ new Map(), Jh = class {
+var Zh = /* @__PURE__ */ new Map(), Qh = /* @__PURE__ */ new Map(), $h = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -8844,37 +8895,37 @@ var Kh = /* @__PURE__ */ new Map(), qh = /* @__PURE__ */ new Map(), Jh = class {
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = Kh.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Kh.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Zh.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Zh.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = qh.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), qh.set(this.locale, t)), t.format(e);
+ let t = Qh.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Qh.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Yh = /* @__PURE__ */ new WeakMap();
-function Xh(e) {
- let t = Yh.get(e);
- return t || (t = new Hh(e), Yh.set(e, t)), t;
+}, eg = /* @__PURE__ */ new WeakMap();
+function tg(e) {
+ let t = eg.get(e);
+ return t || (t = new qh(e), eg.set(e, t)), t;
}
-function Zh(e, t) {
- return t && Hh.getGlobalDictionaryForPackage(t) || Xh(e);
+function ng(e, t) {
+ return t && qh.getGlobalDictionaryForPackage(t) || tg(e);
}
-function Qh(e, t) {
- let { locale: n } = Rh(), r = Zh(e, t);
- return (0, E.useMemo)(() => new Jh(n, r), [n, r]);
+function rg(e, t) {
+ let { locale: n } = Uh(), r = ng(e, t);
+ return (0, D.useMemo)(() => new $h(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var $h = /* @__PURE__ */ new Set(["id"]), eg = /* @__PURE__ */ new Set([
+var ig = /* @__PURE__ */ new Set(["id"]), eee = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), tg = /* @__PURE__ */ new Set([
+]), ag = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -8882,72 +8933,72 @@ var $h = /* @__PURE__ */ new Set(["id"]), eg = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), ng = /* @__PURE__ */ new Set([
+]), og = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), rg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), ig = /^(data-.*)$/;
-function ag(e, t = {}) {
+]), sg = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), tee = /^(data-.*)$/;
+function cg(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && ($h.has(t) || n && eg.has(t) || r && tg.has(t) || i && ng.has(t) || a && (rg.has(t) || t.endsWith("Capture") && rg.has(t.slice(0, -7))) || o?.has(t) || ig.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ig.has(t) || n && eee.has(t) || r && ag.has(t) || i && og.has(t) || a && (sg.has(t) || t.endsWith("Capture") && sg.has(t.slice(0, -7))) || o?.has(t) || tee.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var og = "default", sg = "", cg = /* @__PURE__ */ new WeakMap();
-function eee(e) {
- if (cp() && up()) {
- if (og === "default") {
- let t = Df(e);
- sg = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- og = "disabled";
+var lg = "default", ug = "", dg = /* @__PURE__ */ new WeakMap();
+function nee(e) {
+ if (pp() && hp()) {
+ if (lg === "default") {
+ let t = jf(e);
+ ug = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ lg = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- cg.set(e, e.style[t]), e.style[t] = "none";
+ dg.set(e, e.style[t]), e.style[t] = "none";
}
}
-function lg(e) {
- if (cp() && up()) {
- if (og !== "disabled") return;
- og = "restoring", setTimeout(() => {
- cm(() => {
- if (og === "restoring") {
- let t = Df(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = sg || ""), sg = "", og = "default";
+function fg(e) {
+ if (pp() && hp()) {
+ if (lg !== "disabled") return;
+ lg = "restoring", setTimeout(() => {
+ pm(() => {
+ if (lg === "restoring") {
+ let t = jf(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ug || ""), ug = "", lg = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && cg.has(e)) {
- let t = cg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), cg.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && dg.has(e)) {
+ let t = dg.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), dg.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function ug(e, t) {
- let n = Of(t), r = Df(t);
+function ree(e, t) {
+ let n = Mf(t), r = jf(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var dg = /* @__PURE__ */ new WeakMap();
-function fg(e) {
- let t = Df(e), n = dg.get(t);
- return n ??= ug("csp-nonce", t), n !== void 0 && dg.set(t, n), n;
+var pg = /* @__PURE__ */ new WeakMap();
+function mg(e) {
+ let t = jf(e), n = pg.get(t);
+ return n ??= ree("csp-nonce", t), n !== void 0 && pg.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var pg = E.createContext({ register: () => {} });
-pg.displayName = "PressResponderContext";
+var hg = D.createContext({ register: () => {} });
+hg.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function mg() {
- let e = (0, E.useRef)(/* @__PURE__ */ new Map()), t = (0, E.useCallback)((t, n, r, i) => {
+function gg() {
+ let e = (0, D.useRef)(/* @__PURE__ */ new Map()), t = (0, D.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
} : r;
@@ -8957,15 +9008,15 @@ function mg() {
fn: a,
options: i
}), t.addEventListener(n, a, i);
- }, []), n = (0, E.useCallback)((t, n, r, i) => {
+ }, []), n = (0, D.useCallback)((t, n, r, i) => {
let a = e.current.get(r)?.fn || r;
t.removeEventListener(n, a, i), e.current.delete(r);
- }, []), r = (0, E.useCallback)(() => {
+ }, []), r = (0, D.useCallback)(() => {
e.current.forEach((e, t) => {
n(e.eventTarget, e.type, t, e.options);
});
}, [n]);
- return (0, E.useEffect)(() => r, [r]), {
+ return (0, D.useEffect)(() => r, [r]), {
addGlobalListener: t,
removeGlobalListener: n,
removeAllGlobalListeners: r
@@ -8973,15 +9024,15 @@ function mg() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function hg(e) {
- let t = (0, E.useContext)(pg);
+function iee(e) {
+ let t = (0, D.useContext)(hg);
if (t) {
let { register: n, ref: r, ...i } = t;
e = H(i, e), n();
}
- return zm(t, e.ref), e;
+ return Wm(t, e.ref), e;
}
-var gg = class {
+var _g = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -8994,9 +9045,9 @@ var gg = class {
get shouldStopPropagation() {
return this.#e;
}
-}, _g = Symbol("linkClicked"), vg = "react-aria-pressable-style", yg = "data-react-aria-pressable";
-function bg(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = hg(e), [m, h] = (0, E.useState)(!1), g = (0, E.useRef)({
+}, vg = Symbol("linkClicked"), yg = "react-aria-pressable-style", bg = "data-react-aria-pressable";
+function xg(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = iee(e), [m, h] = (0, D.useState)(!1), g = (0, D.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -9006,12 +9057,12 @@ function bg(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = mg(), y = (0, E.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = gg(), y = (0, D.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new gg("pressstart", t, e);
+ let n = new _g("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -9019,17 +9070,17 @@ function bg(e) {
s,
r,
n
- ]), b = (0, E.useCallback)((e, r, a = !0) => {
+ ]), b = (0, D.useCallback)((e, r, a = !0) => {
let o = g.current;
if (!o.didFirePressStart) return !1;
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new gg("pressend", r, e);
+ let t = new _g("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new gg("press", r, e);
+ let n = new _g("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -9038,19 +9089,19 @@ function bg(e) {
i,
n,
t
- ]), x = Th(b), S = Th((0, E.useCallback)((e, t) => {
+ ]), x = Ah(b), S = Ah((0, D.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new gg("pressup", t, e);
+ let r = new _g("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
- }, [s, a])), C = (0, E.useCallback)((e) => {
+ }, [s, a])), C = (0, D.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(Cg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || lg(t.target);
+ t.didFirePressStart && t.pointerType != null && b(wg(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || fg(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -9058,8 +9109,8 @@ function bg(e) {
d,
v,
b
- ]), w = Th(C);
- (0, E.useEffect)(() => {
+ ]), w = Ah(C);
+ (0, D.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
shiftKey: !1,
@@ -9068,46 +9119,46 @@ function bg(e) {
altKey: !1
});
}, [s]);
- let T = (0, E.useCallback)((e) => {
+ let T = (0, D.useCallback)((e) => {
u && C(e);
- }, [u, C]), D = (0, E.useCallback)((e) => {
+ }, [u, C]), E = (0, D.useCallback)((e) => {
s || o?.(e);
- }, [s, o]), O = (0, E.useCallback)((e, t) => {
+ }, [s, o]), O = (0, D.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- Qf(n, t), o(Zf(n));
+ rp(n, t), o(np(n));
}
- }, [s, o]), k = (0, E.useMemo)(() => {
+ }, [s, o]), k = (0, D.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (Sg(t.nativeEvent, t.currentTarget) && Lf(t.currentTarget, B(t))) {
- Tg(B(t), t.key) && t.preventDefault();
+ if (Cg(t.nativeEvent, t.currentTarget) && Vf(t.currentTarget, V(t))) {
+ Tg(V(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(Df(t.currentTarget), "keyup", um((t) => {
- Sg(t, i) && !t.repeat && Lf(i, B(t)) && e.target && S(Cg(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && ap() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(jf(t.currentTarget), "keyup", hm((t) => {
+ Cg(t, i) && !t.repeat && Vf(i, V(t)) && e.target && S(wg(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && up() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if (!(t && !Lf(t.currentTarget, B(t))) && t && t.button === 0 && !e.isTriggeringEvent && !vp.isOpening) {
+ if (!(t && !Vf(t.currentTarget, V(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Cp.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || mp(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || yp(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
- D(t), n = e && r && i;
+ E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Cg(t.currentTarget, t), r), a = x(Cg(t.currentTarget, t), r, !0);
- n = i && a, e.isOverTarget = !1, D(t), w(t);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(wg(t.currentTarget, t), r), a = x(wg(t.currentTarget, t), r, !0);
+ n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && Sg(t, e.target)) {
- Tg(B(t), t.key) && t.preventDefault();
- let n = B(t), r = Lf(e.target, n);
- x(Cg(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && xg(e.target) && Lf(e.target, n) && !t[_g] && (t[_g] = !0, vp(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && Cg(t, e.target)) {
+ Tg(V(t), t.key) && t.preventDefault();
+ let n = V(t), r = Vf(e.target, n);
+ x(wg(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Sg(e.target) && Vf(e.target, n) && !t[vg] && (t[vg] = !0, Cp(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -9116,39 +9167,39 @@ function bg(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !Lf(t.currentTarget, B(t))) return;
- if (hp(t.nativeEvent)) {
+ if (t.button !== 0 || !Vf(t.currentTarget, V(t))) return;
+ if (bp(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || eee(e.target), i = y(t, e.pointerType);
- let a = B(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Df(t.currentTarget), "pointerup", n, !1), _(Df(t.currentTarget), "pointercancel", r, !1);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || nee(e.target), i = y(t, e.pointerType);
+ let a = V(t);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(jf(t.currentTarget), "pointerup", n, !1), _(jf(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (Lf(t.currentTarget, B(t)) && t.button === 0) {
+ if (Vf(t.currentTarget, V(t)) && t.button === 0) {
if (l) {
- let n = tp(t.target);
+ let n = op(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- !Lf(t.currentTarget, B(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ !Vf(t.currentTarget, V(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Cg(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(wg(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Cg(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(wg(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (Lf(e.target, B(t)) && e.pointerType != null) {
+ if (Vf(e.target, V(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Sf(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Ef(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -9158,7 +9209,7 @@ function bg(e) {
w(e);
};
t.onDragStart = (e) => {
- Lf(e.currentTarget, B(e)) && w(e);
+ Vf(e.currentTarget, V(e)) && w(e);
};
}
return t;
@@ -9170,43 +9221,43 @@ function bg(e) {
d,
T,
y,
- D,
+ E,
O
]);
- return (0, E.useEffect)(() => {
+ return (0, D.useEffect)(() => {
if (!f) return;
- let e = Df(f.current);
- if (!e || !e.head || e.getElementById(vg)) return;
+ let e = jf(f.current);
+ if (!e || !e.head || e.getElementById(yg)) return;
let t = e.createElement("style");
- t.id = vg;
- let n = fg(e);
+ t.id = yg;
+ let n = mg(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${yg}] {
+ [${bg}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
`.trim(), e.head.prepend(t);
- }, [f]), (0, E.useEffect)(() => {
+ }, [f]), (0, D.useEffect)(() => {
let e = g.current;
return () => {
- d || lg(e.target ?? void 0);
+ d || fg(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: H(p, k, { [yg]: !0 })
+ pressProps: H(p, k, { [bg]: !0 })
};
}
-function xg(e) {
+function Sg(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function Sg(e, t) {
+function Cg(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Of(i).HTMLInputElement && !Eg(i, n) || i instanceof Of(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && xg(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Mf(i).HTMLInputElement && !Eg(i, n) || i instanceof Mf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Sg(i)) && n !== "Enter");
}
-function Cg(e, t) {
+function wg(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -9219,13 +9270,13 @@ function Cg(e, t) {
key: t.key
};
}
-function wg(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !xg(e);
+function aee(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Sg(e);
}
function Tg(e, t) {
- return ap() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Eg(e, t) : wg(e);
+ return up() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Eg(e, t) : aee(e);
}
-var tee = /* @__PURE__ */ new Set([
+var oee = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -9237,11 +9288,11 @@ var tee = /* @__PURE__ */ new Set([
"reset"
]);
function Eg(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : tee.has(e.type);
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : oee.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function nee(e, t) {
+function see(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -9263,7 +9314,7 @@ function nee(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = bg({
+ let { pressProps: _, isPressed: v } = xg({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -9273,9 +9324,9 @@ function nee(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = Hm(e, t);
+ }), { focusableProps: y } = qm(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = H(y, _, ag(e, { labelable: !0 }));
+ let b = H(y, _, cg(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: H(g, b, {
@@ -9290,7 +9341,7 @@ function nee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var ree = class {
+var cee = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -9315,7 +9366,7 @@ var ree = class {
return this._currentNode;
}
set currentNode(e) {
- if (!Lf(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!Vf(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -9329,7 +9380,7 @@ var ree = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return Lf(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return Vf(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -9394,201 +9445,201 @@ var ree = class {
}
};
function Dg(e, t, n, r) {
- return If() ? new ree(e, t, n, r) : e.createTreeWalker(t, n, r);
+ return Bf() ? new cee(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Og = /*#__PURE__*/ E.createContext(null), kg = "react-aria-focus-scope-restore", Ag = null;
+var Og = /*#__PURE__*/ D.createContext(null), kg = "react-aria-focus-scope-restore", Ag = null;
function jg(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useRef)([]), { parentNode: c } = (0, E.useContext)(Og) || {}, l = (0, E.useMemo)(() => new qg({ scopeRef: s }), [s]);
- V(() => {
- let e = c || Jg.root;
- if (Jg.getTreeNode(e.scopeRef) && Ag && !zg(Ag, e.scopeRef)) {
- let t = Jg.getTreeNode(Ag);
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useRef)([]), { parentNode: c } = (0, D.useContext)(Og) || {}, l = (0, D.useMemo)(() => new $g({ scopeRef: s }), [s]);
+ tp(() => {
+ let e = c || e_.root;
+ if (e_.getTreeNode(e.scopeRef) && Ag && !Hg(Ag, e.scopeRef)) {
+ let t = e_.getTreeNode(Ag);
t && (e = t);
}
- e.addChild(l), Jg.addNode(l);
- }, [l, c]), V(() => {
- let e = Jg.getTreeNode(s);
+ e.addChild(l), e_.addNode(l);
+ }, [l, c]), tp(() => {
+ let e = e_.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), V(() => {
+ }, [n]), tp(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
for (; e && e !== o.current;) t.push(e), e.addEventListener(kg, n), e = e.nextSibling;
return s.current = t, () => {
for (let e of t) e.removeEventListener(kg, n);
};
- }, [t]), cee(s, r, n), Pg(s, n), lee(s, r, n), see(s, i), (0, E.useEffect)(() => {
- let e = Rf(Df(s.current ? s.current[0] : void 0)), t = null;
- if (Ig(e, s.current)) {
- for (let n of Jg.traverse()) n.scopeRef && Ig(e, n.scopeRef.current) && (t = n);
- t === Jg.getTreeNode(s) && (Ag = t.scopeRef);
- }
- }, [s]), V(() => () => {
- let e = Jg.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Ag || zg(s, Ag)) && (!e || Jg.getTreeNode(e)) && (Ag = e), Jg.removeTreeNode(s);
+ }, [t]), qg(s, r, n), Lg(s, n), Yg(s, r, n), Kg(s, i), (0, D.useEffect)(() => {
+ let e = Hf(jf(s.current ? s.current[0] : void 0)), t = null;
+ if (zg(e, s.current)) {
+ for (let n of e_.traverse()) n.scopeRef && zg(e, n.scopeRef.current) && (t = n);
+ t === e_.getTreeNode(s) && (Ag = t.scopeRef);
+ }
+ }, [s]), tp(() => () => {
+ let e = e_.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Ag || Hg(s, Ag)) && (!e || e_.getTreeNode(e)) && (Ag = e), e_.removeTreeNode(s);
}, [s]);
- let u = (0, E.useMemo)(() => iee(s), []), d = (0, E.useMemo)(() => ({
+ let u = (0, D.useMemo)(() => Mg(s), []), d = (0, D.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ E.createElement(Og.Provider, { value: d }, /*#__PURE__*/ E.createElement("span", {
+ return /*#__PURE__*/ D.createElement(Og.Provider, { value: d }, /*#__PURE__*/ D.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
- }), t, /*#__PURE__*/ E.createElement("span", {
+ }), t, /*#__PURE__*/ D.createElement("span", {
"data-focus-scope-end": !0,
hidden: !0,
ref: o
}));
}
-function iee(e) {
+function Mg(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rf(Df(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Gg(Mg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Hf(jf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Zg(Ng(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Ig(s, n) ? s : c;
+ l.currentNode = zg(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Bg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Ug(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rf(Df(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Gg(Mg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Hf(jf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Zg(Ng(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Ig(s, n) ? s : c;
+ l.currentNode = zg(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Bg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Ug(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Gg(Mg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Zg(Ng(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && Bg(o, !0), o;
+ return o && Ug(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Gg(Mg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Zg(Ng(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && Bg(o, !0), o;
+ return o && Ug(o, !0), o;
}
};
}
-function Mg(e) {
+function Ng(e) {
return e[0].parentElement;
}
-function Ng(e) {
- let t = Jg.getTreeNode(Ag);
+function Pg(e) {
+ let t = e_.getTreeNode(Ag);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function aee(e) {
- if (!e.form) return Array.from(Df(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Of(e);
+function Fg(e) {
+ if (!e.form) return Array.from(jf(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = Mf(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function oee(e) {
+function Ig(e) {
if (e.checked) return !0;
- let t = aee(e);
+ let t = Fg(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Pg(e, t) {
- let n = (0, E.useRef)(void 0), r = (0, E.useRef)(void 0);
- V(() => {
+function Lg(e, t) {
+ let n = (0, D.useRef)(void 0), r = (0, D.useRef)(void 0);
+ tp(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Df(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ng(e) || t.isComposing) return;
- let n = Rf(a), r = e.current;
- if (!r || !Ig(n, r)) return;
- let i = Gg(Mg(r), { tabbable: !0 }, r);
+ let a = jf(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Pg(e) || t.isComposing) return;
+ let n = Hf(a), r = e.current;
+ if (!r || !zg(n, r)) return;
+ let i = Zg(Ng(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Bg(o, !0), o instanceof Of(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Ug(o, !0), o instanceof Mf(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Ag || zg(Ag, e)) && Ig(B(t), e.current) ? (Ag = e, n.current = B(t)) : Ng(e) && !Lg(B(t), e) ? n.current ? Bg(n.current) : Ag && Ag.current && Hg(Ag.current) : Ng(e) && (n.current = B(t));
+ (!Ag || Hg(Ag, e)) && zg(V(t), e.current) ? (Ag = e, n.current = V(t)) : Pg(e) && !Bg(V(t), e) ? n.current ? Ug(n.current) : Ag && Ag.current && Gg(Ag.current) : Pg(e) && (n.current = V(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = Qp(), i = (r === "virtual" || r === null) && fp() && dp(), o = Rf(a);
- if (!i && o && Ng(e) && !Lg(o, e)) {
+ let r = rm(), i = (r === "virtual" || r === null) && _p() && gp(), o = Hf(a);
+ if (!i && o && Pg(e) && !Bg(o, e)) {
Ag = e;
- let r = B(t);
- r && r.isConnected ? (n.current = r, Bg(n.current)) : Ag.current && Hg(Ag.current);
+ let r = V(t);
+ r && r.isConnected ? (n.current = r, Ug(n.current)) : Ag.current && Gg(Ag.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), V(() => () => {
+ }, [e, t]), tp(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Fg(e) {
- return Lg(e);
+function Rg(e) {
+ return Bg(e);
}
-function Ig(e, t) {
- return !e || !t ? !1 : t.some((t) => Lf(t, e));
+function zg(e, t) {
+ return !e || !t ? !1 : t.some((t) => Vf(t, e));
}
-function Lg(e, t = null) {
+function Bg(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of Jg.traverse(Jg.getTreeNode(t))) if (n && Ig(e, n.current)) return !0;
+ for (let { scopeRef: n } of e_.traverse(e_.getTreeNode(t))) if (n && zg(e, n.current)) return !0;
return !1;
}
-function Rg(e) {
- return Lg(e, Ag);
+function Vg(e) {
+ return Bg(e, Ag);
}
-function zg(e, t) {
- let n = Jg.getTreeNode(t)?.parent;
+function Hg(e, t) {
+ let n = e_.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function Bg(e, t = !1) {
+function Ug(e, t = !1) {
if (e != null && !t) try {
- lm(e);
+ mm(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function Vg(e, t = !0) {
- let n = e[0].previousElementSibling, r = Mg(e), i = Gg(r, { tabbable: t }, e);
+function Wg(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Ng(e), i = Zg(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Mg(e), i = Gg(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Ng(e), i = Zg(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function Hg(e, t = !0) {
- Bg(Vg(e, t));
+function Gg(e, t = !0) {
+ Ug(Wg(e, t));
}
-function see(e, t) {
- let n = E.useRef(t);
- (0, E.useEffect)(() => {
- n.current && (Ag = e, !Ig(Rf(Df(e.current ? e.current[0] : void 0)), Ag.current) && e.current && Hg(e.current)), n.current = !1;
+function Kg(e, t) {
+ let n = D.useRef(t);
+ (0, D.useEffect)(() => {
+ n.current && (Ag = e, !zg(Hf(jf(e.current ? e.current[0] : void 0)), Ag.current) && e.current && Gg(e.current)), n.current = !1;
}, [e]);
}
-function cee(e, t, n) {
- V(() => {
+function qg(e, t, n) {
+ tp(() => {
if (t || n) return;
- let r = e.current, i = Df(r ? r[0] : void 0), a = (t) => {
- let n = B(t);
- Ig(n, e.current) ? Ag = e : Fg(n) || (Ag = null);
+ let r = e.current, i = jf(r ? r[0] : void 0), a = (t) => {
+ let n = V(t);
+ zg(n, e.current) ? Ag = e : Rg(n) || (Ag = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -9599,43 +9650,43 @@ function cee(e, t, n) {
n
]);
}
-function Ug(e) {
- let t = Jg.getTreeNode(Ag);
+function Jg(e) {
+ let t = e_.getTreeNode(Ag);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function lee(e, t, n) {
- let r = (0, E.useRef)(typeof document < "u" ? Rf(Df(e.current ? e.current[0] : void 0)) : null);
- V(() => {
- let r = e.current, i = Df(r ? r[0] : void 0);
+function Yg(e, t, n) {
+ let r = (0, D.useRef)(typeof document < "u" ? Hf(jf(e.current ? e.current[0] : void 0)) : null);
+ tp(() => {
+ let r = e.current, i = jf(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Ag || zg(Ag, e)) && Ig(Rf(i), e.current) && (Ag = e);
+ (!Ag || Hg(Ag, e)) && zg(Hf(i), e.current) && (Ag = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), V(() => {
- let r = Df(e.current ? e.current[0] : void 0);
+ }, [e, n]), tp(() => {
+ let r = jf(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ng(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Pg(e) || t.isComposing) return;
let n = r.activeElement;
- if (!Lg(n, e) || !Ug(e)) return;
- let i = Jg.getTreeNode(e);
+ if (!Bg(n, e) || !Jg(e)) return;
+ let i = e_.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = Gg(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = Zg(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Lg(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Bg(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (Lg(s, e));
- t.preventDefault(), t.stopPropagation(), s ? Bg(s, !0) : Fg(a) ? Bg(a, !0) : n.blur();
+ while (Bg(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? Ug(s, !0) : Rg(a) ? Ug(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -9645,31 +9696,31 @@ function lee(e, t, n) {
e,
t,
n
- ]), V(() => {
- let n = Df(e.current ? e.current[0] : void 0);
+ ]), tp(() => {
+ let n = jf(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = Jg.getTreeNode(e);
+ let i = e_.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = Jg.getTreeNode(e);
+ let r = e_.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = Rf(n);
- if (t && i && (a && Lg(a, e) || a === n.body && Ug(e))) {
- let t = Jg.clone();
+ let i = r.nodeToRestore, a = Hf(n);
+ if (t && i && (a && Bg(a, e) || a === n.body && Jg(e))) {
+ let t = e_.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- Wg(n.nodeToRestore);
+ Xg(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && Jg.getTreeNode(n.scopeRef)) {
- let e = Vg(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && e_.getTreeNode(n.scopeRef)) {
+ let e = Wg(n.scopeRef.current, !0);
if (e) {
- Wg(e);
+ Xg(e);
return;
}
}
@@ -9681,21 +9732,21 @@ function lee(e, t, n) {
};
}, [e, t]);
}
-function Wg(e) {
+function Xg(e) {
e.dispatchEvent(new CustomEvent(kg, {
bubbles: !0,
cancelable: !0
- })) && Bg(e);
+ })) && Ug(e);
}
-function Gg(e, t, n) {
- let r = t?.tabbable ? Yf : Jf, i = Df(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Dg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return Lf(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!oee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Ig(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function Zg(e, t, n) {
+ let r = t?.tabbable ? $f : Qf, i = jf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Dg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return Vf(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Ig(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || zg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Kg = class e {
+var Qg = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new qg({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new $g({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -9706,7 +9757,7 @@ var Kg = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new qg({ scopeRef: e });
+ let i = new $g({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -9717,7 +9768,7 @@ var Kg = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Ig(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && zg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -9729,7 +9780,7 @@ var Kg = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, qg = class {
+}, $g = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -9739,13 +9790,13 @@ var Kg = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, Jg = new Kg(), Yg = 7e3, Xg = null;
-function Zg(e, t = "assertive", n = Yg) {
- Xg ? Xg.announce(e, t, n) : (Xg = new uee(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Xg.announce(e, t, n) : setTimeout(() => {
- Xg?.isAttached() && Xg?.announce(e, t, n);
+}, e_ = new Qg(), t_ = 7e3, n_ = null;
+function r_(e, t = "assertive", n = t_) {
+ n_ ? n_.announce(e, t, n) : (n_ = new i_(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? n_.announce(e, t, n) : setTimeout(() => {
+ n_?.isAttached() && n_?.announce(e, t, n);
}, 100));
}
-var uee = class {
+var i_ = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -9770,7 +9821,7 @@ var uee = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = Yg) {
+ announce(e, t = "assertive", n = t_) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -9783,45 +9834,45 @@ var uee = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function Qg(e, t) {
- let n = (0, E.useRef)(!0), r = (0, E.useRef)(null), i = Th(e);
- (0, E.useEffect)(() => (n.current = !0, () => {
+function a_(e, t) {
+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null), i = Ah(e);
+ (0, D.useEffect)(() => (n.current = !0, () => {
n.current = !1;
- }), []), (0, E.useEffect)(() => {
+ }), []), (0, D.useEffect)(() => {
let e = r.current;
n.current ? n.current = !1 : (!e || t.some((t, n) => !Object.is(t, e[n]))) && i(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function $g(e, t) {
+function o_(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function e_(e, t) {
+function s_(e, t) {
let n = e;
- for ($g(n, t) && (n = n.parentElement); n && !$g(n, t);) n = n.parentElement;
+ for (o_(n, t) && (n = n.parentElement); n && !o_(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function t_(e, t) {
+function c_(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && ($g(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (o_(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function n_(e, t, n = {}) {
- e !== t && dee(e, t, t.getBoundingClientRect(), n);
+function l_(e, t, n = {}) {
+ e !== t && u_(e, t, t.getBoundingClientRect(), n);
}
-function dee(e, t, n, r = {}) {
- let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, F = e === d ? 0 : e.offsetWidth - e.clientWidth - N, I = e === d ? 0 : e.offsetHeight - e.clientHeight - P, ee = p + (f ? 0 : T) + x, te = m - (f ? 0 : E) - S - I, L = h + (f ? 0 : D) + C, ne = g - (f ? 0 : O) - w;
- cp() && up() || u.direction === "ltr" ? ne -= F : u.direction === "rtl" && (L += F);
- let re = k < ee || A > te, ie = j < L || M > ne;
+function u_(e, t, n, r = {}) {
+ let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, F = e === d ? 0 : e.offsetWidth - e.clientWidth - N, I = e === d ? 0 : e.offsetHeight - e.clientHeight - P, ee = p + (f ? 0 : T) + x, te = m - (f ? 0 : E) - S - I, ne = h + (f ? 0 : D) + C, L = g - (f ? 0 : O) - w;
+ pp() && hp() || u.direction === "ltr" ? L -= F : u.direction === "rtl" && (ne += F);
+ let re = k < ee || A > te, ie = j < ne || M > L;
if (re && i === "start") o += k - ee;
else if (re && i === "center") o += (k + A) / 2 - (ee + te) / 2;
else if (re && i === "end") o += A - te;
@@ -9829,11 +9880,11 @@ function dee(e, t, n, r = {}) {
let e = k - ee, t = A - te;
o += Math.abs(e) <= Math.abs(t) ? e : t;
}
- if (ie && a === "start") s += j - L;
- else if (ie && a === "center") s += (j + M) / 2 - (L + ne) / 2;
- else if (ie && a === "end") s += M - ne;
+ if (ie && a === "start") s += j - ne;
+ else if (ie && a === "center") s += (j + M) / 2 - (ne + L) / 2;
+ else if (ie && a === "end") s += M - L;
else if (ie && a === "nearest") {
- let e = j - L, t = M - ne;
+ let e = j - ne, t = M - L;
s += Math.abs(e) <= Math.abs(t) ? e : t;
}
e.scrollTo({
@@ -9841,7 +9892,7 @@ function dee(e, t, n, r = {}) {
top: o
});
}
-function r_(e, t = {}) {
+function d_(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -9854,50 +9905,50 @@ function r_(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = t_(e, !0);
- for (let t of i) n_(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = c_(e, !0);
+ for (let t of i) l_(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? t_(n, !0) : [];
- for (let e of i) n_(e, n, {
+ i = n ? c_(n, !0) : [];
+ for (let e of i) l_(e, n, {
block: "center",
inline: "center"
});
- for (let t of t_(e, !0)) n_(t, e);
+ for (let t of c_(e, !0)) l_(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var fee = 0, i_ = /* @__PURE__ */ new Map();
-function a_(e) {
- let [t, n] = (0, E.useState)();
- return V(() => {
+var f_ = 0, p_ = /* @__PURE__ */ new Map();
+function m_(e) {
+ let [t, n] = (0, D.useState)();
+ return tp(() => {
if (!e) return;
- let t = i_.get(e);
+ let t = p_.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${fee++}`;
+ let r = `react-aria-description-${f_++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, i_.set(e, t);
+ }, p_.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), i_.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), p_.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function o_(e, t, n) {
- let r = Th((e) => {
+function h_(e, t, n) {
+ let r = Ah((e) => {
n && !e.defaultPrevented && n(t);
});
- (0, E.useEffect)(() => {
+ (0, D.useEffect)(() => {
let t = e?.current?.form;
return t?.addEventListener("reset", r), () => {
t?.removeEventListener("reset", r);
@@ -9906,35 +9957,35 @@ function o_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function s_(e, t, n) {
+function g_(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- V(() => {
+ tp(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(c_(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(v_(n.current));
}
});
- let a = (0, E.useRef)(!1), o = Th(() => {
+ let a = (0, D.useRef)(!1), o = Ah(() => {
a.current || t.resetValidation();
- }), s = Th((e) => {
+ }), s = Ah((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && l_(r) === n.current && (i ? i() : n.current?.focus(), $p("keyboard")), e.preventDefault();
- }), c = Th(() => {
+ !e.defaultPrevented && n && r && y_(r) === n.current && (i ? i() : n.current?.focus(), im("keyboard")), e.preventDefault();
+ }), c = Ah(() => {
t.commitValidation();
});
- (0, E.useEffect)(() => {
+ (0, D.useEffect)(() => {
let e = n?.current;
if (!e) return;
let t = e.form, r = t?.reset;
return t && (t.reset = () => {
- a.current = !window.event || window.event.type === "message" && B(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
+ a.current = !window.event || window.event.type === "message" && V(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
}), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {
e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);
};
}, [n, r]);
}
-function pee(e) {
+function __(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -9950,14 +10001,14 @@ function pee(e) {
valid: t.valid
};
}
-function c_(e) {
+function v_(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: pee(e),
+ validationDetails: __(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function l_(e) {
+function y_(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -9966,16 +10017,16 @@ function l_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function u_(e = !0) {
- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {
+function b_(e = !0) {
+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return V(() => {
+ return tp(() => {
r.current || n(!1);
}, []), [i, t];
}
-function d_(e = !0) {
- let t = gm(), [n, r] = u_(e);
+function x_(e = !0) {
+ let t = xm(), [n, r] = b_(e);
return {
id: r ? t : void 0,
ref: n
@@ -9983,7 +10034,7 @@ function d_(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var f_ = {
+var S_ = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -9995,18 +10046,18 @@ var f_ = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, p_ = {
- ...f_,
+}, C_ = {
+ ...S_,
customError: !0,
valid: !1
-}, m_ = {
+}, w_ = {
isInvalid: !1,
- validationDetails: f_,
+ validationDetails: S_,
validationErrors: []
-}, h_ = (0, E.createContext)({}), g_ = "__reactAriaFormValidationState";
-function __(e) {
+}, T_ = (0, D.createContext)({}), E_ = "__reactAriaFormValidationState";
+function D_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[g_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[E_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -10015,71 +10066,71 @@ function __(e) {
commitValidation: a
};
}
- return v_(e);
+ return O_(e);
}
-function v_(e) {
+function O_(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: p_
- }, l = (0, E.useMemo)(() => !o || i == null ? null : b_(mee(o, i)), [o, i]);
+ validationDetails: C_
+ }, l = (0, D.useMemo)(() => !o || i == null ? null : j_(A_(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, E.useContext)(h_), d = (0, E.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => y_(u[e])) : y_(u[r]) : [], [u, r]), [f, p] = (0, E.useState)(u), [m, h] = (0, E.useState)(!1);
+ let u = (0, D.useContext)(T_), d = (0, D.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => k_(u[e])) : k_(u[r]) : [], [u, r]), [f, p] = (0, D.useState)(u), [m, h] = (0, D.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, E.useMemo)(() => b_(m ? [] : d), [m, d]), _ = (0, E.useRef)(m_), [v, y] = (0, E.useState)(m_), b = (0, E.useRef)(m_), x = () => {
+ let g = (0, D.useMemo)(() => j_(m ? [] : d), [m, d]), _ = (0, D.useRef)(w_), [v, y] = (0, D.useState)(w_), b = (0, D.useRef)(w_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- x_(e, b.current) || (b.current = e, y(e));
- }, [S, C] = (0, E.useState)(!1);
- return (0, E.useEffect)(x), {
- realtimeValidation: c || g || l || a || m_,
+ M_(e, b.current) || (b.current = e, y(e));
+ }, [S, C] = (0, D.useState)(!1);
+ return (0, D.useEffect)(x), {
+ realtimeValidation: c || g || l || a || w_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !x_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !M_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = m_;
- x_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = w_;
+ M_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function y_(e) {
+function k_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function mee(e, t) {
+function A_(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return y_(n);
+ if (n && typeof n != "boolean") return k_(n);
}
return [];
}
-function b_(e) {
+function j_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: p_
+ validationDetails: C_
} : null;
}
-function x_(e, t) {
+function M_(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function S_(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = __({
+function N_(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = D_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- s_(e, b, n);
+ g_(e, b, n);
let w = (e) => {
- e.stopPropagation(), t.setSelected(B(e).checked);
- }, { pressProps: T, isPressed: D } = bg({
+ e.stopPropagation(), t.setSelected(V(e).checked);
+ }, { pressProps: T, isPressed: E } = xg({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -10087,7 +10138,7 @@ function S_(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, E.useState)(!1), { pressProps: A } = bg({
+ }), [O, k] = (0, D.useState)(!1), { pressProps: A } = xg({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -10116,13 +10167,13 @@ function S_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [g_]: i } = e, { commitValidation: a } = i || b;
+ let { [E_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = Hm(e, n), M = H(T, j), N = ag(e, { labelable: !0 });
- o_(n, t.defaultSelected, t.setSelected);
- let P = d_(), F = d_();
+ }), { focusableProps: j } = qm(e, n), M = H(T, j), N = cg(e, { labelable: !0 });
+ h_(n, t.defaultSelected, t.setSelected);
+ let P = x_(), F = x_();
return {
labelProps: H(A, { onClick: (e) => e.preventDefault() }),
inputProps: H(N, {
@@ -10149,7 +10200,7 @@ function S_(e, t, n) {
descriptionProps: P,
errorMessageProps: F,
isSelected: t.isSelected,
- isPressed: D || O,
+ isPressed: E || O,
isDisabled: r,
isReadOnly: i,
isInvalid: x || e.validationState === "invalid",
@@ -10159,12 +10210,12 @@ function S_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function C_(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = S_(e, t, n), { isIndeterminate: m } = e;
- return (0, E.useEffect)(() => {
+function P_(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = N_(e, t, n), { isIndeterminate: m } = e;
+ return (0, D.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
- labelProps: H(r, (0, E.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
+ labelProps: H(r, (0, D.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
inputProps: i,
descriptionProps: a,
errorMessageProps: o,
@@ -10179,18 +10230,18 @@ function C_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var hee = /* @__PURE__ */ new WeakMap();
+var F_ = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function w_(e) {
+function I_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = gm(t);
- let o = gm(), s = {};
+ t = xm(t);
+ let o = xm(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Dh({
+ let c = Mh({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -10202,13 +10253,13 @@ function w_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function T_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = w_(e), s = vm([
+function L_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = I_(e), s = Cm([
!!t,
!!n,
r,
i
- ]), c = vm([
+ ]), c = Cm([
!!t,
!!n,
r,
@@ -10227,26 +10278,26 @@ function T_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function E_(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, E.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = mg(), c = (0, E.useCallback)((e) => {
- Lf(e.currentTarget, B(e)) && a.current.isFocusWithin && !Lf(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function R_(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, D.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = gg(), c = (0, D.useCallback)((e) => {
+ Vf(e.currentTarget, V(e)) && a.current.isFocusWithin && !Vf(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = $f(c), u = (0, E.useCallback)((e) => {
- if (!Lf(e.currentTarget, B(e))) return;
- let t = B(e), n = Df(t), s = Rf(n);
+ ]), l = ip(c), u = (0, D.useCallback)((e) => {
+ if (!Vf(e.currentTarget, V(e))) return;
+ let t = V(e), n = jf(t), s = Hf(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
- let r = B(e);
- if (a.current.isFocusWithin && !Lf(t, r)) {
+ let r = V(e);
+ if (a.current.isFocusWithin && !Vf(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- Qf(e, t);
- let i = Zf(e);
+ rp(e, t);
+ let i = np(e);
c(i);
}
}, { capture: !0 });
@@ -10268,26 +10319,26 @@ function E_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var gee = typeof document < "u" ? E.useInsertionEffect ?? E.useLayoutEffect : () => {};
-function D_(e, t, n) {
- let [r, i] = (0, E.useState)(e || t), a = (0, E.useRef)(r), o = (0, E.useRef)(e !== void 0), s = e !== void 0;
- (0, E.useEffect)(() => {
+var z_ = typeof document < "u" ? D.useInsertionEffect ?? D.useLayoutEffect : () => {};
+function B_(e, t, n) {
+ let [r, i] = (0, D.useState)(e || t), a = (0, D.useRef)(r), o = (0, D.useRef)(e !== void 0), s = e !== void 0;
+ (0, D.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- gee(() => {
+ z_(() => {
a.current = c;
});
- let [, l] = (0, E.useReducer)(() => ({}), {});
- return [c, (0, E.useCallback)((e, ...t) => {
+ let [, l] = (0, D.useReducer)(() => ({}), {});
+ return [c, (0, D.useCallback)((e, ...t) => {
let r = typeof e == "function" ? e(a.current) : e;
Object.is(a.current, r) || (a.current = r, i(r), l(), n?.(r, ...t));
}, [n])];
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function O_(e = {}) {
- let { isReadOnly: t } = e, [n, r] = D_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, E.useState)(n);
+function V_(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = B_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, D.useState)(n);
function a(e) {
t || r(e);
}
@@ -10303,26 +10354,26 @@ function O_(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function _ee(e, t, n) {
- let r = O_({
+function lee(e, t, n) {
+ let r = V_({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = hee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = F_.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = __({
+ let { realtimeValidation: l } = D_({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, E.useRef)(m_), d = () => {
+ }), u = (0, D.useRef)(w_), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
- (0, E.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = C_({
+ (0, D.useEffect)(d);
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = P_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -10330,7 +10381,7 @@ function _ee(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [g_]: {
+ [E_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -10354,12 +10405,12 @@ function _ee(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function k_(e, t = -Infinity, n = Infinity) {
+function H_(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var A_ = {
+var U_ = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -10371,38 +10422,38 @@ var A_ = {
width: "1px",
whiteSpace: "nowrap"
};
-function j_(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, E.useState)(!1), { focusWithinProps: a } = E_({
+function W_(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, D.useState)(!1), { focusWithinProps: a } = R_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
- }), o = (0, E.useMemo)(() => r ? t : t ? {
- ...A_,
+ }), o = (0, D.useMemo)(() => r ? t : t ? {
+ ...U_,
...t
- } : A_, [r]);
+ } : U_, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function M_(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = j_(e);
- return /*#__PURE__*/ E.createElement(n, H(a, o), t);
+function G_(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = W_(e);
+ return /*#__PURE__*/ D.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function vee(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = D_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Hm(e, t), d = __({
+function uee(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = B_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = qm(e, t), d = D_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = T_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = L_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = ag(e, { labelable: !0 }), b = {
+ }), y = cg(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
- }, [x] = (0, E.useState)(c);
- return o_(t, e.defaultValue ?? x, l), s_(e, d, t), {
+ }, [x] = (0, D.useState)(c);
+ return h_(t, e.defaultValue ?? x, l), g_(e, d, t), {
labelProps: h,
inputProps: H(y, n === "input" ? b : void 0, {
disabled: r,
@@ -10416,7 +10467,7 @@ function vee(e, t) {
"aria-haspopup": e["aria-haspopup"],
"aria-controls": e["aria-controls"],
value: c,
- onChange: (e) => l(B(e).value),
+ onChange: (e) => l(V(e).value),
autoComplete: e.autoComplete,
autoCapitalize: e.autoCapitalize,
maxLength: e.maxLength,
@@ -10449,42 +10500,42 @@ function vee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var N_ = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function P_(e) {
+var dee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function K_(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var F_ = /* @__PURE__ */ new WeakMap(), I_ = [];
-function L_(e, t) {
- let n = Of(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && N_, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var q_ = /* @__PURE__ */ new WeakMap(), J_ = [];
+function Y_(e, t) {
+ let n = Mf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && dee, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
- if (If()) {
+ if (Bf()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; Mf(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; If(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (Lf(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (Vf(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Dg(Df(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = Dg(jf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = F_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), F_.set(e, t + 1));
+ let t = q_.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), q_.set(e, t + 1));
};
- I_.length && I_[I_.length - 1].disconnect(), d(i);
+ J_.length && J_[J_.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => Lf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && P_(e) ? o.add(e) : e instanceof Element && d(e);
- if (If()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => Vf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && K_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Bf()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -10497,11 +10548,11 @@ function L_(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (If()) for (let e of u) {
+ if (Bf()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => Lf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && P_(e) ? o.add(e) : e instanceof Element && d(e);
- if (If()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => Vf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && K_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Bf()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -10527,59 +10578,59 @@ function L_(e, t) {
p.disconnect();
}
};
- return I_.push(h), () => {
- if (p.disconnect(), If()) for (let e of m) e.disconnect();
+ return J_.push(h), () => {
+ if (p.disconnect(), Bf()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = F_.get(e);
- t != null && (t === 1 ? (l(e, !1), F_.delete(e)) : F_.set(e, t - 1));
+ let t = q_.get(e);
+ t != null && (t === 1 ? (l(e, !1), q_.delete(e)) : q_.set(e, t - 1));
}
- h === I_[I_.length - 1] ? (I_.pop(), I_.length && I_[I_.length - 1].observe()) : I_.splice(I_.indexOf(h), 1);
+ h === J_[J_.length - 1] ? (J_.pop(), J_.length && J_[J_.length - 1].observe()) : J_.splice(J_.indexOf(h), 1);
};
}
-function R_(e) {
- let t = I_[I_.length - 1];
+function fee(e) {
+ let t = J_[J_.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var z_ = /* @__PURE__ */ new WeakMap();
-function B_(e) {
+var X_ = /* @__PURE__ */ new WeakMap();
+function pee(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function V_(e, t) {
- let n = z_.get(e);
+function mee(e, t) {
+ let n = X_.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${B_(t)}`;
+ return `${n.id}-option-${pee(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function H_(e) {
- return lp() ? e.altKey : e.ctrlKey;
+function Z_(e) {
+ return mp() ? e.altKey : e.ctrlKey;
}
-function U_(e, t) {
+function Q_(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var W_ = /* @__PURE__ */ new WeakMap();
-function G_(e) {
- let t = gm();
- return W_.set(e, t), t;
+var $_ = /* @__PURE__ */ new WeakMap();
+function hee(e) {
+ let t = xm();
+ return $_.set(e, t), t;
}
-function K_(e) {
- return W_.get(e);
+function gee(e) {
+ return $_.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var q_ = class {
+var ev = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : U_(this.ref, e);
+ let n = e == null ? null : Q_(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -10605,12 +10656,12 @@ var q_ = class {
height: e?.clientHeight ?? 0
};
}
-}, J_ = class {
+}, tv = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new q_(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new q_(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new ev(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new ev(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -10650,14 +10701,14 @@ var q_ = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = U_(this.ref, e);
+ let t = this.getNextKey(e), n = Q_(this.ref, e);
if (t != null) {
- let e = U_(this.ref, t);
+ let e = Q_(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = U_(this.ref, r);
+ let e = Q_(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -10691,7 +10742,7 @@ var q_ = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !$g(t)) return this.getFirstKey();
+ if (t && !o_(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -10706,7 +10757,7 @@ var q_ = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !$g(t)) return this.getLastKey();
+ if (t && !o_(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -10729,184 +10780,184 @@ var q_ = class {
}
return null;
}
-}, Y_ = {};
-Y_ = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, nv = {};
+nv = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var X_ = {};
-X_ = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var rv = {};
+rv = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Z_ = {};
-Z_ = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var iv = {};
+iv = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var Q_ = {};
-Q_ = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var av = {};
+av = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var $_ = {};
-$_ = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var ov = {};
+ov = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var ev = {};
-ev = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var sv = {};
+sv = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var tv = {};
-tv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var cv = {};
+cv = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var nv = {};
-nv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var lv = {};
+lv = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var rv = {};
-rv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var uv = {};
+uv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var iv = {};
-iv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var dv = {};
+dv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var av = {};
-av = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var fv = {};
+fv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var ov = {};
-ov = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var pv = {};
+pv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var sv = {};
-sv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var mv = {};
+mv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var cv = {};
-cv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var hv = {};
+hv = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var lv = {};
-lv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var gv = {};
+gv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var uv = {};
-uv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var _v = {};
+_v = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var dv = {};
-dv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var vv = {};
+vv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var fv = {};
-fv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var yv = {};
+yv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var pv = {};
-pv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var bv = {};
+bv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var mv = {};
-mv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var xv = {};
+xv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var hv = {};
-hv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Sv = {};
+Sv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var gv = {};
-gv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Cv = {};
+Cv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var _v = {};
-_v = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var wv = {};
+wv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var vv = {};
-vv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Tv = {};
+Tv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var yv = {};
-yv = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var Ev = {};
+Ev = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var bv = {};
-bv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Dv = {};
+Dv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var xv = {};
-xv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Ov = {};
+Ov = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var Sv = {};
-Sv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var kv = {};
+kv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var Cv = {};
-Cv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Av = {};
+Av = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var wv = {};
-wv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var jv = {};
+jv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var Tv = {};
-Tv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Mv = {};
+Mv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var Ev = {};
-Ev = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Nv = {};
+Nv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Dv = {};
-Dv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Pv = {};
+Pv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Ov = {};
-Ov = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Fv = {};
+Fv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var kv = {};
-kv = {
- "ar-AE": Y_,
- "bg-BG": X_,
- "cs-CZ": Z_,
- "da-DK": Q_,
- "de-DE": $_,
- "el-GR": ev,
- "en-US": tv,
- "es-ES": nv,
- "et-EE": rv,
- "fi-FI": iv,
- "fr-FR": av,
- "he-IL": ov,
- "hr-HR": sv,
- "hu-HU": cv,
- "it-IT": lv,
- "ja-JP": uv,
- "ko-KR": dv,
- "lt-LT": fv,
- "lv-LV": pv,
- "nb-NO": mv,
- "nl-NL": hv,
- "pl-PL": gv,
- "pt-BR": _v,
- "pt-PT": vv,
- "ro-RO": yv,
- "ru-RU": bv,
- "sk-SK": xv,
- "sl-SI": Sv,
- "sr-SP": Cv,
- "sv-SE": wv,
- "tr-TR": Tv,
- "uk-UA": Ev,
- "zh-CN": Dv,
- "zh-TW": Ov
+var Iv = {};
+Iv = {
+ "ar-AE": nv,
+ "bg-BG": rv,
+ "cs-CZ": iv,
+ "da-DK": av,
+ "de-DE": ov,
+ "el-GR": sv,
+ "en-US": cv,
+ "es-ES": lv,
+ "et-EE": uv,
+ "fi-FI": dv,
+ "fr-FR": fv,
+ "he-IL": pv,
+ "hr-HR": mv,
+ "hu-HU": hv,
+ "it-IT": gv,
+ "ja-JP": _v,
+ "ko-KR": vv,
+ "lt-LT": yv,
+ "lv-LV": bv,
+ "nb-NO": xv,
+ "nl-NL": Sv,
+ "pl-PL": Cv,
+ "pt-BR": wv,
+ "pt-PT": Tv,
+ "ro-RO": Ev,
+ "ru-RU": Dv,
+ "sk-SK": Ov,
+ "sl-SI": kv,
+ "sr-SP": Av,
+ "sv-SE": jv,
+ "tr-TR": Mv,
+ "uk-UA": Nv,
+ "zh-CN": Pv,
+ "zh-TW": Fv
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Av = 500;
-function jv(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Av, accessibilityDescription: s } = e, c = (0, E.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = mg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = bg({
+var _ee = 500;
+function Lv(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = _ee, accessibilityDescription: s } = e, c = (0, D.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = gg(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = xg({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -10914,12 +10965,12 @@ function jv(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Df(e.target).activeElement !== e.target && Sf(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), jf(e.target).activeElement !== e.target && Ef(e.target), a && a({
...e,
type: "longpress"
}), c.current = void 0;
}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });
- let t = Of(e.target);
+ let t = Mf(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -10934,12 +10985,12 @@ function jv(e) {
});
}
});
- return { longPressProps: H(f, a_(a && !t ? s : void 0)) };
+ return { longPressProps: H(f, m_(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Mv(e) {
- let { onContextMenu: t } = e, n = (0, E.useRef)(!1), { longPressProps: r } = jv({
+function vee(e) {
+ let { onContextMenu: t } = e, n = (0, D.useRef)(!1), { longPressProps: r } = Lv({
onLongPressStart() {
n.current = !1;
},
@@ -10951,7 +11002,7 @@ function Mv(e) {
});
}
});
- return t ? { contextMenuProps: H(cp() ? r : {}, {
+ return t ? { contextMenuProps: H(pp() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -10962,7 +11013,7 @@ function Mv(e) {
});
},
onKeyDown(e) {
- if (ap() && e.ctrlKey && e.key === "Enter") {
+ if (up() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -10982,13 +11033,13 @@ function Mv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Nv = /* @__PURE__ */ new WeakMap();
-function Pv(e) {
+var Rv = /* @__PURE__ */ new WeakMap();
+function yee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, E.useEffect)(() => !n || r === null ? void 0 : Nf(zf(t.current), "scroll", (e) => {
- let n = B(e);
- if (!t.current || n instanceof Node && !Lf(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Nv.get(t.current);
+ (0, D.useEffect)(() => !n || r === null ? void 0 : Lf(Uf(t.current), "scroll", (e) => {
+ let n = V(e);
+ if (!t.current || n instanceof Node && !Vf(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || Rv.get(t.current);
i && i();
}, !0), [
n,
@@ -10998,14 +11049,14 @@ function Pv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Fv(e, t, n) {
+function bee(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
- (0, E.useEffect)(() => {
- n && n.current && Nv.set(n.current, t.close);
+ (0, D.useEffect)(() => {
+ n && n.current && Rv.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = gm();
+ let o = xm();
return {
triggerProps: {
"aria-haspopup": a,
@@ -11018,14 +11069,14 @@ function Fv(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function yee(e) {
+function xee(e) {
return e && e.__esModule ? e.default : e;
}
-function bee(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = gm(), { triggerProps: s, overlayProps: c } = Fv({ type: r }, t, n), l = (e, n, r = "first") => {
+function See(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = xm(), { triggerProps: s, overlayProps: c } = bee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = Lm({
+ }, { keyboardProps: u } = Hm({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -11037,7 +11088,7 @@ function bee(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = Qh(yee(kv), "@react-aria/menu"), { longPressProps: f } = jv({
+ }), d = rg(xee(Iv), "@react-aria/menu"), { longPressProps: f } = Lv({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11049,24 +11100,24 @@ function bee(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Sf(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ef(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (Sf(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (Ef(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = Mv({ onContextMenu(e) {
+ let { contextMenuProps: m } = vee({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
y: n.y + e.y
}), t.open();
} });
- (0, E.useEffect)(() => {
+ (0, D.useEffect)(() => {
if (t.isOpen && a === "contextMenu") {
let e = (e) => {
- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && B(e) === document.body && t.close();
+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && V(e) === document.body && t.close();
};
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
}
@@ -11101,13 +11152,13 @@ function bee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Iv = 1e3;
-function Lv(e) {
- let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, E.useRef)({
+var zv = 1e3;
+function Bv(e) {
+ let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, D.useRef)({
search: "",
timeout: void 0
});
- return (0, E.useEffect)(() => {
+ return (0, D.useEffect)(() => {
let e = i.current.timeout;
return () => {
clearTimeout(e);
@@ -11121,12 +11172,12 @@ function Lv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Iv);
+ }, zv);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = xee(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Lf(e.currentTarget, B(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Vv(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Vf(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -11137,34 +11188,34 @@ function Lv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Iv);
+ }, zv);
}
} : void 0
} };
}
-function xee(e) {
+function Vv(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Rv(e, t) {
- let n = (0, E.useRef)(!0), r = (0, E.useRef)(null);
- V(() => (n.current = !0, () => {
+function Hv(e, t) {
+ let n = (0, D.useRef)(!0), r = (0, D.useRef)(null);
+ tp(() => (n.current = !0, () => {
n.current = !1;
- }), []), V(() => {
+ }), []), tp(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function zv(e) {
- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Rh(), _ = _p(), v = (e, n, i) => {
+function Uv(e) {
+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Uh(), _ = Sp(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !H_(e)) {
- (0, Zm.flushSync)(() => {
+ if (t.isLink(n) && m === "selection" && l && !Z_(e)) {
+ (0, nh.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = U_(r, n), o = t.getItemProps(n);
+ let a = Q_(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -11176,7 +11227,7 @@ function zv(e) {
t.extendSelection(n);
return;
}
- if (l && !H_(e)) {
+ if (l && !Z_(e)) {
t.replaceSelection(n);
return;
}
@@ -11203,9 +11254,9 @@ function zv(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, xh(e));
+ let r = n.getFirstKey(t.focusedKey, Eh(e));
if (t.setFocusedKey(r), r != null) {
- if (xh(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Eh(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -11237,9 +11288,9 @@ function zv(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, xh(e));
+ let r = n.getLastKey(t.focusedKey, Eh(e));
if (t.setFocusedKey(r), r != null) {
- if (xh(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Eh(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -11256,7 +11307,7 @@ function zv(e) {
if (r != null) return v(e, r);
}
return !1;
- }, D = (e) => {
+ }, E = (e) => {
if (n.getKeyPageAbove && t.focusedKey != null) {
let r = n.getKeyPageAbove(t.focusedKey);
if (r != null) return v(e, r);
@@ -11276,12 +11327,12 @@ function zv(e) {
return !1;
}, A = () => {
if (!f && r.current) {
- let e = Gg(r.current, { tabbable: !0 }), t, n;
+ let e = Zg(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = Rf();
- t && (!Bf(t) || i && !Yf(i)) && Sf(t);
+ let i = Hf();
+ t && (!Wf(t) || i && !$f(i)) && Ef(t);
}
return {
shouldContinuePropagation: !0,
@@ -11291,32 +11342,32 @@ function zv(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), M = (e, t) => ({
- [ap() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [up() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [ap() ? e + "+Alt" : e + "+Control"]: t,
+ [up() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: N } = Lm({
+ }), { keyboardProps: N } = Hm({
shortcuts: {
...M("ArrowDown", y),
...M("ArrowUp", b),
...M("ArrowLeft", S),
...M("ArrowRight", C),
...M("PageDown", T),
- ...M("PageUp", D)
+ ...M("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: P } = Lm({ shortcuts: {
+ }), { keyboardProps: P } = Hm({ shortcuts: {
...M("Home", x),
...M("End", w),
"Mod+A": O,
Escape: k,
Tab: A,
"Tab+Shift": j
- } }), F = (0, E.useRef)({
+ } }), F = (0, D.useRef)({
top: 0,
left: 0
});
- Eh(p, "scroll", () => {
+ jh(p, "scroll", () => {
F.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -11324,11 +11375,11 @@ function zv(e) {
});
let I = (e) => {
if (t.isFocused) {
- Lf(e.currentTarget, B(e)) || t.setFocused(!1);
+ Vf(e.currentTarget, V(e)) || t.setFocused(!1);
return;
}
- if (!Lf(e.currentTarget, B(e))) return;
- let i = Qp();
+ if (!Vf(e.currentTarget, V(e))) return;
+ let i = rm();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -11339,32 +11390,32 @@ function zv(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = F.current.top, p.current.scrollLeft = F.current.left);
if (t.focusedKey != null && p.current) {
- let e = U_(r, t.focusedKey);
- e instanceof HTMLElement && (!Bf(e) && !d && Sf(e), (i === "keyboard" || h && i === "virtual") && r_(e, { containingElement: r.current }));
+ let e = Q_(r, t.focusedKey);
+ e instanceof HTMLElement && (!Wf(e) && !d && Ef(e), (i === "keyboard" || h && i === "virtual") && d_(e, { containingElement: r.current }));
}
}, ee = (e) => {
- Lf(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
- }, te = (0, E.useRef)(!1);
- Eh(r, gh, d ? (e) => {
+ Vf(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ }, te = (0, D.useRef)(!1);
+ jh(r, xh, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (te.current = !0);
} : void 0);
- let L = n.getFirstKey?.() ?? null;
- Rv(() => {
+ let ne = n.getFirstKey?.() ?? null;
+ Hv(() => {
if (te.current) {
- if (L == null) {
- let e = Rf();
- _h(r.current), yh(e, null), t.collection.size > 0 && (te.current = !1);
- } else t.setFocusedKey(L), te.current = !1;
+ if (ne == null) {
+ let e = Hf();
+ Sh(r.current), wh(e, null), t.collection.size > 0 && (te.current = !1);
+ } else t.setFocusedKey(ne), te.current = !1;
}
- }, [L, t.collection.size]), Rv(() => {
+ }, [ne, t.collection.size]), Hv(() => {
t.collection.size > 0 && (te.current = !1);
- }, [t.focusedKey]), Eh(r, hh, d ? (e) => {
+ }, [t.focusedKey]), jh(r, bh, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
- let ne = (0, E.useRef)(i), re = (0, E.useRef)(!1);
- (0, E.useEffect)(() => {
- if (ne.current) {
+ let L = (0, D.useRef)(i), re = (0, D.useRef)(!1);
+ (0, D.useEffect)(() => {
+ if (L.current) {
let e = null;
i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);
let a = t.selectedKeys;
@@ -11374,22 +11425,22 @@ function zv(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && lm(r.current), t.collection.size > 0 && (ne.current = !1, re.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && mm(r.current), t.collection.size > 0 && (L.current = !1, re.current = !0);
}
});
- let ie = (0, E.useRef)(t.focusedKey), ae = (0, E.useRef)(null);
- (0, E.useEffect)(() => {
+ let ie = (0, D.useRef)(t.focusedKey), ae = (0, D.useRef)(null);
+ (0, D.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ie.current || re.current) && p.current && r.current) {
- let e = Qp(), n = U_(r, t.focusedKey);
+ let e = rm(), n = Q_(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || re.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
- p.current && (n_(p.current, n), e !== "virtual" && r_(n, { containingElement: r.current }));
+ p.current && (l_(p.current, n), e !== "virtual" && d_(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && lm(r.current), ie.current = t.focusedKey, re.current = !1;
- }), (0, E.useEffect)(() => () => {
+ !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && mm(r.current), ie.current = t.focusedKey, re.current = !1;
+ }), (0, D.useEffect)(() => () => {
ae.current && cancelAnimationFrame(ae.current);
- }, []), Eh(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), jh(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let oe = {
@@ -11397,16 +11448,16 @@ function zv(e) {
onFocus: I,
onBlur: ee,
onMouseDown(e) {
- p.current === B(e) && e.preventDefault();
+ p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: se } = Lv({
+ }, { typeSelectProps: se } = Bv({
keyboardDelegate: n,
selectionManager: t
});
u || (oe = H(se, oe));
let ce;
d || (ce = t.focusedKey == null ? 0 : -1);
- let le = G_(t.collection);
+ let le = hee(t.collection);
return { collectionProps: H(oe, {
tabIndex: ce,
"data-collection": le
@@ -11414,13 +11465,13 @@ function zv(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function Bv(e, t) {
+function Wv(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Vv(e) {
- return Hv(e, 0);
+function Gv(e) {
+ return Kv(e, 0);
}
-function Hv(e, t) {
+function Kv(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -11428,101 +11479,101 @@ function Hv(e, t) {
n++;
}
}
-function Uv(e) {
+function qv(e) {
let t;
for (let n of e) t = n;
return t;
}
-function Wv(e, t, n) {
+function Jv(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Gv(e, t), t], i = [...Gv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Yv(e, t), t], i = [...Yv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function Gv(e, t) {
+function Yv(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var Kv = /* @__PURE__ */ new WeakMap();
-function See(e) {
- let t = Kv.get(e);
+var Xv = /* @__PURE__ */ new WeakMap();
+function Zv(e) {
+ let t = Xv.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(Bv(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(Wv(i, e)) : i.type === "item" && n++;
};
- return r(e), Kv.set(e, n), n;
+ return r(e), Xv.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var qv = /* @__PURE__ */ new Map();
-function Jv(e) {
- let { locale: t } = Rh(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (qv.has(n)) return qv.get(n);
+var Qv = /* @__PURE__ */ new Map();
+function $v(e) {
+ let { locale: t } = Uh(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (Qv.has(n)) return Qv.get(n);
let r = new Intl.Collator(t, e);
- return qv.set(n, r), r;
+ return Qv.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-function Cee({ children: e }) {
- let t = (0, E.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ E.createElement(pg.Provider, { value: t }, e);
+function ey({ children: e }) {
+ let t = (0, D.useMemo)(() => ({ register: () => {} }), []);
+ return /*#__PURE__*/ D.createElement(hg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var Yv = /*#__PURE__*/ (0, E.createContext)({});
-function Xv(e) {
- let { getContainer: t } = e, { getContainer: n } = Zv();
- return /*#__PURE__*/ E.createElement(Yv.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var ty = /*#__PURE__*/ (0, D.createContext)({});
+function ny(e) {
+ let { getContainer: t } = e, { getContainer: n } = ry();
+ return /*#__PURE__*/ D.createElement(ty.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function Zv() {
- return (0, E.useContext)(Yv) ?? {};
+function ry() {
+ return (0, D.useContext)(ty) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var Qv = /*#__PURE__*/ E.createContext(null);
-function $v(e) {
- let t = Pp(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, E.useState)(!1), o = (0, E.useMemo)(() => ({
+var iy = /*#__PURE__*/ D.createContext(null);
+function ay(e) {
+ let t = zp(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, D.useState)(!1), o = (0, D.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = Zv();
+ }), [i, a]), { getContainer: s } = ry();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ E.createElement(jg, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ D.createElement(jg, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ E.createElement(Qv.Provider, { value: o }, /*#__PURE__*/ E.createElement(Cee, null, /*#__PURE__*/ E.createElement(Bm.Provider, { value: null }, c))), /*#__PURE__*/ Zm.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ D.createElement(iy.Provider, { value: o }, /*#__PURE__*/ D.createElement(ey, null, /*#__PURE__*/ D.createElement(Gm.Provider, { value: null }, c))), /*#__PURE__*/ nh.createPortal(c, n);
}
-function ey() {
- let e = (0, E.useContext)(Qv)?.setContain;
- V(() => {
+function oy() {
+ let e = (0, D.useContext)(iy)?.setContain;
+ tp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function wee(e, t) {
- let { role: n = "dialog" } = e, r = vm();
+function Cee(e, t) {
+ let { role: n = "dialog" } = e, r = Cm();
r = e["aria-label"] ? void 0 : r;
- let i = vm();
+ let i = Cm();
i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;
- let a = (0, E.useRef)(!1);
- (0, E.useEffect)(() => {
- if (t.current && !Bf(t.current)) {
- lm(t.current);
+ let a = (0, D.useRef)(!1);
+ (0, D.useEffect)(() => {
+ if (t.current && !Wf(t.current)) {
+ mm(t.current);
let e = setTimeout(() => {
- (Rf() === t.current || Rf() === document.body) && (a.current = !0, t.current && (t.current.blur(), lm(t.current)), a.current = !1);
+ (Hf() === t.current || Hf() === document.body) && (a.current = !0, t.current && (t.current.blur(), mm(t.current)), a.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t]), ey(), (0, E.useRef)(!1), (0, E.useEffect)(() => {});
+ }, [t]), oy(), (0, D.useRef)(!1), (0, D.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...ag(e, { labelable: !0 }),
+ ...cg(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -11537,23 +11588,23 @@ function wee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function ty(e = {}) {
- let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, E.useRef)({
+function sy(e = {}) {
+ let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, D.useRef)({
isFocused: !1,
- isFocusVisible: t || Zp()
- }), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, E.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, E.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = Zp(), o(e), l();
+ isFocusVisible: t || nm()
+ }), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, D.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, D.useCallback)((e) => {
+ i.current.isFocused = e, i.current.isFocusVisible = nm(), o(e), l();
}, [l]);
- rm((e) => {
+ cm((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Cm({
+ let { focusProps: d } = Om({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = E_({
+ }), { focusWithinProps: f } = R_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -11565,42 +11616,42 @@ function ty(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function ny(e = {}) {
- let { locale: t } = Rh();
- return (0, E.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
+function wee(e = {}) {
+ let { locale: t } = Uh();
+ return (0, D.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var ry = !1, iy = 0;
-function ay() {
- ry = !0, setTimeout(() => {
- ry = !1;
+var cy = !1, ly = 0;
+function Tee() {
+ cy = !0, setTimeout(() => {
+ cy = !1;
}, 500);
}
-function oy(e) {
- e.pointerType === "touch" && ay();
+function uy(e) {
+ e.pointerType === "touch" && Tee();
}
-function sy() {
- let e = Df(null);
- if (e !== void 0) return iy === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", oy), iy++, () => {
- iy--, !(iy > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", oy);
+function Eee() {
+ let e = jf(null);
+ if (e !== void 0) return ly === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", uy), ly++, () => {
+ ly--, !(ly > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", uy);
};
}
-function cy(e) {
- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, E.useState)(!1), s = (0, E.useRef)({
+function dy(e) {
+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, D.useState)(!1), s = (0, D.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, E.useEffect)(sy, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = mg(), { hoverProps: u, triggerHoverEnd: d } = (0, E.useMemo)(() => {
+ (0, D.useEffect)(Eee, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = gg(), { hoverProps: u, triggerHoverEnd: d } = (0, D.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !Lf(e.currentTarget, B(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Vf(e.currentTarget, V(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Df(B(e)), "pointerover", (e) => {
- s.isHovered && s.target && !Lf(s.target, B(e)) && a(e, e.pointerType);
+ s.target = l, c(jf(V(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !Vf(s.target, V(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -11615,9 +11666,9 @@ function cy(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- ry && t.pointerType === "mouse" || e(t, t.pointerType);
+ cy && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && Lf(e.currentTarget, B(e)) && a(e, e.pointerType);
+ !i && Vf(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -11631,7 +11682,7 @@ function cy(e) {
c,
l
]);
- return (0, E.useEffect)(() => {
+ return (0, D.useEffect)(() => {
i && d({ currentTarget: s.target }, s.pointerType);
}, [i]), {
hoverProps: u,
@@ -11640,22 +11691,22 @@ function cy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function ly(e) {
- let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, E.useRef)({
+function Dee(e) {
+ let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, D.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Th((e) => {
- n && uy(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Th((e) => {
+ }), o = Ah((e) => {
+ n && fy(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Ah((e) => {
n && n(e);
});
- (0, E.useEffect)(() => {
+ (0, D.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Df(n);
+ let n = t.current, i = jf(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && uy(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && fy(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -11663,19 +11714,19 @@ function ly(e) {
}
}, [t, r]);
}
-function uy(e, t) {
+function fy(e, t) {
if (e.button > 0) return !1;
- let n = B(e);
+ let n = V(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !Lf(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !Vf(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var dy = {};
-dy = {
+var py = {};
+py = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -11689,8 +11740,8 @@ dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var fy = {};
-fy = {
+var my = {};
+my = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -11704,8 +11755,8 @@ fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var py = {};
-py = {
+var hy = {};
+hy = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -11719,8 +11770,8 @@ py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var my = {};
-my = {
+var gy = {};
+gy = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -11734,8 +11785,8 @@ my = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var hy = {};
-hy = {
+var _y = {};
+_y = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -11749,8 +11800,8 @@ hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var gy = {};
-gy = {
+var vy = {};
+vy = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -11764,8 +11815,8 @@ gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var _y = {};
-_y = {
+var yy = {};
+yy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -11779,8 +11830,8 @@ _y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var vy = {};
-vy = {
+var by = {};
+by = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -11794,8 +11845,8 @@ vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var yy = {};
-yy = {
+var xy = {};
+xy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -11809,8 +11860,8 @@ yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var by = {};
-by = {
+var Sy = {};
+Sy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -11824,8 +11875,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var xy = {};
-xy = {
+var Cy = {};
+Cy = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -11839,8 +11890,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Sy = {};
-Sy = {
+var wy = {};
+wy = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -11854,8 +11905,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Cy = {};
-Cy = {
+var Ty = {};
+Ty = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -11869,8 +11920,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var wy = {};
-wy = {
+var Ey = {};
+Ey = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -11884,8 +11935,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Ty = {};
-Ty = {
+var Dy = {};
+Dy = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -11899,8 +11950,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Ey = {};
-Ey = {
+var Oy = {};
+Oy = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -11914,8 +11965,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Dy = {};
-Dy = {
+var ky = {};
+ky = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -11929,8 +11980,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Oy = {};
-Oy = {
+var Ay = {};
+Ay = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -11944,8 +11995,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var ky = {};
-ky = {
+var jy = {};
+jy = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -11959,8 +12010,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Ay = {};
-Ay = {
+var My = {};
+My = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -11974,8 +12025,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var jy = {};
-jy = {
+var Ny = {};
+Ny = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -11989,8 +12040,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var My = {};
-My = {
+var Py = {};
+Py = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12004,8 +12055,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var Ny = {};
-Ny = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12019,8 +12070,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Py = {};
-Py = {
+var Iy = {};
+Iy = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12034,8 +12085,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var Fy = {};
-Fy = {
+var Ly = {};
+Ly = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12049,8 +12100,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Iy = {};
-Iy = {
+var Ry = {};
+Ry = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12064,8 +12115,8 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Ly = {};
-Ly = {
+var zy = {};
+zy = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12079,8 +12130,8 @@ Ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Ry = {};
-Ry = {
+var By = {};
+By = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12094,8 +12145,8 @@ Ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var zy = {};
-zy = {
+var Vy = {};
+Vy = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12109,8 +12160,8 @@ zy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var By = {};
-By = {
+var Hy = {};
+Hy = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12124,8 +12175,8 @@ By = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Vy = {};
-Vy = {
+var Uy = {};
+Uy = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12139,8 +12190,8 @@ Vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Hy = {};
-Hy = {
+var Wy = {};
+Wy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12154,8 +12205,8 @@ Hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Uy = {};
-Uy = {
+var Gy = {};
+Gy = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12169,8 +12220,8 @@ Uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Wy = {};
-Wy = {
+var Ky = {};
+Ky = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12184,55 +12235,55 @@ Wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Gy = {};
-Gy = {
- "ar-AE": dy,
- "bg-BG": fy,
- "cs-CZ": py,
- "da-DK": my,
- "de-DE": hy,
- "el-GR": gy,
- "en-US": _y,
- "es-ES": vy,
- "et-EE": yy,
- "fi-FI": by,
- "fr-FR": xy,
- "he-IL": Sy,
- "hr-HR": Cy,
- "hu-HU": wy,
- "it-IT": Ty,
- "ja-JP": Ey,
- "ko-KR": Dy,
- "lt-LT": Oy,
- "lv-LV": ky,
- "nb-NO": Ay,
- "nl-NL": jy,
- "pl-PL": My,
- "pt-BR": Ny,
- "pt-PT": Py,
- "ro-RO": Fy,
- "ru-RU": Iy,
- "sk-SK": Ly,
- "sl-SI": Ry,
- "sr-SP": zy,
- "sv-SE": By,
- "tr-TR": Vy,
- "uk-UA": Hy,
- "zh-CN": Uy,
- "zh-TW": Wy
+var qy = {};
+qy = {
+ "ar-AE": py,
+ "bg-BG": my,
+ "cs-CZ": hy,
+ "da-DK": gy,
+ "de-DE": _y,
+ "el-GR": vy,
+ "en-US": yy,
+ "es-ES": by,
+ "et-EE": xy,
+ "fi-FI": Sy,
+ "fr-FR": Cy,
+ "he-IL": wy,
+ "hr-HR": Ty,
+ "hu-HU": Ey,
+ "it-IT": Dy,
+ "ja-JP": Oy,
+ "ko-KR": ky,
+ "lt-LT": Ay,
+ "lv-LV": jy,
+ "nb-NO": My,
+ "nl-NL": Ny,
+ "pl-PL": Py,
+ "pt-BR": Fy,
+ "pt-PT": Iy,
+ "ro-RO": Ly,
+ "ru-RU": Ry,
+ "sk-SK": zy,
+ "sl-SI": By,
+ "sr-SP": Vy,
+ "sv-SE": Hy,
+ "tr-TR": Uy,
+ "uk-UA": Wy,
+ "zh-CN": Gy,
+ "zh-TW": Ky
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Tee(e) {
+function Oee(e) {
return e && e.__esModule ? e.default : e;
}
-function Eee(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Qh(Tee(Gy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, E.useRef)(i), o = (0, E.useCallback)(() => {
+function kee(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = rg(Oee(qy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, D.useRef)(i), o = (0, D.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = Ky(i, a.current), o = Ky(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = Jy(i, a.current), o = Jy(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -12252,7 +12303,7 @@ function Eee(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && Zg(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && r_(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -12263,7 +12314,7 @@ function Eee(e, t) {
n,
r
]);
- Qg(() => {
+ a_(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -12271,7 +12322,7 @@ function Eee(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function Ky(e, t) {
+function Jy(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
@@ -12279,13 +12330,13 @@ function Ky(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function qy(e, t) {
- let n = t?.isDisabled, [r, i] = (0, E.useState)(!1);
- return V(() => {
+function Yy(e, t) {
+ let n = t?.isDisabled, [r, i] = (0, D.useState)(!1);
+ return tp(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = Gg(e.current, { tabbable: !0 });
+ let t = Zg(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -12304,12 +12355,12 @@ function qy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Dee(e) {
+function Aee(e) {
return e && e.__esModule ? e.default : e;
}
-function Oee(e) {
- let t = Qh(Dee(Gy), "@react-aria/grid"), n = em(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return a_((0, E.useMemo)(() => {
+function jee(e) {
+ let t = rg(Aee(qy), "@react-aria/grid"), n = am(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return m_((0, D.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -12322,11 +12373,11 @@ function Oee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function kee(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Jv({
+function Mee(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = $v({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, E.useMemo)(() => a || new J_({
+ }), l = t.disabledBehavior, u = (0, D.useMemo)(() => a || new tv({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -12343,7 +12394,7 @@ function kee(e) {
c,
l,
s
- ]), { collectionProps: d } = zv({
+ ]), { collectionProps: d } = Uv({
...e,
ref: i,
selectionManager: t,
@@ -12353,11 +12404,11 @@ function kee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function Jy(e) {
- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = _p();
- t = gm(t);
+function Xy(e) {
+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Sp();
+ t = xm(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && H_(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Z_(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -12368,11 +12419,11 @@ function Jy(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (xh(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Eh(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
- (0, E.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? _h(i.current) : s ? s() : Rf() !== i.current && i.current && lm(i.current));
+ (0, D.useEffect)(() => {
+ r === n.focusedKey && n.isFocused && (o ? Sh(i.current) : s ? s() : Hf() !== i.current && i.current && mm(i.current));
}, [
i,
r,
@@ -12385,37 +12436,37 @@ function Jy(e) {
!o && !c ? m = {
tabIndex: r === n.focusedKey ? 0 : -1,
onFocus(e) {
- B(e) === i.current && n.setFocusedKey(r);
+ V(e) === i.current && n.setFocusedKey(r);
}
} : c && (m.onMouseDown = (e) => {
e.preventDefault();
- }), (0, E.useEffect)(() => {
+ }), (0, D.useEffect)(() => {
c && n.focusedKey === r && n.setFocusedKey(null);
}, [
n,
c,
r
]);
- let h = n.isLink(r) && d === "override", g = l && e.UNSTABLE_itemBehavior === "action", _ = n.isLink(r) && d !== "selection" && d !== "none", v = !c && n.canSelectItem(r) && !h && !g, y = (l || _) && !c, b = y && (n.selectionBehavior === "replace" ? !v : !v || n.isEmpty), x = y && v && n.selectionBehavior === "replace", S = b || x, C = (0, E.useRef)(null), w = S && v, T = (0, E.useRef)(!1), D = (0, E.useRef)(!1), O = n.getItemProps(r), k = (e) => {
+ let h = n.isLink(r) && d === "override", g = l && e.UNSTABLE_itemBehavior === "action", _ = n.isLink(r) && d !== "selection" && d !== "none", v = !c && n.canSelectItem(r) && !h && !g, y = (l || _) && !c, b = y && (n.selectionBehavior === "replace" ? !v : !v || n.isEmpty), x = y && v && n.selectionBehavior === "replace", S = b || x, C = (0, D.useRef)(null), w = S && v, T = (0, D.useRef)(!1), E = (0, D.useRef)(!1), O = n.getItemProps(r), k = (e) => {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);
}, A = { ref: i };
a ? (A.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || Xy(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || Qy(e.key)) && p(e);
}, u ? (A.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, A.onPress = b ? k : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : A.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !Yy(e.key)) return;
+ if (e.pointerType === "keyboard" && !Zy(e.key)) return;
k(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (A.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Xy(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Qy(e.key))) && p(e);
}, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Yy(e.key) || e.pointerType === "mouse" && D.current) && (S ? k(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Zy(e.key) || e.pointerType === "mouse" && E.current) && (S ? k(e) : v && p(e));
});
- let j = K_(n.collection);
+ let j = gee(n.collection);
if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = H(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -12430,10 +12481,10 @@ function Jy(e) {
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = um(A[e], O[e]));
- let { pressProps: M, isPressed: N } = bg(A), P = x ? (e) => {
+ ]) O[e] && (A[e] = hm(A[e], O[e]));
+ let { pressProps: M, isPressed: N } = xg(A), P = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: F } = jv({
+ } : void 0, { longPressProps: F } = Lv({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -12441,33 +12492,33 @@ function Jy(e) {
}), I = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, ee = d !== "none" && n.isLink(r) ? (e) => {
- vp.isOpening || e.preventDefault();
+ Cp.isOpening || e.preventDefault();
} : void 0, te = H(m, v || b || o && !c ? M : {}, w ? F : {}, {
onDoubleClick: P,
onDragStartCapture: I,
onClick: ee,
id: t
- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), L = (e) => {
+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ne = (e) => {
let t = e;
for (; t && t !== i.current;) {
let e = t.getAttribute("data-collection");
if (e != null) return e !== j;
t = t.parentElement;
}
- return Yf(e);
- }, ne = te.onPointerDown;
+ return $f(e);
+ }, L = te.onPointerDown;
te.onPointerDown = (e) => {
- let t = B(e);
- if (t && t !== i.current && L(t)) {
+ let t = V(e);
+ if (t && t !== i.current && ne(t)) {
e.stopPropagation();
return;
}
- ne?.(e);
+ L?.(e);
};
let re = te.onMouseDown;
return te.onMouseDown = (e) => {
- let t = B(e);
- if (t && t !== i.current && L(t)) {
+ let t = V(e);
+ if (t && t !== i.current && ne(t)) {
e.stopPropagation();
return;
}
@@ -12482,22 +12533,22 @@ function Jy(e) {
hasAction: S
};
}
-function Yy(e) {
+function Zy(e) {
return e === "Enter";
}
-function Xy(e) {
+function Qy(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Aee(e) {
+function Nee(e) {
return e && e.__esModule ? e.default : e;
}
-function jee(e, t) {
- let { key: n } = e, r = t.selectionManager, i = gm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function Pee(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = xm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Qh(Aee(Gy), "@react-aria/grid").format("select"),
+ "aria-label": rg(Nee(qy), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12505,22 +12556,22 @@ function jee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Mee(e, t, n) {
- let r = ag(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Fee(e, t, n) {
+ let r = cg(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = kee({
+ let { listProps: s } = Mee({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = E_({
+ }), { focusWithinProps: c } = R_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = gm(e.id);
- z_.set(t, {
+ }), l = xm(e.id);
+ X_.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -12530,7 +12581,7 @@ function Mee(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = w_({
+ let { labelProps: u, fieldProps: d } = I_({
...e,
id: l,
labelElementType: "span"
@@ -12546,8 +12597,8 @@ function Mee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Zy(e) {
- let { heading: t, "aria-label": n } = e, r = gm();
+function Iee(e) {
+ let { heading: t, "aria-label": n } = e, r = xm();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -12566,8 +12617,8 @@ function Zy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Qy(e, t, n) {
- let { key: r } = e, i = z_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = vm(), f = vm(), p = {
+function Lee(e, t, n) {
+ let { key: r } = e, i = X_.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Cm(), f = Cm(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -12577,9 +12628,9 @@ function Qy(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = See(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Zv(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = V_(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Jy({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = mee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Xy({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -12588,18 +12639,18 @@ function Qy(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? um(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? hm(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = cy({
+ }), { hoverProps: S } = dy({
isDisabled: a || !c,
onHoverStart() {
- Zp() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ nm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = ag(m?.props);
+ }), C = cg(m?.props);
delete C.id;
- let w = Sp(m?.props);
+ let w = Dp(m?.props);
return {
optionProps: {
...p,
@@ -12609,7 +12660,7 @@ function Qy(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && Zp(),
+ isFocusVisible: y && t.selectionManager.isFocused && nm(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -12619,15 +12670,15 @@ function Qy(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function $y() {
+function Ree() {
return window.ResizeObserver !== void 0;
}
-function eb(e) {
- let { ref: t, box: n, onResize: r } = e, i = Th(r);
- (0, E.useEffect)(() => {
+function $y(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Ah(r);
+ (0, D.useEffect)(() => {
let e = t?.current;
if (e) {
- if ($y()) {
+ if (Ree()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -12643,189 +12694,189 @@ function eb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var tb = {};
-tb = { dismiss: "تجاهل" };
+var eb = {};
+eb = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var nb = {};
-nb = { dismiss: "Отхвърляне" };
+var tb = {};
+tb = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var rb = {};
-rb = { dismiss: "Odstranit" };
+var nb = {};
+nb = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var ib = {};
-ib = { dismiss: "Luk" };
+var rb = {};
+rb = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var ab = {};
-ab = { dismiss: "Schließen" };
+var ib = {};
+ib = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var ob = {};
-ob = { dismiss: "Απόρριψη" };
+var ab = {};
+ab = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var sb = {};
-sb = { dismiss: "Dismiss" };
+var ob = {};
+ob = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var cb = {};
-cb = { dismiss: "Descartar" };
+var sb = {};
+sb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var lb = {};
-lb = { dismiss: "Lõpeta" };
+var cb = {};
+cb = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var ub = {};
-ub = { dismiss: "Hylkää" };
+var lb = {};
+lb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var db = {};
-db = { dismiss: "Rejeter" };
+var ub = {};
+ub = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var fb = {};
-fb = { dismiss: "התעלם" };
+var db = {};
+db = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var pb = {};
-pb = { dismiss: "Odbaci" };
+var fb = {};
+fb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var mb = {};
-mb = { dismiss: "Elutasítás" };
+var pb = {};
+pb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var hb = {};
-hb = { dismiss: "Ignora" };
+var mb = {};
+mb = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var gb = {};
-gb = { dismiss: "閉じる" };
+var hb = {};
+hb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var _b = {};
-_b = { dismiss: "무시" };
+var gb = {};
+gb = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var vb = {};
-vb = { dismiss: "Atmesti" };
+var _b = {};
+_b = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var yb = {};
-yb = { dismiss: "Nerādīt" };
+var vb = {};
+vb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var bb = {};
-bb = { dismiss: "Lukk" };
+var yb = {};
+yb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var xb = {};
-xb = { dismiss: "Negeren" };
+var bb = {};
+bb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Sb = {};
-Sb = { dismiss: "Zignoruj" };
+var xb = {};
+xb = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Cb = {};
-Cb = { dismiss: "Descartar" };
+var Sb = {};
+Sb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var wb = {};
-wb = { dismiss: "Dispensar" };
+var Cb = {};
+Cb = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Tb = {};
-Tb = { dismiss: "Revocare" };
+var wb = {};
+wb = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Eb = {};
-Eb = { dismiss: "Пропустить" };
+var Tb = {};
+Tb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Db = {};
-Db = { dismiss: "Zrušiť" };
+var Eb = {};
+Eb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Ob = {};
-Ob = { dismiss: "Opusti" };
+var Db = {};
+Db = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var kb = {};
-kb = { dismiss: "Odbaci" };
+var Ob = {};
+Ob = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Ab = {};
-Ab = { dismiss: "Avvisa" };
+var kb = {};
+kb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var jb = {};
-jb = { dismiss: "Kapat" };
+var Ab = {};
+Ab = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Mb = {};
-Mb = { dismiss: "Скасувати" };
+var jb = {};
+jb = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Nb = {};
-Nb = { dismiss: "取消" };
+var Mb = {};
+Mb = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Pb = {};
-Pb = { dismiss: "關閉" };
+var Nb = {};
+Nb = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Fb = {};
-Fb = {
- "ar-AE": tb,
- "bg-BG": nb,
- "cs-CZ": rb,
- "da-DK": ib,
- "de-DE": ab,
- "el-GR": ob,
- "en-US": sb,
- "es-ES": cb,
- "et-EE": lb,
- "fi-FI": ub,
- "fr-FR": db,
- "he-IL": fb,
- "hr-HR": pb,
- "hu-HU": mb,
- "it-IT": hb,
- "ja-JP": gb,
- "ko-KR": _b,
- "lt-LT": vb,
- "lv-LV": yb,
- "nb-NO": bb,
- "nl-NL": xb,
- "pl-PL": Sb,
- "pt-BR": Cb,
- "pt-PT": wb,
- "ro-RO": Tb,
- "ru-RU": Eb,
- "sk-SK": Db,
- "sl-SI": Ob,
- "sr-SP": kb,
- "sv-SE": Ab,
- "tr-TR": jb,
- "uk-UA": Mb,
- "zh-CN": Nb,
- "zh-TW": Pb
+var Pb = {};
+Pb = {
+ "ar-AE": eb,
+ "bg-BG": tb,
+ "cs-CZ": nb,
+ "da-DK": rb,
+ "de-DE": ib,
+ "el-GR": ab,
+ "en-US": ob,
+ "es-ES": sb,
+ "et-EE": cb,
+ "fi-FI": lb,
+ "fr-FR": ub,
+ "he-IL": db,
+ "hr-HR": fb,
+ "hu-HU": pb,
+ "it-IT": mb,
+ "ja-JP": hb,
+ "ko-KR": gb,
+ "lt-LT": _b,
+ "lv-LV": vb,
+ "nb-NO": yb,
+ "nl-NL": bb,
+ "pl-PL": xb,
+ "pt-BR": Sb,
+ "pt-PT": Cb,
+ "ro-RO": wb,
+ "ru-RU": Tb,
+ "sk-SK": Eb,
+ "sl-SI": Db,
+ "sr-SP": Ob,
+ "sv-SE": kb,
+ "tr-TR": Ab,
+ "uk-UA": jb,
+ "zh-CN": Mb,
+ "zh-TW": Nb
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Nee(e) {
+function Fb(e) {
return e && e.__esModule ? e.default : e;
}
function Ib(e) {
- let { onDismiss: t, ...n } = e, r = Dh(n, Qh(Nee(Fb), "@react-aria/overlays").format("dismiss")), i = () => {
+ let { onDismiss: t, ...n } = e, r = Mh(n, rg(Fb(Pb), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ E.createElement(M_, null, /*#__PURE__*/ E.createElement("button", {
+ return /*#__PURE__*/ D.createElement(G_, null, /*#__PURE__*/ D.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -12839,8 +12890,8 @@ function Ib(e) {
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
var Lb = [];
function Rb(e, t) {
- let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, E.useRef)(void 0);
- (0, E.useEffect)(() => {
+ let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, D.useRef)(void 0);
+ (0, D.useEffect)(() => {
if (i && !Lb.includes(t)) return Lb.push(t), () => {
let e = Lb.indexOf(t);
e >= 0 && Lb.splice(e, 1);
@@ -12850,25 +12901,25 @@ function Rb(e, t) {
Lb[Lb.length - 1] === t && n && n();
}, u = (e) => {
let n = Lb[Lb.length - 1];
- c.current = n, (!s || s(B(e))) && n === t && e.stopPropagation();
+ c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(B(e))) && (Lb[Lb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = Lm({ shortcuts: { Escape: () => {
+ (!s || s(V(e))) && (Lb[Lb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = Hm({ shortcuts: { Escape: () => {
if (!o) {
l();
return;
}
return !1;
} } });
- ly({
+ Dee({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = E_({
+ let { focusWithinProps: p } = R_({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || Rg(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || Vg(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -12884,23 +12935,23 @@ function Rb(e, t) {
var zb = typeof document < "u" && window.visualViewport, Bb = 0, Vb;
function Hb(e = {}) {
let { isDisabled: t } = e;
- V(() => {
- if (!t) return Bb++, Bb === 1 && (Vb = cp() && up() ? Fee() : Pee()), () => {
+ tp(() => {
+ if (!t) return Bb++, Bb === 1 && (Vb = pp() && hp() ? Bee() : zee()), () => {
Bb--, Bb === 0 && Vb();
};
}, [t]);
}
-function Pee() {
+function zee() {
let e = window.innerWidth - document.documentElement.clientWidth;
- return um(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Pf(document.documentElement, "scrollbar-gutter", "stable") : Pf(document.documentElement, "padding-right", `${e}px`)), Pf(document.documentElement, "overflow", "hidden"));
+ return hm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Rf(document.documentElement, "scrollbar-gutter", "stable") : Rf(document.documentElement, "padding-right", `${e}px`)), Rf(document.documentElement, "overflow", "hidden"));
}
-function Fee() {
- let e = Pf(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
- let r = B(e);
- t = $g(r) ? r : e_(r, !0), n = !1;
+function Bee() {
+ let e = Rf(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+ let r = V(e);
+ t = o_(r) ? r : s_(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = fg();
+ }, i = document.createElement("style"), a = mg();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
if (!(e.touches.length === 2 || n)) {
@@ -12911,27 +12962,27 @@ function Fee() {
t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();
}
}, s = (e) => {
- let t = B(e), n = e.relatedTarget;
- n && Ch(n) ? (n.focus({ preventScroll: !0 }), Ub(n, Ch(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ let t = V(e), n = e.relatedTarget;
+ n && Oh(n) ? (n.focus({ preventScroll: !0 }), Ub(n, Oh(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function(e) {
- let t = Rf(), n = t != null && Ch(t);
+ let t = Hf(), n = t != null && Oh(t);
c.call(this, {
...e,
preventScroll: !0
}), (!e || !e.preventScroll) && Ub(this, n);
}
});
- let l = um(Nf(document, "touchstart", r, {
+ let l = hm(Lf(document, "touchstart", r, {
passive: !1,
capture: !0
- }), Nf(document, "touchmove", o, {
+ }), Lf(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Nf(document, "blur", s, !0));
+ }), Lf(document, "blur", s, !0));
return () => {
e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -12946,7 +12997,7 @@ function Ub(e, t) {
function Wb(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = e_(n);
+ let e = s_(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
@@ -12964,14 +13015,14 @@ function Wb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Iee(e, t, n) {
+function Vee(e, t, n) {
let { overlayProps: r, underlayProps: i } = Rb({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Hb({ isDisabled: !t.isOpen }), ey(), (0, E.useEffect)(() => {
- if (t.isOpen && n.current) return L_([n.current], { shouldUseInert: !0 });
+ return Hb({ isDisabled: !t.isOpen }), oy(), (0, D.useEffect)(() => {
+ if (t.isOpen && n.current) return Y_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -12989,7 +13040,7 @@ var Gb = {
bottom: "top",
left: "right",
right: "left"
-}, Lee = {
+}, Hee = {
top: "left",
left: "top"
}, qb = {
@@ -12998,14 +13049,14 @@ var Gb = {
}, Jb = {
width: "totalWidth",
height: "totalHeight"
-}, Yb = {}, Ree = () => typeof document < "u" ? window.visualViewport : null;
+}, Yb = {}, Uee = () => typeof document < "u" ? window.visualViewport : null;
function Xb(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
} else ({width: n, height: r, top: o, left: s} = nx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return up() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ return hp() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -13015,7 +13066,7 @@ function Xb(e, t) {
left: s
};
}
-function zee(e) {
+function Wee(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13027,7 +13078,7 @@ function Zb(e, t, n, r, i, a, o) {
let s = i.scroll[e] ?? 0, c = r[qb[e]], l = o[e] + r.scroll[Gb[e]] + a, u = o[e] + r.scroll[Gb[e]] + c - a, d = t - s + r.scroll[Gb[e]] + o[e] - r[Gb[e]], f = t - s + n + r.scroll[Gb[e]] + o[e] - r[Gb[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Bee(e) {
+function Gee(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13038,7 +13089,7 @@ function Bee(e) {
}
function Qb(e) {
if (Yb[e]) return Yb[e];
- let [t, n] = e.split(" "), r = Gb[t] || "right", i = Lee[r];
+ let [t, n] = e.split(" "), r = Gb[t] || "right", i = Hee[r];
Gb[n] || (n = "center");
let a = qb[r], o = qb[i];
return Yb[e] = {
@@ -13054,13 +13105,13 @@ function $b(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
- if (_[m] = k_(_[m], v, y), d === p) {
+ if (_[m] = H_(_[m], v, y), d === p) {
let t = s ? u[h] : u[Jb[h]];
_[Kb[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Vee(e, t, n, r, i, a, o, s, c, l, u) {
+function Kee(e, t, n, r, i, a, o, s, c, l, u) {
let d = (e.top == null ? c[Jb.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
@@ -13071,7 +13122,7 @@ function ex(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Kb[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Kb[l]] - i);
}
-function Hee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+function qee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
let v = Qb(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = $b(t, s, n, v, u, d, l, f, m, h, c), T = u, E = ex(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
let e = Qb(`${Kb[S]} ${C}`), r = $b(t, s, n, e, u, d, l, f, m, h, c);
@@ -13081,10 +13132,10 @@ function Hee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
let O = Zb(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Vee(w, s, l, f, i, a, n.height, D, c, g, _);
+ let k = Kee(w, s, l, f, i, a, n.height, D, c, g, _);
p && p < k && (k = p), n.height = Math.min(n.height, k), w = $b(t, s, n, v, T, d, l, f, m, h, c), O = Zb(b, w[b], n[x], s, c, a, l), w[b] += O;
let A = {}, j = t[b] - w[b] - i[Gb[b]], M = j + .5 * t[x], N = m / 2 + h, P = Gb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
- A[b] = k_(k_(M, t[b] + m / 2 - (w[b] + i[Gb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Gb[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ A[b] = H_(H_(M, t[b] + m / 2 - (w[b] + i[Gb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Gb[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let I = S === "left" || S === "top" ? n[y] : 0, ee = {
x: S === "top" || S === "bottom" ? j : I,
y: S === "left" || S === "right" ? j : I
@@ -13098,15 +13149,15 @@ function Hee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ee
};
}
-function Uee(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Ree(), h = r instanceof HTMLElement ? Wee(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? nx(n, !1, p) : rx(n, h, !1, p);
+function Jee(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = Uee(), h = r instanceof HTMLElement ? Yee(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? nx(n, !1, p) : rx(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = nx(r, !0), x = Bee(r);
+ let b = nx(r, !0), x = Gee(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = zee(i), C = Xb(s, m), w = Xb(h, m), T;
+ let S = Wee(i), C = Xb(s, m), w = Xb(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
let e = tx(h, !1);
T = {
@@ -13121,8 +13172,8 @@ function Uee(e) {
width: 0,
height: 0
} : rx(s, h, !1);
- let E = Lf(s, h);
- return Hee(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ let E = Vf(s, h);
+ return qee(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
function tx(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
@@ -13152,7 +13203,7 @@ function rx(e, t, n, r) {
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function Wee(e) {
+function Yee(e) {
let t = e.offsetParent;
if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ix(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ix(t);) t = t.parentElement;
return t || document.documentElement;
@@ -13164,8 +13215,8 @@ function ix(e) {
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
var ax = typeof document < "u" ? window.visualViewport : null;
-function ox(e) {
- let { direction: t } = Rh(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, E.useState)(null), x = [
+function Xee(e) {
+ let { direction: t } = Uh(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, D.useState)(null), x = [
p,
s,
i.current,
@@ -13182,15 +13233,15 @@ function ox(e) {
g,
_,
n
- ], S = (0, E.useRef)(ax?.scale);
- (0, E.useEffect)(() => {
+ ], S = (0, D.useRef)(ax?.scale);
+ (0, D.useEffect)(() => {
m && (S.current = ax?.scale);
}, [m]);
- let C = (0, E.useCallback)(() => {
+ let C = (0, D.useCallback)(() => {
if (p === !1 || !m || !i.current || !r.current || !u || ax?.scale !== S.current) return;
let e = null;
- if (o.current && Bf(o.current)) {
- let t = Rf()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && Wf(o.current)) {
+ let t = Hf()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -13198,8 +13249,8 @@ function ox(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = Uee({
- placement: cx(s, t),
+ let y = Jee({
+ placement: Qee(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13215,22 +13266,22 @@ function ox(e) {
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let x = Rf();
+ let x = Hf();
if (e && x && o.current) {
let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
b(y);
}, x);
- V(C, x), sx(C), eb({
+ tp(C, x), Zee(C), $y({
ref: i,
onResize: C
- }), eb({
+ }), $y({
ref: r,
onResize: C
});
- let w = (0, E.useRef)(!1);
- V(() => {
+ let w = (0, D.useRef)(!1);
+ tp(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -13239,15 +13290,15 @@ function ox(e) {
w.current && t();
};
ax?.addEventListener("resize", t), ax?.addEventListener("scroll", n);
- let r = Nf(zf(window), "scroll", n);
+ let r = Lf(Uf(window), "scroll", n);
return () => {
ax?.removeEventListener("resize", t), ax?.removeEventListener("scroll", n), r();
};
}, [C]);
- let T = (0, E.useCallback)(() => {
+ let T = (0, D.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Pv({
+ return yee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13273,17 +13324,17 @@ function ox(e) {
updatePosition: C
};
}
-function sx(e) {
- V(() => (window.addEventListener("resize", e, !1), () => {
+function Zee(e) {
+ tp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function cx(e, t) {
+function Qee(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function lx(e, t) {
+function $ee(e, t) {
let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = Rb({
isOpen: t.isOpen,
onClose: t.close,
@@ -13291,7 +13342,7 @@ function lx(e, t) {
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = ox({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Xee({
...c,
targetRef: n,
overlayRef: r,
@@ -13299,15 +13350,15 @@ function lx(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- Hb({ isDisabled: a || !t.isOpen }), (0, E.useEffect)(() => {
- if (t.isOpen && r.current) return a ? R_(i?.current ?? r.current) : L_([i?.current ?? r.current], { shouldUseInert: !0 });
+ Hb({ isDisabled: a || !t.isOpen }), (0, D.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? fee(i?.current ?? r.current) : Y_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = E_(e);
+ let { focusWithinProps: g } = R_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -13318,13 +13369,13 @@ function lx(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var ux = /* @__PURE__ */ new WeakMap();
+var ox = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function dx(e, t, n) {
+function ete(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
- }, { pressProps: g, isPressed: _ } = bg({
+ }, { pressProps: g, isPressed: _ } = xg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13332,7 +13383,7 @@ function dx(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = bg({
+ }), { pressProps: v, isPressed: y } = xg({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -13342,13 +13393,13 @@ function dx(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = Hm(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = ag(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = qm(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = cg(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: D, errorMessageId: O, validationBehavior: k } = ux.get(t);
- o_(n, t.defaultSelectedValue, t.setSelectedValue), s_({ validationBehavior: k }, t, n);
- let A = d_();
+ let { name: w, form: T, descriptionId: E, errorMessageId: O, validationBehavior: k } = ox.get(t);
+ h_(n, t.defaultSelectedValue, t.setSelectedValue), g_({ validationBehavior: k }, t, n);
+ let A = x_();
return {
- labelProps: H(v, (0, E.useMemo)(() => ({
+ labelProps: H(v, (0, D.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
onMouseDown: (e) => e.preventDefault()
}), [])),
@@ -13367,7 +13418,7 @@ function dx(e, t, n) {
e["aria-describedby"],
A.id,
t.isInvalid ? O : null,
- D
+ E
].filter(Boolean).join(" ") || void 0
}),
descriptionProps: A,
@@ -13378,13 +13429,13 @@ function dx(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function fx(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Rh(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = T_({
+function tte(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Uh(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = L_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = ag(e, { labelable: !0 }), { focusWithinProps: v } = E_({
+ }), _ = cg(e, { labelable: !0 }), { focusWithinProps: v } = R_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -13392,13 +13443,13 @@ function fx(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = Gg(n.currentTarget, {
- from: B(n),
- accept: (e) => e instanceof Of(e).HTMLInputElement && e.type === "radio"
+ let r = Zg(n.currentTarget, {
+ from: V(n),
+ accept: (e) => e instanceof Mf(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = Lm({
+ let { keyboardProps: b } = Hm({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -13406,8 +13457,8 @@ function fx(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = gm(n);
- return ux.set(t, {
+ }), x = xm(n);
+ return ox.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -13436,21 +13487,21 @@ function fx(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var px = /* @__PURE__ */ new WeakMap();
-function mx(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Jv({
+var sx = /* @__PURE__ */ new WeakMap();
+function nte(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = $v({
usage: "search",
sensitivity: "base"
- }), u = (0, E.useMemo)(() => r || new J_(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, D.useMemo)(() => r || new tv(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = bee({
+ ]), { menuTriggerProps: d, menuProps: f } = See({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = Lm({
+ }, t, n), { keyboardProps: p } = Hm({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -13466,21 +13517,21 @@ function mx(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = Lv({
+ }), { typeSelectProps: m } = Bv({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = T_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = L_({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = ag(e, { labelable: !0 }), C = H(m, d, y), w = gm();
- return px.set(t, {
+ let S = cg(e, { labelable: !0 }), C = H(m, d, y), w = xm();
+ return sx.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -13490,13 +13541,13 @@ function mx(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), $p("keyboard"));
+ e.isDisabled || (n.current?.focus(), im("keyboard"));
}
},
triggerProps: H(S, {
...C,
isDisabled: i,
- onKeyDown: um(C.onKeyDown, p.onKeyDown),
+ onKeyDown: hm(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -13520,7 +13571,7 @@ function mx(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- Lf(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ Vf(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -13541,18 +13592,18 @@ function mx(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function hx(e, t, n) {
- let r = px.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = j_({ style: {
+function rte(e, t, n) {
+ let r = sx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = W_({ style: {
position: "fixed",
top: 0,
left: 0
} });
- o_(e.selectRef, t.defaultValue, t.setValue), s_({
+ h_(e.selectRef, t.defaultValue, t.setValue), g_({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
- let d = t.setValue, f = (0, E.useCallback)((e) => {
- let t = B(e);
+ let d = t.setValue, f = (0, D.useCallback)((e) => {
+ let t = V(e);
t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);
}, [d]);
return {
@@ -13577,32 +13628,32 @@ function hx(e, t, n) {
}
};
}
-function gx(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, E.useRef)(null), c = (0, E.useRef)(null), { containerProps: l, selectProps: u } = hx({
+function ite(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, D.useRef)(null), c = (0, D.useRef)(null), { containerProps: l, selectProps: u } = rte({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
- if (t.collection.size <= 300) return /*#__PURE__*/ E.createElement("div", {
+ if (t.collection.size <= 300) return /*#__PURE__*/ D.createElement("div", {
...l,
"data-testid": "hidden-select-container"
- }, /*#__PURE__*/ E.createElement("label", null, r, /*#__PURE__*/ E.createElement("select", {
+ }, /*#__PURE__*/ D.createElement("label", null, r, /*#__PURE__*/ D.createElement("select", {
...u,
ref: s
- }, /*#__PURE__*/ E.createElement("option", {
+ }, /*#__PURE__*/ D.createElement("option", {
value: "",
label: "\xA0"
}, "\xA0"), [...t.collection.getKeys()].map((e) => {
let n = t.collection.getItem(e);
- if (n && n.type === "item") return /*#__PURE__*/ E.createElement("option", {
+ if (n && n.type === "item") return /*#__PURE__*/ D.createElement("option", {
key: n.key,
value: n.key
}, n.textValue);
- }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ E.createElement("option", {
+ }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ D.createElement("option", {
key: t,
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = px.get(t) || {};
+ let { validationBehavior: e } = sx.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -13613,7 +13664,7 @@ function gx(e) {
disabled: o,
value: t ?? ""
};
- return e === "native" ? /*#__PURE__*/ E.createElement("input", {
+ return e === "native" ? /*#__PURE__*/ D.createElement("input", {
key: n,
...r,
ref: n === 0 ? c : null,
@@ -13621,20 +13672,20 @@ function gx(e) {
type: "text",
required: n === 0 && u.required,
onChange: () => {}
- }) : /*#__PURE__*/ E.createElement("input", {
+ }) : /*#__PURE__*/ D.createElement("input", {
key: n,
...r,
ref: n === 0 ? c : null
});
});
- return /*#__PURE__*/ E.createElement(E.Fragment, null, n);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, n);
}
return null;
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function _x(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = S_(e, t, n);
+function ate(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = N_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -13648,10 +13699,10 @@ function _x(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var vx = class {
+var cx = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new yx(e.layout) : new q_(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new ote(e.layout) : new ev(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -13687,7 +13738,7 @@ var vx = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of Bv(n, this.collection)) {
+ for (let e of Wv(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -13721,13 +13772,13 @@ var vx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Bv(t, this.collection);
- return (this.direction === "rtl" ? Uv(e)?.key : Vv(e)?.key) ?? null;
+ let e = Wv(t, this.collection);
+ return (this.direction === "rtl" ? qv(e)?.key : Gv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Bv(n, this.collection), i = (this.direction === "rtl" ? Hv(r, t.index - 1) : Hv(r, t.index + 1)) ?? null;
+ let r = Wv(n, this.collection), i = (this.direction === "rtl" ? Kv(r, t.index - 1) : Kv(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -13736,13 +13787,13 @@ var vx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Bv(t, this.collection);
- return (this.direction === "rtl" ? Vv(e)?.key : Uv(e)?.key) ?? null;
+ let e = Wv(t, this.collection);
+ return (this.direction === "rtl" ? Gv(e)?.key : qv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Bv(n, this.collection), i = (this.direction === "rtl" ? Hv(r, t.index + 1) : Hv(r, t.index - 1)) ?? null;
+ let r = Wv(n, this.collection), i = (this.direction === "rtl" ? Kv(r, t.index + 1) : Kv(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -13753,13 +13804,13 @@ var vx = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? Vv(Bv(e, this.collection))?.key ?? null : null;
+ return e ? Gv(Wv(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = Vv(Bv(e, this.collection))?.key ?? null;
+ n = Gv(Wv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -13769,13 +13820,13 @@ var vx = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? Uv(Bv(e, this.collection))?.key ?? null : null;
+ return e ? qv(Wv(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = Uv(Bv(e, this.collection))?.key ?? null;
+ n = qv(Wv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -13811,13 +13862,13 @@ var vx = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Vv(Bv(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Gv(Wv(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
return null;
}
-}, yx = class {
+}, ote = class {
constructor(e) {
this.layout = e;
}
@@ -13830,16 +13881,16 @@ var vx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, bx = /* @__PURE__ */ new WeakMap();
+}, lx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function xx(e, t, n) {
+function ste(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let h = Jv({
+ let h = $v({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Rh(), _ = t.selectionManager.disabledBehavior, v = (0, E.useMemo)(() => a || new vx({
+ }), { direction: g } = Uh(), _ = t.selectionManager.disabledBehavior, v = (0, D.useMemo)(() => a || new cx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -13856,7 +13907,7 @@ function xx(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = zv({
+ ]), { collectionProps: y } = Uv({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -13864,8 +13915,8 @@ function xx(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = gm(e.id);
- bx.set(t, {
+ }), b = xm(e.id);
+ lx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -13874,48 +13925,48 @@ function xx(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = Oee({
+ let x = jee({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = ag(e, { labelable: !0 }), C = (0, E.useCallback)((e) => {
+ }), S = cg(e, { labelable: !0 }), C = (0, D.useCallback)((e) => {
if (m.isFocused) {
- Lf(e.currentTarget, B(e)) || m.setFocused(!1);
+ Vf(e.currentTarget, V(e)) || m.setFocused(!1);
return;
}
- Lf(e.currentTarget, B(e)) && m.setFocused(!0);
- }, [m]), w = (0, E.useMemo)(() => ({
+ Vf(e.currentTarget, V(e)) && m.setFocused(!0);
+ }, [m]), w = (0, D.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = qy(n, { isDisabled: t.collection.size !== 0 }), D = H(S, {
+ }), [C, y.onBlur]), T = Yy(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), Eee({ getRowText: c }, t), { gridProps: D };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), kee({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Sx = /* @__PURE__ */ new WeakMap();
-function Cx(e) {
+var ux = /* @__PURE__ */ new WeakMap();
+function dx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function wx(e, t) {
- let n = Sx.get(e);
+function cte(e, t) {
+ let n = ux.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${Cx(t)}`;
+ return `${n}-${dx(t)}`;
}
-function Tx(e, t, n) {
- let r = Sx.get(e);
+function fx(e, t, n) {
+ let r = ux.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${Cx(t)}-${Cx(n)}`;
+ return `${r}-${dx(t)}-${dx(n)}`;
}
-function Ex(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => Tx(e, t, n)).join(" ");
+function px(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => fx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var Dx = {};
-Dx = {
+var mx = {};
+mx = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -13930,8 +13981,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Ox = {};
-Ox = {
+var hx = {};
+hx = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -13946,8 +13997,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var kx = {};
-kx = {
+var gx = {};
+gx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -13962,8 +14013,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var Ax = {};
-Ax = {
+var _x = {};
+_x = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -13978,8 +14029,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var jx = {};
-jx = {
+var vx = {};
+vx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -13994,8 +14045,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Mx = {};
-Mx = {
+var yx = {};
+yx = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -14010,8 +14061,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Nx = {};
-Nx = {
+var bx = {};
+bx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14026,8 +14077,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Px = {};
-Px = {
+var xx = {};
+xx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14042,8 +14093,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Fx = {};
-Fx = {
+var Sx = {};
+Sx = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14058,8 +14109,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Ix = {};
-Ix = {
+var Cx = {};
+Cx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14074,8 +14125,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Lx = {};
-Lx = {
+var wx = {};
+wx = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14090,8 +14141,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Rx = {};
-Rx = {
+var Tx = {};
+Tx = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -14106,8 +14157,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var zx = {};
-zx = {
+var Ex = {};
+Ex = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14122,8 +14173,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Bx = {};
-Bx = {
+var Dx = {};
+Dx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14138,8 +14189,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Vx = {};
-Vx = {
+var Ox = {};
+Ox = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14154,8 +14205,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Hx = {};
-Hx = {
+var kx = {};
+kx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14170,8 +14221,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Ux = {};
-Ux = {
+var Ax = {};
+Ax = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -14186,8 +14237,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Wx = {};
-Wx = {
+var jx = {};
+jx = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14202,8 +14253,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Gx = {};
-Gx = {
+var Mx = {};
+Mx = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -14218,8 +14269,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Kx = {};
-Kx = {
+var Nx = {};
+Nx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14234,8 +14285,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var qx = {};
-qx = {
+var Px = {};
+Px = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14250,8 +14301,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Jx = {};
-Jx = {
+var Fx = {};
+Fx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14266,8 +14317,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Yx = {};
-Yx = {
+var Ix = {};
+Ix = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14282,8 +14333,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Xx = {};
-Xx = {
+var Lx = {};
+Lx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14298,8 +14349,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Zx = {};
-Zx = {
+var Rx = {};
+Rx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14314,8 +14365,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Qx = {};
-Qx = {
+var zx = {};
+zx = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -14330,8 +14381,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var $x = {};
-$x = {
+var Bx = {};
+Bx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14346,8 +14397,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var eS = {};
-eS = {
+var Vx = {};
+Vx = {
ascending: "naraščajoče",
ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,
collapse: "Strni",
@@ -14362,8 +14413,8 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var tS = {};
-tS = {
+var Hx = {};
+Hx = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14378,8 +14429,8 @@ tS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var nS = {};
-nS = {
+var Ux = {};
+Ux = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14394,8 +14445,8 @@ nS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var rS = {};
-rS = {
+var Wx = {};
+Wx = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -14410,8 +14461,8 @@ rS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var iS = {};
-iS = {
+var Gx = {};
+Gx = {
ascending: "висхідний",
ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,
collapse: "Згорнути",
@@ -14426,8 +14477,8 @@ iS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var aS = {};
-aS = {
+var Kx = {};
+Kx = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -14442,8 +14493,8 @@ aS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var oS = {};
-oS = {
+var qx = {};
+qx = {
ascending: "遞增",
ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,
collapse: "收合",
@@ -14458,46 +14509,46 @@ oS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var sS = {};
-sS = {
- "ar-AE": Dx,
- "bg-BG": Ox,
- "cs-CZ": kx,
- "da-DK": Ax,
- "de-DE": jx,
- "el-GR": Mx,
- "en-US": Nx,
- "es-ES": Px,
- "et-EE": Fx,
- "fi-FI": Ix,
- "fr-FR": Lx,
- "he-IL": Rx,
- "hr-HR": zx,
- "hu-HU": Bx,
- "it-IT": Vx,
- "ja-JP": Hx,
- "ko-KR": Ux,
- "lt-LT": Wx,
- "lv-LV": Gx,
- "nb-NO": Kx,
- "nl-NL": qx,
- "pl-PL": Jx,
- "pt-BR": Yx,
- "pt-PT": Xx,
- "ro-RO": Zx,
- "ru-RU": Qx,
- "sk-SK": $x,
- "sl-SI": eS,
- "sr-SP": tS,
- "sv-SE": nS,
- "tr-TR": rS,
- "uk-UA": iS,
- "zh-CN": aS,
- "zh-TW": oS
+var Jx = {};
+Jx = {
+ "ar-AE": mx,
+ "bg-BG": hx,
+ "cs-CZ": gx,
+ "da-DK": _x,
+ "de-DE": vx,
+ "el-GR": yx,
+ "en-US": bx,
+ "es-ES": xx,
+ "et-EE": Sx,
+ "fi-FI": Cx,
+ "fr-FR": wx,
+ "he-IL": Tx,
+ "hr-HR": Ex,
+ "hu-HU": Dx,
+ "it-IT": Ox,
+ "ja-JP": kx,
+ "ko-KR": Ax,
+ "lt-LT": jx,
+ "lv-LV": Mx,
+ "nb-NO": Nx,
+ "nl-NL": Px,
+ "pl-PL": Fx,
+ "pt-BR": Ix,
+ "pt-PT": Lx,
+ "ro-RO": Rx,
+ "ru-RU": zx,
+ "sk-SK": Bx,
+ "sl-SI": Vx,
+ "sr-SP": Hx,
+ "sv-SE": Ux,
+ "tr-TR": Wx,
+ "uk-UA": Gx,
+ "zh-CN": Kx,
+ "zh-TW": qx
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Gee = class extends vx {
+var lte = class extends cx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -14505,7 +14556,7 @@ var Gee = class extends vx {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Vv(Bv(n, this.collection));
+ let e = Gv(Wv(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -14526,13 +14577,13 @@ var Gee = class extends vx {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of Bv(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of Wv(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...Bv(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...Wv(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -14561,7 +14612,7 @@ var Gee = class extends vx {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of Bv(o, this.collection)) {
+ for (let r of Wv(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -14575,14 +14626,14 @@ var Gee = class extends vx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function Kee(e) {
+function ute(e) {
return e && e.__esModule ? e.default : e;
}
-function qee(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Jv({
+function dte(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = $v({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Rh(), l = t.selectionManager.disabledBehavior, u = (0, E.useMemo)(() => r || new Gee({
+ }), { direction: c } = Uh(), l = t.selectionManager.disabledBehavior, u = (0, D.useMemo)(() => r || new lte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -14601,43 +14652,43 @@ function qee(e, t, n) {
s,
a,
o
- ]), d = gm(e.id);
- Sx.set(t, d);
- let { gridProps: f } = xx({
+ ]), d = xm(e.id);
+ ux.set(t, d);
+ let { gridProps: f } = ste({
...e,
id: d,
keyboardDelegate: u
}, t, n);
i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");
- let { column: p, direction: m } = t.sortDescriptor || {}, h = Qh(Kee(sS), "@react-aria/table"), g = (0, E.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = rg(ute(Jx), "@react-aria/table"), g = (0, D.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = a_(g);
- return Qg(() => {
- g && Zg(g, "assertive", 500);
+ ]), _ = m_(g);
+ return a_(() => {
+ g && r_(g, "assertive", 500);
}, [g]), { gridProps: H(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function cS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Rh(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = bx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, E.useRef)(null), h = () => {
+function Yx(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Uh(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = lx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, D.useRef)(null), h = () => {
if (n.current) {
- let e = Gg(n.current);
+ let e = Zg(n.current);
if (p === "child") {
- if (Bf(n.current) && n.current !== Rf(Df(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? lS(e) : e.firstChild();
+ if (Wf(n.current) && n.current !== Hf(jf(n.current))) return;
+ let r = t.selectionManager.childFocusStrategy === "last" ? Xx(e) : e.firstChild();
if (r) {
- lm(r);
+ mm(r);
return;
}
}
- (m.current != null && r.key !== m.current || !Bf(n.current)) && lm(n.current);
+ (m.current != null && r.key !== m.current || !Wf(n.current)) && mm(n.current);
}
- }, { itemProps: g, isPressed: _ } = Jy({
+ }, { itemProps: g, isPressed: _ } = Xy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14649,47 +14700,47 @@ function cS(e, t, n) {
}), v = H(g, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = Rf(Df(n.current));
- if (!Lf(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = Gg(n.current);
+ let i = Hf(jf(n.current));
+ if (!Vf(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = Zg(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) lm(t), r_(t, { containingElement: e_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) mm(t), d_(t, { containingElement: s_(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (lm(n.current), r_(n.current, { containingElement: e_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : lS(a), t && (lm(t), r_(t, { containingElement: e_(n.current) })));
+ p === "cell" && l === "rtl" ? (mm(n.current), d_(n.current, { containingElement: s_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : Xx(a), t && (mm(t), d_(t, { containingElement: s_(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) lm(t), r_(t, { containingElement: e_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) mm(t), d_(t, { containingElement: s_(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (lm(n.current), r_(n.current, { containingElement: e_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? lS(a) : a.firstChild(), t && (lm(t), r_(t, { containingElement: e_(n.current) })));
+ p === "cell" && l === "ltr" ? (mm(n.current), d_(n.current, { containingElement: s_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? Xx(a) : a.firstChild(), t && (mm(t), d_(t, { containingElement: s_(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && Lf(n.current, B(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && Vf(n.current, V(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = Rf(Df(n.current));
- if (!(!Lf(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
- if (f === "tab" && B(e) !== n.current && e.key !== "Tab") {
+ let r = Hf(jf(n.current));
+ if (!(!Vf(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
+ if (f === "tab" && V(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = Gg(n.current, { tabbable: !0 });
+ let t = Zg(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -14698,12 +14749,12 @@ function cS(e, t, n) {
"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
- if (m.current = r.key, B(e) !== n.current) {
- Zp() || t.selectionManager.setFocusedKey(r.key);
+ if (m.current = r.key, V(e) !== n.current) {
+ nm() || t.selectionManager.setFocusedKey(r.key);
return;
}
- p === "child" && e.relatedTarget && Lf(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && Rf(Df(n.current)) === n.current && h();
+ p === "child" && e.relatedTarget && Vf(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && Hf(jf(n.current)) === n.current && h();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -14718,7 +14769,7 @@ function cS(e, t, n) {
isPressed: _
};
}
-function lS(e) {
+function Xx(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -14727,34 +14778,34 @@ function lS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function Jee(e, t, n) {
- let { gridCellProps: r, isPressed: i } = cS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Tx(t, e.node.parentKey, a)), {
+function fte(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = Yx(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = fx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Yee(e) {
+function pte(e) {
return e && e.__esModule ? e.default : e;
}
-function Xee(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = cS({
+function mte(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Yx({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = bg({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = xg({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = Hm({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !fp() && (u = d ? f : "none");
- let p = Qh(Yee(sS), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && fp() && (m = `${m}, ${p.format(f)}`));
- let h = a_(m), g = t.collection.size === 0;
- return (0, E.useEffect)(() => {
+ }), { focusableProps: l } = qm({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !_p() && (u = d ? f : "none");
+ let p = rg(pte(Jx), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && _p() && (m = `${m}, ${p.format(f)}`));
+ let h = m_(m), g = t.collection.size === 0;
+ return (0, D.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
g,
@@ -14764,7 +14815,7 @@ function Xee(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: wx(t, r.key),
+ id: cte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -14773,20 +14824,20 @@ function Xee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Zee(e, t, n) {
+function hte(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function Qee(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = bx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Jy({
+function gte(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = lx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Xy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? um(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? hm(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -14801,10 +14852,10 @@ function Qee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function $ee(e) {
+function _te(e) {
return e && e.__esModule ? e.default : e;
}
-var uS = {
+var Zx = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -14814,21 +14865,21 @@ var uS = {
rtl: "ArrowRight"
}
};
-function ete(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Qee(e, t, n), { direction: s } = Rh();
+function vte(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = gte(e, t, n), { direction: s } = Uh();
i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];
- let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Qh($ee(sS), "@react-aria/table"), u = Dh({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = rg(_te(Jx), "@react-aria/table"), u = Mh({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Ex(t, r.key)
+ "aria-labelledby": px(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = dS(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = dS(t.collection, a);
+ let n = Qx(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = Qx(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === uS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === uS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === Zx.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === Zx.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
},
"aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,
"aria-level": e.level + 1,
@@ -14846,45 +14897,45 @@ function ete(e, t, n) {
};
}
}
- let p = xp(r.props), m = o.hasAction ? p : {};
+ let p = Ep(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": Ex(t, r.key)
+ "aria-labelledby": px(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function dS(e, t) {
+function Qx(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function tte() {
+function yte() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function fS() {
- return tte();
+function $x() {
+ return yte();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function nte(e) {
+function bte(e) {
return e && e.__esModule ? e.default : e;
}
-function rte(e, t) {
- let { key: n } = e, { checkboxProps: r } = jee(e, t);
+function xte(e, t) {
+ let { key: n } = e, { checkboxProps: r } = Pee(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Ex(t, n)}`
+ "aria-labelledby": `${r.id} ${px(t, n)}`
} };
}
-function ite(e) {
+function Ste(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Qh(nte(sS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": rg(bte(Jx), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
isSelected: n,
isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",
isIndeterminate: !t && !n,
@@ -14893,23 +14944,23 @@ function ite(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var pS = /* @__PURE__ */ new WeakMap();
-function mS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${pS.get(e)}-${n}-${t}`) : "";
+var eS = /* @__PURE__ */ new WeakMap();
+function tS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${eS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function ate(e, t, n) {
- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = Jy({
+function Cte(e, t, n) {
+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = Xy({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = mS(t, r, "tab"), m = mS(t, r, "tabpanel"), { tabIndex: h } = d, g = ag(u?.props, { labelable: !0 });
+ }), p = tS(t, r, "tab"), m = tS(t, r, "tabpanel"), { tabIndex: h } = d, g = cg(u?.props, { labelable: !0 });
delete g.id;
- let _ = Sp(u?.props), { focusableProps: v } = Hm({
+ let _ = Dp(u?.props), { focusableProps: v } = qm({
...u?.props,
isDisabled: l
}, n);
@@ -14929,7 +14980,7 @@ function ate(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var ote = class {
+var wte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -14973,11 +15024,11 @@ var ote = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function ste(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Rh(), { collectionProps: l } = zv({
+function Tte(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Uh(), { collectionProps: l } = Uv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, E.useMemo)(() => new ote(a, c, r, s), [
+ keyboardDelegate: (0, D.useMemo)(() => new wte(a, c, r, s), [
a,
s,
r,
@@ -14987,9 +15038,9 @@ function ste(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = gm();
- return pS.set(t, u), { tabListProps: {
- ...H(l, Dh({
+ }), u = xm();
+ return eS.set(t, u), { tabListProps: {
+ ...H(l, Mh({
...e,
id: u
})),
@@ -15000,12 +15051,12 @@ function ste(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function cte(e, t, n) {
- let r = qy(n) ? void 0 : 0, i = mS(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: H(Dh({
+function Ete(e, t, n) {
+ let r = Yy(n) ? void 0 : 0, i = tS(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: H(Mh({
...e,
id: i,
- "aria-labelledby": mS(t, t?.selectedKey, "tab")
+ "aria-labelledby": tS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15015,7 +15066,7 @@ function cte(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var lte = /* @__PURE__ */ _(((e) => {
+var Dte = /* @__PURE__ */ v(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15214,10 +15265,10 @@ var lte = /* @__PURE__ */ _(((e) => {
}
};
};
-})), ute = /* @__PURE__ */ _(((e, t) => {
- t.exports = lte();
-})), dte = /* @__PURE__ */ _(((e) => {
- var t = ute(), n = C(), r = Jm();
+})), Ote = /* @__PURE__ */ v(((e, t) => {
+ t.exports = Dte();
+})), kte = /* @__PURE__ */ v(((e) => {
+ var t = Ote(), n = w(), r = $m();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -15375,7 +15426,7 @@ var lte = /* @__PURE__ */ _(((e) => {
while (e && e.tag !== 5 && e.tag !== 27 && e.tag !== 3);
return e || null;
}
- function w(e, t, n) {
+ function C(e, t, n) {
for (var r = 0, i = e; i; i = n(i)) r++;
i = 0;
for (var a = t; a; a = n(a)) i++;
@@ -15387,7 +15438,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return null;
}
- var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), N = Symbol.for("react.context"), P = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), ee = Symbol.for("react.memo"), te = Symbol.for("react.lazy"), L = Symbol.for("react.activity"), ne = Symbol.for("react.legacy_hidden"), re = Symbol.for("react.memo_cache_sentinel"), ie = Symbol.for("react.view_transition"), ae = Symbol.for("react.recoverable"), oe = Symbol.iterator;
+ var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), N = Symbol.for("react.context"), P = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), ee = Symbol.for("react.memo"), te = Symbol.for("react.lazy"), ne = Symbol.for("react.activity"), L = Symbol.for("react.legacy_hidden"), re = Symbol.for("react.memo_cache_sentinel"), ie = Symbol.for("react.view_transition"), ae = Symbol.for("react.recoverable"), oe = Symbol.iterator;
function se(e) {
return typeof e != "object" || !e ? null : (e = oe && e[oe] || e["@@iterator"], typeof e == "function" ? e : null);
}
@@ -15402,7 +15453,7 @@ var lte = /* @__PURE__ */ _(((e) => {
case A: return "StrictMode";
case F: return "Suspense";
case I: return "SuspenseList";
- case L: return "Activity";
+ case ne: return "Activity";
case ie: return "ViewTransition";
}
if (typeof e == "object") switch (e.$$typeof) {
@@ -15421,24 +15472,24 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return null;
}
- var ue = Array.isArray, R = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, de = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, fe = {
+ var ue = Array.isArray, R = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, z = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, de = {
pending: !1,
data: null,
method: null,
action: null
- }, pe = [], me = -1;
- function he(e) {
+ }, fe = [], pe = -1;
+ function me(e) {
return { current: e };
}
- function ge(e) {
- 0 > me || (e.current = pe[me], pe[me] = null, me--);
+ function he(e) {
+ 0 > pe || (e.current = fe[pe], fe[pe] = null, pe--);
}
- function _e(e, t) {
- me++, pe[me] = e.current, e.current = t;
+ function ge(e, t) {
+ pe++, fe[pe] = e.current, e.current = t;
}
- var ve = he(null), ye = he(null), be = he(null), xe = he(null);
- function Se(e, t) {
- switch (_e(be, t), _e(ye, e), _e(ve, null), t.nodeType) {
+ var _e = me(null), ve = me(null), ye = me(null), be = me(null);
+ function xe(e, t) {
+ switch (ge(ye, t), ge(ve, e), ge(_e, null), t.nodeType) {
case 9:
case 11:
e = (e = t.documentElement) && (e = e.namespaceURI) ? bp(e) : 0;
@@ -15454,34 +15505,34 @@ var lte = /* @__PURE__ */ _(((e) => {
default: e = 0;
}
}
- ge(ve), _e(ve, e);
+ he(_e), ge(_e, e);
}
- function Ce() {
- ge(ve), ge(ye), ge(be);
+ function Se() {
+ he(_e), he(ve), he(ye);
}
- function we(e) {
+ function Ce(e) {
var t = e.memoizedState;
- t !== null && (_h._currentValue = t.memoizedState, _e(xe, e)), t = ve.current;
+ t !== null && (_h._currentValue = t.memoizedState, ge(be, e)), t = _e.current;
var n = xp(t, e.type);
- t !== n && (_e(ye, e), _e(ve, n));
+ t !== n && (ge(ve, e), ge(_e, n));
}
- function Te(e) {
- ye.current === e && (ge(ve), ge(ye)), xe.current === e && (ge(xe), _h._currentValue = fe);
+ function we(e) {
+ ve.current === e && (he(_e), he(ve)), be.current === e && (he(be), _h._currentValue = de);
}
- var Ee, De;
- function Oe(e) {
- if (Ee === void 0) try {
+ var Te, Ee;
+ function De(e) {
+ if (Te === void 0) try {
throw Error();
} catch (e) {
var t = e.stack.trim().match(/\n( *(at )?)/);
- Ee = t && t[1] || "", De = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";
+ Te = t && t[1] || "", Ee = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";
}
- return "\n" + Ee + e + De;
+ return "\n" + Te + e + Ee;
}
- var ke = !1;
- function Ae(e, t) {
- if (!e || ke) return "";
- ke = !0;
+ var Oe = !1;
+ function ke(e, t) {
+ if (!e || Oe) return "";
+ Oe = !0;
var n = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
@@ -15552,50 +15603,50 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
} finally {
- ke = !1, Error.prepareStackTrace = n;
+ Oe = !1, Error.prepareStackTrace = n;
}
- return (n = e ? e.displayName || e.name : "") ? Oe(n) : "";
+ return (n = e ? e.displayName || e.name : "") ? De(n) : "";
}
- function je(e, t) {
+ function Ae(e, t) {
switch (e.tag) {
case 26:
case 27:
- case 5: return Oe(e.type);
- case 16: return Oe("Lazy");
- case 13: return e.child !== t && t !== null ? Oe("Suspense Fallback") : Oe("Suspense");
- case 19: return Oe("SuspenseList");
+ case 5: return De(e.type);
+ case 16: return De("Lazy");
+ case 13: return e.child !== t && t !== null ? De("Suspense Fallback") : De("Suspense");
+ case 19: return De("SuspenseList");
case 0:
- case 15: return Ae(e.type, !1);
- case 11: return Ae(e.type.render, !1);
- case 1: return Ae(e.type, !0);
- case 31: return Oe("Activity");
- case 30: return Oe("ViewTransition");
+ case 15: return ke(e.type, !1);
+ case 11: return ke(e.type.render, !1);
+ case 1: return ke(e.type, !0);
+ case 31: return De("Activity");
+ case 30: return De("ViewTransition");
default: return "";
}
}
- function Me(e) {
+ function je(e) {
try {
var t = "", n = null;
do
- t += je(e, n), n = e, e = e.return;
+ t += Ae(e, n), n = e, e = e.return;
while (e);
return t;
} catch (e) {
return "\nError generating stack: " + e.message + "\n" + e.stack;
}
}
- var Ne = Object.prototype.hasOwnProperty, Pe = t.unstable_scheduleCallback, Fe = t.unstable_cancelCallback, Ie = t.unstable_shouldYield, Le = t.unstable_requestPaint, Re = t.unstable_now, ze = t.unstable_getCurrentPriorityLevel, Be = t.unstable_ImmediatePriority, Ve = t.unstable_UserBlockingPriority, He = t.unstable_NormalPriority, Ue = t.unstable_LowPriority, We = t.unstable_IdlePriority, Ge = t.log, Ke = t.unstable_setDisableYieldValue, qe = null, Je = null;
- function Ye(e) {
- if (typeof Ge == "function" && Ke(e), Je && typeof Je.setStrictMode == "function") try {
- Je.setStrictMode(qe, e);
+ var Me = Object.prototype.hasOwnProperty, Ne = t.unstable_scheduleCallback, Pe = t.unstable_cancelCallback, Fe = t.unstable_shouldYield, Ie = t.unstable_requestPaint, Le = t.unstable_now, Re = t.unstable_getCurrentPriorityLevel, ze = t.unstable_ImmediatePriority, Be = t.unstable_UserBlockingPriority, Ve = t.unstable_NormalPriority, He = t.unstable_LowPriority, Ue = t.unstable_IdlePriority, We = t.log, Ge = t.unstable_setDisableYieldValue, Ke = null, qe = null;
+ function Je(e) {
+ if (typeof We == "function" && Ge(e), qe && typeof qe.setStrictMode == "function") try {
+ qe.setStrictMode(Ke, e);
} catch {}
}
- var Xe = Math.clz32 ? Math.clz32 : $e, Ze = Math.log, Qe = Math.LN2;
- function $e(e) {
- return e >>>= 0, e === 0 ? 32 : 31 - (Ze(e) / Qe | 0) | 0;
+ var Ye = Math.clz32 ? Math.clz32 : Qe, Xe = Math.log, Ze = Math.LN2;
+ function Qe(e) {
+ return e >>>= 0, e === 0 ? 32 : 31 - (Xe(e) / Ze | 0) | 0;
}
- var et = 256, tt = 262144, nt = 4194304;
- function rt(e) {
+ var $e = 256, et = 262144, tt = 4194304;
+ function nt(e) {
var t = e & 42;
if (t !== 0) return t;
switch (e & -e) {
@@ -15633,27 +15684,27 @@ var lte = /* @__PURE__ */ _(((e) => {
default: return e;
}
}
- function it(e, t, n) {
+ function rt(e, t, n) {
var r = e.pendingLanes;
if (r === 0) return 0;
var i = 0, a = e.suspendedLanes, o = e.pingedLanes;
e = e.warmLanes;
var s = r & 134217727;
- return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = rt(n))) : i = rt(o) : i = rt(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = rt(n))) : i = rt(o)) : i = rt(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;
+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = nt(n))) : i = nt(o) : i = nt(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = nt(n))) : i = nt(o)) : i = nt(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;
}
- function at(e, t) {
+ function it(e, t) {
return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;
}
- function ot(e, t) {
+ function at(e, t) {
t & 8 && (t |= t & 32);
var n = e.entangledLanes;
if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {
- var r = 31 - Xe(n), i = 1 << r;
+ var r = 31 - Ye(n), i = 1 << r;
t |= e[r], n &= ~i;
}
return t;
}
- function st(e, t) {
+ function ot(e, t) {
switch (e) {
case 1:
case 2:
@@ -15689,23 +15740,23 @@ var lte = /* @__PURE__ */ _(((e) => {
default: return -1;
}
}
- function ct() {
- var e = nt;
- return nt <<= 1, !(nt & 62914560) && (nt = 4194304), e;
+ function st() {
+ var e = tt;
+ return tt <<= 1, !(tt & 62914560) && (tt = 4194304), e;
}
- function lt(e) {
+ function ct(e) {
for (var t = [], n = 0; 31 > n; n++) t.push(e);
return t;
}
- function ut(e, t) {
+ function lt(e, t) {
e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);
}
- function dt(e, t, n, r, i, a) {
+ function ut(e, t, n, r, i, a) {
var o = e.pendingLanes;
e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;
var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;
for (n = o & ~n; 0 < n;) {
- var u = 31 - Xe(n), d = 1 << u;
+ var u = 31 - Ye(n), d = 1 << u;
s[u] = 0, c[u] = -1;
var f = l[u];
if (f !== null) for (l[u] = null, u = 0; u < f.length; u++) {
@@ -15714,25 +15765,25 @@ var lte = /* @__PURE__ */ _(((e) => {
}
n &= ~d;
}
- r !== 0 && ft(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));
+ r !== 0 && dt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));
}
- function ft(e, t, n) {
+ function dt(e, t, n) {
e.pendingLanes |= t, e.suspendedLanes &= ~t;
- var r = 31 - Xe(t);
+ var r = 31 - Ye(t);
e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;
}
- function pt(e, t) {
+ function ft(e, t) {
var n = e.entangledLanes |= t;
for (e = e.entanglements; n;) {
- var r = 31 - Xe(n), i = 1 << r;
+ var r = 31 - Ye(n), i = 1 << r;
i & t | e[r] & t && (e[r] |= t), n &= ~i;
}
}
- function mt(e, t) {
+ function pt(e, t) {
var n = t & -t;
- return n = n & 42 ? 1 : ht(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
+ return n = n & 42 ? 1 : mt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
}
- function ht(e) {
+ function mt(e) {
switch (e) {
case 2:
e = 1;
@@ -15770,32 +15821,32 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return e;
}
- function gt(e) {
+ function ht(e) {
return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;
}
- function _t() {
- var e = de.p;
+ function gt() {
+ var e = z.p;
return e === 0 ? (e = window.event, e === void 0 ? 32 : Nh(e.type)) : e;
}
- function vt(e, t) {
- var n = de.p;
+ function _t(e, t) {
+ var n = z.p;
try {
- return de.p = e, t();
+ return z.p = e, t();
} finally {
- de.p = n;
+ z.p = n;
}
}
- var yt = Math.random().toString(36).slice(2), bt = "__reactFiber$" + yt, xt = "__reactProps$" + yt, St = "__reactContainer$" + yt, Ct = "__reactEvents$" + yt, wt = "__reactListeners$" + yt, Tt = "__reactHandles$" + yt, Et = "__reactResources$" + yt, Dt = "__reactMarker$" + yt, Ot = "__reactLoad$" + yt;
- function kt(e) {
- delete e[bt], delete e[xt], delete e[wt], delete e[Tt];
+ var vt = Math.random().toString(36).slice(2), yt = "__reactFiber$" + vt, bt = "__reactProps$" + vt, xt = "__reactContainer$" + vt, St = "__reactEvents$" + vt, Ct = "__reactListeners$" + vt, wt = "__reactHandles$" + vt, Tt = "__reactResources$" + vt, Et = "__reactMarker$" + vt, Dt = "__reactLoad$" + vt;
+ function Ot(e) {
+ delete e[yt], delete e[bt], delete e[Ct], delete e[wt];
}
- function At(e) {
+ function kt(e) {
var t;
- if (t = e[bt]) return t;
+ if (t = e[yt]) return t;
for (var n = e.parentNode; n;) {
- if (t = n[St] || n[bt]) {
+ if (t = n[xt] || n[yt]) {
if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = Sm(e); e !== null;) {
- if (n = e[bt]) return n;
+ if (n = e[yt]) return n;
e = Sm(e);
}
return t;
@@ -15804,49 +15855,49 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return null;
}
- function jt(e) {
- if (e = e[bt] || e[St]) {
+ function At(e) {
+ if (e = e[yt] || e[xt]) {
var t = e.tag;
if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;
}
return null;
}
- function Mt(e) {
+ function jt(e) {
var t = e.tag;
if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;
throw Error(i(33));
}
- function Nt(e) {
- var t = e[Et];
- return t ||= e[Et] = {
+ function Mt(e) {
+ var t = e[Tt];
+ return t ||= e[Tt] = {
hoistableStyles: /* @__PURE__ */ new Map(),
hoistableScripts: /* @__PURE__ */ new Map()
}, t;
}
+ function Nt(e) {
+ e[Et] = !0;
+ }
function Pt(e) {
- e[Dt] = !0;
+ e[Dt] = void 0;
}
- function Ft(e) {
- e[Ot] = void 0;
+ var Ft = /* @__PURE__ */ new Set(), It = {};
+ function Lt(e, t) {
+ Rt(e, t), Rt(e + "Capture", t);
}
- var It = /* @__PURE__ */ new Set(), Lt = {};
function Rt(e, t) {
- zt(e, t), zt(e + "Capture", t);
+ for (It[e] = t, e = 0; e < t.length; e++) Ft.add(t[e]);
}
- function zt(e, t) {
- for (Lt[e] = t, e = 0; e < t.length; e++) It.add(t[e]);
+ var zt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Bt = {}, Vt = {};
+ function Ht(e) {
+ return Me.call(Vt, e) ? !0 : Me.call(Bt, e) ? !1 : zt.test(e) ? Vt[e] = !0 : (Bt[e] = !0, !1);
}
- var Bt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Vt = {}, Ht = {};
- function Ut(e) {
- return Ne.call(Ht, e) ? !0 : Ne.call(Vt, e) ? !1 : Bt.test(e) ? Ht[e] = !0 : (Vt[e] = !0, !1);
+ var Ut = !1;
+ function Wt() {
+ var e = Ut;
+ return Ut = !1, e;
}
- var Wt = !1;
- function Gt() {
- var e = Wt;
- return Wt = !1, e;
- }
- function Kt(e, t, n) {
- if (Ut(t)) {
+ function Gt(e, t, n) {
+ if (Ht(t)) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -15866,7 +15917,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
}
- function qt(e, t, n) {
+ function Kt(e, t, n) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -15880,7 +15931,7 @@ var lte = /* @__PURE__ */ _(((e) => {
e.setAttribute(t, n);
}
}
- function Jt(e, t, n, r) {
+ function qt(e, t, n, r) {
if (r === null) e.removeAttribute(n);
else {
switch (typeof r) {
@@ -15894,7 +15945,7 @@ var lte = /* @__PURE__ */ _(((e) => {
e.setAttributeNS(t, n, r);
}
}
- function Yt(e) {
+ function Jt(e) {
switch (typeof e) {
case "bigint":
case "boolean":
@@ -15905,11 +15956,11 @@ var lte = /* @__PURE__ */ _(((e) => {
default: return "";
}
}
- function Xt(e) {
+ function Yt(e) {
var t = e.type;
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
}
- function Zt(e, t, n) {
+ function Xt(e, t, n) {
var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);
if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {
var i = r.get, a = r.set;
@@ -15934,48 +15985,48 @@ var lte = /* @__PURE__ */ _(((e) => {
};
}
}
- function Qt(e) {
+ function Zt(e) {
if (!e._valueTracker) {
- var t = Xt(e) ? "checked" : "value";
- e._valueTracker = Zt(e, t, "" + e[t]);
+ var t = Yt(e) ? "checked" : "value";
+ e._valueTracker = Xt(e, t, "" + e[t]);
}
}
- function $t(e) {
+ function Qt(e) {
if (!e) return !1;
var t = e._valueTracker;
if (!t) return !0;
var n = t.getValue(), r = "";
- return e && (r = Xt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
+ return e && (r = Yt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
}
- var en = /[\n"\\]/g;
- function tn(e) {
- return e.replace(en, function(e) {
+ var $t = /[\n"\\]/g;
+ function en(e) {
+ return e.replace($t, function(e) {
return "\\" + e.charCodeAt(0).toString(16) + " ";
});
}
- function nn(e, t, n, r, i, a, o, s) {
- e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Yt(t)) : e.value !== "" + Yt(t) && (e.value = "" + Yt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : an(e, Yt(n)) : o === "number" && e.value == t ? an(e, Yt(e.value)) : an(e, Yt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Yt(s) : e.removeAttribute("name");
+ function tn(e, t, n, r, i, a, o, s) {
+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Jt(t)) : e.value !== "" + Jt(t) && (e.value = "" + Jt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : rn(e, Jt(n)) : o === "number" && e.value == t ? rn(e, Jt(e.value)) : rn(e, Jt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Jt(s) : e.removeAttribute("name");
}
- function rn(e, t, n, r, i, a, o, s) {
+ function nn(e, t, n, r, i, a, o, s) {
if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {
if (!(a !== "submit" && a !== "reset" || t != null)) {
- Qt(e);
+ Zt(e);
return;
}
- n = n == null ? "" : "" + Yt(n), t = t == null ? n : "" + Yt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
+ n = n == null ? "" : "" + Jt(n), t = t == null ? n : "" + Jt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
}
- r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), Qt(e);
+ r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), Zt(e);
}
- function an(e, t) {
+ function rn(e, t) {
e.defaultValue !== "" + t && (e.defaultValue = "" + t);
}
- function on(e, t, n, r) {
+ function an(e, t, n, r) {
if (e = e.options, t) {
t = {};
for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;
for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);
} else {
- for (n = "" + Yt(n), t = null, i = 0; i < e.length; i++) {
+ for (n = "" + Jt(n), t = null, i = 0; i < e.length; i++) {
if (e[i].value === n) {
e[i].selected = !0, r && (e[i].defaultSelected = !0);
return;
@@ -15985,14 +16036,14 @@ var lte = /* @__PURE__ */ _(((e) => {
t !== null && (t.selected = !0);
}
}
- function sn(e, t, n) {
- if (t != null && (t = "" + Yt(t), t !== e.value && (e.value = t), n == null)) {
+ function on(e, t, n) {
+ if (t != null && (t = "" + Jt(t), t !== e.value && (e.value = t), n == null)) {
e.defaultValue !== t && (e.defaultValue = t);
return;
}
- e.defaultValue = n == null ? "" : "" + Yt(n);
+ e.defaultValue = n == null ? "" : "" + Jt(n);
}
- function cn(e, t, n, r) {
+ function sn(e, t, n, r) {
if (t == null) {
if (r != null) {
if (n != null) throw Error(i(92));
@@ -16004,9 +16055,9 @@ var lte = /* @__PURE__ */ _(((e) => {
}
n ??= "", t = n;
}
- n = Yt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Qt(e);
+ n = Jt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Zt(e);
}
- function ln(e, t) {
+ function cn(e, t) {
if (t) {
var n = e.firstChild;
if (n && n === e.lastChild && n.nodeType === 3) {
@@ -16016,19 +16067,19 @@ var lte = /* @__PURE__ */ _(((e) => {
}
e.textContent = t;
}
- var un = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
- function dn(e, t, n) {
+ var ln = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
+ function un(e, t, n) {
var r = t.indexOf("--") === 0;
- n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || un.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
+ n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || ln.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
}
- function fn(e, t, n) {
+ function dn(e, t, n) {
if (t != null && typeof t != "object") throw Error(i(62));
if (e = e.style, n != null) {
- for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Wt = !0);
- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (dn(e, a, r), Wt = !0);
- } else for (var o in t) t.hasOwnProperty(o) && dn(e, o, t[o]);
+ for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Ut = !0);
+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (un(e, a, r), Ut = !0);
+ } else for (var o in t) t.hasOwnProperty(o) && un(e, o, t[o]);
}
- function pn(e) {
+ function fn(e) {
if (e.indexOf("-") === -1) return !1;
switch (e) {
case "annotation-xml":
@@ -16042,7 +16093,7 @@ var lte = /* @__PURE__ */ _(((e) => {
default: return !0;
}
}
- var mn = /* @__PURE__ */ new Map([
+ var pn = /* @__PURE__ */ new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"],
@@ -16122,56 +16173,56 @@ var lte = /* @__PURE__ */ _(((e) => {
["writingMode", "writing-mode"],
["xmlnsXlink", "xmlns:xlink"],
["xHeight", "x-height"]
- ]), hn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
- function gn(e) {
- return hn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
+ ]), mn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
+ function hn(e) {
+ return mn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
}
- function _n() {}
- var vn = null;
- function yn(e) {
+ function gn() {}
+ var _n = null;
+ function vn(e) {
return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
}
- var bn = null, xn = null;
- function Sn(e) {
- var t = jt(e);
+ var yn = null, bn = null;
+ function xn(e) {
+ var t = At(e);
if (t && (e = t.stateNode)) {
- var n = e[xt] || null;
+ var n = e[bt] || null;
a: switch (e = t.stateNode, t.type) {
case "input":
- if (nn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
+ if (tn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
for (n = e; n.parentNode;) n = n.parentNode;
- for (n = n.querySelectorAll("input[name=\"" + tn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
+ for (n = n.querySelectorAll("input[name=\"" + en("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
var r = n[t];
if (r !== e && r.form === e.form) {
- var a = r[xt] || null;
+ var a = r[bt] || null;
if (!a) throw Error(i(90));
- nn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
+ tn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
}
}
- for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && $t(r);
+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Qt(r);
}
break a;
case "textarea":
- sn(e, n.value, n.defaultValue);
+ on(e, n.value, n.defaultValue);
break a;
- case "select": t = n.value, t != null && on(e, !!n.multiple, t, !1);
+ case "select": t = n.value, t != null && an(e, !!n.multiple, t, !1);
}
}
}
- var Cn = !1;
- function wn(e, t, n) {
- if (Cn) return e(t, n);
- Cn = !0;
+ var Sn = !1;
+ function Cn(e, t, n) {
+ if (Sn) return e(t, n);
+ Sn = !0;
try {
return e(t);
} finally {
- if (Cn = !1, (bn !== null || xn !== null) && (Jd(), bn && (t = bn, e = xn, xn = bn = null, Sn(t), e))) for (t = 0; t < e.length; t++) Sn(e[t]);
+ if (Sn = !1, (yn !== null || bn !== null) && (qd(), yn && (t = yn, e = bn, bn = yn = null, xn(t), e))) for (t = 0; t < e.length; t++) xn(e[t]);
}
}
- function Tn(e, t) {
+ function wn(e, t) {
var n = e.stateNode;
if (n === null) return null;
- var r = n[xt] || null;
+ var r = n[bt] || null;
if (r === null) return null;
n = r[t];
a: switch (t) {
@@ -16194,51 +16245,51 @@ var lte = /* @__PURE__ */ _(((e) => {
if (n && typeof n != "function") throw Error(i(231, t, typeof n));
return n;
}
- var En = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), Dn = !1;
- if (En) try {
- var On = {};
- Object.defineProperty(On, "passive", { get: function() {
- Dn = !0;
- } }), window.addEventListener("test", On, On), window.removeEventListener("test", On, On);
+ var Tn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), En = !1;
+ if (Tn) try {
+ var Dn = {};
+ Object.defineProperty(Dn, "passive", { get: function() {
+ En = !0;
+ } }), window.addEventListener("test", Dn, Dn), window.removeEventListener("test", Dn, Dn);
} catch {
- Dn = !1;
+ En = !1;
}
- var kn = null, An = null, jn = null;
- function Mn() {
- if (jn) return jn;
- var e, t = An, n = t.length, r, i = "value" in kn ? kn.value : kn.textContent, a = i.length;
+ var On = null, kn = null, An = null;
+ function jn() {
+ if (An) return An;
+ var e, t = kn, n = t.length, r, i = "value" in On ? On.value : On.textContent, a = i.length;
for (e = 0; e < n && t[e] === i[e]; e++);
var o = n - e;
for (r = 1; r <= o && t[n - r] === i[a - r]; r++);
- return jn = i.slice(e, 1 < r ? 1 - r : void 0);
+ return An = i.slice(e, 1 < r ? 1 - r : void 0);
}
- function Nn(e) {
+ function Mn(e) {
var t = e.keyCode;
return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
}
- function Pn() {
+ function Nn() {
return !0;
}
- function Fn() {
+ function Pn() {
return !1;
}
- function z(e) {
+ function Fn(e) {
function t(t, n, r, i, a) {
for (var o in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = i, this.target = a, this.currentTarget = null, e) e.hasOwnProperty(o) && (t = e[o], this[o] = t ? t(i) : i[o]);
- return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Pn : Fn, this.isPropagationStopped = Fn, this;
+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Nn : Pn, this.isPropagationStopped = Pn, this;
}
return T(t.prototype, {
preventDefault: function() {
this.defaultPrevented = !0;
var e = this.nativeEvent;
- e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Pn);
+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Nn);
},
stopPropagation: function() {
var e = this.nativeEvent;
- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Pn);
+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Nn);
},
persist: function() {},
- isPersistent: Pn
+ isPersistent: Nn
}), t;
}
var In = {
@@ -16250,10 +16301,10 @@ var lte = /* @__PURE__ */ _(((e) => {
},
defaultPrevented: 0,
isTrusted: 0
- }, Ln = z(In), Rn = T({}, In, {
+ }, Ln = Fn(In), Rn = T({}, In, {
view: 0,
detail: 0
- }), zn = z(Rn), Bn, Vn, Hn, Un = T({}, Rn, {
+ }), zn = Fn(Rn), B, Bn, Vn, Hn = T({}, Rn, {
screenX: 0,
screenY: 0,
clientX: 0,
@@ -16264,25 +16315,25 @@ var lte = /* @__PURE__ */ _(((e) => {
shiftKey: 0,
altKey: 0,
metaKey: 0,
- getModifierState: er,
+ getModifierState: $n,
button: 0,
buttons: 0,
relatedTarget: function(e) {
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
},
movementX: function(e) {
- return "movementX" in e ? e.movementX : (e !== Hn && (Hn && e.type === "mousemove" ? (Bn = e.screenX - Hn.screenX, Vn = e.screenY - Hn.screenY) : Vn = Bn = 0, Hn = e), Bn);
+ return "movementX" in e ? e.movementX : (e !== Vn && (Vn && e.type === "mousemove" ? (B = e.screenX - Vn.screenX, Bn = e.screenY - Vn.screenY) : Bn = B = 0, Vn = e), B);
},
movementY: function(e) {
- return "movementY" in e ? e.movementY : Vn;
+ return "movementY" in e ? e.movementY : Bn;
}
- }), Wn = z(Un), Gn = z(T({}, Un, { dataTransfer: 0 })), Kn = z(T({}, Rn, { relatedTarget: 0 })), qn = z(T({}, In, {
+ }), Un = Fn(Hn), Wn = Fn(T({}, Hn, { dataTransfer: 0 })), Gn = Fn(T({}, Rn, { relatedTarget: 0 })), Kn = Fn(T({}, In, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), Jn = z(T({}, In, { clipboardData: function(e) {
+ })), qn = Fn(T({}, In, { clipboardData: function(e) {
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
- } })), Yn = z(T({}, In, { data: 0 })), Xn = {
+ } })), Jn = Fn(T({}, In, { data: 0 })), Yn = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
@@ -16295,7 +16346,7 @@ var lte = /* @__PURE__ */ _(((e) => {
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
- }, Zn = {
+ }, Xn = {
8: "Backspace",
9: "Tab",
12: "Clear",
@@ -16332,26 +16383,26 @@ var lte = /* @__PURE__ */ _(((e) => {
144: "NumLock",
145: "ScrollLock",
224: "Meta"
- }, Qn = {
+ }, Zn = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
- function $n(e) {
+ function Qn(e) {
var t = this.nativeEvent;
- return t.getModifierState ? t.getModifierState(e) : (e = Qn[e]) ? !!t[e] : !1;
+ return t.getModifierState ? t.getModifierState(e) : (e = Zn[e]) ? !!t[e] : !1;
}
- function er() {
- return $n;
+ function $n() {
+ return Qn;
}
- var tr = z(T({}, Rn, {
+ var er = Fn(T({}, Rn, {
key: function(e) {
if (e.key) {
- var t = Xn[e.key] || e.key;
+ var t = Yn[e.key] || e.key;
if (t !== "Unidentified") return t;
}
- return e.type === "keypress" ? (e = Nn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Zn[e.keyCode] || "Unidentified" : "";
+ return e.type === "keypress" ? (e = Mn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Xn[e.keyCode] || "Unidentified" : "";
},
code: 0,
location: 0,
@@ -16361,17 +16412,17 @@ var lte = /* @__PURE__ */ _(((e) => {
metaKey: 0,
repeat: 0,
locale: 0,
- getModifierState: er,
+ getModifierState: $n,
charCode: function(e) {
- return e.type === "keypress" ? Nn(e) : 0;
+ return e.type === "keypress" ? Mn(e) : 0;
},
keyCode: function(e) {
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
},
which: function(e) {
- return e.type === "keypress" ? Nn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
+ return e.type === "keypress" ? Mn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
}
- })), nr = z(T({}, Un, {
+ })), tr = Fn(T({}, Hn, {
pointerId: 0,
width: 0,
height: 0,
@@ -16382,7 +16433,7 @@ var lte = /* @__PURE__ */ _(((e) => {
twist: 0,
pointerType: 0,
isPrimary: 0
- })), rr = z(T({}, In, { submitter: 0 })), ir = z(T({}, Rn, {
+ })), nr = Fn(T({}, In, { submitter: 0 })), rr = Fn(T({}, Rn, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
@@ -16390,12 +16441,12 @@ var lte = /* @__PURE__ */ _(((e) => {
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
- getModifierState: er
- })), ar = z(T({}, In, {
+ getModifierState: $n
+ })), ir = Fn(T({}, In, {
propertyName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), or = z(T({}, Un, {
+ })), ar = Fn(T({}, Hn, {
deltaX: function(e) {
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
},
@@ -16404,21 +16455,21 @@ var lte = /* @__PURE__ */ _(((e) => {
},
deltaZ: 0,
deltaMode: 0
- })), sr = z(T({}, In, {
+ })), or = Fn(T({}, In, {
newState: 0,
oldState: 0,
source: 0
- })), cr = [
+ })), sr = [
9,
13,
27,
32
- ], lr = En && "CompositionEvent" in window, ur = null;
- En && "documentMode" in document && (ur = document.documentMode);
- var dr = En && "TextEvent" in window && !ur, fr = En && (!lr || ur && 8 < ur && 11 >= ur), pr = " ", mr = !1;
- function hr(e, t) {
+ ], cr = Tn && "CompositionEvent" in window, lr = null;
+ Tn && "documentMode" in document && (lr = document.documentMode);
+ var ur = Tn && "TextEvent" in window && !lr, dr = Tn && (!cr || lr && 8 < lr && 11 >= lr), fr = " ", pr = !1;
+ function mr(e, t) {
switch (e) {
- case "keyup": return cr.indexOf(t.keyCode) !== -1;
+ case "keyup": return sr.indexOf(t.keyCode) !== -1;
case "keydown": return t.keyCode !== 229;
case "keypress":
case "mousedown":
@@ -16426,20 +16477,20 @@ var lte = /* @__PURE__ */ _(((e) => {
default: return !1;
}
}
- function gr(e) {
+ function hr(e) {
return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
}
- var _r = !1;
- function vr(e, t) {
+ var gr = !1;
+ function _r(e, t) {
switch (e) {
- case "compositionend": return gr(t);
- case "keypress": return t.which === 32 ? (mr = !0, pr) : null;
- case "textInput": return e = t.data, e === pr && mr ? null : e;
+ case "compositionend": return hr(t);
+ case "keypress": return t.which === 32 ? (pr = !0, fr) : null;
+ case "textInput": return e = t.data, e === fr && pr ? null : e;
default: return null;
}
}
- function yr(e, t) {
- if (_r) return e === "compositionend" || !lr && hr(e, t) ? (e = Mn(), jn = An = kn = null, _r = !1, e) : null;
+ function vr(e, t) {
+ if (gr) return e === "compositionend" || !cr && mr(e, t) ? (e = jn(), An = kn = On = null, gr = !1, e) : null;
switch (e) {
case "paste": return null;
case "keypress":
@@ -16448,11 +16499,11 @@ var lte = /* @__PURE__ */ _(((e) => {
if (t.which) return String.fromCharCode(t.which);
}
return null;
- case "compositionend": return fr && t.locale !== "ko" ? null : t.data;
+ case "compositionend": return dr && t.locale !== "ko" ? null : t.data;
default: return null;
}
}
- var br = {
+ var yr = {
color: !0,
date: !0,
datetime: !0,
@@ -16469,76 +16520,76 @@ var lte = /* @__PURE__ */ _(((e) => {
url: !0,
week: !0
};
- function xr(e) {
+ function br(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
- return t === "input" ? !!br[e.type] : t === "textarea";
+ return t === "input" ? !!yr[e.type] : t === "textarea";
}
- function Sr(e, t, n, r) {
- bn ? xn ? xn.push(r) : xn = [r] : bn = r, t = rp(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({
+ function xr(e, t, n, r) {
+ yn ? bn ? bn.push(r) : bn = [r] : yn = r, t = rp(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({
event: n,
listeners: t
}));
}
- var Cr = null, wr = null;
- function Tr(e) {
- Xf(e, 0);
+ var Sr = null, Cr = null;
+ function wr(e) {
+ Yf(e, 0);
}
- function Er(e) {
- if ($t(Mt(e))) return e;
+ function Tr(e) {
+ if (Qt(jt(e))) return e;
}
- function Dr(e, t) {
+ function Er(e, t) {
if (e === "change") return t;
}
- var Or = !1;
- if (En) {
- var kr;
- if (En) {
- var Ar = "oninput" in document;
- if (!Ar) {
- var jr = document.createElement("div");
- jr.setAttribute("oninput", "return;"), Ar = typeof jr.oninput == "function";
+ var Dr = !1;
+ if (Tn) {
+ var Or;
+ if (Tn) {
+ var kr = "oninput" in document;
+ if (!kr) {
+ var Ar = document.createElement("div");
+ Ar.setAttribute("oninput", "return;"), kr = typeof Ar.oninput == "function";
}
- kr = Ar;
- } else kr = !1;
- Or = kr && (!document.documentMode || 9 < document.documentMode);
+ Or = kr;
+ } else Or = !1;
+ Dr = Or && (!document.documentMode || 9 < document.documentMode);
}
- function Mr() {
- Cr && (Cr.detachEvent("onpropertychange", Nr), wr = Cr = null);
+ function jr() {
+ Sr && (Sr.detachEvent("onpropertychange", Mr), Cr = Sr = null);
}
- function Nr(e) {
- if (e.propertyName === "value" && Er(wr)) {
+ function Mr(e) {
+ if (e.propertyName === "value" && Tr(Cr)) {
var t = [];
- Sr(t, wr, e, yn(e)), wn(Tr, t);
+ xr(t, Cr, e, vn(e)), Cn(wr, t);
}
}
- function Pr(e, t, n) {
- e === "focusin" ? (Mr(), Cr = t, wr = n, Cr.attachEvent("onpropertychange", Nr)) : e === "focusout" && Mr();
+ function Nr(e, t, n) {
+ e === "focusin" ? (jr(), Sr = t, Cr = n, Sr.attachEvent("onpropertychange", Mr)) : e === "focusout" && jr();
}
- function Fr(e) {
- if (e === "selectionchange" || e === "keyup" || e === "keydown") return Er(wr);
+ function Pr(e) {
+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return Tr(Cr);
+ }
+ function Fr(e, t) {
+ if (e === "click") return Tr(t);
}
function Ir(e, t) {
- if (e === "click") return Er(t);
+ if (e === "input" || e === "change") return Tr(t);
}
function Lr(e, t) {
- if (e === "input" || e === "change") return Er(t);
- }
- function Rr(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
- var zr = typeof Object.is == "function" ? Object.is : Rr;
- function Br(e, t) {
- if (zr(e, t)) return !0;
+ var Rr = typeof Object.is == "function" ? Object.is : Lr;
+ function zr(e, t) {
+ if (Rr(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
var n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
for (r = 0; r < n.length; r++) {
var i = n[r];
- if (!Ne.call(t, i) || !zr(e[i], t[i])) return !1;
+ if (!Me.call(t, i) || !Rr(e[i], t[i])) return !1;
}
return !0;
}
- function Vr(e) {
+ function Br(e) {
if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;
try {
return e.activeElement || e.body;
@@ -16546,12 +16597,12 @@ var lte = /* @__PURE__ */ _(((e) => {
return e.body;
}
}
- function Hr(e) {
+ function Vr(e) {
for (; e && e.firstChild;) e = e.firstChild;
return e;
}
- function Ur(e, t) {
- var n = Hr(e);
+ function Hr(e, t) {
+ var n = Vr(e);
e = 0;
for (var r; n;) {
if (n.nodeType === 3) {
@@ -16571,15 +16622,15 @@ var lte = /* @__PURE__ */ _(((e) => {
}
n = void 0;
}
- n = Hr(n);
+ n = Vr(n);
}
}
- function Wr(e, t) {
- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Wr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
+ function Ur(e, t) {
+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Ur(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
}
- function Gr(e) {
+ function Wr(e) {
e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;
- for (var t = Vr(e.document); t instanceof e.HTMLIFrameElement;) {
+ for (var t = Br(e.document); t instanceof e.HTMLIFrameElement;) {
try {
var n = typeof t.contentWindow.location.href == "string";
} catch {
@@ -16587,18 +16638,18 @@ var lte = /* @__PURE__ */ _(((e) => {
}
if (n) e = t.contentWindow;
else break;
- t = Vr(e.document);
+ t = Br(e.document);
}
return t;
}
- function Kr(e) {
+ function Gr(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");
}
- var qr = En && "documentMode" in document && 11 >= document.documentMode, Jr = null, Yr = null, Xr = null, Zr = !1;
- function Qr(e, t, n) {
+ var Kr = Tn && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Xr = !1;
+ function Zr(e, t, n) {
var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
- Zr || Jr == null || Jr !== Vr(r) || (r = Jr, "selectionStart" in r && Kr(r) ? r = {
+ Xr || qr == null || qr !== Br(r) || (r = qr, "selectionStart" in r && Gr(r) ? r = {
start: r.selectionStart,
end: r.selectionEnd
} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {
@@ -16606,48 +16657,48 @@ var lte = /* @__PURE__ */ _(((e) => {
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset
- }), Xr && Br(Xr, r) || (Xr = r, r = rp(Yr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({
+ }), Yr && zr(Yr, r) || (Yr = r, r = rp(Jr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({
event: t,
listeners: r
- }), t.target = Jr)));
+ }), t.target = qr)));
}
- function $r(e, t) {
+ function Qr(e, t) {
var n = {};
return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;
}
- var ei = {
- animationend: $r("Animation", "AnimationEnd"),
- animationiteration: $r("Animation", "AnimationIteration"),
- animationstart: $r("Animation", "AnimationStart"),
- transitionrun: $r("Transition", "TransitionRun"),
- transitionstart: $r("Transition", "TransitionStart"),
- transitioncancel: $r("Transition", "TransitionCancel"),
- transitionend: $r("Transition", "TransitionEnd")
- }, ti = {}, ni = {};
- En && (ni = document.createElement("div").style, "AnimationEvent" in window || (delete ei.animationend.animation, delete ei.animationiteration.animation, delete ei.animationstart.animation), "TransitionEvent" in window || delete ei.transitionend.transition);
- function ri(e) {
- if (ti[e]) return ti[e];
- if (!ei[e]) return e;
- var t = ei[e], n;
- for (n in t) if (t.hasOwnProperty(n) && n in ni) return ti[e] = t[n];
+ var $r = {
+ animationend: Qr("Animation", "AnimationEnd"),
+ animationiteration: Qr("Animation", "AnimationIteration"),
+ animationstart: Qr("Animation", "AnimationStart"),
+ transitionrun: Qr("Transition", "TransitionRun"),
+ transitionstart: Qr("Transition", "TransitionStart"),
+ transitioncancel: Qr("Transition", "TransitionCancel"),
+ transitionend: Qr("Transition", "TransitionEnd")
+ }, ei = {}, ti = {};
+ Tn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);
+ function ni(e) {
+ if (ei[e]) return ei[e];
+ if (!$r[e]) return e;
+ var t = $r[e], n;
+ for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];
return e;
}
- var ii = ri("animationend"), ai = ri("animationiteration"), oi = ri("animationstart"), si = ri("transitionrun"), ci = ri("transitionstart"), li = ri("transitioncancel"), ui = ri("transitionend"), di = /* @__PURE__ */ new Map(), fi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
- fi.push("scrollEnd");
- function pi(e, t) {
- di.set(e, t), Rt(t, [e]);
+ var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), oi = ni("transitionrun"), si = ni("transitionstart"), ci = ni("transitioncancel"), li = ni("transitionend"), ui = /* @__PURE__ */ new Map(), di = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
+ di.push("scrollEnd");
+ function fi(e, t) {
+ ui.set(e, t), Lt(t, [e]);
}
- var mi = 0;
- function hi(e, t) {
+ var pi = 0;
+ function mi(e, t) {
if (e.name != null && e.name !== "auto") return e.name;
if (t.autoName !== null) return t.autoName;
- e = kd.identifierPrefix;
- var n = mi++;
+ e = Od.identifierPrefix;
+ var n = pi++;
return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;
}
- function gi(e) {
+ function hi(e) {
if (e == null || typeof e == "string") return e;
- var t = null, n = Ld;
+ var t = null, n = Id;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = e[n[r]];
if (i != null) {
@@ -16657,10 +16708,10 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return t ?? e.default;
}
- function _i(e, t) {
- return e = gi(e), t = gi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;
+ function gi(e, t) {
+ return e = hi(e), t = hi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;
}
- var vi = typeof reportError == "function" ? reportError : function(e) {
+ var _i = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -16674,62 +16725,62 @@ var lte = /* @__PURE__ */ _(((e) => {
return;
}
console.error(e);
- }, yi = [], bi = 0, xi = 0;
- function Si() {
- for (var e = bi, t = xi = bi = 0; t < e;) {
- var n = yi[t];
- yi[t++] = null;
- var r = yi[t];
- yi[t++] = null;
- var i = yi[t];
- yi[t++] = null;
- var a = yi[t];
- if (yi[t++] = null, r !== null && i !== null) {
+ }, vi = [], yi = 0, bi = 0;
+ function xi() {
+ for (var e = yi, t = bi = yi = 0; t < e;) {
+ var n = vi[t];
+ vi[t++] = null;
+ var r = vi[t];
+ vi[t++] = null;
+ var i = vi[t];
+ vi[t++] = null;
+ var a = vi[t];
+ if (vi[t++] = null, r !== null && i !== null) {
var o = r.pending;
o === null ? i.next = i : (i.next = o.next, o.next = i), r.pending = i;
}
- a !== 0 && Ei(n, i, a);
+ a !== 0 && Ti(n, i, a);
}
}
- function Ci(e, t, n, r) {
- yi[bi++] = e, yi[bi++] = t, yi[bi++] = n, yi[bi++] = r, xi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);
+ function Si(e, t, n, r) {
+ vi[yi++] = e, vi[yi++] = t, vi[yi++] = n, vi[yi++] = r, bi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);
}
- function wi(e, t, n, r) {
- return Ci(e, t, n, r), Di(e);
+ function Ci(e, t, n, r) {
+ return Si(e, t, n, r), Ei(e);
}
- function Ti(e, t) {
- return Ci(e, null, null, t), Di(e);
+ function wi(e, t) {
+ return Si(e, null, null, t), Ei(e);
}
- function Ei(e, t, n) {
+ function Ti(e, t, n) {
e.lanes |= n;
var r = e.alternate;
r !== null && (r.lanes |= n);
for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;
- return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Xe(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;
+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Ye(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;
}
- function Di(e) {
- if (50 < Rd) throw Rd = 0, zd = null, Error(i(185));
+ function Ei(e) {
+ if (50 < Ld) throw Ld = 0, Rd = null, Error(i(185));
for (var t = e.return; t !== null;) e = t, t = e.return;
return e.tag === 3 ? e.stateNode : null;
}
- var Oi = {};
- function ki(e, t, n, r) {
+ var Di = {};
+ function Oi(e, t, n, r) {
this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
}
- function Ai(e, t, n, r) {
- return new ki(e, t, n, r);
+ function ki(e, t, n, r) {
+ return new Oi(e, t, n, r);
}
- function ji(e) {
+ function Ai(e) {
return e = e.prototype, !(!e || !e.isReactComponent);
}
- function Mi(e, t) {
+ function ji(e, t) {
var n = e.alternate;
- return n === null ? (n = Ai(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {
+ return n === null ? (n = ki(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {
lanes: t.lanes,
firstContext: t.firstContext
}, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n;
}
- function Ni(e, t) {
+ function Mi(e, t) {
e.flags &= 1206910978;
var n = e.alternate;
return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {
@@ -16737,21 +16788,21 @@ var lte = /* @__PURE__ */ _(((e) => {
firstContext: t.firstContext
}), e;
}
- function Pi(e, t, n, r, a, o) {
+ function Ni(e, t, n, r, a, o) {
var s = 0;
- if (r = e, typeof r == "function") ji(r) && (s = 1);
- else if (typeof r == "string") s = rh(e, n, ve.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
+ if (r = e, typeof r == "function") Ai(r) && (s = 1);
+ else if (typeof r == "string") s = rh(e, n, _e.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
else a: switch (r) {
- case L: return e = Ai(31, n, t, a), e.elementType = L, e.lanes = o, e;
- case k: return Fi(n.children, a, o, t);
+ case ne: return e = ki(31, n, t, a), e.elementType = ne, e.lanes = o, e;
+ case k: return Pi(n.children, a, o, t);
case A:
s = 8, a |= 24;
break;
- case j: return e = Ai(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;
- case F: return e = Ai(13, n, t, a), e.elementType = F, e.lanes = o, e;
- case I: return e = Ai(19, n, t, a), e.elementType = I, e.lanes = o, e;
- case ne:
- case ie: return e = a | 32, e = Ai(30, n, t, e), e.elementType = ie, e.lanes = o, e.stateNode = {
+ case j: return e = ki(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;
+ case F: return e = ki(13, n, t, a), e.elementType = F, e.lanes = o, e;
+ case I: return e = ki(19, n, t, a), e.elementType = I, e.lanes = o, e;
+ case L:
+ case ie: return e = a | 32, e = ki(30, n, t, e), e.elementType = ie, e.lanes = o, e.stateNode = {
autoName: null,
paired: null,
clones: null,
@@ -16777,159 +16828,159 @@ var lte = /* @__PURE__ */ _(((e) => {
}
s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;
}
- return t = Ai(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;
+ return t = ki(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;
}
- function Fi(e, t, n, r) {
- return e = Ai(7, e, r, t), e.lanes = n, e;
+ function Pi(e, t, n, r) {
+ return e = ki(7, e, r, t), e.lanes = n, e;
}
- function Ii(e, t, n) {
- return e = Ai(6, e, null, t), e.lanes = n, e;
+ function Fi(e, t, n) {
+ return e = ki(6, e, null, t), e.lanes = n, e;
}
- function Li(e) {
- var t = Ai(18, null, null, 0);
+ function Ii(e) {
+ var t = ki(18, null, null, 0);
return t.stateNode = e, t;
}
- function Ri(e, t, n) {
- return t = Ai(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {
+ function Li(e, t, n) {
+ return t = ki(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {
containerInfo: e.containerInfo,
pendingChildren: null,
implementation: e.implementation
}, t;
}
- var zi = /* @__PURE__ */ new WeakMap();
- function Bi(e, t) {
+ var Ri = /* @__PURE__ */ new WeakMap();
+ function zi(e, t) {
if (typeof e == "object" && e) {
- var n = zi.get(e);
+ var n = Ri.get(e);
return n === void 0 ? (t = {
value: e,
source: t,
- stack: Me(t)
- }, zi.set(e, t), t) : n;
+ stack: je(t)
+ }, Ri.set(e, t), t) : n;
}
return {
value: e,
source: t,
- stack: Me(t)
+ stack: je(t)
};
}
- var Vi = [], Hi = 0, Ui = null, Wi = 0, Gi = [], Ki = 0, qi = null, Ji = 1, Yi = "";
- function Xi(e, t) {
- Vi[Hi++] = Wi, Vi[Hi++] = Ui, Ui = e, Wi = t;
+ var Bi = [], Vi = 0, Hi = null, Ui = 0, Wi = [], Gi = 0, Ki = null, qi = 1, Ji = "";
+ function Yi(e, t) {
+ Bi[Vi++] = Ui, Bi[Vi++] = Hi, Hi = e, Ui = t;
}
- function Zi(e, t, n) {
- Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, qi = e;
- var r = Ji;
- e = Yi;
- var i = 32 - Xe(r) - 1;
+ function Xi(e, t, n) {
+ Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, Ki = e;
+ var r = qi;
+ e = Ji;
+ var i = 32 - Ye(r) - 1;
r &= ~(1 << i), n += 1;
- var a = 32 - Xe(t) + i;
+ var a = 32 - Ye(t) + i;
if (30 < a) {
var o = i - i % 5;
- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ji = 1 << 32 - Xe(t) + i | n << i | r, Yi = a + e;
- } else Ji = 1 << a | n << i | r, Yi = e;
+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, qi = 1 << 32 - Ye(t) + i | n << i | r, Ji = a + e;
+ } else qi = 1 << a | n << i | r, Ji = e;
+ }
+ function Zi(e) {
+ e.return !== null && (Yi(e, 1), Xi(e, 1, 0));
}
function Qi(e) {
- e.return !== null && (Xi(e, 1), Zi(e, 1, 0));
+ for (; e === Hi;) Hi = Bi[--Vi], Bi[Vi] = null, Ui = Bi[--Vi], Bi[Vi] = null;
+ for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, Ji = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;
}
- function $i(e) {
- for (; e === Ui;) Ui = Vi[--Hi], Vi[Hi] = null, Wi = Vi[--Hi], Vi[Hi] = null;
- for (; e === qi;) qi = Gi[--Ki], Gi[Ki] = null, Yi = Gi[--Ki], Gi[Ki] = null, Ji = Gi[--Ki], Gi[Ki] = null;
+ function $i(e, t) {
+ Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;
}
- function ea(e, t) {
- Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, Ji = t.id, Yi = t.overflow, qi = e;
+ var ea = null, ta = null, na = !1, ra = null, ia = !1, aa = Error(i(519));
+ function oa(e) {
+ throw fa(zi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), aa;
}
- var ta = null, na = null, ra = !1, ia = null, aa = !1, oa = Error(i(519));
function sa(e) {
- throw pa(Bi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), oa;
- }
- function ca(e) {
var t = e.stateNode, n = e.type, r = e.memoizedProps;
- switch (t[bt] = e, t[xt] = r, n) {
+ switch (t[yt] = e, t[bt] = r, n) {
case "dialog":
- V("cancel", t), V("close", t);
+ Xf("cancel", t), Xf("close", t);
break;
case "iframe":
case "object":
case "embed":
- V("load", t);
+ Xf("load", t);
break;
case "video":
case "audio":
- for (n = 0; n < Jf.length; n++) V(Jf[n], t);
+ for (n = 0; n < qf.length; n++) Xf(qf[n], t);
break;
case "source":
- V("error", t);
+ Xf("error", t);
break;
case "img":
case "image":
case "link":
- V("error", t), V("load", t);
+ Xf("error", t), Xf("load", t);
break;
case "details":
- V("toggle", t);
+ Xf("toggle", t);
break;
case "input":
- V("invalid", t), rn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
+ Xf("invalid", t), nn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
break;
case "select":
- V("invalid", t);
+ Xf("invalid", t);
break;
- case "textarea": V("invalid", t), cn(t, r.value, r.defaultValue, r.children);
+ case "textarea": Xf("invalid", t), sn(t, r.value, r.defaultValue, r.children);
}
- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || lp(t.textContent, n) ? (r.popover != null && (V("beforetoggle", t), V("toggle", t)), r.onScroll != null && V("scroll", t), r.onScrollEnd != null && V("scrollend", t), r.onClick != null && (t.onclick = _n), t = !0) : t = !1, t || sa(e, !0);
+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || lp(t.textContent, n) ? (r.popover != null && (Xf("beforetoggle", t), Xf("toggle", t)), r.onScroll != null && Xf("scroll", t), r.onScrollEnd != null && Xf("scrollend", t), r.onClick != null && (t.onclick = gn), t = !0) : t = !1, t || oa(e, !0);
}
- function la(e) {
- for (ta = e.return; ta;) switch (ta.tag) {
+ function ca(e) {
+ for (ea = e.return; ea;) switch (ea.tag) {
case 5:
case 31:
case 13:
- aa = !1;
+ ia = !1;
return;
case 27:
case 3:
- aa = !0;
+ ia = !0;
return;
- default: ta = ta.return;
+ default: ea = ea.return;
}
}
- function ua(e) {
- if (e !== ta) return !1;
- if (!ra) return la(e), ra = !0, !1;
+ function la(e) {
+ if (e !== ea) return !1;
+ if (!na) return ca(e), na = !0, !1;
var t = e.tag, n;
- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Cp(e.type, e.memoizedProps)), n = !n), n && na && sa(e), la(e), t === 13) {
+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Cp(e.type, e.memoizedProps)), n = !n), n && ta && oa(e), ca(e), t === 13) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- na = xm(e);
+ ta = xm(e);
} else if (t === 31) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- na = xm(e);
- } else t === 27 ? (t = na, Mp(e.type) ? (e = bm, bm = null, na = e) : na = t) : na = ta ? ym(e.stateNode.nextSibling) : null;
+ ta = xm(e);
+ } else t === 27 ? (t = ta, Mp(e.type) ? (e = bm, bm = null, ta = e) : ta = t) : ta = ea ? ym(e.stateNode.nextSibling) : null;
return !0;
}
- function da() {
- na = ta = null, ra = !1;
+ function ua() {
+ ta = ea = null, na = !1;
}
- function fa() {
- var e = ia;
- return e !== null && (xd === null ? xd = e : xd.push.apply(xd, e), ia = null), e;
+ function da() {
+ var e = ra;
+ return e !== null && (bd === null ? bd = e : bd.push.apply(bd, e), ra = null), e;
}
- function pa(e) {
- ia === null ? ia = [e] : ia.push(e);
+ function fa(e) {
+ ra === null ? ra = [e] : ra.push(e);
}
- var ma = he(null), ha = null, ga = null;
- function _a(e, t, n) {
- _e(ma, t._currentValue), t._currentValue = n;
+ var pa = me(null), ma = null, ha = null;
+ function ga(e, t, n) {
+ ge(pa, t._currentValue), t._currentValue = n;
}
- function va(e) {
- e._currentValue = ma.current, ge(ma);
+ function _a(e) {
+ e._currentValue = pa.current, he(pa);
}
- function ya(e, t, n) {
+ function va(e, t, n) {
for (; e !== null;) {
var r = e.alternate;
if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;
e = e.return;
}
}
- function ba(e, t, n, r) {
+ function ya(e, t, n, r) {
var a = e.child;
for (a !== null && (a.return = e); a !== null;) {
var o = a.dependencies;
@@ -16940,15 +16991,15 @@ var lte = /* @__PURE__ */ _(((e) => {
var c = o;
o = a;
for (var l = 0; l < t.length; l++) if (c.context === t[l]) {
- o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ya(o.return, n, e), r || (s = null);
+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), va(o.return, n, e), r || (s = null);
break a;
}
o = c.next;
}
} else if (a.tag === 18) {
if (s = a.return, s === null) throw Error(i(341));
- s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), ya(s, n, e), s = null;
- } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), ya(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;
+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), va(s, n, e), s = null;
+ } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), va(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;
if (s !== null) s.return = a;
else for (s = a; s !== null;) {
if (s === e) {
@@ -16964,7 +17015,7 @@ var lte = /* @__PURE__ */ _(((e) => {
a = s;
}
}
- function xa(e, t, n, r) {
+ function ba(e, t, n, r) {
e = null;
for (var a = t, o = !1; a !== null;) {
if (!o) {
@@ -16976,48 +17027,48 @@ var lte = /* @__PURE__ */ _(((e) => {
if (s === null) throw Error(i(387));
if (s = s.memoizedProps, s !== null) {
var c = a.type;
- zr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));
+ Rr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));
}
- } else if (a === xe.current) {
+ } else if (a === be.current) {
if (s = a.alternate, s === null) throw Error(i(387));
s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [_h] : e.push(_h));
}
a = a.return;
}
- return e !== null && ba(t, e, n, r), t.flags |= 262144, e !== null;
+ return e !== null && ya(t, e, n, r), t.flags |= 262144, e !== null;
}
- function Sa(e) {
+ function xa(e) {
for (e = e.firstContext; e !== null;) {
- if (!zr(e.context._currentValue, e.memoizedValue)) return !0;
+ if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;
e = e.next;
}
return !1;
}
+ function Sa(e) {
+ ma = e, ha = null, e = e.dependencies, e !== null && (e.firstContext = null);
+ }
function Ca(e) {
- ha = e, ga = null, e = e.dependencies, e !== null && (e.firstContext = null);
+ return Ta(ma, e);
}
- function wa(e) {
- return Ea(ha, e);
+ function wa(e, t) {
+ return ma === null && Sa(e), Ta(e, t);
}
function Ta(e, t) {
- return ha === null && Ca(e), Ea(e, t);
- }
- function Ea(e, t) {
var n = t._currentValue;
if (t = {
context: t,
memoizedValue: n,
next: null
- }, ga === null) {
+ }, ha === null) {
if (e === null) throw Error(i(308));
- ga = t, e.dependencies = {
+ ha = t, e.dependencies = {
lanes: 0,
firstContext: t
}, e.flags |= 524288;
- } else ga = ga.next = t;
+ } else ha = ha.next = t;
return n;
}
- var Da = typeof AbortController < "u" ? AbortController : function() {
+ var Ea = typeof AbortController < "u" ? AbortController : function() {
var e = [], t = this.signal = {
aborted: !1,
addEventListener: function(t, n) {
@@ -17029,7 +17080,7 @@ var lte = /* @__PURE__ */ _(((e) => {
return e();
});
};
- }, Oa = t.unstable_scheduleCallback, ka = t.unstable_NormalPriority, Aa = {
+ }, Da = t.unstable_scheduleCallback, Oa = t.unstable_NormalPriority, ka = {
$$typeof: N,
Consumer: null,
Provider: null,
@@ -17037,19 +17088,19 @@ var lte = /* @__PURE__ */ _(((e) => {
_currentValue2: null,
_threadCount: 0
};
- function ja() {
+ function Aa() {
return {
- controller: new Da(),
+ controller: new Ea(),
data: /* @__PURE__ */ new Map(),
refCount: 0
};
}
- function Ma(e) {
- e.refCount--, e.refCount === 0 && Oa(ka, function() {
+ function ja(e) {
+ e.refCount--, e.refCount === 0 && Da(Oa, function() {
e.controller.abort();
});
}
- function Na(e, t) {
+ function Ma(e, t) {
if (e.pendingLanes & 4194048) {
var n = e.transitionTypes;
for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {
@@ -17058,16 +17109,16 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
}
- var Pa = null;
- function Fa(e) {
+ var Na = null;
+ function Pa(e) {
var t = e.transitionTypes;
return e.transitionTypes = null, t;
}
- var Ia = null, La = 0, Ra = 0, za = null;
- function Ba(e, t) {
- if (Ia === null) {
- var n = Ia = [];
- La = 0, Ra = Uf(), za = {
+ var Fa = null, Ia = 0, La = 0, Ra = null;
+ function za(e, t) {
+ if (Fa === null) {
+ var n = Fa = [];
+ Ia = 0, La = V(), Ra = {
status: "pending",
value: void 0,
then: function(e) {
@@ -17075,17 +17126,17 @@ var lte = /* @__PURE__ */ _(((e) => {
}
};
}
- return La++, t.then(Va, Va), t;
+ return Ia++, t.then(Ba, Ba), t;
}
- function Va() {
- if (--La === 0 && (Pa = null, Ia !== null)) {
- za !== null && (za.status = "fulfilled");
- var e = Ia;
- Ia = null, Ra = 0, za = null;
+ function Ba() {
+ if (--Ia === 0 && (Na = null, Fa !== null)) {
+ Ra !== null && (Ra.status = "fulfilled");
+ var e = Fa;
+ Fa = null, La = 0, Ra = null;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
}
- function Ha(e, t) {
+ function Va(e, t) {
var n = [], r = {
status: "pending",
value: null,
@@ -17101,48 +17152,48 @@ var lte = /* @__PURE__ */ _(((e) => {
for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);
}), r;
}
- var Ua = R.S;
+ var Ha = R.S;
R.S = function(e, t) {
- if (wd = Re(), typeof t == "object" && t && typeof t.then == "function" && Ba(e, t), Pa !== null) for (var n = Af; n !== null;) Na(n, Pa), n = n.next;
+ if (Cd = Le(), typeof t == "object" && t && typeof t.then == "function" && za(e, t), Na !== null) for (var n = kf; n !== null;) Ma(n, Na), n = n.next;
if (n = e.types, n !== null) {
- for (var r = Af; r !== null;) Na(r, n), r = r.next;
- if (Ra !== 0) {
- r = Pa, r === null && (r = Pa = []);
+ for (var r = kf; r !== null;) Ma(r, n), r = r.next;
+ if (La !== 0) {
+ r = Na, r === null && (r = Na = []);
for (var i = 0; i < n.length; i++) {
var a = n[i];
r.indexOf(a) === -1 && r.push(a);
}
}
}
- Ua !== null && Ua(e, t);
+ Ha !== null && Ha(e, t);
};
- var Wa = he(null);
- function Ga() {
- var e = Wa.current;
- return e === null ? ad.pooledCache : e;
+ var Ua = me(null);
+ function Wa() {
+ var e = Ua.current;
+ return e === null ? id.pooledCache : e;
}
- function Ka(e, t) {
- t === null ? _e(Wa, Wa.current) : _e(Wa, t.pool);
+ function Ga(e, t) {
+ t === null ? ge(Ua, Ua.current) : ge(Ua, t.pool);
}
- function qa() {
- var e = Ga();
+ function Ka() {
+ var e = Wa();
return e === null ? null : {
- parent: Aa._currentValue,
+ parent: ka._currentValue,
pool: e
};
}
- var Ja = Error(i(460)), Ya = Error(i(474)), Xa = Error(i(542)), Za = { then: function() {} };
- function Qa(e) {
+ var qa = Error(i(460)), Ja = Error(i(474)), Ya = Error(i(542)), Xa = { then: function() {} };
+ function Za(e) {
return e = e.status, e === "fulfilled" || e === "rejected";
}
- function $a(e, t, n) {
- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(_n, _n), t = n), t.status) {
+ function Qa(e, t, n) {
+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(gn, gn), t = n), t.status) {
case "fulfilled": return t.value;
- case "rejected": throw e = t.reason, ro(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
+ case "rejected": throw e = t.reason, no(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
default:
- if (typeof t.status == "string") t.then(_n, _n);
+ if (typeof t.status == "string") t.then(gn, gn);
else {
- if (e = ad, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
+ if (e = id, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
e = t, e.status = "pending", e.then(function(e) {
if (t.status === "pending") {
var n = t;
@@ -17157,40 +17208,40 @@ var lte = /* @__PURE__ */ _(((e) => {
}
switch (t.status) {
case "fulfilled": return t.value;
- case "rejected": throw e = t.reason, ro(e), e;
+ case "rejected": throw e = t.reason, no(e), e;
}
- throw to = t, Ja;
+ throw eo = t, qa;
}
}
- function eo(e) {
+ function $a(e) {
try {
var t = e._init;
return t(e._payload);
} catch (e) {
- throw typeof e == "object" && e && typeof e.then == "function" ? (to = e, Ja) : e;
+ throw typeof e == "object" && e && typeof e.then == "function" ? (eo = e, qa) : e;
}
}
- var to = null;
- function no() {
- if (to === null) throw Error(i(459));
- var e = to;
- return to = null, e;
+ var eo = null;
+ function to() {
+ if (eo === null) throw Error(i(459));
+ var e = eo;
+ return eo = null, e;
}
- function ro(e) {
- if (e === Ja || e === Xa) throw Error(i(483));
+ function no(e) {
+ if (e === qa || e === Ya) throw Error(i(483));
}
- var io = null, ao = 0;
- function oo(e) {
- var t = ao;
- return ao += 1, io === null && (io = []), $a(io, e, t);
+ var ro = null, io = 0;
+ function ao(e) {
+ var t = io;
+ return io += 1, ro === null && (ro = []), Qa(ro, e, t);
}
- function so(e, t) {
+ function oo(e, t) {
t = t.props.ref, e.ref = t === void 0 ? null : t;
}
- function co(e, t) {
+ function so(e, t) {
throw t.$$typeof === E ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
}
- function lo(e) {
+ function co(e) {
function t(t, n) {
if (e) {
var r = t.deletions;
@@ -17207,7 +17258,7 @@ var lte = /* @__PURE__ */ _(((e) => {
return t;
}
function a(e, t) {
- return e = Mi(e, t), e.index = 0, e.sibling = null, e;
+ return e = ji(e, t), e.index = 0, e.sibling = null, e;
}
function o(t, n, r) {
return t.index = r, e ? (r = t.alternate, r === null ? (t.flags |= 134217730, n) : (r = r.index, r < n ? (t.flags |= 2, n) : r)) : (t.flags |= 1048576, n);
@@ -17216,30 +17267,30 @@ var lte = /* @__PURE__ */ _(((e) => {
return e && t.alternate === null && (t.flags |= 134217730), t;
}
function c(e, t, n, r) {
- return t === null || t.tag !== 6 ? (t = Ii(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);
+ return t === null || t.tag !== 6 ? (t = Fi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);
}
function l(e, t, n, r) {
var i = n.type;
- return i === k ? (e = d(e, t, n.props.children, r, n.key), so(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === te && eo(i) === t.type) ? (t = a(t, n.props), so(t, n), t.return = e, t) : (t = Pi(n.type, n.key, n.props, null, e.mode, r), so(t, n), t.return = e, t);
+ return i === k ? (e = d(e, t, n.props.children, r, n.key), oo(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === te && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);
}
function u(e, t, n, r) {
- return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Ri(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
+ return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
}
function d(e, t, n, r, i) {
- return t === null || t.tag !== 7 ? (t = Fi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);
+ return t === null || t.tag !== 7 ? (t = Pi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);
}
function f(e, t, n) {
- if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Ii("" + t, e.mode, n), t.return = e, t;
+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Fi("" + t, e.mode, n), t.return = e, t;
if (typeof t == "object" && t) {
switch (t.$$typeof) {
- case D: return n = Pi(t.type, t.key, t.props, null, e.mode, n), so(n, t), n.return = e, n;
- case O: return t = Ri(t, e.mode, n), t.return = e, t;
- case te: return t = eo(t), f(e, t, n);
+ case D: return n = Ni(t.type, t.key, t.props, null, e.mode, n), oo(n, t), n.return = e, n;
+ case O: return t = Li(t, e.mode, n), t.return = e, t;
+ case te: return t = $a(t), f(e, t, n);
}
- if (ue(t) || se(t)) return t = Fi(t, e.mode, n, null), t.return = e, t;
- if (typeof t.then == "function") return f(e, oo(t), n);
- if (t.$$typeof === N) return f(e, Ta(e, t), n);
- co(e, t);
+ if (ue(t) || se(t)) return t = Pi(t, e.mode, n, null), t.return = e, t;
+ if (typeof t.then == "function") return f(e, ao(t), n);
+ if (t.$$typeof === N) return f(e, wa(e, t), n);
+ so(e, t);
}
return null;
}
@@ -17250,12 +17301,12 @@ var lte = /* @__PURE__ */ _(((e) => {
switch (n.$$typeof) {
case D: return n.key === i ? l(e, t, n, r) : null;
case O: return n.key === i ? u(e, t, n, r) : null;
- case te: return n = eo(n), p(e, t, n, r);
+ case te: return n = $a(n), p(e, t, n, r);
}
if (ue(n) || se(n)) return i === null ? d(e, t, n, r, null) : null;
- if (typeof n.then == "function") return p(e, t, oo(n), r);
- if (n.$$typeof === N) return p(e, t, Ta(e, n), r);
- co(e, n);
+ if (typeof n.then == "function") return p(e, t, ao(n), r);
+ if (n.$$typeof === N) return p(e, t, wa(e, n), r);
+ so(e, n);
}
return null;
}
@@ -17265,12 +17316,12 @@ var lte = /* @__PURE__ */ _(((e) => {
switch (r.$$typeof) {
case D: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
case O: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
- case te: return r = eo(r), m(e, t, n, r, i);
+ case te: return r = $a(r), m(e, t, n, r, i);
}
if (ue(r) || se(r)) return e = e.get(n) || null, d(t, e, r, i, null);
- if (typeof r.then == "function") return m(e, t, n, oo(r), i);
- if (r.$$typeof === N) return m(e, t, n, Ta(t, r), i);
- co(t, r);
+ if (typeof r.then == "function") return m(e, t, n, ao(r), i);
+ if (r.$$typeof === N) return m(e, t, n, wa(t, r), i);
+ so(t, r);
}
return null;
}
@@ -17284,15 +17335,15 @@ var lte = /* @__PURE__ */ _(((e) => {
}
e && d && _.alternate === null && t(i, d), a = o(_, a, h), u === null ? l = _ : u.sibling = _, u = _, d = g;
}
- if (h === s.length) return n(i, d), ra && Xi(i, h), l;
+ if (h === s.length) return n(i, d), na && Yi(i, h), l;
if (d === null) {
for (; h < s.length; h++) d = f(i, s[h], c), d !== null && (a = o(d, a, h), u === null ? l = d : u.sibling = d, u = d);
- return ra && Xi(i, h), l;
+ return na && Yi(i, h), l;
}
for (d = r(d); h < s.length; h++) g = m(d, i, h, s[h], c), g !== null && (e && (_ = g.alternate, _ !== null && d.delete(_.key === null ? h : _.key)), a = o(g, a, h), u === null ? l = g : u.sibling = g, u = g);
return e && d.forEach(function(e) {
return t(i, e);
- }), ra && Xi(i, h), l;
+ }), na && Yi(i, h), l;
}
function g(a, s, c, l) {
if (c == null) throw Error(i(151));
@@ -17305,15 +17356,15 @@ var lte = /* @__PURE__ */ _(((e) => {
}
e && h && y.alternate === null && t(a, h), s = o(y, s, g), d === null ? u = y : d.sibling = y, d = y, h = _;
}
- if (v.done) return n(a, h), ra && Xi(a, g), u;
+ if (v.done) return n(a, h), na && Yi(a, g), u;
if (h === null) {
for (; !v.done; g++, v = c.next()) v = f(a, v.value, l), v !== null && (s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);
- return ra && Xi(a, g), u;
+ return na && Yi(a, g), u;
}
for (h = r(h); !v.done; g++, v = c.next()) v = m(h, a, g, v.value, l), v !== null && (e && (_ = v.alternate, _ !== null && h.delete(_.key === null ? g : _.key)), s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);
return e && h.forEach(function(e) {
return t(a, e);
- }), ra && Xi(a, g), u;
+ }), na && Yi(a, g), u;
}
function _(e, r, o, c) {
if (typeof o == "object" && o && o.type === k && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {
@@ -17324,11 +17375,11 @@ var lte = /* @__PURE__ */ _(((e) => {
if (r.key === l) {
if (l = o.type, l === k) {
if (r.tag === 7) {
- n(e, r.sibling), c = a(r, o.props.children), so(c, o), c.return = e, e = c;
+ n(e, r.sibling), c = a(r, o.props.children), oo(c, o), c.return = e, e = c;
break a;
}
- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === te && eo(l) === r.type) {
- n(e, r.sibling), c = a(r, o.props), so(c, o), c.return = e, e = c;
+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === te && $a(l) === r.type) {
+ n(e, r.sibling), c = a(r, o.props), oo(c, o), c.return = e, e = c;
break a;
}
n(e, r);
@@ -17336,7 +17387,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
t(e, r), r = r.sibling;
}
- o.type === k ? (c = Fi(o.props.children, e.mode, c, o.key), so(c, o), c.return = e, e = c) : (c = Pi(o.type, o.key, o.props, null, e.mode, c), so(c, o), c.return = e, e = c);
+ o.type === k ? (c = Pi(o.props.children, e.mode, c, o.key), oo(c, o), c.return = e, e = c) : (c = Ni(o.type, o.key, o.props, null, e.mode, c), oo(c, o), c.return = e, e = c);
}
return s(e);
case O:
@@ -17352,36 +17403,36 @@ var lte = /* @__PURE__ */ _(((e) => {
}
t(e, r), r = r.sibling;
}
- c = Ri(o, e.mode, c), c.return = e, e = c;
+ c = Li(o, e.mode, c), c.return = e, e = c;
}
return s(e);
- case te: return o = eo(o), _(e, r, o, c);
+ case te: return o = $a(o), _(e, r, o, c);
}
if (ue(o)) return h(e, r, o, c);
if (se(o)) {
if (l = se(o), typeof l != "function") throw Error(i(150));
return o = l.call(o), g(e, r, o, c);
}
- if (typeof o.then == "function") return _(e, r, oo(o), c);
- if (o.$$typeof === N) return _(e, r, Ta(e, o), c);
- co(e, o);
+ if (typeof o.then == "function") return _(e, r, ao(o), c);
+ if (o.$$typeof === N) return _(e, r, wa(e, o), c);
+ so(e, o);
}
- return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Ii(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);
+ return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Fi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);
}
return function(e, t, n, r) {
try {
- ao = 0;
+ io = 0;
var i = _(e, t, n, r);
- return io = null, i;
+ return ro = null, i;
} catch (t) {
- if (t === Ja || t === Xa) throw t;
- var a = Ai(29, t, null, e.mode);
+ if (t === qa || t === Ya) throw t;
+ var a = ki(29, t, null, e.mode);
return a.lanes = r, a.return = e, a;
}
};
}
- var uo = lo(!0), fo = lo(!1), po = !1;
- function mo(e) {
+ var lo = co(!0), uo = co(!1), fo = !1;
+ function po(e) {
e.updateQueue = {
baseState: e.memoizedState,
firstBaseUpdate: null,
@@ -17394,7 +17445,7 @@ var lte = /* @__PURE__ */ _(((e) => {
callbacks: null
};
}
- function ho(e, t) {
+ function mo(e, t) {
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
baseState: e.baseState,
firstBaseUpdate: e.firstBaseUpdate,
@@ -17403,7 +17454,7 @@ var lte = /* @__PURE__ */ _(((e) => {
callbacks: null
});
}
- function go(e) {
+ function ho(e) {
return {
lane: e,
tag: 0,
@@ -17412,22 +17463,22 @@ var lte = /* @__PURE__ */ _(((e) => {
next: null
};
}
- function _o(e, t, n) {
+ function go(e, t, n) {
var r = e.updateQueue;
if (r === null) return null;
- if (r = r.shared, id & 2) {
+ if (r = r.shared, rd & 2) {
var i = r.pending;
- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Di(e), Ei(e, null, n), t;
+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ei(e), Ti(e, null, n), t;
}
- return Ci(e, r, t, n), Di(e);
+ return Si(e, r, t, n), Ei(e);
}
- function vo(e, t, n) {
+ function _o(e, t, n) {
if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {
var r = t.lanes;
- r &= e.pendingLanes, n |= r, t.lanes = n, pt(e, n);
+ r &= e.pendingLanes, n |= r, t.lanes = n, ft(e, n);
}
}
- function yo(e, t) {
+ function vo(e, t) {
var n = e.updateQueue, r = e.alternate;
if (r !== null && (r = r.updateQueue, n === r)) {
var i = null, a = null;
@@ -17455,17 +17506,17 @@ var lte = /* @__PURE__ */ _(((e) => {
}
e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;
}
- var bo = !1;
- function xo() {
- if (bo) {
- var e = za;
+ var yo = !1;
+ function bo() {
+ if (yo) {
+ var e = Ra;
if (e !== null) throw e;
}
}
- function So(e, t, n, r) {
- bo = !1;
+ function xo(e, t, n, r) {
+ yo = !1;
var i = e.updateQueue;
- po = !1;
+ fo = !1;
var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;
if (s !== null) {
i.shared.pending = null;
@@ -17479,8 +17530,8 @@ var lte = /* @__PURE__ */ _(((e) => {
o = 0, u = l = c = null, s = a;
do {
var f = s.lane & -536870913, p = f !== s.lane;
- if (p ? (sd & f) === f : (r & f) === f) {
- f !== 0 && f === Ra && (bo = !0), u !== null && (u = u.next = {
+ if (p ? (od & f) === f : (r & f) === f) {
+ f !== 0 && f === La && (yo = !0), u !== null && (u = u.next = {
lane: 0,
tag: s.tag,
payload: s.payload,
@@ -17504,7 +17555,7 @@ var lte = /* @__PURE__ */ _(((e) => {
if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;
d = T({}, d, f);
break a;
- case 2: po = !0;
+ case 2: fo = !0;
}
}
f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));
@@ -17520,52 +17571,52 @@ var lte = /* @__PURE__ */ _(((e) => {
p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;
}
} while (1);
- u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), hd |= o, e.lanes = o, e.memoizedState = d;
+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), md |= o, e.lanes = o, e.memoizedState = d;
}
}
- function Co(e, t) {
+ function So(e, t) {
if (typeof e != "function") throw Error(i(191, e));
e.call(t);
}
- function wo(e, t) {
+ function Co(e, t) {
var n = e.callbacks;
- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) Co(n[e], t);
+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) So(n[e], t);
+ }
+ var wo = me(null), To = me(0);
+ function Eo(e, t) {
+ e = fd, ge(To, e), ge(wo, t), fd = e | t.baseLanes;
}
- var To = he(null), Eo = he(0);
- function Do(e, t) {
- e = pd, _e(Eo, e), _e(To, t), pd = e | t.baseLanes;
+ function Do() {
+ ge(To, fd), ge(wo, wo.current);
}
function Oo() {
- _e(Eo, pd), _e(To, To.current);
+ fd = To.current, he(wo), he(To);
}
- function ko() {
- pd = Eo.current, ge(To), ge(Eo);
+ var ko = me(null), Ao = null;
+ function jo(e) {
+ var t = e.alternate;
+ ge(Io, Io.current & 1), ge(ko, e), Ao === null && (t === null || wo.current !== null || t.memoizedState !== null) && (Ao = e);
}
- var Ao = he(null), jo = null;
function Mo(e) {
- var t = e.alternate;
- _e(Lo, Lo.current & 1), _e(Ao, e), jo === null && (t === null || To.current !== null || t.memoizedState !== null) && (jo = e);
+ ge(Io, Io.current), ge(ko, e), Ao === null && (Ao = e);
}
function No(e) {
- _e(Lo, Lo.current), _e(Ao, e), jo === null && (jo = e);
+ e.tag === 22 ? (ge(Io, Io.current), ge(ko, e), Ao === null && (Ao = e)) : Po();
}
- function Po(e) {
- e.tag === 22 ? (_e(Lo, Lo.current), _e(Ao, e), jo === null && (jo = e)) : Fo();
+ function Po() {
+ ge(Io, Io.current), ge(ko, ko.current);
}
- function Fo() {
- _e(Lo, Lo.current), _e(Ao, Ao.current);
+ function Fo(e) {
+ he(ko), Ao === e && (Ao = null), he(Io);
}
- function Io(e) {
- ge(Ao), jo === e && (jo = null), ge(Lo);
+ var Io = me(0);
+ function Lo(e, t) {
+ ge(ko, ko.current), ge(Io, t);
}
- var Lo = he(0);
- function Ro(e, t) {
- _e(Ao, Ao.current), _e(Lo, t);
+ function Ro(e) {
+ he(Io), he(ko), Ao === e && (Ao = null);
}
function zo(e) {
- ge(Lo), ge(Ao), jo === e && (jo = null);
- }
- function Bo(e) {
for (var t = e; t !== null;) {
if (t.tag === 13) {
var n = t.memoizedState;
@@ -17585,59 +17636,59 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return null;
}
- var Vo = 0, Ho = null, Uo = null, Wo = null, Go = !1, Ko = !1, qo = !1, Jo = 0, Yo = 0, Xo = null, Zo = 0;
- function Qo() {
+ var Bo = 0, Vo = null, Ho = null, Uo = null, Wo = !1, Go = !1, Ko = !1, qo = 0, Jo = 0, Yo = null, Xo = 0;
+ function Zo() {
throw Error(i(321));
}
- function $o(e, t) {
+ function Qo(e, t) {
if (t === null) return !1;
- for (var n = 0; n < t.length && n < e.length; n++) if (!zr(e[n], t[n])) return !1;
+ for (var n = 0; n < t.length && n < e.length; n++) if (!Rr(e[n], t[n])) return !1;
return !0;
}
- function es(e, t, n, r, i, a) {
- return Vo = a, Ho = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, R.H = e === null || e.memoizedState === null ? _c : vc, qo = !1, a = n(r, i), qo = !1, Ko && (a = ns(t, n, r, i)), ts(e), a;
+ function $o(e, t, n, r, i, a) {
+ return Bo = a, Vo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, R.H = e === null || e.memoizedState === null ? gc : _c, Ko = !1, a = n(r, i), Ko = !1, Go && (a = ts(t, n, r, i)), es(e), a;
}
- function ts(e) {
- R.H = gc;
- var t = Uo !== null && Uo.next !== null;
- if (Vo = 0, Wo = Uo = Ho = null, Go = !1, Yo = 0, Xo = null, t) throw Error(i(300));
- e === null || Fc || (e = e.dependencies, e !== null && Sa(e) && (Fc = !0));
+ function es(e) {
+ R.H = hc;
+ var t = Ho !== null && Ho.next !== null;
+ if (Bo = 0, Uo = Ho = Vo = null, Wo = !1, Jo = 0, Yo = null, t) throw Error(i(300));
+ e === null || Pc || (e = e.dependencies, e !== null && xa(e) && (Pc = !0));
}
- function ns(e, t, n, r) {
- Ho = e;
+ function ts(e, t, n, r) {
+ Vo = e;
var a = 0;
do {
- if (Ko && (Xo = null), Yo = 0, Ko = !1, 25 <= a) throw Error(i(301));
- if (a += 1, Wo = Uo = null, e.updateQueue != null) {
+ if (Go && (Yo = null), Jo = 0, Go = !1, 25 <= a) throw Error(i(301));
+ if (a += 1, Uo = Ho = null, e.updateQueue != null) {
var o = e.updateQueue;
o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);
}
- R.H = yc, o = t(n, r);
- } while (Ko);
+ R.H = vc, o = t(n, r);
+ } while (Go);
return o;
}
- function rs() {
+ function ns() {
var e = R.H, t = e.useState()[0];
- return t = typeof t.then == "function" ? us(t) : t, e = e.useState()[0], (Uo === null ? null : Uo.memoizedState) !== e && (Ho.flags |= 1024), t;
+ return t = typeof t.then == "function" ? ls(t) : t, e = e.useState()[0], (Ho === null ? null : Ho.memoizedState) !== e && (Vo.flags |= 1024), t;
}
- function is() {
- var e = Jo !== 0;
- return Jo = 0, e;
+ function rs() {
+ var e = qo !== 0;
+ return qo = 0, e;
}
- function as(e, t, n) {
+ function is(e, t, n) {
t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;
}
- function os(e) {
- if (Go) {
+ function as(e) {
+ if (Wo) {
for (e = e.memoizedState; e !== null;) {
var t = e.queue;
t !== null && (t.pending = null), e = e.next;
}
- Go = !1;
+ Wo = !1;
}
- Vo = 0, Wo = Uo = Ho = null, Ko = !1, Yo = Jo = 0, Xo = null;
+ Bo = 0, Uo = Ho = Vo = null, Go = !1, Jo = qo = 0, Yo = null;
}
- function ss() {
+ function os() {
var e = {
memoizedState: null,
baseState: null,
@@ -17645,28 +17696,28 @@ var lte = /* @__PURE__ */ _(((e) => {
queue: null,
next: null
};
- return Wo === null ? Ho.memoizedState = Wo = e : Wo = Wo.next = e, Wo;
+ return Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e, Uo;
}
- function cs() {
- if (Uo === null) {
- var e = Ho.alternate;
+ function ss() {
+ if (Ho === null) {
+ var e = Vo.alternate;
e = e === null ? null : e.memoizedState;
- } else e = Uo.next;
- var t = Wo === null ? Ho.memoizedState : Wo.next;
- if (t !== null) Wo = t, Uo = e;
+ } else e = Ho.next;
+ var t = Uo === null ? Vo.memoizedState : Uo.next;
+ if (t !== null) Uo = t, Ho = e;
else {
- if (e === null) throw Ho.alternate === null ? Error(i(467)) : Error(i(310));
- Uo = e, e = {
- memoizedState: Uo.memoizedState,
- baseState: Uo.baseState,
- baseQueue: Uo.baseQueue,
- queue: Uo.queue,
+ if (e === null) throw Vo.alternate === null ? Error(i(467)) : Error(i(310));
+ Ho = e, e = {
+ memoizedState: Ho.memoizedState,
+ baseState: Ho.baseState,
+ baseQueue: Ho.baseQueue,
+ queue: Ho.queue,
next: null
- }, Wo === null ? Ho.memoizedState = Wo = e : Wo = Wo.next = e;
+ }, Uo === null ? Vo.memoizedState = Uo = e : Uo = Uo.next = e;
}
- return Wo;
+ return Uo;
}
- function ls() {
+ function cs() {
return {
lastEffect: null,
events: null,
@@ -17674,22 +17725,22 @@ var lte = /* @__PURE__ */ _(((e) => {
memoCache: null
};
}
- function us(e) {
- var t = Yo;
- return Yo += 1, Xo === null && (Xo = []), e = $a(Xo, e, t), t = Ho, (Wo === null ? t.memoizedState : Wo.next) === null && (t = t.alternate, R.H = t === null || t.memoizedState === null ? _c : vc), e;
+ function ls(e) {
+ var t = Jo;
+ return Jo += 1, Yo === null && (Yo = []), e = Qa(Yo, e, t), t = Vo, (Uo === null ? t.memoizedState : Uo.next) === null && (t = t.alternate, R.H = t === null || t.memoizedState === null ? gc : _c), e;
}
- function ds(e) {
+ function us(e) {
if (typeof e == "object" && e) {
- if (typeof e.then == "function") return us(e);
+ if (typeof e.then == "function") return ls(e);
if (e.$$typeof === ae) return;
- if (e.$$typeof === N) return wa(e);
+ if (e.$$typeof === N) return Ca(e);
}
throw Error(i(438, String(e)));
}
- function fs(e) {
- var t = null, n = Ho.updateQueue;
+ function ds(e) {
+ var t = null, n = Vo.updateQueue;
if (n !== null && (t = n.memoCache), t == null) {
- var r = Ho.alternate;
+ var r = Vo.alternate;
r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {
data: r.data.map(function(e) {
return e.slice();
@@ -17700,16 +17751,16 @@ var lte = /* @__PURE__ */ _(((e) => {
if (t ??= {
data: [],
index: 0
- }, n === null && (n = ls(), Ho.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = re;
+ }, n === null && (n = cs(), Vo.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = re;
return t.index++, n;
}
- function ps(e, t) {
+ function fs(e, t) {
return typeof t == "function" ? t(e) : t;
}
- function ms(e) {
- return hs(cs(), Uo, e);
+ function ps(e) {
+ return ms(ss(), Ho, e);
}
- function hs(e, t, n) {
+ function ms(e, t, n) {
var r = e.queue;
if (r === null) throw Error(i(311));
r.lastRenderedReducer = n;
@@ -17727,7 +17778,7 @@ var lte = /* @__PURE__ */ _(((e) => {
var c = s = null, l = null, u = t, d = !1;
do {
var f = u.lane & -536870913;
- if (f === u.lane ? (Vo & f) === f : (sd & f) === f) {
+ if (f === u.lane ? (Bo & f) === f : (od & f) === f) {
var p = u.revertLane;
if (p === 0) l !== null && (l = l.next = {
lane: 0,
@@ -17737,9 +17788,9 @@ var lte = /* @__PURE__ */ _(((e) => {
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }), f === Ra && (d = !0);
- else if ((Vo & p) === p) {
- u = u.next, p === Ra && (d = !0);
+ }), f === La && (d = !0);
+ else if ((Bo & p) === p) {
+ u = u.next, p === La && (d = !0);
continue;
} else f = {
lane: 0,
@@ -17749,8 +17800,8 @@ var lte = /* @__PURE__ */ _(((e) => {
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = f, s = o) : l = l.next = f, Ho.lanes |= p, hd |= p;
- f = u.action, qo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
+ }, l === null ? (c = l = f, s = o) : l = l.next = f, Vo.lanes |= p, md |= p;
+ f = u.action, Ko && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
} else p = {
lane: f,
revertLane: u.revertLane,
@@ -17759,16 +17810,16 @@ var lte = /* @__PURE__ */ _(((e) => {
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = p, s = o) : l = l.next = p, Ho.lanes |= f, hd |= f;
+ }, l === null ? (c = l = p, s = o) : l = l.next = p, Vo.lanes |= f, md |= f;
u = u.next;
} while (u !== null && u !== t);
- if (l === null ? s = o : l.next = c, !zr(o, e.memoizedState) && (Fc = !0, d && (n = za, n !== null))) throw n;
+ if (l === null ? s = o : l.next = c, !Rr(o, e.memoizedState) && (Pc = !0, d && (n = Ra, n !== null))) throw n;
e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;
}
return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];
}
- function gs(e) {
- var t = cs(), n = t.queue;
+ function hs(e) {
+ var t = ss(), n = t.queue;
if (n === null) throw Error(i(311));
n.lastRenderedReducer = e;
var r = n.dispatch, a = n.pending, o = t.memoizedState;
@@ -17778,61 +17829,61 @@ var lte = /* @__PURE__ */ _(((e) => {
do
o = e(o, s.action), s = s.next;
while (s !== a);
- zr(o, t.memoizedState) || (Fc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
+ Rr(o, t.memoizedState) || (Pc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
}
return [o, r];
}
- function _s(e, t, n) {
- var r = Ho, a = cs(), o = ra;
+ function gs(e, t, n) {
+ var r = Vo, a = ss(), o = na;
if (o) {
if (n === void 0) throw Error(i(407));
n = n();
} else n = t();
- var s = !zr((Uo || a).memoizedState, n);
- if (s && (a.memoizedState = n, Fc = !0), a = a.queue, Hs(bs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Wo !== null && !!(Wo.memoizedState.tag & 1), Ls(e ? 9 : 8, { destroy: void 0 }, ys.bind(null, r, a, n, t), null), e) {
- if (r.flags |= 2048, ad === null) throw Error(i(349));
- o || Vo & 127 || vs(r, t, n);
+ var s = !Rr((Ho || a).memoizedState, n);
+ if (s && (a.memoizedState = n, Pc = !0), a = a.queue, Vs(ys.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Uo !== null && !!(Uo.memoizedState.tag & 1), Is(e ? 9 : 8, { destroy: void 0 }, vs.bind(null, r, a, n, t), null), e) {
+ if (r.flags |= 2048, id === null) throw Error(i(349));
+ o || Bo & 127 || _s(r, t, n);
}
return n;
}
- function vs(e, t, n) {
+ function _s(e, t, n) {
e.flags |= 16384, e = {
getSnapshot: t,
value: n
- }, t = Ho.updateQueue, t === null ? (t = ls(), Ho.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
+ }, t = Vo.updateQueue, t === null ? (t = cs(), Vo.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
}
- function ys(e, t, n, r) {
- t.value = n, t.getSnapshot = r, xs(t) && Ss(e);
+ function vs(e, t, n, r) {
+ t.value = n, t.getSnapshot = r, bs(t) && xs(e);
}
- function bs(e, t, n) {
+ function ys(e, t, n) {
return n(function() {
- xs(t) && Ss(e);
+ bs(t) && xs(e);
});
}
- function xs(e) {
+ function bs(e) {
var t = e.getSnapshot;
e = e.value;
try {
var n = t();
- return !zr(e, n);
+ return !Rr(e, n);
} catch {
return !0;
}
}
- function Ss(e) {
- var t = Ti(e, 2);
- t !== null && Ud(t, e, 2);
+ function xs(e) {
+ var t = wi(e, 2);
+ t !== null && Hd(t, e, 2);
}
- function Cs(e) {
- var t = ss();
+ function Ss(e) {
+ var t = os();
if (typeof e == "function") {
var n = e;
- if (e = n(), qo) {
- Ye(!0);
+ if (e = n(), Ko) {
+ Je(!0);
try {
n();
} finally {
- Ye(!1);
+ Je(!1);
}
}
}
@@ -17840,15 +17891,15 @@ var lte = /* @__PURE__ */ _(((e) => {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: ps,
+ lastRenderedReducer: fs,
lastRenderedState: e
}, t;
}
- function ws(e, t, n, r) {
- return e.baseState = n, hs(e, Uo, typeof r == "function" ? r : ps);
+ function Cs(e, t, n, r) {
+ return e.baseState = n, ms(e, Ho, typeof r == "function" ? r : fs);
}
- function Ts(e, t, n, r, a) {
- if (pc(e)) throw Error(i(485));
+ function ws(e, t, n, r, a) {
+ if (fc(e)) throw Error(i(485));
if (e = t.action, e !== null) {
var o = {
payload: a,
@@ -17863,65 +17914,65 @@ var lte = /* @__PURE__ */ _(((e) => {
o.listeners.push(e);
}
};
- R.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Es(t, o)) : (o.next = n.next, t.pending = n.next = o);
+ R.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Ts(t, o)) : (o.next = n.next, t.pending = n.next = o);
}
}
- function Es(e, t) {
+ function Ts(e, t) {
var n = t.action, r = t.payload, i = e.state;
if (t.isTransition) {
var a = R.T, o = {};
o.types = a === null ? null : a.types, R.T = o;
try {
var s = n(i, r), c = R.S;
- c !== null && c(o, s), Ds(e, t, s);
+ c !== null && c(o, s), Es(e, t, s);
} catch (n) {
- ks(e, t, n);
+ Os(e, t, n);
} finally {
a !== null && o.types !== null && (a.types = o.types), R.T = a;
}
} else try {
- a = n(i, r), Ds(e, t, a);
+ a = n(i, r), Es(e, t, a);
} catch (n) {
- ks(e, t, n);
+ Os(e, t, n);
}
}
- function Ds(e, t, n) {
+ function Es(e, t, n) {
typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {
- Os(e, t, n);
+ Ds(e, t, n);
}, function(n) {
- return ks(e, t, n);
- }) : Os(e, t, n);
+ return Os(e, t, n);
+ }) : Ds(e, t, n);
}
- function Os(e, t, n) {
- t.status = "fulfilled", t.value = n, As(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Es(e, n)));
+ function Ds(e, t, n) {
+ t.status = "fulfilled", t.value = n, ks(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Ts(e, n)));
}
- function ks(e, t, n) {
+ function Os(e, t, n) {
var r = e.pending;
if (e.pending = null, r !== null) {
r = r.next;
do
- t.status = "rejected", t.reason = n, As(t), t = t.next;
+ t.status = "rejected", t.reason = n, ks(t), t = t.next;
while (t !== r);
}
e.action = null;
}
- function As(e) {
+ function ks(e) {
e = e.listeners;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
- function js(e, t) {
+ function As(e, t) {
return t;
}
- function Ms(e, t) {
- if (ra) {
- var n = ad.formState;
+ function js(e, t) {
+ if (na) {
+ var n = id.formState;
if (n !== null) {
a: {
- var r = Ho;
- if (ra) {
- if (na) {
+ var r = Vo;
+ if (na) {
+ if (ta) {
b: {
- for (var i = na, a = aa; i.nodeType !== 8;) {
+ for (var i = ta, a = ia; i.nodeType !== 8;) {
if (!a) {
i = null;
break b;
@@ -17934,59 +17985,59 @@ var lte = /* @__PURE__ */ _(((e) => {
a = i.data, i = a === "F!" || a === "F" ? i : null;
}
if (i) {
- na = ym(i.nextSibling), r = i.data === "F!";
+ ta = ym(i.nextSibling), r = i.data === "F!";
break a;
}
}
- sa(r);
+ oa(r);
}
r = !1;
}
r && (t = n[0]);
}
}
- return n = ss(), n.memoizedState = n.baseState = t, r = {
+ return n = os(), n.memoizedState = n.baseState = t, r = {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: js,
+ lastRenderedReducer: As,
lastRenderedState: t
- }, n.queue = r, n = uc.bind(null, Ho, r), r.dispatch = n, r = Cs(!1), a = fc.bind(null, Ho, !1, r.queue), r = ss(), i = {
+ }, n.queue = r, n = lc.bind(null, Vo, r), r.dispatch = n, r = Ss(!1), a = dc.bind(null, Vo, !1, r.queue), r = os(), i = {
state: t,
dispatch: null,
action: e,
pending: null
- }, r.queue = i, n = Ts.bind(null, Ho, i, a, n), i.dispatch = n, r.memoizedState = e, [
+ }, r.queue = i, n = ws.bind(null, Vo, i, a, n), i.dispatch = n, r.memoizedState = e, [
t,
n,
!1
];
}
- function Ns(e) {
- return Ps(cs(), Uo, e);
+ function Ms(e) {
+ return Ns(ss(), Ho, e);
}
- function Ps(e, t, n) {
- if (t = hs(e, t, js)[0], e = ms(ps)[0], typeof t == "object" && t && typeof t.then == "function") try {
- var r = us(t);
+ function Ns(e, t, n) {
+ if (t = ms(e, t, As)[0], e = ps(fs)[0], typeof t == "object" && t && typeof t.then == "function") try {
+ var r = ls(t);
} catch (e) {
- throw e === Ja ? Xa : e;
+ throw e === qa ? Ya : e;
}
else r = t;
- t = cs();
+ t = ss();
var i = t.queue, a = i.dispatch;
- return n !== t.memoizedState && (Ho.flags |= 2048, Ls(9, { destroy: void 0 }, Fs.bind(null, i, n), null)), [
+ return n !== t.memoizedState && (Vo.flags |= 2048, Is(9, { destroy: void 0 }, Ps.bind(null, i, n), null)), [
r,
a,
e
];
}
- function Fs(e, t) {
+ function Ps(e, t) {
e.action = t;
}
- function Is(e) {
- var t = cs(), n = Uo;
- if (n !== null) return Ps(t, n, e);
- cs(), t = t.memoizedState, n = cs();
+ function Fs(e) {
+ var t = ss(), n = Ho;
+ if (n !== null) return Ns(t, n, e);
+ ss(), t = t.memoizedState, n = ss();
var r = n.queue.dispatch;
return n.memoizedState = e, [
t,
@@ -17994,60 +18045,60 @@ var lte = /* @__PURE__ */ _(((e) => {
!1
];
}
- function Ls(e, t, n, r) {
+ function Is(e, t, n, r) {
return e = {
tag: e,
create: n,
deps: r,
inst: t,
next: null
- }, t = Ho.updateQueue, t === null && (t = ls(), Ho.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;
+ }, t = Vo.updateQueue, t === null && (t = cs(), Vo.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;
+ }
+ function Ls() {
+ return ss().memoizedState;
}
- function Rs() {
- return cs().memoizedState;
+ function Rs(e, t, n, r) {
+ var i = os();
+ Vo.flags |= e, i.memoizedState = Is(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
}
function zs(e, t, n, r) {
var i = ss();
- Ho.flags |= e, i.memoizedState = Ls(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
- }
- function Bs(e, t, n, r) {
- var i = cs();
r = r === void 0 ? null : r;
var a = i.memoizedState.inst;
- Uo !== null && r !== null && $o(r, Uo.memoizedState.deps) ? i.memoizedState = Ls(t, a, n, r) : (Ho.flags |= e, i.memoizedState = Ls(1 | t, a, n, r));
+ Ho !== null && r !== null && Qo(r, Ho.memoizedState.deps) ? i.memoizedState = Is(t, a, n, r) : (Vo.flags |= e, i.memoizedState = Is(1 | t, a, n, r));
}
- function Vs(e, t) {
- zs(8390656, 8, e, t);
+ function Bs(e, t) {
+ Rs(8390656, 8, e, t);
}
- function Hs(e, t) {
- Bs(2048, 8, e, t);
+ function Vs(e, t) {
+ zs(2048, 8, e, t);
}
- function Us(e) {
- Ho.flags |= 4;
- var t = Ho.updateQueue;
- if (t === null) t = ls(), Ho.updateQueue = t, t.events = [e];
+ function Hs(e) {
+ Vo.flags |= 4;
+ var t = Vo.updateQueue;
+ if (t === null) t = cs(), Vo.updateQueue = t, t.events = [e];
else {
var n = t.events;
n === null ? t.events = [e] : n.push(e);
}
}
- function Ws(e) {
- var t = cs().memoizedState;
- return Us({
+ function Us(e) {
+ var t = ss().memoizedState;
+ return Hs({
ref: t,
nextImpl: e
}), function() {
- if (id & 2) throw Error(i(440));
+ if (rd & 2) throw Error(i(440));
return t.impl.apply(void 0, arguments);
};
}
+ function Ws(e, t) {
+ return zs(4, 2, e, t);
+ }
function Gs(e, t) {
- return Bs(4, 2, e, t);
+ return zs(4, 4, e, t);
}
function Ks(e, t) {
- return Bs(4, 4, e, t);
- }
- function qs(e, t) {
if (typeof t == "function") {
e = e();
var n = t(e);
@@ -18059,76 +18110,76 @@ var lte = /* @__PURE__ */ _(((e) => {
t.current = null;
};
}
- function Js(e, t, n) {
- n = n == null ? null : n.concat([e]), Bs(4, 4, qs.bind(null, t, e), n);
+ function qs(e, t, n) {
+ n = n == null ? null : n.concat([e]), zs(4, 4, Ks.bind(null, t, e), n);
}
- function Ys() {}
- function Xs(e, t) {
- var n = cs();
+ function Js() {}
+ function Ys(e, t) {
+ var n = ss();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- return t !== null && $o(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
+ return t !== null && Qo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
}
- function Zs(e, t) {
- var n = cs();
+ function Xs(e, t) {
+ var n = ss();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- if (t !== null && $o(t, r[1])) return r[0];
- if (r = e(), qo) {
- Ye(!0);
+ if (t !== null && Qo(t, r[1])) return r[0];
+ if (r = e(), Ko) {
+ Je(!0);
try {
e();
} finally {
- Ye(!1);
+ Je(!1);
}
}
return n.memoizedState = [r, t], r;
}
- function Qs(e, t, n) {
- return n === void 0 || Vo & 1073741824 && !(sd & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Vd(), Ho.lanes |= e, hd |= e, n);
+ function Zs(e, t, n) {
+ return n === void 0 || Bo & 1073741824 && !(od & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Bd(), Vo.lanes |= e, md |= e, n);
}
- function $s(e, t, n, r) {
- return zr(n, t) ? n : To.current === null ? !(Vo & 106) || Vo & 1073741824 && !(sd & 261930) ? (Fc = !0, e.memoizedState = n) : (e = Vd(), Ho.lanes |= e, hd |= e, t) : (e = Qs(e, n, r), zr(e, t) || (Fc = !0), e);
+ function Qs(e, t, n, r) {
+ return Rr(n, t) ? n : wo.current === null ? !(Bo & 106) || Bo & 1073741824 && !(od & 261930) ? (Pc = !0, e.memoizedState = n) : (e = Bd(), Vo.lanes |= e, md |= e, t) : (e = Zs(e, n, r), Rr(e, t) || (Pc = !0), e);
}
- function ec(e, t, n, r, i) {
- var a = de.p;
- de.p = a !== 0 && 8 > a ? a : 8;
+ function $s(e, t, n, r, i) {
+ var a = z.p;
+ z.p = a !== 0 && 8 > a ? a : 8;
var o = R.T, s = {};
- s.types = o === null ? null : o.types, R.T = s, fc(e, !1, t, n);
+ s.types = o === null ? null : o.types, R.T = s, dc(e, !1, t, n);
try {
var c = i(), l = R.S;
- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? dc(e, t, Ha(c, r), Bd(e)) : dc(e, t, r, Bd(e));
+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? uc(e, t, Va(c, r), zd(e)) : uc(e, t, r, zd(e));
} catch (n) {
- dc(e, t, {
+ uc(e, t, {
then: function() {},
status: "rejected",
reason: n
- }, Bd());
+ }, zd());
} finally {
- de.p = a, o !== null && s.types !== null && (o.types = s.types), R.T = o;
+ z.p = a, o !== null && s.types !== null && (o.types = s.types), R.T = o;
}
}
- function tc() {}
- function nc(e, t, n, r) {
+ function ec() {}
+ function tc(e, t, n, r) {
if (e.tag !== 5) throw Error(i(476));
- var a = rc(e).queue;
- ec(e, a, t, fe, n === null ? tc : function() {
- return ic(e), n(r);
+ var a = nc(e).queue;
+ $s(e, a, t, de, n === null ? ec : function() {
+ return rc(e), n(r);
});
}
- function rc(e) {
+ function nc(e) {
var t = e.memoizedState;
if (t !== null) return t;
t = {
- memoizedState: fe,
- baseState: fe,
+ memoizedState: de,
+ baseState: de,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: ps,
- lastRenderedState: fe
+ lastRenderedReducer: fs,
+ lastRenderedState: de
},
next: null
};
@@ -18141,41 +18192,41 @@ var lte = /* @__PURE__ */ _(((e) => {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: ps,
+ lastRenderedReducer: fs,
lastRenderedState: n
},
next: null
}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;
}
- function ic(e) {
- var t = rc(e);
- t.next === null && (t = e.alternate.memoizedState), dc(e, t.next.queue, {}, Bd());
+ function rc(e) {
+ var t = nc(e);
+ t.next === null && (t = e.alternate.memoizedState), uc(e, t.next.queue, {}, zd());
+ }
+ function ic() {
+ return Ca(_h);
}
function ac() {
- return wa(_h);
+ return ss().memoizedState;
}
function oc() {
- return cs().memoizedState;
- }
- function sc() {
- return cs().memoizedState;
+ return ss().memoizedState;
}
- function cc(e) {
+ function sc(e) {
for (var t = e.return; t !== null;) {
switch (t.tag) {
case 24:
case 3:
- var n = Bd();
- e = go(n);
- var r = _o(t, e, n);
- r !== null && (Ud(r, t, n), vo(r, t, n)), t = { cache: ja() }, e.payload = t;
+ var n = zd();
+ e = ho(n);
+ var r = go(t, e, n);
+ r !== null && (Hd(r, t, n), _o(r, t, n)), t = { cache: Aa() }, e.payload = t;
return;
}
t = t.return;
}
}
- function lc(e, t, n) {
- var r = Bd();
+ function cc(e, t, n) {
+ var r = zd();
n = {
lane: r,
revertLane: 0,
@@ -18184,12 +18235,12 @@ var lte = /* @__PURE__ */ _(((e) => {
hasEagerState: !1,
eagerState: null,
next: null
- }, pc(e) ? mc(t, n) : (n = wi(e, t, n, r), n !== null && (Ud(n, e, r), hc(n, t, r)));
+ }, fc(e) ? pc(t, n) : (n = Ci(e, t, n, r), n !== null && (Hd(n, e, r), mc(n, t, r)));
}
- function uc(e, t, n) {
- dc(e, t, n, Bd());
+ function lc(e, t, n) {
+ uc(e, t, n, zd());
}
- function dc(e, t, n, r) {
+ function uc(e, t, n, r) {
var i = {
lane: r,
revertLane: 0,
@@ -18199,111 +18250,111 @@ var lte = /* @__PURE__ */ _(((e) => {
eagerState: null,
next: null
};
- if (pc(e)) mc(t, i);
+ if (fc(e)) pc(t, i);
else {
var a = e.alternate;
if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try {
var o = t.lastRenderedState, s = a(o, n);
- if (i.hasEagerState = !0, i.eagerState = s, zr(s, o)) return Ci(e, t, i, 0), ad === null && Si(), !1;
+ if (i.hasEagerState = !0, i.eagerState = s, Rr(s, o)) return Si(e, t, i, 0), id === null && xi(), !1;
} catch {}
- if (n = wi(e, t, i, r), n !== null) return Ud(n, e, r), hc(n, t, r), !0;
+ if (n = Ci(e, t, i, r), n !== null) return Hd(n, e, r), mc(n, t, r), !0;
}
return !1;
}
- function fc(e, t, n, r) {
+ function dc(e, t, n, r) {
if (r = {
lane: 2,
- revertLane: Uf(),
+ revertLane: V(),
gesture: null,
action: r,
hasEagerState: !1,
eagerState: null,
next: null
- }, pc(e)) {
+ }, fc(e)) {
if (t) throw Error(i(479));
- } else t = wi(e, n, r, 2), t !== null && Ud(t, e, 2);
+ } else t = Ci(e, n, r, 2), t !== null && Hd(t, e, 2);
}
- function pc(e) {
+ function fc(e) {
var t = e.alternate;
- return e === Ho || t !== null && t === Ho;
+ return e === Vo || t !== null && t === Vo;
}
- function mc(e, t) {
- Ko = Go = !0;
+ function pc(e, t) {
+ Go = Wo = !0;
var n = e.pending;
n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;
}
- function hc(e, t, n) {
+ function mc(e, t, n) {
if (n & 4194048) {
var r = t.lanes;
- r &= e.pendingLanes, n |= r, t.lanes = n, pt(e, n);
- }
- }
- var gc = {
- readContext: wa,
- use: ds,
- useCallback: Qo,
- useContext: Qo,
- useEffect: Qo,
- useImperativeHandle: Qo,
- useLayoutEffect: Qo,
- useInsertionEffect: Qo,
- useMemo: Qo,
- useReducer: Qo,
- useRef: Qo,
- useState: Qo,
- useDebugValue: Qo,
- useDeferredValue: Qo,
- useTransition: Qo,
- useSyncExternalStore: Qo,
- useId: Qo,
- useHostTransitionStatus: Qo,
- useFormState: Qo,
- useActionState: Qo,
- useOptimistic: Qo,
- useMemoCache: Qo,
- useCacheRefresh: Qo,
- useEffectEvent: Qo
- }, _c = {
- readContext: wa,
- use: ds,
+ r &= e.pendingLanes, n |= r, t.lanes = n, ft(e, n);
+ }
+ }
+ var hc = {
+ readContext: Ca,
+ use: us,
+ useCallback: Zo,
+ useContext: Zo,
+ useEffect: Zo,
+ useImperativeHandle: Zo,
+ useLayoutEffect: Zo,
+ useInsertionEffect: Zo,
+ useMemo: Zo,
+ useReducer: Zo,
+ useRef: Zo,
+ useState: Zo,
+ useDebugValue: Zo,
+ useDeferredValue: Zo,
+ useTransition: Zo,
+ useSyncExternalStore: Zo,
+ useId: Zo,
+ useHostTransitionStatus: Zo,
+ useFormState: Zo,
+ useActionState: Zo,
+ useOptimistic: Zo,
+ useMemoCache: Zo,
+ useCacheRefresh: Zo,
+ useEffectEvent: Zo
+ }, gc = {
+ readContext: Ca,
+ use: us,
useCallback: function(e, t) {
- return ss().memoizedState = [e, t === void 0 ? null : t], e;
+ return os().memoizedState = [e, t === void 0 ? null : t], e;
},
- useContext: wa,
- useEffect: Vs,
+ useContext: Ca,
+ useEffect: Bs,
useImperativeHandle: function(e, t, n) {
- n = n == null ? null : n.concat([e]), zs(4194308, 4, qs.bind(null, t, e), n);
+ n = n == null ? null : n.concat([e]), Rs(4194308, 4, Ks.bind(null, t, e), n);
},
useLayoutEffect: function(e, t) {
- return zs(4194308, 4, e, t);
+ return Rs(4194308, 4, e, t);
},
useInsertionEffect: function(e, t) {
- zs(4, 2, e, t);
+ Rs(4, 2, e, t);
},
useMemo: function(e, t) {
- var n = ss();
+ var n = os();
t = t === void 0 ? null : t;
var r = e();
- if (qo) {
- Ye(!0);
+ if (Ko) {
+ Je(!0);
try {
e();
} finally {
- Ye(!1);
+ Je(!1);
}
}
return n.memoizedState = [r, t], r;
},
useReducer: function(e, t, n) {
- var r = ss();
+ var r = os();
if (n !== void 0) {
var i = n(t);
- if (qo) {
- Ye(!0);
+ if (Ko) {
+ Je(!0);
try {
n(t);
} finally {
- Ye(!1);
+ Je(!1);
}
}
} else i = t;
@@ -18313,54 +18364,54 @@ var lte = /* @__PURE__ */ _(((e) => {
dispatch: null,
lastRenderedReducer: e,
lastRenderedState: i
- }, r.queue = e, e = e.dispatch = lc.bind(null, Ho, e), [r.memoizedState, e];
+ }, r.queue = e, e = e.dispatch = cc.bind(null, Vo, e), [r.memoizedState, e];
},
useRef: function(e) {
- var t = ss();
+ var t = os();
return e = { current: e }, t.memoizedState = e;
},
useState: function(e) {
- e = Cs(e);
- var t = e.queue, n = uc.bind(null, Ho, t);
+ e = Ss(e);
+ var t = e.queue, n = lc.bind(null, Vo, t);
return t.dispatch = n, [e.memoizedState, n];
},
- useDebugValue: Ys,
+ useDebugValue: Js,
useDeferredValue: function(e, t) {
- return Qs(ss(), e, t);
+ return Zs(os(), e, t);
},
useTransition: function() {
- var e = Cs(!1);
- return e = ec.bind(null, Ho, e.queue, !0, !1), ss().memoizedState = e, [!1, e];
+ var e = Ss(!1);
+ return e = $s.bind(null, Vo, e.queue, !0, !1), os().memoizedState = e, [!1, e];
},
useSyncExternalStore: function(e, t, n) {
- var r = Ho, a = ss();
- if (ra) {
+ var r = Vo, a = os();
+ if (na) {
if (n === void 0) throw Error(i(407));
n = n();
} else {
- if (n = t(), ad === null) throw Error(i(349));
- sd & 127 || vs(r, t, n);
+ if (n = t(), id === null) throw Error(i(349));
+ od & 127 || _s(r, t, n);
}
a.memoizedState = n;
var o = {
value: n,
getSnapshot: t
};
- return a.queue = o, Vs(bs.bind(null, r, o, e), [e]), r.flags |= 2048, Ls(9, { destroy: void 0 }, ys.bind(null, r, o, n, t), null), n;
+ return a.queue = o, Bs(ys.bind(null, r, o, e), [e]), r.flags |= 2048, Is(9, { destroy: void 0 }, vs.bind(null, r, o, n, t), null), n;
},
useId: function() {
- var e = ss(), t = ad.identifierPrefix;
- if (ra) {
- var n = Yi, r = Ji;
- n = (r & ~(1 << 32 - Xe(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Jo++, 0 < n && (t += "H" + n.toString(32)), t += "_";
- } else n = Zo++, t = "_" + t + "r_" + n.toString(32) + "_";
+ var e = os(), t = id.identifierPrefix;
+ if (na) {
+ var n = Ji, r = qi;
+ n = (r & ~(1 << 32 - Ye(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = qo++, 0 < n && (t += "H" + n.toString(32)), t += "_";
+ } else n = Xo++, t = "_" + t + "r_" + n.toString(32) + "_";
return e.memoizedState = t;
},
- useHostTransitionStatus: ac,
- useFormState: Ms,
- useActionState: Ms,
+ useHostTransitionStatus: ic,
+ useFormState: js,
+ useActionState: js,
useOptimistic: function(e) {
- var t = ss();
+ var t = os();
t.memoizedState = t.baseState = e;
var n = {
pending: null,
@@ -18369,132 +18420,132 @@ var lte = /* @__PURE__ */ _(((e) => {
lastRenderedReducer: null,
lastRenderedState: null
};
- return t.queue = n, t = fc.bind(null, Ho, !0, n), n.dispatch = t, [e, t];
+ return t.queue = n, t = dc.bind(null, Vo, !0, n), n.dispatch = t, [e, t];
},
- useMemoCache: fs,
+ useMemoCache: ds,
useCacheRefresh: function() {
- return ss().memoizedState = cc.bind(null, Ho);
+ return os().memoizedState = sc.bind(null, Vo);
},
useEffectEvent: function(e) {
- var t = ss(), n = { impl: e };
+ var t = os(), n = { impl: e };
return t.memoizedState = n, function() {
- if (id & 2) throw Error(i(440));
+ if (rd & 2) throw Error(i(440));
return n.impl.apply(void 0, arguments);
};
}
- }, vc = {
- readContext: wa,
- use: ds,
- useCallback: Xs,
- useContext: wa,
- useEffect: Hs,
- useImperativeHandle: Js,
- useInsertionEffect: Gs,
- useLayoutEffect: Ks,
- useMemo: Zs,
- useReducer: ms,
- useRef: Rs,
+ }, _c = {
+ readContext: Ca,
+ use: us,
+ useCallback: Ys,
+ useContext: Ca,
+ useEffect: Vs,
+ useImperativeHandle: qs,
+ useInsertionEffect: Ws,
+ useLayoutEffect: Gs,
+ useMemo: Xs,
+ useReducer: ps,
+ useRef: Ls,
useState: function() {
- return ms(ps);
+ return ps(fs);
},
- useDebugValue: Ys,
+ useDebugValue: Js,
useDeferredValue: function(e, t) {
- return $s(cs(), Uo.memoizedState, e, t);
+ return Qs(ss(), Ho.memoizedState, e, t);
},
useTransition: function() {
- var e = ms(ps)[0], t = cs().memoizedState;
- return [typeof e == "boolean" ? e : us(e), t];
- },
- useSyncExternalStore: _s,
- useId: oc,
- useHostTransitionStatus: ac,
- useFormState: Ns,
- useActionState: Ns,
+ var e = ps(fs)[0], t = ss().memoizedState;
+ return [typeof e == "boolean" ? e : ls(e), t];
+ },
+ useSyncExternalStore: gs,
+ useId: ac,
+ useHostTransitionStatus: ic,
+ useFormState: Ms,
+ useActionState: Ms,
useOptimistic: function(e, t) {
- return ws(cs(), Uo, e, t);
- },
- useMemoCache: fs,
- useCacheRefresh: sc,
- useEffectEvent: Ws
- }, yc = {
- readContext: wa,
- use: ds,
- useCallback: Xs,
- useContext: wa,
- useEffect: Hs,
- useImperativeHandle: Js,
- useInsertionEffect: Gs,
- useLayoutEffect: Ks,
- useMemo: Zs,
- useReducer: gs,
- useRef: Rs,
+ return Cs(ss(), Ho, e, t);
+ },
+ useMemoCache: ds,
+ useCacheRefresh: oc,
+ useEffectEvent: Us
+ }, vc = {
+ readContext: Ca,
+ use: us,
+ useCallback: Ys,
+ useContext: Ca,
+ useEffect: Vs,
+ useImperativeHandle: qs,
+ useInsertionEffect: Ws,
+ useLayoutEffect: Gs,
+ useMemo: Xs,
+ useReducer: hs,
+ useRef: Ls,
useState: function() {
- return gs(ps);
+ return hs(fs);
},
- useDebugValue: Ys,
+ useDebugValue: Js,
useDeferredValue: function(e, t) {
- var n = cs();
- return Uo === null ? Qs(n, e, t) : $s(n, Uo.memoizedState, e, t);
+ var n = ss();
+ return Ho === null ? Zs(n, e, t) : Qs(n, Ho.memoizedState, e, t);
},
useTransition: function() {
- var e = gs(ps)[0], t = cs().memoizedState;
- return [typeof e == "boolean" ? e : us(e), t];
- },
- useSyncExternalStore: _s,
- useId: oc,
- useHostTransitionStatus: ac,
- useFormState: Is,
- useActionState: Is,
+ var e = hs(fs)[0], t = ss().memoizedState;
+ return [typeof e == "boolean" ? e : ls(e), t];
+ },
+ useSyncExternalStore: gs,
+ useId: ac,
+ useHostTransitionStatus: ic,
+ useFormState: Fs,
+ useActionState: Fs,
useOptimistic: function(e, t) {
- var n = cs();
- return Uo === null ? (n.baseState = e, [e, n.queue.dispatch]) : ws(n, Uo, e, t);
+ var n = ss();
+ return Ho === null ? (n.baseState = e, [e, n.queue.dispatch]) : Cs(n, Ho, e, t);
},
- useMemoCache: fs,
- useCacheRefresh: sc,
- useEffectEvent: Ws
+ useMemoCache: ds,
+ useCacheRefresh: oc,
+ useEffectEvent: Us
};
- function bc(e, t, n, r) {
+ function yc(e, t, n, r) {
t = e.memoizedState, n = n(r, t), n = n == null ? t : T({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);
}
- var xc = {
+ var bc = {
enqueueSetState: function(e, t, n) {
e = e._reactInternals;
- var r = Bd(), i = go(r);
- i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Ud(t, e, r), vo(t, e, r));
+ var r = zd(), i = ho(r);
+ i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Hd(t, e, r), _o(t, e, r));
},
enqueueReplaceState: function(e, t, n) {
e = e._reactInternals;
- var r = Bd(), i = go(r);
- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = _o(e, i, r), t !== null && (Ud(t, e, r), vo(t, e, r));
+ var r = zd(), i = ho(r);
+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Hd(t, e, r), _o(t, e, r));
},
enqueueForceUpdate: function(e, t) {
e = e._reactInternals;
- var n = Bd(), r = go(n);
- r.tag = 2, t != null && (r.callback = t), t = _o(e, r, n), t !== null && (Ud(t, e, n), vo(t, e, n));
+ var n = zd(), r = ho(n);
+ r.tag = 2, t != null && (r.callback = t), t = go(e, r, n), t !== null && (Hd(t, e, n), _o(t, e, n));
}
};
- function Sc(e, t, n, r, i, a, o) {
- return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Br(n, r) || !Br(i, a) : !0;
+ function xc(e, t, n, r, i, a, o) {
+ return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !zr(n, r) || !zr(i, a) : !0;
}
- function Cc(e, t, n, r) {
- e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && xc.enqueueReplaceState(t, t.state, null);
+ function Sc(e, t, n, r) {
+ e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && bc.enqueueReplaceState(t, t.state, null);
}
- function wc(e, t) {
+ function Cc(e, t) {
var n = t;
if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);
if (e = e.defaultProps) for (var i in n === t && (n = T({}, n)), e) n[i] === void 0 && (n[i] = e[i]);
return n;
}
- function Tc(e) {
- vi(e);
+ function wc(e) {
+ _i(e);
}
- function Ec(e) {
+ function Tc(e) {
console.error(e);
}
- function Dc(e) {
- vi(e);
+ function Ec(e) {
+ _i(e);
}
- function Oc(e, t) {
+ function Dc(e, t) {
try {
var n = e.onUncaughtError;
n(t.value, { componentStack: t.stack });
@@ -18504,7 +18555,7 @@ var lte = /* @__PURE__ */ _(((e) => {
});
}
}
- function kc(e, t, n) {
+ function Oc(e, t, n) {
try {
var r = e.onCaughtError;
r(n.value, {
@@ -18517,57 +18568,57 @@ var lte = /* @__PURE__ */ _(((e) => {
});
}
}
- function Ac(e, t, n) {
- return n = go(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
- Oc(e, t);
+ function kc(e, t, n) {
+ return n = ho(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
+ Dc(e, t);
}, n;
}
- function jc(e) {
- return e = go(e), e.tag = 3, e;
+ function Ac(e) {
+ return e = ho(e), e.tag = 3, e;
}
- function Mc(e, t, n, r) {
+ function jc(e, t, n, r) {
var i = n.type.getDerivedStateFromError;
if (typeof i == "function") {
var a = r.value;
e.payload = function() {
return i(a);
}, e.callback = function() {
- kc(t, n, r);
+ Oc(t, n, r);
};
}
var o = n.stateNode;
o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {
- kc(t, n, r), typeof i != "function" && (Dd === null ? Dd = /* @__PURE__ */ new Set([this]) : Dd.add(this));
+ Oc(t, n, r), typeof i != "function" && (Ed === null ? Ed = /* @__PURE__ */ new Set([this]) : Ed.add(this));
var e = r.stack;
this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });
});
}
- function Nc(e, t, n, r, a) {
+ function Mc(e, t, n, r, a) {
if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {
- if (t = n.alternate, t !== null && xa(t, n, a, !0), n = Ao.current, n !== null) {
+ if (t = n.alternate, t !== null && ba(t, n, a, !0), n = ko.current, n !== null) {
switch (n.tag) {
case 31:
case 13:
- case 19: return jo === null ? tf() : n.alternate === null && md === 0 && (md = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), wf(e, r, a)), !1;
- case 22: return n.flags |= 65536, r === Za ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
+ case 19: return Ao === null ? ef() : n.alternate === null && pd === 0 && (pd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), Cf(e, r, a)), !1;
+ case 22: return n.flags |= 65536, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
transitions: null,
markerInstances: null,
retryQueue: /* @__PURE__ */ new Set([r])
- }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), wf(e, r, a)), !1;
+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), Cf(e, r, a)), !1;
}
throw Error(i(435, n.tag));
}
- return wf(e, r, a), tf(), !1;
+ return Cf(e, r, a), ef(), !1;
}
- if (ra) return t = Ao.current, t === null ? (r !== oa && (t = Error(i(423), { cause: r }), pa(Bi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Bi(r, n), a = Ac(e.stateNode, r, a), yo(e, a), md !== 4 && (md = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== oa && (e = Error(i(422), { cause: r }), pa(Bi(e, n)))), !1;
+ if (na) return t = ko.current, t === null ? (r !== aa && (t = Error(i(423), { cause: r }), fa(zi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = zi(r, n), a = kc(e.stateNode, r, a), vo(e, a), pd !== 4 && (pd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== aa && (e = Error(i(422), { cause: r }), fa(zi(e, n)))), !1;
var o = Error(i(520), { cause: r });
- if (o = Bi(o, n), bd === null ? bd = [o] : bd.push(o), md !== 4 && (md = 2), t === null) return !0;
- r = Bi(r, n), n = t;
+ if (o = zi(o, n), yd === null ? yd = [o] : yd.push(o), pd !== 4 && (pd = 2), t === null) return !0;
+ r = zi(r, n), n = t;
do {
switch (n.tag) {
- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Ac(n.stateNode, r, e), yo(n, e), !1;
+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = kc(n.stateNode, r, e), vo(n, e), !1;
case 1:
- if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Dd === null || !Dd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = jc(a), Mc(a, e, n, r), yo(n, a), !1;
+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Ed === null || !Ed.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ac(a), jc(a, e, n, r), vo(n, a), !1;
break;
case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;
}
@@ -18575,41 +18626,41 @@ var lte = /* @__PURE__ */ _(((e) => {
} while (n !== null);
return !1;
}
- var Pc = Error(i(461)), Fc = !1;
- function Ic(e, t, n, r) {
- t.child = e === null ? fo(t, null, n, r) : uo(t, e.child, n, r);
+ var Nc = Error(i(461)), Pc = !1;
+ function Fc(e, t, n, r) {
+ t.child = e === null ? uo(t, null, n, r) : lo(t, e.child, n, r);
}
- function Lc(e, t, n, r, i) {
+ function Ic(e, t, n, r, i) {
n = n.render;
var a = t.ref;
if ("ref" in r) {
var o = {};
for (var s in r) s !== "ref" && (o[s] = r[s]);
} else o = r;
- return Ca(t), r = es(e, t, n, o, a, i), s = is(), e !== null && !Fc ? (as(e, t, i), dl(e, t, i)) : (ra && s && Qi(t), t.flags |= 1, Ic(e, t, r, i), t.child);
+ return Sa(t), r = $o(e, t, n, o, a, i), s = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (na && s && Zi(t), t.flags |= 1, Fc(e, t, r, i), t.child);
}
- function Rc(e, t, n, r, i) {
+ function Lc(e, t, n, r, i) {
if (e === null) {
var a = n.type;
- return typeof a == "function" && !ji(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, zc(e, t, a, r, i)) : (e = Pi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
+ return typeof a == "function" && !Ai(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Rc(e, t, a, r, i)) : (e = Ni(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
}
- if (a = e.child, !fl(e, i)) {
+ if (a = e.child, !dl(e, i)) {
var o = a.memoizedProps;
- if (n = n.compare, n = n === null ? Br : n, n(o, r) && e.ref === t.ref) return dl(e, t, i);
+ if (n = n.compare, n = n === null ? zr : n, n(o, r) && e.ref === t.ref) return ul(e, t, i);
}
- return t.flags |= 1, e = Mi(a, r), e.ref = t.ref, e.return = t, t.child = e;
+ return t.flags |= 1, e = ji(a, r), e.ref = t.ref, e.return = t, t.child = e;
}
- function zc(e, t, n, r, i) {
+ function Rc(e, t, n, r, i) {
if (e !== null) {
var a = e.memoizedProps;
- if (Br(a, r) && e.ref === t.ref) {
- if (Fc = !1, t.pendingProps = r = a, fl(e, i)) e.flags & 131072 && (Fc = !0);
- else return t.lanes = e.lanes, dl(e, t, i);
+ if (zr(a, r) && e.ref === t.ref) {
+ if (Pc = !1, t.pendingProps = r = a, dl(e, i)) e.flags & 131072 && (Pc = !0);
+ else return t.lanes = e.lanes, ul(e, t, i);
}
}
- return qc(e, t, n, r, i);
+ return Kc(e, t, n, r, i);
}
- function Bc(e, t, n, r) {
+ function zc(e, t, n, r) {
var i = r.children, a = e === null ? null : e.memoizedState;
if (e === null && t.stateNode === null && (t.stateNode = {
_visibility: 1,
@@ -18622,17 +18673,17 @@ var lte = /* @__PURE__ */ _(((e) => {
for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;
r = i & ~a;
} else r = 0, t.child = null;
- return Hc(e, t, a, n, r);
+ return Vc(e, t, a, n, r);
}
if (n & 536870912) t.memoizedState = {
baseLanes: 0,
cachePool: null
- }, e !== null && Ka(t, a === null ? null : a.cachePool), a === null ? Oo() : Do(t, a), Po(t);
- else return r = t.lanes = 536870912, Hc(e, t, a === null ? n : a.baseLanes | n, n, r);
- } else a === null ? (e !== null && Ka(t, null), Oo(), Fo()) : (Ka(t, a.cachePool), Do(t, a), Fo(), t.memoizedState = null);
- return Ic(e, t, i, n), t.child;
+ }, e !== null && Ga(t, a === null ? null : a.cachePool), a === null ? Do() : Eo(t, a), No(t);
+ else return r = t.lanes = 536870912, Vc(e, t, a === null ? n : a.baseLanes | n, n, r);
+ } else a === null ? (e !== null && Ga(t, null), Do(), Po()) : (Ga(t, a.cachePool), Eo(t, a), Po(), t.memoizedState = null);
+ return Fc(e, t, i, n), t.child;
}
- function Vc(e, t) {
+ function Bc(e, t) {
return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {
_visibility: 1,
_pendingMarkers: null,
@@ -18640,68 +18691,68 @@ var lte = /* @__PURE__ */ _(((e) => {
_transitions: null
}), t.sibling;
}
- function Hc(e, t, n, r, i) {
- var a = Ga();
+ function Vc(e, t, n, r, i) {
+ var a = Wa();
return a = a === null ? null : {
- parent: Aa._currentValue,
+ parent: ka._currentValue,
pool: a
}, t.memoizedState = {
baseLanes: n,
cachePool: a
- }, e !== null && Ka(t, null), Oo(), Po(t), e !== null && xa(e, t, r, !0), t.childLanes = i, null;
+ }, e !== null && Ga(t, null), Do(), No(t), e !== null && ba(e, t, r, !0), t.childLanes = i, null;
}
- function Uc(e, t) {
- return t = nl({
+ function Hc(e, t) {
+ return t = tl({
mode: t.mode,
children: t.children
}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;
}
- function Wc(e, t, n) {
- return uo(t, e.child, null, n), e = Uc(t, t.pendingProps), e.flags |= 2, Io(t), t.memoizedState = null, e;
+ function Uc(e, t, n) {
+ return lo(t, e.child, null, n), e = Hc(t, t.pendingProps), e.flags |= 2, Fo(t), t.memoizedState = null, e;
}
- function Gc(e, t, n) {
+ function Wc(e, t, n) {
var r = t.pendingProps, a = !!(t.flags & 128);
if (t.flags &= -129, e === null) {
- if (ra) {
- if (r.mode === "hidden") return e = Uc(t, r), t.lanes = 536870912, e.memoizedState = {
+ if (na) {
+ if (r.mode === "hidden") return e = Hc(t, r), t.lanes = 536870912, e.memoizedState = {
baseLanes: 0,
cachePool: null
- }, Vc(null, e);
- if (No(t), (e = na) ? (e = hm(e, aa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
+ }, Bc(null, e);
+ if (Mo(t), (e = ta) ? (e = hm(e, ia), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
- treeContext: qi === null ? null : {
- id: Ji,
- overflow: Yi
+ treeContext: Ki === null ? null : {
+ id: qi,
+ overflow: Ji
},
retryLane: 536870912,
hydrationErrors: null
- }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);
+ }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw oa(t);
return t.lanes = 536870912, null;
}
- return Uc(t, r);
+ return Hc(t, r);
}
var o = e.memoizedState;
if (o !== null) {
var s = o.dehydrated;
- if (No(t), a) {
- if (t.flags & 256) t.flags &= -257, t = Wc(e, t, n);
+ if (Mo(t), a) {
+ if (t.flags & 256) t.flags &= -257, t = Uc(e, t, n);
else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;
else throw Error(i(558));
- } else if (Fc || xa(e, t, n, !1), a = (n & e.childLanes) !== 0, Fc || a) {
- if (To.current === null) {
- if (r = ad, r !== null && (s = mt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ti(e, s), Ud(r, e, s), Pc;
- tf();
+ } else if (Pc || ba(e, t, n, !1), a = (n & e.childLanes) !== 0, Pc || a) {
+ if (wo.current === null) {
+ if (r = id, r !== null && (s = pt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, wi(e, s), Hd(r, e, s), Nc;
+ ef();
}
- t = Wc(e, t, n);
- } else e = o.treeContext, na = ym(s.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = Uc(t, r), t.flags |= 134221824;
+ t = Uc(e, t, n);
+ } else e = o.treeContext, ta = ym(s.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = Hc(t, r), t.flags |= 134221824;
return t;
}
- return e = Mi(e.child, {
+ return e = ji(e.child, {
mode: r.mode,
children: r.children
}), e.ref = t.ref, t.child = e, e.return = t, e;
}
- function Kc(e, t) {
+ function Gc(e, t) {
var n = t.ref;
if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);
else {
@@ -18709,135 +18760,135 @@ var lte = /* @__PURE__ */ _(((e) => {
(e === null || e.ref !== n) && (t.flags |= 4194816);
}
}
- function qc(e, t, n, r, i) {
- return Ca(t), n = es(e, t, n, r, void 0, i), r = is(), e !== null && !Fc ? (as(e, t, i), dl(e, t, i)) : (ra && r && Qi(t), t.flags |= 1, Ic(e, t, n, i), t.child);
+ function Kc(e, t, n, r, i) {
+ return Sa(t), n = $o(e, t, n, r, void 0, i), r = rs(), e !== null && !Pc ? (is(e, t, i), ul(e, t, i)) : (na && r && Zi(t), t.flags |= 1, Fc(e, t, n, i), t.child);
}
- function Jc(e, t, n, r, i, a) {
- return Ca(t), t.updateQueue = null, n = ns(t, r, n, i), ts(e), r = is(), e !== null && !Fc ? (as(e, t, a), dl(e, t, a)) : (ra && r && Qi(t), t.flags |= 1, Ic(e, t, n, a), t.child);
+ function qc(e, t, n, r, i, a) {
+ return Sa(t), t.updateQueue = null, n = ts(t, r, n, i), es(e), r = rs(), e !== null && !Pc ? (is(e, t, a), ul(e, t, a)) : (na && r && Zi(t), t.flags |= 1, Fc(e, t, n, a), t.child);
}
- function Yc(e, t, n, r, i) {
- if (Ca(t), t.stateNode === null) {
- var a = Oi, o = n.contextType;
- typeof o == "object" && o && (a = wa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = xc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, mo(t), o = n.contextType, a.context = typeof o == "object" && o ? wa(o) : Oi, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (bc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && xc.enqueueReplaceState(a, a.state, null), So(t, r, a, i), xo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
+ function Jc(e, t, n, r, i) {
+ if (Sa(t), t.stateNode === null) {
+ var a = Di, o = n.contextType;
+ typeof o == "object" && o && (a = Ca(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = bc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, po(t), o = n.contextType, a.context = typeof o == "object" && o ? Ca(o) : Di, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (yc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && bc.enqueueReplaceState(a, a.state, null), xo(t, r, a, i), bo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
} else if (e === null) {
a = t.stateNode;
- var s = t.memoizedProps, c = wc(n, s);
+ var s = t.memoizedProps, c = Cc(n, s);
a.props = c;
var l = a.context, u = n.contextType;
- o = Oi, typeof u == "object" && u && (o = wa(u));
+ o = Di, typeof u == "object" && u && (o = Ca(u));
var d = n.getDerivedStateFromProps;
- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Cc(t, a, r, o), po = !1;
+ u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && Sc(t, a, r, o), fo = !1;
var f = t.memoizedState;
- a.state = f, So(t, r, a, i), xo(), l = t.memoizedState, s || f !== l || po ? (typeof d == "function" && (bc(t, n, d, r), l = t.memoizedState), (c = po || Sc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
+ a.state = f, xo(t, r, a, i), bo(), l = t.memoizedState, s || f !== l || fo ? (typeof d == "function" && (yc(t, n, d, r), l = t.memoizedState), (c = fo || xc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
} else {
- a = t.stateNode, ho(e, t), o = t.memoizedProps, u = wc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Oi, typeof l == "object" && l && (c = wa(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Cc(t, a, r, c), po = !1, f = t.memoizedState, a.state = f, So(t, r, a, i), xo();
+ a = t.stateNode, mo(e, t), o = t.memoizedProps, u = Cc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Di, typeof l == "object" && l && (c = Ca(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && Sc(t, a, r, c), fo = !1, f = t.memoizedState, a.state = f, xo(t, r, a, i), bo();
var p = t.memoizedState;
- o !== d || f !== p || po || e !== null && e.dependencies !== null && Sa(e.dependencies) ? (typeof s == "function" && (bc(t, n, s, r), p = t.memoizedState), (u = po || Sc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && Sa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);
+ o !== d || f !== p || fo || e !== null && e.dependencies !== null && xa(e.dependencies) ? (typeof s == "function" && (yc(t, n, s, r), p = t.memoizedState), (u = fo || xc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && xa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);
}
- return a = r, Kc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = uo(t, e.child, null, i), t.child = uo(t, null, n, i)) : Ic(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = dl(e, t, i), e;
+ return a = r, Gc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = lo(t, e.child, null, i), t.child = lo(t, null, n, i)) : Fc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ul(e, t, i), e;
}
- function Xc(e, t, n, r) {
- return da(), t.flags |= 256, Ic(e, t, n, r), t.child;
+ function Yc(e, t, n, r) {
+ return ua(), t.flags |= 256, Fc(e, t, n, r), t.child;
}
- var Zc = {
+ var Xc = {
dehydrated: null,
treeContext: null,
retryLane: 0,
hydrationErrors: null
};
- function Qc(e) {
+ function Zc(e) {
return {
baseLanes: e,
- cachePool: qa()
+ cachePool: Ka()
};
}
- function $c(e, t, n) {
- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= vd), e;
+ function Qc(e, t, n) {
+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= _d), e;
}
- function el(e, t, n) {
+ function $c(e, t, n) {
var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;
- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Lo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
- if (ra) {
- if (i ? Mo(t) : Fo(), (e = na) ? (e = hm(e, aa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Io.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
+ if (na) {
+ if (i ? jo(t) : Po(), (e = ta) ? (e = hm(e, ia), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
- treeContext: qi === null ? null : {
- id: Ji,
- overflow: Yi
+ treeContext: Ki === null ? null : {
+ id: qi,
+ overflow: Ji
},
retryLane: 536870912,
hydrationErrors: null
- }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);
+ }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw oa(t);
return t.lanes = _m(e) ? 32 : 536870912, null;
}
- return a = r.children, r = r.fallback, i ? (Fo(), i = t.mode, a = nl({
+ return a = r.children, r = r.fallback, i ? (Po(), i = t.mode, a = tl({
mode: "hidden",
children: a
- }, i), r = Fi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Qc(n), r.childLanes = $c(e, o, n), t.memoizedState = Zc, Vc(null, r)) : (Mo(t), tl(t, a));
+ }, i), r = Pi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Zc(n), r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(null, r)) : (jo(t), el(t, a));
}
var s = e.memoizedState;
if (s !== null) {
var c = s.dehydrated;
- if (c !== null) return il(e, t, a, o, r, c, s, n);
+ if (c !== null) return rl(e, t, a, o, r, c, s, n);
}
- return i ? (Fo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Mi(s, {
+ return i ? (Po(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = ji(s, {
mode: "hidden",
children: r.children
- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Fi(i, a, n, null), i.flags |= 2) : i = Mi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Vc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Qc(n) : (a = i.cachePool, a === null ? a = qa() : (s = Aa._currentValue, a = a.parent === s ? a : {
+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Pi(i, a, n, null), i.flags |= 2) : i = ji(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Bc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Zc(n) : (a = i.cachePool, a === null ? a = Ka() : (s = ka._currentValue, a = a.parent === s ? a : {
parent: s,
pool: s
}), i = {
baseLanes: i.baseLanes | n,
cachePool: a
- }), r.memoizedState = i, r.childLanes = $c(e, o, n), t.memoizedState = Zc, Vc(e.child, r)) : (Mo(t), n = e.child, e = n.sibling, n = Mi(n, {
+ }), r.memoizedState = i, r.childLanes = Qc(e, o, n), t.memoizedState = Xc, Bc(e.child, r)) : (jo(t), n = e.child, e = n.sibling, n = ji(n, {
mode: "visible",
children: r.children
}), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);
}
- function tl(e, t) {
- return t = nl({
+ function el(e, t) {
+ return t = tl({
mode: "visible",
children: t
}, e.mode), t.return = e, e.child = t;
}
- function nl(e, t) {
- return e = Ai(22, e, null, t), e.lanes = 0, e;
+ function tl(e, t) {
+ return e = ki(22, e, null, t), e.lanes = 0, e;
}
- function rl(e, t, n) {
- return uo(t, e.child, null, n), e = tl(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
+ function nl(e, t, n) {
+ return lo(t, e.child, null, n), e = el(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
}
- function il(e, t, n, r, a, o, s, c) {
- if (n) return t.flags & 256 ? (Mo(t), t.flags &= -257, rl(e, t, c)) : t.memoizedState === null ? (Fo(), o = a.fallback, s = t.mode, a = nl({
+ function rl(e, t, n, r, a, o, s, c) {
+ if (n) return t.flags & 256 ? (jo(t), t.flags &= -257, nl(e, t, c)) : t.memoizedState === null ? (Po(), o = a.fallback, s = t.mode, a = tl({
mode: "visible",
children: a.children
- }, s), o = Fi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, uo(t, e.child, null, c), a = t.child, a.memoizedState = Qc(c), a.childLanes = $c(e, r, c), t.memoizedState = Zc, Vc(null, a)) : (Fo(), t.child = e.child, t.flags |= 128, null);
- if (Mo(t), _m(o)) {
+ }, s), o = Pi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, lo(t, e.child, null, c), a = t.child, a.memoizedState = Zc(c), a.childLanes = Qc(e, r, c), t.memoizedState = Xc, Bc(null, a)) : (Po(), t.child = e.child, t.flags |= 128, null);
+ if (jo(t), _m(o)) {
if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;
- return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, pa({
+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, fa({
value: a,
source: null,
stack: null
- })), rl(e, t, c);
+ })), nl(e, t, c);
}
- if (Fc || xa(e, t, c, !1), r = (c & e.childLanes) !== 0, Fc || r) {
- if (To.current !== null) return rl(e, t, c);
- if (r = ad, r !== null && (a = mt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ti(e, a), Ud(r, e, a), Pc;
- return gm(o) || tf(), rl(e, t, c);
+ if (Pc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Pc || r) {
+ if (wo.current !== null) return nl(e, t, c);
+ if (r = id, r !== null && (a = pt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Hd(r, e, a), Nc;
+ return gm(o) || ef(), nl(e, t, c);
}
- return gm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, na = ym(o.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = tl(t, a.children), t.flags |= 134221824, t);
+ return gm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ta = ym(o.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = el(t, a.children), t.flags |= 134221824, t);
}
- function al(e, t, n) {
+ function il(e, t, n) {
e.lanes |= t;
var r = e.alternate;
- r !== null && (r.lanes |= t), ya(e.return, t, n);
+ r !== null && (r.lanes |= t), va(e.return, t, n);
}
- function ol(e) {
+ function al(e) {
for (var t = null; e !== null;) {
var n = e.alternate;
- n !== null && Bo(n) === null && (t = e), e = e.sibling;
+ n !== null && zo(n) === null && (t = e), e = e.sibling;
}
return t;
}
- function sl(e, t, n, r, i, a) {
+ function ol(e, t, n, r, i, a) {
var o = e.memoizedState;
o === null ? e.memoizedState = {
isBackwards: t,
@@ -18849,22 +18900,22 @@ var lte = /* @__PURE__ */ _(((e) => {
treeForkCount: a
} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);
}
- function cl(e) {
+ function sl(e) {
var t = e.child;
for (e.child = null; t !== null;) {
var n = t.sibling;
t.sibling = e.child, e.child = t, t = n;
}
}
- function ll(e, t, n) {
+ function cl(e, t, n) {
var r = t.pendingProps, i = r.revealOrder, a = r.tail;
r = r.children;
- var o = Lo.current;
- if (t.flags & 128) return Ro(t, o), null;
+ var o = Io.current;
+ if (t.flags & 128) return Lo(t, o), null;
var s = !!(o & 2);
- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Ro(t, o), i === "backwards" && e !== null ? (cl(e), Ic(e, t, r, n), cl(e)) : Ic(e, t, r, n), r = ra ? Wi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
- if (e.tag === 13) e.memoizedState !== null && al(e, n, t);
- else if (e.tag === 19) al(e, n, t);
+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Lo(t, o), i === "backwards" && e !== null ? (sl(e), Fc(e, t, r, n), sl(e)) : Fc(e, t, r, n), r = na ? Ui : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
+ if (e.tag === 13) e.memoizedState !== null && il(e, n, t);
+ else if (e.tag === 19) il(e, n, t);
else if (e.child !== null) {
e.child.return = e, e = e.child;
continue;
@@ -18878,115 +18929,115 @@ var lte = /* @__PURE__ */ _(((e) => {
}
switch (i) {
case "backwards":
- n = ol(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, cl(t)), sl(t, !0, i, null, a, r);
+ n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, sl(t)), ol(t, !0, i, null, a, r);
break;
case "unstable_legacy-backwards":
for (n = null, i = t.child, t.child = null; i !== null;) {
- if (e = i.alternate, e !== null && Bo(e) === null) {
+ if (e = i.alternate, e !== null && zo(e) === null) {
t.child = i;
break;
}
e = i.sibling, i.sibling = n, n = i, i = e;
}
- sl(t, !0, n, null, a, r);
+ ol(t, !0, n, null, a, r);
break;
case "together":
- sl(t, !1, null, null, void 0, r);
+ ol(t, !1, null, null, void 0, r);
break;
case "independent":
t.memoizedState = null;
break;
- default: n = ol(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), sl(t, !1, i, n, a, r);
+ default: n = al(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), ol(t, !1, i, n, a, r);
}
return t.child;
}
- function ul(e, t, n) {
+ function ll(e, t, n) {
var r = t.pendingProps;
- return _a(t, t.type, r.value), Ic(e, t, r.children, n), t.child;
+ return ga(t, t.type, r.value), Fc(e, t, r.children, n), t.child;
}
- function dl(e, t, n) {
- if (e !== null && (t.dependencies = e.dependencies), hd |= t.lanes, (n & t.childLanes) === 0) {
+ function ul(e, t, n) {
+ if (e !== null && (t.dependencies = e.dependencies), md |= t.lanes, (n & t.childLanes) === 0) {
if (e !== null) {
- if (xa(e, t, n, !1), (n & t.childLanes) === 0) return null;
+ if (ba(e, t, n, !1), (n & t.childLanes) === 0) return null;
} else return null;
}
if (e !== null && t.child !== e.child) throw Error(i(153));
if (t.child !== null) {
- for (e = t.child, n = Mi(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Mi(e, e.pendingProps), n.return = t;
+ for (e = t.child, n = ji(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ji(e, e.pendingProps), n.return = t;
n.sibling = null;
}
return t.child;
}
- function fl(e, t) {
- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && Sa(e)));
+ function dl(e, t) {
+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && xa(e)));
}
- function pl(e, t, n) {
+ function fl(e, t, n) {
switch (t.tag) {
case 3:
- Se(t, t.stateNode.containerInfo), _a(t, Aa, e.memoizedState.cache), da();
+ xe(t, t.stateNode.containerInfo), ga(t, ka, e.memoizedState.cache), ua();
break;
case 27:
case 5:
- we(t);
+ Ce(t);
break;
case 4:
- Se(t, t.stateNode.containerInfo);
+ xe(t, t.stateNode.containerInfo);
break;
case 10:
- _a(t, t.type, t.memoizedProps.value);
+ ga(t, t.type, t.memoizedProps.value);
break;
case 31:
- if (t.memoizedState !== null) return t.flags |= 128, No(t), null;
+ if (t.memoizedState !== null) return t.flags |= 128, Mo(t), null;
break;
case 13:
var r = t.memoizedState;
if (r !== null) {
- if (r.dehydrated !== null) return Mo(t), t.flags |= 128, null;
- r = xa(e, t, n, !1);
+ if (r.dehydrated !== null) return jo(t), t.flags |= 128, null;
+ r = ba(e, t, n, !1);
var i = t.child.childLanes;
- return r || (n & i) !== 0 ? el(e, t, n) : (Mo(t), e = dl(e, t, n), e === null ? null : e.sibling);
+ return r || (n & i) !== 0 ? $c(e, t, n) : (jo(t), e = ul(e, t, n), e === null ? null : e.sibling);
}
- Mo(t);
+ jo(t);
break;
case 19:
- if (t.flags & 128) return ll(e, t, n);
- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (xa(e, t, n, !1), (n & t.childLanes) !== 0), i) {
- if (r) return ll(e, t, n);
+ if (t.flags & 128) return cl(e, t, n);
+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ba(e, t, n, !1), (n & t.childLanes) !== 0), i) {
+ if (r) return cl(e, t, n);
t.flags |= 128;
}
- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Ro(t, Lo.current), r) break;
+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Lo(t, Io.current), r) break;
return null;
- case 22: return t.lanes = 0, Bc(e, t, n, t.pendingProps);
- case 24: _a(t, Aa, e.memoizedState.cache);
+ case 22: return t.lanes = 0, zc(e, t, n, t.pendingProps);
+ case 24: ga(t, ka, e.memoizedState.cache);
}
- return dl(e, t, n);
+ return ul(e, t, n);
}
- function ml(e, t, n) {
+ function pl(e, t, n) {
if (e !== null) {
- if (e.memoizedProps !== t.pendingProps) Fc = !0;
+ if (e.memoizedProps !== t.pendingProps) Pc = !0;
else {
- if (!fl(e, n) && !(t.flags & 128)) return Fc = !1, pl(e, t, n);
- Fc = !!(e.flags & 131072);
+ if (!dl(e, n) && !(t.flags & 128)) return Pc = !1, fl(e, t, n);
+ Pc = !!(e.flags & 131072);
}
- } else Fc = !1, ra && t.flags & 1048576 && Zi(t, Wi, t.index);
+ } else Pc = !1, na && t.flags & 1048576 && Xi(t, Ui, t.index);
switch (t.lanes = 0, t.tag) {
case 16:
a: {
var r = t.pendingProps;
- if (e = eo(t.elementType), t.type = e, typeof e == "function") ji(e) ? (r = wc(e, r), t.tag = 1, t = Yc(null, t, e, r, n)) : (t.tag = 0, t = qc(null, t, e, r, n));
+ if (e = $a(t.elementType), t.type = e, typeof e == "function") Ai(e) ? (r = Cc(e, r), t.tag = 1, t = Jc(null, t, e, r, n)) : (t.tag = 0, t = Kc(null, t, e, r, n));
else {
if (e != null) {
var a = e.$$typeof;
if (a === P) {
- t.tag = 11, t = Lc(null, t, e, r, n);
+ t.tag = 11, t = Ic(null, t, e, r, n);
break a;
}
if (a === ee) {
- t.tag = 14, t = Rc(null, t, e, r, n);
+ t.tag = 14, t = Lc(null, t, e, r, n);
break a;
}
if (a === N) {
- t.tag = 10, t.type = e, t = ul(null, t, n);
+ t.tag = 10, t.type = e, t = ll(null, t, n);
break a;
}
}
@@ -18994,26 +19045,26 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
return t;
- case 0: return qc(e, t, t.type, t.pendingProps, n);
- case 1: return r = t.type, a = wc(r, t.pendingProps), Yc(e, t, r, a, n);
+ case 0: return Kc(e, t, t.type, t.pendingProps, n);
+ case 1: return r = t.type, a = Cc(r, t.pendingProps), Jc(e, t, r, a, n);
case 3:
a: {
- if (Se(t, t.stateNode.containerInfo), e === null) throw Error(i(387));
+ if (xe(t, t.stateNode.containerInfo), e === null) throw Error(i(387));
r = t.pendingProps;
var o = t.memoizedState;
- a = o.element, ho(e, t), So(t, r, null, n);
+ a = o.element, mo(e, t), xo(t, r, null, n);
var s = t.memoizedState;
- if (r = s.cache, _a(t, Aa, r), r !== o.cache && ba(t, [Aa], n, !0), xo(), r = s.element, o.isDehydrated) {
+ if (r = s.cache, ga(t, ka, r), r !== o.cache && ya(t, [ka], n, !0), bo(), r = s.element, o.isDehydrated) {
if (o = {
element: r,
isDehydrated: !1,
cache: s.cache
}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {
- t = Xc(e, t, r, n);
+ t = Yc(e, t, r, n);
break a;
}
if (r !== a) {
- a = Bi(Error(i(424)), t), pa(a), t = Xc(e, t, r, n);
+ a = zi(Error(i(424)), t), fa(a), t = Yc(e, t, r, n);
break a;
}
switch (e = t.stateNode.containerInfo, e.nodeType) {
@@ -19022,76 +19073,76 @@ var lte = /* @__PURE__ */ _(((e) => {
break;
default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;
}
- for (na = ym(e.firstChild), ta = t, ra = !0, ia = null, aa = !0, n = fo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
+ for (ta = ym(e.firstChild), ea = t, na = !0, ra = null, ia = !0, n = uo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
} else {
- if (da(), r === a) {
- t = dl(e, t, n);
+ if (ua(), r === a) {
+ t = ul(e, t, n);
break a;
}
- Ic(e, t, r, n);
+ Fc(e, t, r, n);
}
t = t.child;
}
return t;
- case 26: return Kc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ra || (t.stateNode = Sp(t.type, t.pendingProps, be.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
- case 27: return we(t), e === null && ra && (r = t.stateNode = wm(t.type, t.pendingProps, be.current), ta = t, aa = !0, a = na, Mp(t.type) ? (bm = a, na = ym(r.firstChild)) : na = a), Ic(e, t, t.pendingProps.children, n), Kc(e, t), e === null && (t.flags |= 4194304), t.child;
- case 5: return e === null && ra && ((a = r = na) && (r = pm(r, t.type, t.pendingProps, aa), r === null ? a = !1 : (t.stateNode = r, ta = t, na = ym(r.firstChild), aa = !1, a = !0)), a || sa(t)), we(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = es(e, t, rs, null, null, n), _h._currentValue = a), Kc(e, t), Ic(e, t, r, n), t.child;
- case 6: return e === null && ra && ((e = n = na) && (n = mm(n, t.pendingProps, aa), n === null ? e = !1 : (t.stateNode = n, ta = t, na = null, e = !0)), e || sa(t)), null;
- case 13: return el(e, t, n);
- case 4: return Se(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = uo(t, null, r, n) : Ic(e, t, r, n), t.child;
- case 11: return Lc(e, t, t.type, t.pendingProps, n);
- case 7: return r = t.pendingProps, Kc(e, t), Ic(e, t, r, n), t.child;
- case 8: return Ic(e, t, t.pendingProps.children, n), t.child;
- case 12: return Ic(e, t, t.pendingProps.children, n), t.child;
- case 10: return ul(e, t, n);
- case 9: return a = t.type._context, r = t.pendingProps.children, Ca(t), a = wa(a), r = r(a), t.flags |= 1, Ic(e, t, r, n), t.child;
- case 14: return Rc(e, t, t.type, t.pendingProps, n);
- case 15: return zc(e, t, t.type, t.pendingProps, n);
- case 19: return ll(e, t, n);
- case 31: return Gc(e, t, n);
- case 22: return Bc(e, t, n, t.pendingProps);
- case 24: return Ca(t), r = wa(Aa), e === null ? (a = Ga(), a === null && (a = ad, o = ja(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
+ case 26: return Gc(e, t), e === null ? (n = Hm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = Sp(t.type, t.pendingProps, ye.current, t)) : t.memoizedState = Hm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
+ case 27: return Ce(t), e === null && na && (r = t.stateNode = Tm(t.type, t.pendingProps, ye.current), ea = t, ia = !0, a = ta, Mp(t.type) ? (bm = a, ta = ym(r.firstChild)) : ta = a), Fc(e, t, t.pendingProps.children, n), Gc(e, t), e === null && (t.flags |= 4194304), t.child;
+ case 5: return e === null && na && ((a = r = ta) && (r = pm(r, t.type, t.pendingProps, ia), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = ym(r.firstChild), ia = !1, a = !0)), a || oa(t)), Ce(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = $o(e, t, ns, null, null, n), _h._currentValue = a), Gc(e, t), Fc(e, t, r, n), t.child;
+ case 6: return e === null && na && ((e = n = ta) && (n = mm(n, t.pendingProps, ia), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || oa(t)), null;
+ case 13: return $c(e, t, n);
+ case 4: return xe(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Fc(e, t, r, n), t.child;
+ case 11: return Ic(e, t, t.type, t.pendingProps, n);
+ case 7: return r = t.pendingProps, Gc(e, t), Fc(e, t, r, n), t.child;
+ case 8: return Fc(e, t, t.pendingProps.children, n), t.child;
+ case 12: return Fc(e, t, t.pendingProps.children, n), t.child;
+ case 10: return ll(e, t, n);
+ case 9: return a = t.type._context, r = t.pendingProps.children, Sa(t), a = Ca(a), r = r(a), t.flags |= 1, Fc(e, t, r, n), t.child;
+ case 14: return Lc(e, t, t.type, t.pendingProps, n);
+ case 15: return Rc(e, t, t.type, t.pendingProps, n);
+ case 19: return cl(e, t, n);
+ case 31: return Wc(e, t, n);
+ case 22: return zc(e, t, n, t.pendingProps);
+ case 24: return Sa(t), r = Ca(ka), e === null ? (a = Wa(), a === null && (a = id, o = Aa(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
parent: r,
cache: a
- }, mo(t), _a(t, Aa, a)) : ((e.lanes & n) !== 0 && (ho(e, t), So(t, null, null, n), xo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, _a(t, Aa, r), r !== a.cache && ba(t, [Aa], n, !0)) : (a = {
+ }, po(t), ga(t, ka, a)) : ((e.lanes & n) !== 0 && (mo(e, t), xo(t, null, null, n), bo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ga(t, ka, r), r !== a.cache && ya(t, [ka], n, !0)) : (a = {
parent: r,
cache: r
- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), _a(t, Aa, r))), Ic(e, t, t.pendingProps.children, n), t.child;
+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ga(t, ka, r))), Fc(e, t, t.pendingProps.children, n), t.child;
case 30: return t.stateNode === null && (t.stateNode = {
autoName: null,
paired: null,
clones: null,
ref: null
- }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ra && Qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Kc(e, t), Ic(e, t, r.children, n), t.child;
+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : na && Zi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Gc(e, t), Fc(e, t, r.children, n), t.child;
case 29: throw t.pendingProps;
}
throw Error(i(156, t.tag));
}
- function hl(e) {
+ function ml(e) {
e.flags |= 4;
}
- function gl(e, t, n, r, i) {
+ function hl(e, t, n, r, i) {
var a;
if ((a = !!(e.mode & 32)) && (a = n === null ? ih(t, r) : ih(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {
if (e.flags |= 16777216, (i & 335544128) === i) {
if (e.stateNode.complete) e.flags |= 8192;
- else if (Qd()) e.flags |= 8192;
- else throw to = Za, Ya;
+ else if (Zd()) e.flags |= 8192;
+ else throw eo = Xa, Ja;
}
} else e.flags &= -16777217;
}
- function _l(e, t) {
+ function gl(e, t) {
if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;
else if (e.flags |= 16777216, !ah(t)) {
- if (Qd()) e.flags |= 8192;
- else throw to = Za, Ya;
+ if (Zd()) e.flags |= 8192;
+ else throw eo = Xa, Ja;
}
}
- function vl(e, t) {
- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ct(), e.lanes |= t, yd |= t);
+ function _l(e, t) {
+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : st(), e.lanes |= t, vd |= t);
}
- function yl(e, t) {
- if (!ra) switch (e.tailMode) {
+ function vl(e, t) {
+ if (!na) switch (e.tailMode) {
case "visible": break;
case "collapsed":
for (var n = e.tail, r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;
@@ -19102,15 +19153,15 @@ var lte = /* @__PURE__ */ _(((e) => {
n === null ? e.tail = null : n.sibling = null;
}
}
- function bl(e) {
+ function yl(e) {
var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0;
if (t) for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 1206910976, r |= i.flags & 1206910976, i.return = e, i = i.sibling;
else for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;
return e.subtreeFlags |= r, e.childLanes = n, t;
}
- function xl(e, t, n) {
+ function bl(e, t, n) {
var r = t.pendingProps;
- switch ($i(t), t.tag) {
+ switch (Qi(t), t.tag) {
case 16:
case 15:
case 0:
@@ -19119,32 +19170,32 @@ var lte = /* @__PURE__ */ _(((e) => {
case 8:
case 12:
case 9:
- case 14: return bl(t), null;
- case 1: return bl(t), null;
- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), va(Aa), Ce(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ua(t) ? hl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, fa())), bl(t), null;
+ case 14: return yl(t), null;
+ case 1: return yl(t), null;
+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), _a(ka), Se(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (la(t) ? ml(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, da())), yl(t), null;
case 26:
var a = t.type, o = t.memoizedState;
- return e === null ? (hl(t), o === null ? (bl(t), gl(t, a, null, r, n)) : (bl(t), _l(t, o))) : o ? o === e.memoizedState ? (bl(t), t.flags &= -16777217) : (hl(t), bl(t), _l(t, o)) : (e = e.memoizedProps, e !== r && hl(t), bl(t), gl(t, a, e, r, n)), null;
+ return e === null ? (ml(t), o === null ? (yl(t), hl(t, a, null, r, n)) : (yl(t), gl(t, o))) : o ? o === e.memoizedState ? (yl(t), t.flags &= -16777217) : (ml(t), yl(t), gl(t, o)) : (e = e.memoizedProps, e !== r && ml(t), yl(t), hl(t, a, e, r, n)), null;
case 27:
- if (Te(t), n = be.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && hl(t);
+ if (we(t), n = ye.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return bl(t), t.subtreeFlags &= -33554433, null;
+ return yl(t), t.subtreeFlags &= -33554433, null;
}
- e = ve.current, ua(t) ? ca(t, e) : (e = wm(a, r, n), t.stateNode = e, hl(t));
+ e = _e.current, la(t) ? sa(t, e) : (e = Tm(a, r, n), t.stateNode = e, ml(t));
}
- return bl(t), t.subtreeFlags &= -33554433, null;
+ return yl(t), t.subtreeFlags &= -33554433, null;
case 5:
- if (Te(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && hl(t);
+ if (we(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ml(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return bl(t), t.subtreeFlags &= -33554433, null;
+ return yl(t), t.subtreeFlags &= -33554433, null;
}
- if (o = ve.current, ua(t)) ca(t, o);
+ if (o = _e.current, la(t)) sa(t, o);
else {
- var s = yp(be.current);
+ var s = yp(ye.current);
switch (o) {
case 1:
o = s.createElementNS("http://www.w3.org/2000/svg", a);
@@ -19168,7 +19219,7 @@ var lte = /* @__PURE__ */ _(((e) => {
default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);
}
}
- o[bt] = t, o[xt] = r;
+ o[yt] = t, o[bt] = r;
a: for (s = t.child; s !== null;) {
if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);
else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {
@@ -19195,71 +19246,71 @@ var lte = /* @__PURE__ */ _(((e) => {
break a;
default: r = !1;
}
- r && hl(t);
+ r && ml(t);
}
}
- return bl(t), t.subtreeFlags &= -33554433, gl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
+ return yl(t), t.subtreeFlags &= -33554433, hl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
case 6:
- if (e && t.stateNode != null) e.memoizedProps !== r && hl(t);
+ if (e && t.stateNode != null) e.memoizedProps !== r && ml(t);
else {
if (typeof r != "string" && t.stateNode === null) throw Error(i(166));
- if (e = be.current, ua(t)) {
- if (e = t.stateNode, n = t.memoizedProps, r = null, a = ta, a !== null) switch (a.tag) {
+ if (e = ye.current, la(t)) {
+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = ea, a !== null) switch (a.tag) {
case 27:
case 5: r = a.memoizedProps;
}
- e[bt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || lp(e.nodeValue, n)), e || sa(t, !0);
- } else e = yp(e).createTextNode(r), e[bt] = t, t.stateNode = e;
+ e[yt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || lp(e.nodeValue, n)), e || oa(t, !0);
+ } else e = yp(e).createTextNode(r), e[yt] = t, t.stateNode = e;
}
- return bl(t), null;
+ return yl(t), null;
case 31:
if (n = t.memoizedState, e === null || e.memoizedState !== null) {
- if (r = ua(t), n !== null) {
+ if (r = la(t), n !== null) {
if (e === null) {
if (!r) throw Error(i(318));
if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));
- e[bt] = t;
- } else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- bl(t), e = !1;
- } else n = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
- if (!e) return t.flags & 256 ? (Io(t), t) : (Io(t), null);
+ e[yt] = t;
+ } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
+ yl(t), e = !1;
+ } else n = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
+ if (!e) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);
if (t.flags & 128) throw Error(i(558));
}
- return bl(t), null;
+ return yl(t), null;
case 13:
if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
- if (a = ua(t), r !== null && r.dehydrated !== null) {
+ if (a = la(t), r !== null && r.dehydrated !== null) {
if (e === null) {
if (!a) throw Error(i(318));
if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));
- a[bt] = t;
- } else da(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- bl(t), a = !1;
- } else a = fa(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
- if (!a) return t.flags & 256 ? (Io(t), t) : (Io(t), null);
- }
- return Io(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), vl(t, t.updateQueue), bl(t), null);
- case 4: return Ce(), e === null && $f(t.stateNode.containerInfo), t.flags |= 67108864, bl(t), null;
- case 10: return va(t.type), bl(t), null;
+ a[yt] = t;
+ } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
+ yl(t), a = !1;
+ } else a = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
+ if (!a) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);
+ }
+ return Fo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), _l(t, t.updateQueue), yl(t), null);
+ case 4: return Se(), e === null && $f(t.stateNode.containerInfo), t.flags |= 67108864, yl(t), null;
+ case 10: return _a(t.type), yl(t), null;
case 19:
- if (zo(t), r = t.memoizedState, r === null) return bl(t), null;
+ if (Ro(t), r = t.memoizedState, r === null) return yl(t), null;
if (a = !!(t.flags & 128), o = r.rendering, o === null) {
- if (a) yl(r, !1);
+ if (a) vl(r, !1);
else {
- if (md !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
- if (o = Bo(e), o !== null) {
- for (t.flags |= 128, yl(r, !1), e = o.updateQueue, t.updateQueue = e, vl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ni(n, e), n = n.sibling;
- return Ro(t, Lo.current & 1 | 2), ra && Xi(t, r.treeForkCount), t.child;
+ if (pd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
+ if (o = zo(e), o !== null) {
+ for (t.flags |= 128, vl(r, !1), e = o.updateQueue, t.updateQueue = e, _l(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Mi(n, e), n = n.sibling;
+ return Lo(t, Io.current & 1 | 2), na && Yi(t, r.treeForkCount), t.child;
}
e = e.sibling;
}
- r.tail !== null && Re() > Td && (t.flags |= 128, a = !0, yl(r, !1), t.lanes = 4194304);
+ r.tail !== null && Le() > wd && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);
}
} else {
if (!a) {
- if (e = Bo(o), e !== null) {
- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, vl(t, e), yl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ra) return bl(t), null;
- } else 2 * Re() - r.renderingStartTime > Td && n !== 536870912 && (t.flags |= 128, a = !0, yl(r, !1), t.lanes = 4194304);
+ if (e = zo(o), e !== null) {
+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, _l(t, e), vl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !na) return yl(t), null;
+ } else 2 * Le() - r.renderingStartTime > wd && n !== 536870912 && (t.flags |= 128, a = !0, vl(r, !1), t.lanes = 4194304);
}
r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);
}
@@ -19275,79 +19326,79 @@ var lte = /* @__PURE__ */ _(((e) => {
}
n = !0;
}
- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Re(), e.sibling = null, o = Lo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ra ? Ro(t, o) : (n = o, _e(Ao, t), _e(Lo, n), jo === null && (jo = t)), ra && Xi(t, r.treeForkCount), e;
+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Le(), e.sibling = null, o = Io.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || na ? Lo(t, o) : (n = o, ge(ko, t), ge(Io, n), Ao === null && (Ao = t)), na && Yi(t, r.treeForkCount), e;
}
- return bl(t), null;
+ return yl(t), null;
case 22:
- case 23: return Io(t), ko(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (bl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : bl(t), n = t.updateQueue, n !== null && vl(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && ge(Wa), null;
- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), va(Aa), bl(t), null;
+ case 23: return Fo(t), Oo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (yl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : yl(t), n = t.updateQueue, n !== null && _l(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && he(Ua), null;
+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), _a(ka), yl(t), null;
case 25: return null;
- case 30: return t.flags |= 33554432, bl(t), null;
+ case 30: return t.flags |= 33554432, yl(t), null;
}
throw Error(i(156, t.tag));
}
- function Sl(e, t) {
- switch ($i(t), t.tag) {
+ function xl(e, t) {
+ switch (Qi(t), t.tag) {
case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 3: return va(Aa), Ce(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
+ case 3: return _a(ka), Se(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
case 26:
case 27:
- case 5: return Te(t), null;
+ case 5: return we(t), null;
case 31:
if (t.memoizedState !== null) {
- if (Io(t), t.alternate === null) throw Error(i(340));
- da();
+ if (Fo(t), t.alternate === null) throw Error(i(340));
+ ua();
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
case 13:
- if (Io(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
+ if (Fo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
if (t.alternate === null) throw Error(i(340));
- da();
+ ua();
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 19: return zo(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;
- case 4: return Ce(), null;
- case 10: return va(t.type), null;
+ case 19: return Ro(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;
+ case 4: return Se(), null;
+ case 10: return _a(t.type), null;
case 22:
- case 23: return Io(t), ko(), e !== null && ge(Wa), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 24: return va(Aa), null;
+ case 23: return Fo(t), Oo(), e !== null && he(Ua), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
+ case 24: return _a(ka), null;
case 25: return null;
default: return null;
}
}
- function Cl(e, t) {
- switch ($i(t), t.tag) {
+ function Sl(e, t) {
+ switch (Qi(t), t.tag) {
case 3:
- va(Aa), Ce();
+ _a(ka), Se();
break;
case 26:
case 27:
case 5:
- Te(t);
+ we(t);
break;
case 4:
- Ce();
+ Se();
break;
case 31:
- t.memoizedState !== null && Io(t);
+ t.memoizedState !== null && Fo(t);
break;
case 13:
- Io(t);
+ Fo(t);
break;
case 19:
- zo(t);
+ Ro(t);
break;
case 10:
- va(t.type);
+ _a(t.type);
break;
case 22:
case 23:
- Io(t), ko(), e !== null && ge(Wa);
+ Fo(t), Oo(), e !== null && he(Ua);
break;
- case 24: va(Aa);
+ case 24: _a(ka);
}
}
- function wl(e, t) {
+ function Cl(e, t) {
try {
var n = t.updateQueue, r = n === null ? null : n.lastEffect;
if (r !== null) {
@@ -19363,10 +19414,10 @@ var lte = /* @__PURE__ */ _(((e) => {
} while (n !== i);
}
} catch (e) {
- Cf(t, t.return, e);
+ Sf(t, t.return, e);
}
}
- function Tl(e, t, n) {
+ function wl(e, t, n) {
try {
var r = t.updateQueue, i = r === null ? null : r.lastEffect;
if (i !== null) {
@@ -19381,7 +19432,7 @@ var lte = /* @__PURE__ */ _(((e) => {
try {
l();
} catch (e) {
- Cf(i, c, e);
+ Sf(i, c, e);
}
}
}
@@ -19389,29 +19440,29 @@ var lte = /* @__PURE__ */ _(((e) => {
} while (r !== a);
}
} catch (e) {
- Cf(t, t.return, e);
+ Sf(t, t.return, e);
}
}
- function El(e) {
+ function Tl(e) {
var t = e.updateQueue;
if (t !== null) {
var n = e.stateNode;
try {
- wo(t, n);
+ Co(t, n);
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
}
}
- function Dl(e, t, n) {
- n.props = wc(e.type, e.memoizedProps), n.state = e.memoizedState;
+ function El(e, t, n) {
+ n.props = Cc(e.type, e.memoizedProps), n.state = e.memoizedState;
try {
n.componentWillUnmount();
} catch (n) {
- Cf(e, t, n);
+ Sf(e, t, n);
}
}
- function Ol(e, t) {
+ function Dl(e, t) {
try {
var n = e.ref;
if (n !== null) {
@@ -19422,7 +19473,7 @@ var lte = /* @__PURE__ */ _(((e) => {
var r = e.stateNode;
break;
case 30:
- var i = e.stateNode, a = hi(e.memoizedProps, i);
+ var i = e.stateNode, a = mi(e.memoizedProps, i);
(i.ref === null || i.ref.name !== a) && (i.ref = Wp(a)), r = i.ref;
break;
case 7:
@@ -19437,43 +19488,43 @@ var lte = /* @__PURE__ */ _(((e) => {
typeof n == "function" ? e.refCleanup = n(r) : n.current = r;
}
} catch (n) {
- Cf(e, t, n);
+ Sf(e, t, n);
}
}
- function kl(e, t) {
+ function Ol(e, t) {
var n = e.ref, r = e.refCleanup;
if (n !== null) {
if (typeof r == "function") try {
r();
} catch (n) {
- Cf(e, t, n);
+ Sf(e, t, n);
} finally {
e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);
}
else if (typeof n == "function") try {
n(null);
} catch (n) {
- Cf(e, t, n);
+ Sf(e, t, n);
}
else n.current = null;
}
}
- function Al(e, t) {
+ function kl(e, t) {
if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) um(e.stateNode, t[n]);
}
+ function Al(e) {
+ for (var t = e.return; t !== null && (Nl(t) && um(e.stateNode, t.stateNode), !Ml(t));) t = t.return;
+ }
function jl(e) {
- for (var t = e.return; t !== null && (Pl(t) && um(e.stateNode, t.stateNode), !Nl(t));) t = t.return;
+ for (var t = e.return; t !== null && (Nl(t) && dm(e.stateNode, t.stateNode), !Ml(t));) t = t.return;
}
function Ml(e) {
- for (var t = e.return; t !== null && (Pl(t) && dm(e.stateNode, t.stateNode), !Nl(t));) t = t.return;
- }
- function Nl(e) {
return e.tag === 5 || e.tag === 3 || e.tag === 27;
}
- function Pl(e) {
+ function Nl(e) {
return e && e.tag === 7 && e.stateNode !== null;
}
- function Fl(e) {
+ function Pl(e) {
var t = e.type, n = e.memoizedProps, r = e.stateNode;
try {
a: switch (t) {
@@ -19486,24 +19537,24 @@ var lte = /* @__PURE__ */ _(((e) => {
case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);
}
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
}
- function Il(e, t, n) {
+ function Fl(e, t, n) {
try {
var r = e.stateNode;
- mp(r, e.type, n, t), r[xt] = t;
+ mp(r, e.type, n, t), r[bt] = t;
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
}
- function Ll(e) {
+ function Il(e) {
return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Mp(e.type) || e.tag === 4;
}
- function Rl(e) {
+ function Ll(e) {
a: for (;;) {
for (; e.sibling === null;) {
- if (e.return === null || Ll(e.return)) return null;
+ if (e.return === null || Il(e.return)) return null;
e = e.return;
}
for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {
@@ -19513,39 +19564,39 @@ var lte = /* @__PURE__ */ _(((e) => {
if (!(e.flags & 2)) return e.stateNode;
}
}
- function zl(e, t, n, r) {
+ function Rl(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = _n)), Al(e, r), Wt = !0;
- else if (i !== 4 && (i === 27 && (Al(e, r), r = null, Mp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (zl(e, t, n, r), e = e.sibling; e !== null;) zl(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = gn)), kl(e, r), Ut = !0;
+ else if (i !== 4 && (i === 27 && (kl(e, r), r = null, Mp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;
}
- function Bl(e, t, n, r) {
+ function zl(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Al(e, r), Wt = !0;
- else if (i !== 4 && (i === 27 && (Al(e, r), r = null, Mp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Bl(e, t, n, r), e = e.sibling; e !== null;) Bl(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), kl(e, r), Ut = !0;
+ else if (i !== 4 && (i === 27 && (kl(e, r), r = null, Mp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (zl(e, t, n, r), e = e.sibling; e !== null;) zl(e, t, n, r), e = e.sibling;
}
- function Vl(e) {
+ function Bl(e) {
var t = e.stateNode, n = e.memoizedProps;
try {
for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);
- fp(t, r, n), t[bt] = e, t[xt] = n;
+ fp(t, r, n), t[yt] = e, t[bt] = n;
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
}
- var Hl = !1, Ul = null;
- function Wl(e) {
- (e.tag === 30 || e.subtreeFlags & 33554432) && (Hl = !0);
+ var Vl = !1, Hl = null;
+ function Ul(e) {
+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Vl = !0);
}
- var Gl = null;
- function Kl() {
- var e = Gl;
- return Gl = null, e;
+ var Wl = null;
+ function Gl() {
+ var e = Wl;
+ return Wl = null, e;
}
- var ql = 0;
- function Jl(e, t, n, r, i) {
- return ql = 0, Yl(e.child, t, n, r, i);
+ var Kl = 0;
+ function ql(e, t, n, r, i) {
+ return Kl = 0, Jl(e.child, t, n, r, i);
}
- function Yl(e, t, n, r, i) {
+ function Jl(e, t, n, r, i) {
for (var a = !1; e !== null;) {
if (e.tag === 5) {
var o = e.stateNode;
@@ -19553,36 +19604,36 @@ var lte = /* @__PURE__ */ _(((e) => {
var s = Rp(o);
r.push(s), s.view && (a = !0);
} else a || Rp(o).view && (a = !0);
- Hl = !0, Fp(o, ql === 0 ? t : t + "_" + ql, n), ql++;
- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Yl(e.child, t, n, r, i) && (a = !0));
+ Vl = !0, Fp(o, Kl === 0 ? t : t + "_" + Kl, n), Kl++;
+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Jl(e.child, t, n, r, i) && (a = !0));
e = e.sibling;
}
return a;
}
- function Xl(e, t) {
- for (; e !== null;) e.tag === 5 ? Ip(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Xl(e.child, t)), e = e.sibling;
+ function Yl(e, t) {
+ for (; e !== null;) e.tag === 5 ? Ip(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Yl(e.child, t)), e = e.sibling;
}
- function Zl(e) {
+ function Xl(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
- if ((e.tag !== 22 || e.memoizedState === null) && (Zl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
+ if ((e.tag !== 22 || e.memoizedState === null) && (Xl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
var t = e.memoizedProps;
if (t.name == null || t.name === "auto") throw Error(i(544));
var n = t.name;
- t = _i(t.default, t.share), t !== "none" && (Jl(e, n, t, null, !1) || Xl(e.child, !1));
+ t = gi(t.default, t.share), t !== "none" && (ql(e, n, t, null, !1) || Yl(e.child, !1));
}
e = e.sibling;
}
}
- function Ql(e, t) {
+ function Zl(e, t) {
if (e.tag === 30) {
- var n = e.stateNode, r = e.memoizedProps, i = hi(r, n), a = _i(r.default, n.paired ? r.share : r.enter);
- a === "none" ? Zl(e) : Jl(e, i, a, null, !1) ? (Zl(e), n.paired || t || Hd(e, r.onEnter)) : Xl(e.child, !1);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e, t), e = e.sibling;
- else Zl(e);
- }
- function $l(e) {
- if (Ul !== null && Ul.size !== 0) {
- var t = Ul;
+ var n = e.stateNode, r = e.memoizedProps, i = mi(r, n), a = gi(r.default, n.paired ? r.share : r.enter);
+ a === "none" ? Xl(e) : ql(e, i, a, null, !1) ? (Xl(e), n.paired || t || Vd(e, r.onEnter)) : Yl(e.child, !1);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e, t), e = e.sibling;
+ else Xl(e);
+ }
+ function Ql(e) {
+ if (Hl !== null && Hl.size !== 0) {
+ var t = Hl;
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
@@ -19590,59 +19641,59 @@ var lte = /* @__PURE__ */ _(((e) => {
if (r != null && r !== "auto") {
var i = t.get(r);
if (i !== void 0) {
- var a = _i(n.default, n.share);
- if (a !== "none" && (Jl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Hd(e, n.onShare)) : Xl(e.child, !1)), t.delete(r), t.size === 0) break;
+ var a = gi(n.default, n.share);
+ if (a !== "none" && (ql(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Vd(e, n.onShare)) : Yl(e.child, !1)), t.delete(r), t.size === 0) break;
}
}
}
- $l(e);
+ Ql(e);
}
e = e.sibling;
}
}
}
- function eu(e) {
+ function $l(e) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = hi(t, e.stateNode), r = Ul === null ? void 0 : Ul.get(n), i = _i(t.default, r === void 0 ? t.exit : t.share);
- i !== "none" && (Jl(e, n, i, null, !1) ? r === void 0 ? Hd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Ul.delete(n), Hd(e, t.onShare)) : Xl(e.child, !1)), Ul !== null && $l(e);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) eu(e), e = e.sibling;
- else Ul !== null && $l(e);
+ var t = e.memoizedProps, n = mi(t, e.stateNode), r = Hl === null ? void 0 : Hl.get(n), i = gi(t.default, r === void 0 ? t.exit : t.share);
+ i !== "none" && (ql(e, n, i, null, !1) ? r === void 0 ? Vd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Hl.delete(n), Vd(e, t.onShare)) : Yl(e.child, !1)), Hl !== null && Ql(e);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) $l(e), e = e.sibling;
+ else Hl !== null && Ql(e);
}
- function tu(e) {
+ function eu(e) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = hi(t, e.stateNode);
- t = _i(t.default, t.update), e.flags &= -5, t !== "none" && Jl(e, n, t, e.memoizedState = [], !1);
- } else e.subtreeFlags & 33554432 && tu(e);
+ var t = e.memoizedProps, n = mi(t, e.stateNode);
+ t = gi(t.default, t.update), e.flags &= -5, t !== "none" && ql(e, n, t, e.memoizedState = [], !1);
+ } else e.subtreeFlags & 33554432 && eu(e);
e = e.sibling;
}
}
- function nu(e) {
+ function tu(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
var t = e.stateNode;
- t.paired !== null && (t.paired = null, Xl(e.child, !1));
+ t.paired !== null && (t.paired = null, Yl(e.child, !1));
}
- nu(e);
+ tu(e);
}
e = e.sibling;
}
}
- function ru(e) {
- if (e.tag === 30) e.stateNode.paired = null, Xl(e.child, !1), nu(e);
- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) ru(e), e = e.sibling;
- else nu(e);
+ function nu(e) {
+ if (e.tag === 30) e.stateNode.paired = null, Yl(e.child, !1), tu(e);
+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) nu(e), e = e.sibling;
+ else tu(e);
}
- function iu(e) {
- for (e = e.child; e !== null;) e.tag === 30 ? Xl(e.child, !1) : e.subtreeFlags & 33554432 && iu(e), e = e.sibling;
+ function ru(e) {
+ for (e = e.child; e !== null;) e.tag === 30 ? Yl(e.child, !1) : e.subtreeFlags & 33554432 && ru(e), e = e.sibling;
}
- function au(e, t, n, r, i, a, o) {
+ function iu(e, t, n, r, i, a, o) {
for (var s = !1; t !== null;) {
if (t.tag === 5) {
var c = t.stateNode;
- if (a !== null && ql < a.length) {
- var l = a[ql], u = Rp(c);
+ if (a !== null && Kl < a.length) {
+ var l = a[Kl], u = Rp(c);
(l.view || u.view) && (s = !0);
var d;
if (d = !(e.flags & 4)) {
@@ -19655,30 +19706,30 @@ var lte = /* @__PURE__ */ _(((e) => {
}
d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);
} else e.flags |= 32;
- e.flags & 4 && Fp(c, ql === 0 ? n : n + "_" + ql, i), s && e.flags & 4 || (Gl === null && (Gl = []), Gl.push(c, ql === 0 ? r : r + "_" + ql, t.memoizedProps)), ql++;
- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : au(e, t.child, n, r, i, a, o) && (s = !0));
+ e.flags & 4 && Fp(c, Kl === 0 ? n : n + "_" + Kl, i), s && e.flags & 4 || (Wl === null && (Wl = []), Wl.push(c, Kl === 0 ? r : r + "_" + Kl, t.memoizedProps)), Kl++;
+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : iu(e, t.child, n, r, i, a, o) && (s = !0));
t = t.sibling;
}
return s;
}
- function ou(e, t) {
+ function au(e, t) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
- var n = e.memoizedProps, r = e.stateNode, i = hi(n, r), a = _i(n.default, n.update);
+ var n = e.memoizedProps, r = e.stateNode, i = mi(n, r), a = gi(n.default, n.update);
if (t) {
r = r.clones;
var o = r === null ? null : r.map(zp);
} else o = e.memoizedState, e.memoizedState = null;
r = e;
var s = e.child;
- ql = 0, i = au(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Hd(e, n.onUpdate));
- } else e.subtreeFlags & 33554432 && ou(e, t);
+ Kl = 0, i = iu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Vd(e, n.onUpdate));
+ } else e.subtreeFlags & 33554432 && au(e, t);
e = e.sibling;
}
}
- var su = !1, cu = !1, lu = !1, uu = !1, du = typeof WeakSet == "function" ? WeakSet : Set, fu = null, pu = !1, mu = !1, hu = !1, gu = !1;
- function _u(e, t, n) {
- if (e = e.containerInfo, _p = Eh, e = Gr(e), Kr(e)) {
+ var ou = !1, su = !1, cu = !1, lu = !1, uu = typeof WeakSet == "function" ? WeakSet : Set, du = null, fu = !1, pu = !1, mu = !1, hu = !1;
+ function gu(e, t, n) {
+ if (e = e.containerInfo, _p = Eh, e = Wr(e), Gr(e)) {
if ("selectionStart" in e) var r = {
start: e.selectionStart,
end: e.selectionEnd
@@ -19720,28 +19771,28 @@ var lte = /* @__PURE__ */ _(((e) => {
for (vp = {
focusedElem: e,
selectionRange: r
- }, Eh = !1, n = (n & 335544064) === n, fu = t, t = n ? 9270 : 1024; fu !== null;) {
- if (e = fu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && eu(r[a]);
- if (e.alternate === null && e.flags & 2) n && Wl(e), vu(n);
+ }, Eh = !1, n = (n & 335544064) === n, du = t, t = n ? 9270 : 1024; du !== null;) {
+ if (e = du, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && $l(r[a]);
+ if (e.alternate === null && e.flags & 2) n && Ul(e), _u(n);
else {
if (e.tag === 22) {
if (r = e.alternate, e.memoizedState !== null) {
- r !== null && r.memoizedState === null && n && eu(r), vu(n);
+ r !== null && r.memoizedState === null && n && $l(r), _u(n);
continue;
}
if (r !== null && r.memoizedState !== null) {
- n && Wl(e), vu(n);
+ n && Ul(e), _u(n);
continue;
}
}
- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, fu = r) : (n && tu(e), vu(n));
+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, du = r) : (n && eu(e), _u(n));
}
}
- Ul = null;
+ Hl = null;
}
- function vu(e) {
- for (; fu !== null;) {
- var t = fu, n = e, r = t.alternate, a = t.flags;
+ function _u(e) {
+ for (; du !== null;) {
+ var t = du, n = e, r = t.alternate, a = t.flags;
switch (t.tag) {
case 0:
case 11:
@@ -19751,10 +19802,10 @@ var lte = /* @__PURE__ */ _(((e) => {
n = void 0, a = r.memoizedProps, r = r.memoizedState;
var o = t.stateNode;
try {
- var s = wc(t.type, a);
+ var s = Cc(t.type, a);
n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;
} catch (e) {
- Cf(t, t.return, e);
+ Sf(t, t.return, e);
}
}
break;
@@ -19778,46 +19829,46 @@ var lte = /* @__PURE__ */ _(((e) => {
case 4:
case 17: break;
case 30:
- n && r !== null && (n = hi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = _i(a.default, a.update), a !== "none" && Jl(r, n, a, r.memoizedState = [], !0));
+ n && r !== null && (n = mi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = gi(a.default, a.update), a !== "none" && ql(r, n, a, r.memoizedState = [], !0));
break;
default: if (a & 1024) throw Error(i(163));
}
if (r = t.sibling, r !== null) {
- r.return = t.return, fu = r;
+ r.return = t.return, du = r;
break;
}
- fu = t.return;
+ du = t.return;
}
}
- function yu(e, t, n) {
+ function vu(e, t, n) {
var r = n.flags;
switch (n.tag) {
case 0:
case 11:
case 15:
- zu(e, n), r & 4 && wl(5, n);
+ Ru(e, n), r & 4 && Cl(5, n);
break;
case 1:
- if (zu(e, n), r & 4) {
+ if (Ru(e, n), r & 4) {
if (e = n.stateNode, t === null) try {
e.componentDidMount();
} catch (e) {
- Cf(n, n.return, e);
+ Sf(n, n.return, e);
}
else {
- var i = wc(n.type, t.memoizedProps);
+ var i = Cc(n.type, t.memoizedProps);
t = t.memoizedState;
try {
e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);
} catch (e) {
- Cf(n, n.return, e);
+ Sf(n, n.return, e);
}
}
}
- r & 64 && El(n), r & 512 && Ol(n, n.return);
+ r & 64 && Tl(n), r & 512 && Dl(n, n.return);
break;
case 3:
- if (zu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
+ if (Ru(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
if (t = null, n.child !== null) switch (n.child.tag) {
case 27:
case 5:
@@ -19826,43 +19877,43 @@ var lte = /* @__PURE__ */ _(((e) => {
case 1: t = n.child.stateNode;
}
try {
- wo(e, t);
+ Co(e, t);
} catch (e) {
- Cf(n, n.return, e);
+ Sf(n, n.return, e);
}
}
break;
- case 27: t === null && r & 4 && Vl(n);
+ case 27: t === null && r & 4 && Bl(n);
case 26:
case 5:
- zu(e, n), t === null && r & 4 && Fl(n), r & 512 && Ol(n, n.return);
+ Ru(e, n), t === null && r & 4 && Pl(n), r & 512 && Dl(n, n.return);
break;
case 12:
- zu(e, n);
+ Ru(e, n);
break;
case 31:
- zu(e, n), r & 4 && Ou(e, n);
+ Ru(e, n), r & 4 && Du(e, n);
break;
case 13:
- zu(e, n), r & 4 && ku(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Df.bind(null, n), vm(e, n))));
+ Ru(e, n), r & 4 && Ou(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Ef.bind(null, n), vm(e, n))));
break;
case 22:
- if (r = n.memoizedState !== null || su, !r) {
- var a = t !== null && t.memoizedState !== null || cu;
- t = su, i = cu, su = r, (cu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Vu(e, n, r)) : zu(e, n), su = t, cu = i;
+ if (r = n.memoizedState !== null || ou, !r) {
+ var a = t !== null && t.memoizedState !== null || su;
+ t = ou, i = su, ou = r, (su = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Bu(e, n, r)) : Ru(e, n), ou = t, su = i;
}
break;
case 30:
- zu(e, n), r & 512 && Ol(n, n.return);
+ Ru(e, n), r & 512 && Dl(n, n.return);
break;
- case 7: r & 512 && Ol(n, n.return);
- default: zu(e, n);
+ case 7: r & 512 && Dl(n, n.return);
+ default: Ru(e, n);
}
}
- function bu(e, t) {
- for (e = e.child; e !== null;) xu(e, t), e = e.sibling;
+ function yu(e, t) {
+ for (e = e.child; e !== null;) bu(e, t), e = e.sibling;
}
- function xu(e, t) {
+ function bu(e, t) {
switch (e.tag) {
case 5:
case 26:
@@ -19876,15 +19927,15 @@ var lte = /* @__PURE__ */ _(((e) => {
i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();
}
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
- Su(e, t);
+ xu(e, t);
break;
case 6:
try {
- e.stateNode.nodeValue = t ? "" : e.memoizedProps, Wt = !0;
+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, Ut = !0;
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
break;
case 18:
@@ -19892,138 +19943,138 @@ var lte = /* @__PURE__ */ _(((e) => {
var s = e.stateNode;
t ? Pp(s, !0) : Pp(e.stateNode, !1);
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
break;
case 22:
case 23:
- e.memoizedState === null && bu(e, t);
+ e.memoizedState === null && yu(e, t);
break;
- default: bu(e, t);
+ default: yu(e, t);
}
}
- function Su(e, t) {
+ function xu(e, t) {
if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {
a: {
var n = e, r = t;
switch (n.tag) {
case 4:
- xu(n, r);
+ bu(n, r);
break a;
case 22:
- n.memoizedState === null && Su(n, r);
+ n.memoizedState === null && xu(n, r);
break a;
- default: Su(n, r);
+ default: xu(n, r);
}
}
e = e.sibling;
}
}
- function Cu(e) {
+ function Su(e) {
var t = e.alternate;
- t !== null && (e.alternate = null, Cu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && kt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
+ t !== null && (e.alternate = null, Su(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Ot(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
}
- var wu = null, Tu = !1;
- function Eu(e, t, n) {
- for (n = n.child; n !== null;) Du(e, t, n), n = n.sibling;
+ var Cu = null, wu = !1;
+ function Tu(e, t, n) {
+ for (n = n.child; n !== null;) Eu(e, t, n), n = n.sibling;
}
- function Du(e, t, n) {
- if (Je && typeof Je.onCommitFiberUnmount == "function") try {
- Je.onCommitFiberUnmount(qe, n);
+ function Eu(e, t, n) {
+ if (qe && typeof qe.onCommitFiberUnmount == "function") try {
+ qe.onCommitFiberUnmount(Ke, n);
} catch {}
switch (n.tag) {
case 26:
- cu || kl(n, t), Eu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !cu && (n = n.stateNode, n.parentNode.removeChild(n));
+ su || Ol(n, t), Tu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !su && (n = n.stateNode, n.parentNode.removeChild(n));
break;
case 27:
- cu || kl(n, t), Ml(n);
- var r = wu, i = Tu;
- Mp(n.type) && (wu = n.stateNode, Tu = !1), Eu(e, t, n), Tm(n.stateNode, n.type, n.memoizedProps), wu = r, Tu = i;
+ su || Ol(n, t), jl(n);
+ var r = Cu, i = wu;
+ Mp(n.type) && (Cu = n.stateNode, wu = !1), Tu(e, t, n), Em(n.stateNode, n.type, n.memoizedProps), Cu = r, wu = i;
break;
- case 5: cu || kl(n, t), Ml(n);
+ case 5: su || Ol(n, t), jl(n);
case 6:
- if (n.tag === 6 && Ml(n), r = wu, i = Tu, wu = null, Eu(e, t, n), wu = r, Tu = i, wu !== null) {
- if (Tu) try {
- (wu.nodeType === 9 ? wu.body : wu.nodeName === "HTML" ? wu.ownerDocument.body : wu).removeChild(n.stateNode), Wt = !0;
+ if (n.tag === 6 && jl(n), r = Cu, i = wu, Cu = null, Tu(e, t, n), Cu = r, wu = i, Cu !== null) {
+ if (wu) try {
+ (Cu.nodeType === 9 ? Cu.body : Cu.nodeName === "HTML" ? Cu.ownerDocument.body : Cu).removeChild(n.stateNode), Ut = !0;
} catch (e) {
- Cf(n, t, e);
+ Sf(n, t, e);
}
else try {
- wu.removeChild(n.stateNode), Wt = !0;
+ Cu.removeChild(n.stateNode), Ut = !0;
} catch (e) {
- Cf(n, t, e);
+ Sf(n, t, e);
}
}
break;
case 18:
- wu !== null && (Tu ? (e = wu, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Qh(e)) : Np(wu, n.stateNode));
+ Cu !== null && (wu ? (e = Cu, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Qh(e)) : Np(Cu, n.stateNode));
break;
case 4:
- r = wu, i = Tu, wu = n.stateNode.containerInfo, Tu = !0, Eu(e, t, n), wu = r, Tu = i;
+ r = Cu, i = wu, Cu = n.stateNode.containerInfo, wu = !0, Tu(e, t, n), Cu = r, wu = i;
break;
case 0:
case 11:
case 14:
case 15:
- Tl(2, n, t), cu || Tl(4, n, t), Eu(e, t, n);
+ wl(2, n, t), su || wl(4, n, t), Tu(e, t, n);
break;
case 1:
- cu || (kl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Dl(n, t, r)), Eu(e, t, n);
+ su || (Ol(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && El(n, t, r)), Tu(e, t, n);
break;
case 21:
- Eu(e, t, n);
+ Tu(e, t, n);
break;
case 22:
- cu = (r = cu) || n.memoizedState !== null, Eu(e, t, n), cu = r;
+ su = (r = su) || n.memoizedState !== null, Tu(e, t, n), su = r;
break;
case 30:
- kl(n, t), Eu(e, t, n);
+ Ol(n, t), Tu(e, t, n);
break;
case 7:
- cu || kl(n, t), Eu(e, t, n);
+ su || Ol(n, t), Tu(e, t, n);
break;
- default: Eu(e, t, n);
+ default: Tu(e, t, n);
}
}
- function Ou(e, t) {
+ function Du(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {
e = e.dehydrated;
try {
Qh(e);
} catch (e) {
- Cf(t, t.return, e);
+ Sf(t, t.return, e);
}
}
}
- function ku(e, t) {
+ function Ou(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {
Qh(e);
} catch (e) {
- Cf(t, t.return, e);
+ Sf(t, t.return, e);
}
}
- function Au(e) {
+ function ku(e) {
switch (e.tag) {
case 31:
case 13:
case 19:
var t = e.stateNode;
- return t === null && (t = e.stateNode = new du()), t;
- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new du()), t;
+ return t === null && (t = e.stateNode = new uu()), t;
+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new uu()), t;
default: throw Error(i(435, e.tag));
}
}
- function ju(e, t) {
- var n = Au(e);
+ function Au(e, t) {
+ var n = ku(e);
t.forEach(function(t) {
if (!n.has(t)) {
n.add(t);
- var r = Of.bind(null, e, t);
+ var r = Df.bind(null, e, t);
t.then(r, r);
}
});
}
- function Mu(e, t, n) {
+ function ju(e, t, n) {
var r = t.deletions;
if (r !== null) for (var a = 0; a < r.length; a++) {
var o = r[a], s = e, c = t, l = c;
@@ -20031,27 +20082,27 @@ var lte = /* @__PURE__ */ _(((e) => {
switch (l.tag) {
case 27:
if (Mp(l.type)) {
- wu = l.stateNode, Tu = !1;
+ Cu = l.stateNode, wu = !1;
break a;
}
break;
case 5:
- wu = l.stateNode, Tu = !1;
+ Cu = l.stateNode, wu = !1;
break a;
case 3:
case 4:
- wu = l.stateNode.containerInfo, Tu = !0;
+ Cu = l.stateNode.containerInfo, wu = !0;
break a;
}
l = l.return;
}
- if (wu === null) throw Error(i(160));
- Du(s, c, o), wu = null, Tu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
+ if (Cu === null) throw Error(i(160));
+ Eu(s, c, o), Cu = null, wu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
}
- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Pu(t, e, n), t = t.sibling;
+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Nu(t, e, n), t = t.sibling;
}
- var Nu = null;
- function Pu(e, t, n) {
+ var Mu = null;
+ function Nu(e, t, n) {
var r = e.alternate, a = e.flags;
switch (e.tag) {
case 0:
@@ -20062,23 +20113,23 @@ var lte = /* @__PURE__ */ _(((e) => {
var s = r[o];
s.ref.impl = s.nextImpl;
}
- Mu(t, e, n), Fu(e), a & 4 && (Tl(3, e, e.return), wl(3, e), Tl(5, e, e.return));
+ ju(t, e, n), Pu(e), a & 4 && (wl(3, e, e.return), Cl(3, e), wl(5, e, e.return));
break;
case 1:
- Mu(t, e, n), Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), a & 64 && su && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
+ ju(t, e, n), Pu(e), a & 512 && (su || r === null || Ol(r, r.return)), a & 64 && ou && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
break;
case 26:
- if (o = Nu, Mu(t, e, n), Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), a & 4) {
+ if (o = Mu, ju(t, e, n), Pu(e), a & 512 && (su || r === null || Ol(r, r.return)), a & 4) {
if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {
if (n === null) {
if (e.stateNode === null) {
- if (su) e.stateNode = Sp(e.type, e.memoizedProps, t.containerInfo, e);
+ if (ou) e.stateNode = Sp(e.type, e.memoizedProps, t.containerInfo, e);
else {
a: {
t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;
b: switch (t) {
case "title":
- r = a.getElementsByTagName("title")[0], (!r || r[Dt] || r[bt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), fp(r, t, n), r[bt] = e, Pt(r), t = r;
+ r = a.getElementsByTagName("title")[0], (!r || r[Et] || r[yt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), fp(r, t, n), r[yt] = e, Nt(r), t = r;
break a;
case "link":
if (o = th("link", "href", a).get(t + (n.href || ""))) {
@@ -20100,82 +20151,82 @@ var lte = /* @__PURE__ */ _(((e) => {
break;
default: throw Error(i(468, t));
}
- r[bt] = e, Pt(r), t = r;
+ r[yt] = e, Nt(r), t = r;
}
e.stateNode = t;
}
- } else su || nh(o, e.type, e.stateNode);
- } else e.stateNode = Xm(o, n, e.memoizedProps);
- } else a === n ? n === null && e.stateNode !== null && Il(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || cu || t.parentNode.removeChild(t)) : a.count--, n === null ? su || nh(o, e.type, e.stateNode) : Xm(o, n, e.memoizedProps));
+ } else ou || nh(o, e.type, e.stateNode);
+ } else e.stateNode = Ym(o, n, e.memoizedProps);
+ } else a === n ? n === null && e.stateNode !== null && Fl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || su || t.parentNode.removeChild(t)) : a.count--, n === null ? ou || nh(o, e.type, e.stateNode) : Ym(o, n, e.memoizedProps));
}
break;
case 27:
- Mu(t, e, n), Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), r !== null && a & 4 && Il(e, e.memoizedProps, r.memoizedProps);
+ ju(t, e, n), Pu(e), a & 512 && (su || r === null || Ol(r, r.return)), r !== null && a & 4 && Fl(e, e.memoizedProps, r.memoizedProps);
break;
case 5:
- if (o = lu, lu = !1, Mu(t, e, n), lu = o, Fu(e), a & 512 && (cu || r === null || kl(r, r.return)), e.flags & 32) {
+ if (o = cu, cu = !1, ju(t, e, n), cu = o, Pu(e), a & 512 && (su || r === null || Ol(r, r.return)), e.flags & 32) {
t = e.stateNode;
try {
- ln(t, ""), Wt = !0;
+ cn(t, ""), Ut = !0;
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
}
- a & 4 && e.stateNode != null && (t = e.memoizedProps, Il(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (uu = !0);
+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Fl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (lu = !0);
break;
case 6:
- if (Mu(t, e, n), Fu(e), a & 4) {
+ if (ju(t, e, n), Pu(e), a & 4) {
if (e.stateNode === null) throw Error(i(162));
t = e.memoizedProps, n = e.stateNode;
try {
- n.nodeValue = t, Wt = !0;
+ n.nodeValue = t, Ut = !0;
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
}
break;
case 3:
- if (Wt = !1, eh = null, o = Nu, Nu = km(t.containerInfo), Mu(t, e, n), Nu = o, Fu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
+ if (Ut = !1, eh = null, o = Mu, Mu = km(t.containerInfo), ju(t, e, n), Mu = o, Pu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
Qh(t.containerInfo);
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
- uu && (uu = !1, Iu(e)), Wt = !1;
+ lu && (lu = !1, Fu(e)), Ut = !1;
break;
case 4:
- a = lu, lu = su, r = Gt(), o = Nu, Nu = km(e.stateNode.containerInfo), Mu(t, e, n), Fu(e), Nu = o, Wt && mu && (hu = !0), Wt = r, lu = a;
+ a = cu, cu = ou, r = Wt(), o = Mu, Mu = km(e.stateNode.containerInfo), ju(t, e, n), Pu(e), Mu = o, Ut && pu && (mu = !0), Ut = r, cu = a;
break;
case 12:
- Mu(t, e, n), Fu(e);
+ ju(t, e, n), Pu(e);
break;
case 31:
- Mu(t, e, n), Fu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ju(e, t)));
+ ju(t, e, n), Pu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));
break;
case 13:
- Mu(t, e, n), Fu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (Cd = Re()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ju(e, t)));
+ ju(t, e, n), Pu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (Sd = Le()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));
break;
case 22:
o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;
- var c = su, l = cu, u = lu;
- su = c || o, lu = u || o, cu = l || s, Mu(t, e, n), cu = l, lu = u, su = c, Fu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || su || cu || (t = s || cu, n = su, r = cu, su = o || su, cu = t, Bu(e, 2), su = n, cu = r), !o && lu || bu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, ju(e, n))));
+ var c = ou, l = su, u = cu;
+ ou = c || o, cu = u || o, su = l || s, ju(t, e, n), su = l, cu = u, ou = c, Pu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || ou || su || (t = s || su, n = ou, r = su, ou = o || ou, su = t, zu(e, 2), ou = n, su = r), !o && cu || yu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Au(e, n))));
break;
case 19:
- Mu(t, e, n), Fu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ju(e, t)));
+ ju(t, e, n), Pu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Au(e, t)));
break;
case 30:
- a & 512 && (cu || r === null || kl(r, r.return)), a = Gt(), o = mu, s = (n & 335544064) === n, c = e.memoizedProps, mu = s && _i(c.default, c.update) !== "none", Mu(t, e, n), Fu(e), s && r !== null && Wt && (e.flags |= 4), mu = o, Wt = a;
+ a & 512 && (su || r === null || Ol(r, r.return)), a = Wt(), o = pu, s = (n & 335544064) === n, c = e.memoizedProps, pu = s && gi(c.default, c.update) !== "none", ju(t, e, n), Pu(e), s && r !== null && Ut && (e.flags |= 4), pu = o, Ut = a;
break;
case 21: break;
- case 7: a & 512 && (cu || r === null || kl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
- default: Mu(t, e, n), Fu(e);
+ case 7: a & 512 && (su || r === null || Ol(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
+ default: ju(t, e, n), Pu(e);
}
}
- function Fu(e) {
+ function Pu(e) {
var t = e.flags;
if (t & 2) {
try {
for (var n, r = e.return; r !== null;) {
- if (Ll(r)) {
+ if (Il(r)) {
n = r;
break;
}
@@ -20183,11 +20234,11 @@ var lte = /* @__PURE__ */ _(((e) => {
}
r = null;
for (var a = e.return; a !== null;) {
- if (Pl(a)) {
+ if (Nl(a)) {
var o = a.stateNode;
r === null ? r = [o] : r.push(o);
}
- if (Nl(a)) break;
+ if (Ml(a)) break;
a = a.return;
}
var s = r;
@@ -20195,43 +20246,43 @@ var lte = /* @__PURE__ */ _(((e) => {
switch (n.tag) {
case 27:
var c = n.stateNode;
- Bl(e, Rl(e), c, s);
+ zl(e, Ll(e), c, s);
break;
case 5:
var l = n.stateNode;
- n.flags & 32 && (ln(l, ""), n.flags &= -33), Bl(e, Rl(e), l, s);
+ n.flags & 32 && (cn(l, ""), n.flags &= -33), zl(e, Ll(e), l, s);
break;
case 3:
case 4:
var u = n.stateNode.containerInfo;
- zl(e, Rl(e), u, s);
+ Rl(e, Ll(e), u, s);
break;
default: throw Error(i(161));
}
} catch (t) {
- Cf(e, e.return, t);
+ Sf(e, e.return, t);
}
e.flags &= -3;
}
t & 4096 && (e.flags &= -4097);
}
- function Iu(e) {
+ function Fu(e) {
if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {
var t = e;
- Iu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Eh = !0, t.reset(), Eh = !1), e = e.sibling;
+ Fu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, Eh = !0, t.reset(), Eh = !1), e = e.sibling;
}
}
- function Lu(e, t) {
- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Ru(t, e), t = t.sibling;
- else ou(t, !1);
+ function Iu(e, t) {
+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Lu(t, e), t = t.sibling;
+ else au(t, !1);
}
- function Ru(e, t) {
+ function Lu(e, t) {
var n = e.alternate;
- if (n === null) Ql(e, !1);
+ if (n === null) Zl(e, !1);
else switch (e.tag) {
case 3:
- if (gu = pu = !1, Kl(), Lu(t, e), !pu && !hu) {
- if (e = Gl, e !== null) for (var r = 0; r < e.length; r += 3) {
+ if (hu = fu = !1, Gl(), Iu(t, e), !fu && !mu) {
+ if (e = Wl, e !== null) for (var r = 0; r < e.length; r += 3) {
n = e[r];
var i = e[r + 1];
Ip(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
@@ -20257,33 +20308,33 @@ var lte = /* @__PURE__ */ _(((e) => {
duration: 0,
fill: "forwards",
pseudoElement: "::view-transition"
- })), gu = !0;
+ })), hu = !0;
}
- Gl = null;
+ Wl = null;
break;
case 5:
- Lu(t, e);
+ Iu(t, e);
break;
case 4:
- r = pu, pu = !1, Lu(t, e), pu && (hu = !0), pu = r;
+ r = fu, fu = !1, Iu(t, e), fu && (mu = !0), fu = r;
break;
case 22:
- e.memoizedState === null && (n.memoizedState === null ? Lu(t, e) : Ql(e, !1));
+ e.memoizedState === null && (n.memoizedState === null ? Iu(t, e) : Zl(e, !1));
break;
case 30:
- r = pu, i = Kl(), pu = !1, Lu(t, e), pu && (e.flags |= 4);
+ r = fu, i = Gl(), fu = !1, Iu(t, e), fu && (e.flags |= 4);
var a = e.memoizedProps, o = e.stateNode;
- t = hi(a, o), o = hi(n.memoizedProps, o);
- var s = _i(a.default, a.update);
- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, ql = 0, t = au(e, n, t, o, s, a, !0), ql !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Hd(e, e.memoizedProps.onUpdate), Gl = i) : i !== null && (i.push.apply(i, Gl), Gl = i), pu = e.flags & 32 ? !0 : r;
+ t = mi(a, o), o = mi(n.memoizedProps, o);
+ var s = gi(a.default, a.update);
+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Kl = 0, t = iu(e, n, t, o, s, a, !0), Kl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Vd(e, e.memoizedProps.onUpdate), Wl = i) : i !== null && (i.push.apply(i, Wl), Wl = i), fu = e.flags & 32 ? !0 : r;
break;
- default: Lu(t, e);
+ default: Iu(t, e);
}
}
- function zu(e, t) {
- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) yu(e, t.alternate, t), t = t.sibling;
+ function Ru(e, t) {
+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) vu(e, t.alternate, t), t = t.sibling;
}
- function Bu(e, t) {
+ function zu(e, t) {
for (e = e.child; e !== null;) {
var n = e, r = t;
switch (n.tag) {
@@ -20291,218 +20342,218 @@ var lte = /* @__PURE__ */ _(((e) => {
case 11:
case 14:
case 15:
- Tl(4, n, n.return), Bu(n, r);
+ wl(4, n, n.return), zu(n, r);
break;
case 1:
- kl(n, n.return);
+ Ol(n, n.return);
var i = n.stateNode;
- typeof i.componentWillUnmount == "function" && Dl(n, n.return, i), Bu(n, r);
+ typeof i.componentWillUnmount == "function" && El(n, n.return, i), zu(n, r);
break;
- case 27: r & 2 && Tm(n.stateNode, n.type, n.memoizedProps);
+ case 27: r & 2 && Em(n.stateNode, n.type, n.memoizedProps);
case 5:
- kl(n, n.return), n.tag !== 5 && n.tag !== 27 || Ml(n), Bu(n, r);
+ Ol(n, n.return), n.tag !== 5 && n.tag !== 27 || jl(n), zu(n, r);
break;
case 6:
- Ml(n);
+ jl(n);
break;
case 26:
- kl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || cu || i.parentNode.removeChild(i), Bu(n, r);
+ Ol(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || su || i.parentNode.removeChild(i), zu(n, r);
break;
case 22:
- n.memoizedState === null && Bu(n, r);
+ n.memoizedState === null && zu(n, r);
break;
case 30:
- kl(n, n.return), Bu(n, r);
+ Ol(n, n.return), zu(n, r);
break;
- case 7: kl(n, n.return);
- default: Bu(n, r);
+ case 7: Ol(n, n.return);
+ default: zu(n, r);
}
e = e.sibling;
}
}
- function Vu(e, t, n) {
+ function Bu(e, t, n) {
for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {
var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);
switch (a.tag) {
case 0:
case 11:
case 15:
- Vu(i, a, n), wl(4, a);
+ Bu(i, a, n), Cl(4, a);
break;
case 1:
- if (Vu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
+ if (Bu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
i.componentDidMount();
} catch (e) {
- Cf(r, r.return, e);
+ Sf(r, r.return, e);
}
if (r = a, i = r.updateQueue, i !== null) {
var c = r.stateNode;
try {
var l = i.shared.hiddenCallbacks;
- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) Co(l[i], c);
+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) So(l[i], c);
} catch (e) {
- Cf(r, r.return, e);
+ Sf(r, r.return, e);
}
}
- s && o & 64 && El(a), Ol(a, a.return);
+ s && o & 64 && Tl(a), Dl(a, a.return);
break;
- case 27: n & 2 && Vl(a);
+ case 27: n & 2 && Bl(a);
case 5:
- a.tag !== 5 && a.tag !== 27 || jl(a), Vu(i, a, n), s && r === null && o & 4 && Fl(a), Ol(a, a.return);
+ a.tag !== 5 && a.tag !== 27 || Al(a), Bu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);
break;
case 6:
- jl(a);
+ Al(a);
break;
case 26:
- c = a.stateNode, a.memoizedState !== null || c === null || su || nh(km(c.ownerDocument), a.type, c), Vu(i, a, n), s && r === null && o & 4 && Fl(a), Ol(a, a.return);
+ c = a.stateNode, a.memoizedState !== null || c === null || ou || nh(km(c.ownerDocument), a.type, c), Bu(i, a, n), s && r === null && o & 4 && Pl(a), Dl(a, a.return);
break;
case 12:
- Vu(i, a, n);
+ Bu(i, a, n);
break;
case 31:
- Vu(i, a, n), s && o & 4 && Ou(i, a);
+ Bu(i, a, n), s && o & 4 && Du(i, a);
break;
case 13:
- Vu(i, a, n), s && o & 4 && ku(i, a);
+ Bu(i, a, n), s && o & 4 && Ou(i, a);
break;
case 22:
- a.memoizedState === null && Vu(i, a, n), Ol(a, a.return);
+ a.memoizedState === null && Bu(i, a, n), Dl(a, a.return);
break;
case 30:
- Vu(i, a, n), Ol(a, a.return);
+ Bu(i, a, n), Dl(a, a.return);
break;
- case 7: Ol(a, a.return);
- default: Vu(i, a, n);
+ case 7: Dl(a, a.return);
+ default: Bu(i, a, n);
}
t = t.sibling;
}
}
- function Hu(e, t) {
+ function Vu(e, t) {
var n = null;
- e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Ma(n));
+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && ja(n));
}
- function Uu(e, t) {
- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Ma(e));
+ function Hu(e, t) {
+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ja(e));
}
- function Wu(e, t, n, r) {
+ function Uu(e, t, n, r) {
var i = (n & 335544064) === n;
- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Gu(e, t, n, r), t = t.sibling;
- else i && iu(t);
+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Wu(e, t, n, r), t = t.sibling;
+ else i && ru(t);
}
- function Gu(e, t, n, r) {
+ function Wu(e, t, n, r) {
var i = (n & 335544064) === n;
- i && t.alternate === null && t.return !== null && t.return.alternate !== null && ru(t);
+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && nu(t);
var a = t.flags;
switch (t.tag) {
case 0:
case 11:
case 15:
- Wu(e, t, n, r), a & 2048 && wl(9, t);
+ Uu(e, t, n, r), a & 2048 && Cl(9, t);
break;
case 1:
- Wu(e, t, n, r);
+ Uu(e, t, n, r);
break;
case 3:
- Wu(e, t, n, r), i && gu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Ma(a)));
+ Uu(e, t, n, r), i && hu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && ja(a)));
break;
case 12:
if (a & 2048) {
- Wu(e, t, n, r), a = t.stateNode;
+ Uu(e, t, n, r), a = t.stateNode;
try {
var o = t.memoizedProps, s = o.id, c = o.onPostCommit;
typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);
} catch (e) {
- Cf(t, t.return, e);
+ Sf(t, t.return, e);
}
- } else Wu(e, t, n, r);
+ } else Uu(e, t, n, r);
break;
case 31:
- Wu(e, t, n, r);
+ Uu(e, t, n, r);
break;
case 13:
- Wu(e, t, n, r);
+ Uu(e, t, n, r);
break;
case 23: break;
case 22:
- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && ru(t), o._visibility & 2 ? Wu(e, t, n, r) : (o._visibility |= 2, Ku(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && ru(s), o._visibility & 2 ? Wu(e, t, n, r) : qu(e, t)), a & 2048 && Hu(s, t);
+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && nu(t), o._visibility & 2 ? Uu(e, t, n, r) : (o._visibility |= 2, Gu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && nu(s), o._visibility & 2 ? Uu(e, t, n, r) : Ku(e, t)), a & 2048 && Vu(s, t);
break;
case 24:
- Wu(e, t, n, r), a & 2048 && Uu(t.alternate, t);
+ Uu(e, t, n, r), a & 2048 && Hu(t.alternate, t);
break;
case 30:
- i && (a = t.alternate, a !== null && (Xl(a.child, !0), Xl(t.child, !0))), Wu(e, t, n, r);
+ i && (a = t.alternate, a !== null && (Yl(a.child, !0), Yl(t.child, !0))), Uu(e, t, n, r);
break;
- default: Wu(e, t, n, r);
+ default: Uu(e, t, n, r);
}
}
- function Ku(e, t, n, r, i) {
+ function Gu(e, t, n, r, i) {
for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {
var a = e, o = t, s = n, c = r, l = o.flags;
switch (o.tag) {
case 0:
case 11:
case 15:
- Ku(a, o, s, c, i), wl(8, o);
+ Gu(a, o, s, c, i), Cl(8, o);
break;
case 23: break;
case 22:
var u = o.stateNode;
- o.memoizedState === null ? (u._visibility |= 2, Ku(a, o, s, c, i)) : u._visibility & 2 ? Ku(a, o, s, c, i) : qu(a, o), i && l & 2048 && Hu(o.alternate, o);
+ o.memoizedState === null ? (u._visibility |= 2, Gu(a, o, s, c, i)) : u._visibility & 2 ? Gu(a, o, s, c, i) : Ku(a, o), i && l & 2048 && Vu(o.alternate, o);
break;
case 24:
- Ku(a, o, s, c, i), i && l & 2048 && Uu(o.alternate, o);
+ Gu(a, o, s, c, i), i && l & 2048 && Hu(o.alternate, o);
break;
- default: Ku(a, o, s, c, i);
+ default: Gu(a, o, s, c, i);
}
t = t.sibling;
}
}
- function qu(e, t) {
+ function Ku(e, t) {
if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {
var n = e, r = t, i = r.flags;
switch (r.tag) {
case 22:
- qu(n, r), i & 2048 && Hu(r.alternate, r);
+ Ku(n, r), i & 2048 && Vu(r.alternate, r);
break;
case 24:
- qu(n, r), i & 2048 && Uu(r.alternate, r);
+ Ku(n, r), i & 2048 && Hu(r.alternate, r);
break;
- default: qu(n, r);
+ default: Ku(n, r);
}
t = t.sibling;
}
}
- var Ju = 8192;
- function Yu(e, t, n) {
- if (e.subtreeFlags & Ju) for (e = e.child; e !== null;) Xu(e, t, n), e = e.sibling;
+ var qu = 8192;
+ function Ju(e, t, n) {
+ if (e.subtreeFlags & qu) for (e = e.child; e !== null;) Yu(e, t, n), e = e.sibling;
}
- function Xu(e, t, n) {
+ function Yu(e, t, n) {
switch (e.tag) {
case 26:
- Yu(e, t, n), e.flags & Ju && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && sh(n, e)) : ch(n, Nu, e.memoizedState, e.memoizedProps));
+ Ju(e, t, n), e.flags & qu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && sh(n, e)) : ch(n, Mu, e.memoizedState, e.memoizedProps));
break;
case 5:
- Yu(e, t, n), e.flags & Ju && (e = e.stateNode, (t & 335544128) === t && sh(n, e));
+ Ju(e, t, n), e.flags & qu && (e = e.stateNode, (t & 335544128) === t && sh(n, e));
break;
case 3:
case 4:
- var r = Nu;
- Nu = km(e.stateNode.containerInfo), Yu(e, t, n), Nu = r;
+ var r = Mu;
+ Mu = km(e.stateNode.containerInfo), Ju(e, t, n), Mu = r;
break;
case 22:
- e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Ju, Ju = 16777216, Yu(e, t, n), Ju = r) : Yu(e, t, n));
+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = qu, qu = 16777216, Ju(e, t, n), qu = r) : Ju(e, t, n));
break;
case 30:
- if ((e.flags & Ju) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
+ if ((e.flags & qu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
var i = e.stateNode;
- i.paired = null, Ul === null && (Ul = /* @__PURE__ */ new Map()), Ul.set(r, i);
+ i.paired = null, Hl === null && (Hl = /* @__PURE__ */ new Map()), Hl.set(r, i);
}
- Yu(e, t, n);
+ Ju(e, t, n);
break;
- default: Yu(e, t, n);
+ default: Ju(e, t, n);
}
}
- function Zu(e) {
+ function Xu(e) {
var t = e.alternate;
if (t !== null && (e = t.child, e !== null)) {
t.child = null;
@@ -20511,69 +20562,69 @@ var lte = /* @__PURE__ */ _(((e) => {
while (e !== null);
}
}
- function Qu(e) {
+ function Zu(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- fu = r, td(r, e);
+ du = r, ed(r, e);
}
- Zu(e);
+ Xu(e);
}
- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) $u(e), e = e.sibling;
+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Qu(e), e = e.sibling;
}
- function $u(e) {
+ function Qu(e) {
switch (e.tag) {
case 0:
case 11:
case 15:
- Qu(e), e.flags & 2048 && Tl(9, e, e.return);
+ Zu(e), e.flags & 2048 && wl(9, e, e.return);
break;
case 3:
- Qu(e);
+ Zu(e);
break;
case 12:
- Qu(e);
+ Zu(e);
break;
case 22:
var t = e.stateNode;
- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, ed(e)) : Qu(e);
+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, $u(e)) : Zu(e);
break;
- default: Qu(e);
+ default: Zu(e);
}
}
- function ed(e) {
+ function $u(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- fu = r, td(r, e);
+ du = r, ed(r, e);
}
- Zu(e);
+ Xu(e);
}
for (e = e.child; e !== null;) {
switch (t = e, t.tag) {
case 0:
case 11:
case 15:
- Tl(8, t, t.return), ed(t);
+ wl(8, t, t.return), $u(t);
break;
case 22:
- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, ed(t));
+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, $u(t));
break;
- default: ed(t);
+ default: $u(t);
}
e = e.sibling;
}
}
- function td(e, t) {
- for (; fu !== null;) {
- var n = fu;
+ function ed(e, t) {
+ for (; du !== null;) {
+ var n = du;
switch (n.tag) {
case 0:
case 11:
case 15:
- Tl(8, n, t);
+ wl(8, n, t);
break;
case 23:
case 22:
@@ -20582,64 +20633,64 @@ var lte = /* @__PURE__ */ _(((e) => {
r != null && r.refCount++;
}
break;
- case 24: Ma(n.memoizedState.cache);
+ case 24: ja(n.memoizedState.cache);
}
- if (r = n.child, r !== null) r.return = n, fu = r;
- else a: for (n = e; fu !== null;) {
- r = fu;
+ if (r = n.child, r !== null) r.return = n, du = r;
+ else a: for (n = e; du !== null;) {
+ r = du;
var i = r.sibling, a = r.return;
- if (Cu(r), r === n) {
- fu = null;
+ if (Su(r), r === n) {
+ du = null;
break a;
}
if (i !== null) {
- i.return = a, fu = i;
+ i.return = a, du = i;
break a;
}
- fu = a;
+ du = a;
}
}
}
- var nd = {
+ var td = {
getCacheForType: function(e) {
- var t = wa(Aa), n = t.data.get(e);
+ var t = Ca(ka), n = t.data.get(e);
return n === void 0 && (n = e(), t.data.set(e, n)), n;
},
cacheSignal: function() {
- return wa(Aa).controller.signal;
+ return Ca(ka).controller.signal;
}
- }, rd = typeof WeakMap == "function" ? WeakMap : Map, id = 0, ad = null, od = null, sd = 0, cd = 0, ld = null, ud = !1, dd = !1, fd = !1, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = 0, yd = 0, bd = null, xd = null, Sd = !1, Cd = 0, wd = 0, Td = Infinity, Ed = null, Dd = null, Od = 0, kd = null, Ad = null, jd = 0, Md = 0, Nd = null, Pd = null, Fd = null, Id = null, Ld = null, Rd = 0, zd = null;
- function Bd() {
- return id & 2 && sd !== 0 ? sd & -sd : R.T === null ? _t() : Uf();
+ }, nd = typeof WeakMap == "function" ? WeakMap : Map, rd = 0, id = null, ad = null, od = 0, sd = 0, cd = null, ld = !1, ud = !1, dd = !1, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = 0, yd = null, bd = null, xd = !1, Sd = 0, Cd = 0, wd = Infinity, Td = null, Ed = null, Dd = 0, Od = null, kd = null, Ad = 0, jd = 0, Md = null, Nd = null, Pd = null, Fd = null, Id = null, Ld = 0, Rd = null;
+ function zd() {
+ return rd & 2 && od !== 0 ? od & -od : R.T === null ? gt() : V();
}
- function Vd() {
- if (vd === 0) {
- if (!(sd & 536870912) || ra) {
- var e = tt;
- tt <<= 1, !(tt & 3932160) && (tt = 262144), vd = e;
- } else vd = 536870912;
+ function Bd() {
+ if (_d === 0) {
+ if (!(od & 536870912) || na) {
+ var e = et;
+ et <<= 1, !(et & 3932160) && (et = 262144), _d = e;
+ } else _d = 536870912;
}
- return e = Ao.current, e !== null && (e.flags |= 32), vd;
+ return e = ko.current, e !== null && (e.flags |= 32), _d;
}
- function Hd(e, t) {
+ function Vd(e, t) {
if (t != null) {
var n = e.stateNode, r = n.ref;
- r === null && (r = n.ref = Wp(hi(e.memoizedProps, n))), Id === null && (Id = []), Id.push(t.bind(null, r));
+ r === null && (r = n.ref = Wp(mi(e.memoizedProps, n))), Fd === null && (Fd = []), Fd.push(t.bind(null, r));
}
}
- function Ud(e, t, n) {
- (e === ad && (cd === 2 || cd === 9) || e.cancelPendingCommit !== null) && (Xd(e, 0), qd(e, sd, vd, !1)), ut(e, n), (!(id & 2) || e !== ad) && (e === ad && (!(id & 2) && (gd |= n), md === 4 && qd(e, sd, vd, !1)), If(e));
+ function Hd(e, t, n) {
+ (e === id && (sd === 2 || sd === 9) || e.cancelPendingCommit !== null) && (Yd(e, 0), Kd(e, od, _d, !1)), lt(e, n), (!(rd & 2) || e !== id) && (e === id && (!(rd & 2) && (hd |= n), pd === 4 && Kd(e, od, _d, !1)), Ff(e));
}
- function Wd(e, t, n) {
- if (id & 6) throw Error(i(327));
- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || at(e, t), a = r ? af(e, t) : nf(e, t, !0), o = r;
+ function Ud(e, t, n) {
+ if (rd & 6) throw Error(i(327));
+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || it(e, t), a = r ? rf(e, t) : tf(e, t, !0), o = r;
do {
if (a === 0) {
- dd && !r && qd(e, t, 0, !1);
+ ud && !r && Kd(e, t, 0, !1);
break;
}
- if (n = e.current.alternate, o && !Kd(n)) {
- a = nf(e, t, !1), o = !1;
+ if (n = e.current.alternate, o && !Gd(n)) {
+ a = tf(e, t, !1), o = !1;
continue;
}
if (a === 2) {
@@ -20649,14 +20700,14 @@ var lte = /* @__PURE__ */ _(((e) => {
t = s;
a: {
var c = e;
- a = bd;
+ a = yd;
var l = c.current.memoizedState.isDehydrated;
- if (l && (Xd(c, s).flags |= 256), s = nf(c, s, !1), s !== 2 && s !== 6) {
- if (fd && !l) {
- c.errorRecoveryDisabledLanes |= o, gd |= o, a = 4;
+ if (l && (Yd(c, s).flags |= 256), s = tf(c, s, !1), s !== 2 && s !== 6) {
+ if (dd && !l) {
+ c.errorRecoveryDisabledLanes |= o, hd |= o, a = 4;
break a;
}
- o = xd, xd = a, o !== null && (xd === null ? xd = o : xd.push.apply(xd, o));
+ o = bd, bd = a, o !== null && (bd === null ? bd = o : bd.push.apply(bd, o));
}
a = s;
}
@@ -20664,7 +20715,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
if (a === 1) {
- Xd(e, 0), qd(e, t, 0, !0);
+ Yd(e, 0), Kd(e, t, 0, !0);
break;
}
a: {
@@ -20673,27 +20724,27 @@ var lte = /* @__PURE__ */ _(((e) => {
case 1: throw Error(i(345));
case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;
case 6:
- qd(r, t, vd, !ud);
+ Kd(r, t, _d, !ld);
break a;
case 2:
- xd = null;
+ bd = null;
break;
case 3:
case 5: break;
default: throw Error(i(329));
}
- if ((t & 62914560) === t && (a = Cd + 300 - Re(), 10 < a)) {
- if (qd(r, t, vd, !ud), it(r, 0, !0) !== 0) break a;
- jd = t, r.timeoutHandle = Ep(Gd.bind(null, r, n, xd, Ed, Sd, t, vd, gd, yd, ud, o, "Throttled", -0, 0), a);
+ if ((t & 62914560) === t && (a = Sd + 300 - Le(), 10 < a)) {
+ if (Kd(r, t, _d, !ld), rt(r, 0, !0) !== 0) break a;
+ Ad = t, r.timeoutHandle = Ep(Wd.bind(null, r, n, bd, Td, xd, t, _d, hd, vd, ld, o, "Throttled", -0, 0), a);
break a;
}
- Gd(r, n, xd, Ed, Sd, t, vd, gd, yd, ud, o, null, -0, 0);
+ Wd(r, n, bd, Td, xd, t, _d, hd, vd, ld, o, null, -0, 0);
}
break;
} while (1);
- If(e);
+ Ff(e);
}
- function Gd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
+ function Wd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
e.timeoutHandle = -1;
var m = t.subtreeFlags, h = (a & 335544064) === a;
if (d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {
@@ -20704,21 +20755,21 @@ var lte = /* @__PURE__ */ _(((e) => {
suspenseyImages: [],
waitingForImages: !0,
waitingForViewTransition: !1,
- unsuspend: _n
- }, Ul = null, Xu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = fh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? Cd - Re() : (a & 4194048) === a ? wd - Re() : 0, m = uh(d, m), m !== null)) {
- jd = a, e.cancelPendingCommit = m(ff.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), qd(e, a, o, !l);
+ unsuspend: gn
+ }, Hl = null, Yu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = fh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? Sd - Le() : (a & 4194048) === a ? Cd - Le() : 0, m = uh(d, m), m !== null)) {
+ Ad = a, e.cancelPendingCommit = m(df.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Kd(e, a, o, !l);
return;
}
- ff(e, t, a, n, r, i, o, s, c, l, u, d);
+ df(e, t, a, n, r, i, o, s, c, l, u, d);
}
- function Kd(e) {
+ function Gd(e) {
for (var t = e;;) {
var n = t.tag;
if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {
var i = n[r], a = i.getSnapshot;
i = i.value;
try {
- if (!zr(a(), i)) return !1;
+ if (!Rr(a(), i)) return !1;
} catch {
return !1;
}
@@ -20735,281 +20786,281 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return !0;
}
- function qd(e, t, n, r) {
- t = ot(e, t), t &= ~_d, t &= ~gd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
+ function Kd(e, t, n, r) {
+ t = at(e, t), t &= ~gd, t &= ~hd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
for (var i = t; 0 < i;) {
- var a = 31 - Xe(i), o = 1 << a;
+ var a = 31 - Ye(i), o = 1 << a;
r[a] = -1, i &= ~o;
}
- n !== 0 && ft(e, n, t);
+ n !== 0 && dt(e, n, t);
}
- function Jd() {
- return id & 6 ? !0 : (Lf(0, !1), !1);
+ function qd() {
+ return rd & 6 ? !0 : (If(0, !1), !1);
}
- function Yd() {
- if (od !== null) {
- if (cd === 0) var e = od.return;
- else e = od, ga = ha = null, os(e), io = null, ao = 0, e = od;
- for (; e !== null;) Cl(e.alternate, e), e = e.return;
- od = null;
+ function Jd() {
+ if (ad !== null) {
+ if (sd === 0) var e = ad.return;
+ else e = ad, ha = ma = null, as(e), ro = null, io = 0, e = ad;
+ for (; e !== null;) Sl(e.alternate, e), e = e.return;
+ ad = null;
}
}
- function Xd(e, t) {
+ function Yd(e, t) {
var n = e.timeoutHandle;
- return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), jd = 0, Yd(), ad = e, od = n = Mi(e.current, null), sd = t, cd = 0, ld = null, ud = !1, dd = at(e, t), fd = !1, yd = vd = _d = gd = hd = md = 0, xd = bd = null, Sd = !1, pd = ot(e, t), Si(), n;
+ return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Ad = 0, Jd(), id = e, ad = n = ji(e.current, null), od = t, sd = 0, cd = null, ld = !1, ud = it(e, t), dd = !1, vd = _d = gd = hd = md = pd = 0, bd = yd = null, xd = !1, fd = at(e, t), xi(), n;
}
- function Zd(e, t) {
- Ho = null, R.H = gc, t === Ja || t === Xa ? (t = no(), cd = 3) : t === Ya ? (t = no(), cd = 4) : cd = t === Pc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, ld = t, od === null && (md = 1, Oc(e, Bi(t, e.current)));
+ function Xd(e, t) {
+ Vo = null, R.H = hc, t === qa || t === Ya ? (t = to(), sd = 3) : t === Ja ? (t = to(), sd = 4) : sd = t === Nc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, cd = t, ad === null && (pd = 1, Dc(e, zi(t, e.current)));
}
- function Qd() {
- var e = Ao.current;
- return e === null ? !0 : (sd & 4194048) === sd ? jo === null : (sd & 62914560) === sd || sd & 536870912 ? e === jo : !1;
+ function Zd() {
+ var e = ko.current;
+ return e === null ? !0 : (od & 4194048) === od ? Ao === null : (od & 62914560) === od || od & 536870912 ? e === Ao : !1;
}
- function $d() {
+ function Qd() {
var e = R.H;
- return R.H = gc, e === null ? gc : e;
+ return R.H = hc, e === null ? hc : e;
}
- function ef() {
+ function $d() {
var e = R.A;
- return R.A = nd, e;
+ return R.A = td, e;
}
- function tf() {
- md = 4, ud || (sd & 4194048) !== sd && Ao.current !== null || (dd = !0), !(hd & 134217727) && !(gd & 134217727) || ad === null || qd(ad, sd, vd, !1);
- }
- function nf(e, t, n) {
- var r = id;
- id |= 2;
- var i = $d(), a = ef();
- (ad !== e || sd !== t) && (Ed = null, Xd(e, t)), t = !1;
- var o = md;
+ function ef() {
+ pd = 4, ld || (od & 4194048) !== od && ko.current !== null || (ud = !0), !(md & 134217727) && !(hd & 134217727) || id === null || Kd(id, od, _d, !1);
+ }
+ function tf(e, t, n) {
+ var r = rd;
+ rd |= 2;
+ var i = Qd(), a = $d();
+ (id !== e || od !== t) && (Td = null, Yd(e, t)), t = !1;
+ var o = pd;
a: do
try {
- if (cd !== 0 && od !== null) {
- var s = od, c = ld;
- switch (cd) {
+ if (sd !== 0 && ad !== null) {
+ var s = ad, c = cd;
+ switch (sd) {
case 8:
- Yd(), o = 6;
+ Jd(), o = 6;
break a;
case 3:
case 2:
case 9:
case 6:
- Ao.current === null && (t = !0);
- var l = cd;
- if (cd = 0, ld = null, lf(e, s, c, l), n && dd) {
+ ko.current === null && (t = !0);
+ var l = sd;
+ if (sd = 0, cd = null, cf(e, s, c, l), n && ud) {
o = 0;
break a;
}
break;
- default: l = cd, cd = 0, ld = null, lf(e, s, c, l);
+ default: l = sd, sd = 0, cd = null, cf(e, s, c, l);
}
}
- rf(), o = md;
+ nf(), o = pd;
break;
} catch (t) {
- Zd(e, t);
+ Xd(e, t);
}
while (1);
- return t && e.shellSuspendCounter++, ga = ha = null, id = r, R.H = i, R.A = a, od === null && (ad = null, sd = 0, Si()), o;
+ return t && e.shellSuspendCounter++, ha = ma = null, rd = r, R.H = i, R.A = a, ad === null && (id = null, od = 0, xi()), o;
}
- function rf() {
- for (; od !== null;) sf(od);
+ function nf() {
+ for (; ad !== null;) of(ad);
}
- function af(e, t) {
- var n = id;
- id |= 2;
- var r = $d(), a = ef();
- ad !== e || sd !== t ? (Ed = null, Td = Re() + 500, Xd(e, t)) : dd = at(e, t);
+ function rf(e, t) {
+ var n = rd;
+ rd |= 2;
+ var r = Qd(), a = $d();
+ id !== e || od !== t ? (Td = null, wd = Le() + 500, Yd(e, t)) : ud = it(e, t);
a: do
try {
- if (cd !== 0 && od !== null) {
- t = od;
- var o = ld;
- b: switch (cd) {
+ if (sd !== 0 && ad !== null) {
+ t = ad;
+ var o = cd;
+ b: switch (sd) {
case 1:
- cd = 0, ld = null, lf(e, t, o, 1);
+ sd = 0, cd = null, cf(e, t, o, 1);
break;
case 2:
case 9:
- if (Qa(o)) {
- cd = 0, ld = null, cf(t);
+ if (Za(o)) {
+ sd = 0, cd = null, sf(t);
break;
}
t = function() {
- cd !== 2 && cd !== 9 || ad !== e || (cd = 7), If(e);
+ sd !== 2 && sd !== 9 || id !== e || (sd = 7), Ff(e);
}, o.then(t, t);
break a;
case 3:
- cd = 7;
+ sd = 7;
break a;
case 4:
- cd = 5;
+ sd = 5;
break a;
case 7:
- Qa(o) ? (cd = 0, ld = null, cf(t)) : (cd = 0, ld = null, lf(e, t, o, 7));
+ Za(o) ? (sd = 0, cd = null, sf(t)) : (sd = 0, cd = null, cf(e, t, o, 7));
break;
case 5:
var s = null;
- switch (od.tag) {
- case 26: s = od.memoizedState;
+ switch (ad.tag) {
+ case 26: s = ad.memoizedState;
case 5:
case 27:
- var c = od;
+ var c = ad;
if (s ? ah(s) : c.stateNode.complete) {
- cd = 0, ld = null;
+ sd = 0, cd = null;
var l = c.sibling;
- if (l !== null) od = l;
+ if (l !== null) ad = l;
else {
var u = c.return;
- u === null ? od = null : (od = u, uf(u));
+ u === null ? ad = null : (ad = u, lf(u));
}
break b;
}
}
- cd = 0, ld = null, lf(e, t, o, 5);
+ sd = 0, cd = null, cf(e, t, o, 5);
break;
case 6:
- cd = 0, ld = null, lf(e, t, o, 6);
+ sd = 0, cd = null, cf(e, t, o, 6);
break;
case 8:
- Yd(), md = 6;
+ Jd(), pd = 6;
break a;
default: throw Error(i(462));
}
}
- of();
+ af();
break;
} catch (t) {
- Zd(e, t);
+ Xd(e, t);
}
while (1);
- return ga = ha = null, R.H = r, R.A = a, id = n, od === null ? (ad = null, sd = 0, Si(), md) : 0;
+ return ha = ma = null, R.H = r, R.A = a, rd = n, ad === null ? (id = null, od = 0, xi(), pd) : 0;
}
- function of() {
- for (; od !== null && !Ie();) sf(od);
+ function af() {
+ for (; ad !== null && !Fe();) of(ad);
}
- function sf(e) {
- var t = ml(e.alternate, e, pd);
- e.memoizedProps = e.pendingProps, t === null ? uf(e) : od = t;
+ function of(e) {
+ var t = pl(e.alternate, e, fd);
+ e.memoizedProps = e.pendingProps, t === null ? lf(e) : ad = t;
}
- function cf(e) {
+ function sf(e) {
var t = e, n = t.alternate;
switch (t.tag) {
case 15:
case 0:
- t = Jc(n, t, t.pendingProps, t.type, void 0, sd);
+ t = qc(n, t, t.pendingProps, t.type, void 0, od);
break;
case 11:
- t = Jc(n, t, t.pendingProps, t.type.render, t.ref, sd);
+ t = qc(n, t, t.pendingProps, t.type.render, t.ref, od);
break;
case 5:
- os(t);
+ as(t);
var r = t;
- r === ta && (ra ? (la(r), r.tag === 5 && r.stateNode != null && (na = r.stateNode)) : (la(r), ra = !0));
- default: Cl(n, t), t = od = Ni(t, pd), t = ml(n, t, pd);
+ r === ea && (na ? (ca(r), r.tag === 5 && r.stateNode != null && (ta = r.stateNode)) : (ca(r), na = !0));
+ default: Sl(n, t), t = ad = Mi(t, fd), t = pl(n, t, fd);
}
- e.memoizedProps = e.pendingProps, t === null ? uf(e) : od = t;
+ e.memoizedProps = e.pendingProps, t === null ? lf(e) : ad = t;
}
- function lf(e, t, n, r) {
- ga = ha = null, os(t), io = null, ao = 0;
+ function cf(e, t, n, r) {
+ ha = ma = null, as(t), ro = null, io = 0;
var i = t.return;
try {
- if (Nc(e, i, t, n, sd)) {
- md = 1, Oc(e, Bi(n, e.current)), od = null;
+ if (Mc(e, i, t, n, od)) {
+ pd = 1, Dc(e, zi(n, e.current)), ad = null;
return;
}
} catch (t) {
- if (i !== null) throw od = i, t;
- md = 1, Oc(e, Bi(n, e.current)), od = null;
+ if (i !== null) throw ad = i, t;
+ pd = 1, Dc(e, zi(n, e.current)), ad = null;
return;
}
- t.flags & 32768 ? (ra || r === 1 ? e = !0 : dd || sd & 536870912 ? e = !1 : (ud = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Ao.current, r !== null && r.tag === 13 && (r.flags |= 16384))), df(t, e)) : uf(t);
+ t.flags & 32768 ? (na || r === 1 ? e = !0 : ud || od & 536870912 ? e = !1 : (ld = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = ko.current, r !== null && r.tag === 13 && (r.flags |= 16384))), uf(t, e)) : lf(t);
}
- function uf(e) {
+ function lf(e) {
var t = e;
do {
if (t.flags & 32768) {
- df(t, ud);
+ uf(t, ld);
return;
}
e = t.return;
- var n = xl(t.alternate, t, pd);
+ var n = bl(t.alternate, t, fd);
if (n !== null) {
- od = n;
+ ad = n;
return;
}
if (t = t.sibling, t !== null) {
- od = t;
+ ad = t;
return;
}
- od = t = e;
+ ad = t = e;
} while (t !== null);
- md === 0 && (md = 5);
+ pd === 0 && (pd = 5);
}
- function df(e, t) {
+ function uf(e, t) {
do {
- var n = Sl(e.alternate, e);
+ var n = xl(e.alternate, e);
if (n !== null) {
- n.flags &= 32767, od = n;
+ n.flags &= 32767, ad = n;
return;
}
if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {
- od = e;
+ ad = e;
return;
}
- od = e = n;
+ ad = e = n;
} while (e !== null);
- md = 6, od = null;
+ pd = 6, ad = null;
}
- function ff(e, t, n, r, a, o, s, c, l, u, d, f) {
+ function df(e, t, n, r, a, o, s, c, l, u, d, f) {
e.cancelPendingCommit = null;
do
- bf();
- while (Od !== 0);
- if (id & 6) throw Error(i(327));
+ yf();
+ while (Dd !== 0);
+ if (rd & 6) throw Error(i(327));
if (t !== null) {
if (t === e.current) throw Error(i(177));
- e === ad && (od = ad = null, sd = 0), Ad = t, kd = e, jd = n, Nd = a, Pd = r, pf(e, t, n, s, c, l, f);
+ e === id && (ad = id = null, od = 0), kd = t, Od = e, Ad = n, Md = a, Nd = r, ff(e, t, n, s, c, l, f);
}
}
- function pf(e, t, n, r, i, a, o) {
+ function ff(e, t, n, r, i, a, o) {
var s = t.lanes | t.childLanes;
- if (Md = s, s |= xi, dt(e, n, s, r, i, a), Id = null, (n & 335544064) === n ? (Ld = Fa(e), r = 10262) : (Ld = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, kf(He, function() {
- return xf(), null;
- })) : (e.callbackNode = null, e.callbackPriority = 0), Hl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
- r = R.T, R.T = null, i = de.p, de.p = 2, a = id, id |= 4;
+ if (jd = s, s |= bi, ut(e, n, s, r, i, a), Fd = null, (n & 335544064) === n ? (Id = Pa(e), r = 10262) : (Id = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Of(Ve, function() {
+ return bf(), null;
+ })) : (e.callbackNode = null, e.callbackPriority = 0), Vl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
+ r = R.T, R.T = null, i = z.p, z.p = 2, a = rd, rd |= 4;
try {
- _u(e, t, n);
+ gu(e, t, n);
} finally {
- id = a, de.p = i, R.T = r;
+ rd = a, z.p = i, R.T = r;
}
}
- Od = 1, Hl ? Fd = Hp(o, e.containerInfo, Ld, gf, _f, hf, vf, xf, mf, null, null) : (gf(), _f(), vf());
+ Dd = 1, Vl ? Pd = Hp(o, e.containerInfo, Id, hf, gf, mf, _f, bf, pf, null, null) : (hf(), gf(), _f());
}
- function mf(e) {
- if (Od !== 0) {
- var t = kd.onRecoverableError;
+ function pf(e) {
+ if (Dd !== 0) {
+ var t = Od.onRecoverableError;
t(e, { componentStack: null });
}
}
- function hf() {
- Od === 3 && (Od = 0, Ru(Ad, kd), Od = 4);
+ function mf() {
+ Dd === 3 && (Dd = 0, Lu(kd, Od), Dd = 4);
}
- function gf() {
- if (Od === 1) {
- Od = 0;
- var e = kd, t = Ad, n = jd, r = !!(t.flags & 13878);
+ function hf() {
+ if (Dd === 1) {
+ Dd = 0;
+ var e = Od, t = kd, n = Ad, r = !!(t.flags & 13878);
if (t.subtreeFlags & 13878 || r) {
r = R.T, R.T = null;
- var i = de.p;
- de.p = 2;
- var a = id;
- id |= 4;
+ var i = z.p;
+ z.p = 2;
+ var a = rd;
+ rd |= 4;
try {
- mu = hu = !1, Pu(t, e, n), n = vp;
- var o = Gr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
- if (o !== s && s && s.ownerDocument && Wr(s.ownerDocument.documentElement, s)) {
- if (c !== null && Kr(s)) {
+ pu = mu = !1, Nu(t, e, n), n = vp;
+ var o = Wr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
+ if (o !== s && s && s.ownerDocument && Ur(s.ownerDocument.documentElement, s)) {
+ if (c !== null && Gr(s)) {
var l = c.start, u = c.end;
if (u === void 0 && (u = l), "selectionStart" in s) s.selectionStart = l, s.selectionEnd = Math.min(u, s.value.length);
else {
@@ -21017,7 +21068,7 @@ var lte = /* @__PURE__ */ _(((e) => {
if (f.getSelection) {
var p = f.getSelection(), m = s.textContent.length, h = Math.min(c.start, m), g = c.end === void 0 ? h : Math.min(c.end, m);
!p.extend && h > g && (o = g, g = h, h = o);
- var _ = Ur(s, h), v = Ur(s, g);
+ var _ = Hr(s, h), v = Hr(s, g);
if (_ && v && (p.rangeCount !== 1 || p.anchorNode !== _.node || p.anchorOffset !== _.offset || p.focusNode !== v.node || p.focusOffset !== v.offset)) {
var y = d.createRange();
y.setStart(_.node, _.offset), p.removeAllRanges(), h > g ? (p.addRange(y), p.extend(v.node, v.offset)) : (y.setEnd(v.node, v.offset), p.addRange(y));
@@ -21037,120 +21088,120 @@ var lte = /* @__PURE__ */ _(((e) => {
}
Eh = !!_p, vp = _p = null;
} finally {
- id = a, de.p = i, R.T = r;
+ rd = a, z.p = i, R.T = r;
}
}
- e.current = t, Od = 2;
+ e.current = t, Dd = 2;
}
}
- function _f() {
- if (Od === 2) {
- Od = 0;
- var e = kd, t = Ad, n = !!(t.flags & 8772);
+ function gf() {
+ if (Dd === 2) {
+ Dd = 0;
+ var e = Od, t = kd, n = !!(t.flags & 8772);
if (t.subtreeFlags & 8772 || n) {
n = R.T, R.T = null;
- var r = de.p;
- de.p = 2;
- var i = id;
- id |= 4;
+ var r = z.p;
+ z.p = 2;
+ var i = rd;
+ rd |= 4;
try {
- yu(e, t.alternate, t);
+ vu(e, t.alternate, t);
} finally {
- id = i, de.p = r, R.T = n;
+ rd = i, z.p = r, R.T = n;
}
}
- Od = 3;
+ Dd = 3;
}
}
- function vf() {
- if (Od === 4 || Od === 3) {
- Od = 0;
- var e = Fd;
- Fd = null, Le();
- var t = kd, n = Ad, r = jd, i = Pd, a = (r & 335544064) === r ? 10262 : 10256;
- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Od = 5 : (Od = 0, Ad = kd = null, yf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Dd = null), gt(r), n = n.stateNode, Je && typeof Je.onCommitFiberRoot == "function") try {
- Je.onCommitFiberRoot(qe, n, void 0, (n.current.flags & 128) == 128);
+ function _f() {
+ if (Dd === 4 || Dd === 3) {
+ Dd = 0;
+ var e = Pd;
+ Pd = null, Ie();
+ var t = Od, n = kd, r = Ad, i = Nd, a = (r & 335544064) === r ? 10262 : 10256;
+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Dd = 5 : (Dd = 0, kd = Od = null, vf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Ed = null), ht(r), n = n.stateNode, qe && typeof qe.onCommitFiberRoot == "function") try {
+ qe.onCommitFiberRoot(Ke, n, void 0, (n.current.flags & 128) == 128);
} catch {}
if (i !== null) {
- n = R.T, a = de.p, de.p = 2, R.T = null;
+ n = R.T, a = z.p, z.p = 2, R.T = null;
try {
for (var o = t.onRecoverableError, s = 0; s < i.length; s++) {
var c = i[s];
o(c.value, { componentStack: c.stack });
}
} finally {
- R.T = n, de.p = a;
+ R.T = n, z.p = a;
}
}
- if (i = Id, o = Ld, Ld = null, i !== null && (Id = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);
- jd & 3 && bf(), If(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === zd ? Rd++ : (Rd = 0, zd = t) : (Rd = 0, zd = null), Lf(0, !1);
+ if (i = Fd, o = Id, Id = null, i !== null && (Fd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);
+ Ad & 3 && yf(), Ff(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Rd ? Ld++ : (Ld = 0, Rd = t) : (Ld = 0, Rd = null), If(0, !1);
}
}
- function yf(e, t) {
- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Ma(t)));
+ function vf(e, t) {
+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));
}
- function bf() {
- return Fd !== null && (Fd.skipTransition(), Fd = null), gf(), _f(), vf(), xf();
+ function yf() {
+ return Pd !== null && (Pd.skipTransition(), Pd = null), hf(), gf(), _f(), bf();
}
- function xf() {
- if (Od !== 5) return !1;
- var e = kd, t = Md;
- Md = 0;
- var n = gt(jd), r = R.T, a = de.p;
+ function bf() {
+ if (Dd !== 5) return !1;
+ var e = Od, t = jd;
+ jd = 0;
+ var n = ht(Ad), r = R.T, a = z.p;
try {
- de.p = 32 > n ? 32 : n, R.T = null, n = Nd, Nd = null;
- var o = kd, s = jd;
- if (Od = 0, Ad = kd = null, jd = 0, id & 6) throw Error(i(331));
- var c = id;
- if (id |= 4, $u(o.current), Gu(o, o.current, s, n), id = c, Lf(0, !1), Je && typeof Je.onPostCommitFiberRoot == "function") try {
- Je.onPostCommitFiberRoot(qe, o);
+ z.p = 32 > n ? 32 : n, R.T = null, n = Md, Md = null;
+ var o = Od, s = Ad;
+ if (Dd = 0, kd = Od = null, Ad = 0, rd & 6) throw Error(i(331));
+ var c = rd;
+ if (rd |= 4, Qu(o.current), Wu(o, o.current, s, n), rd = c, If(0, !1), qe && typeof qe.onPostCommitFiberRoot == "function") try {
+ qe.onPostCommitFiberRoot(Ke, o);
} catch {}
return !0;
} finally {
- de.p = a, R.T = r, yf(e, t);
+ z.p = a, R.T = r, vf(e, t);
}
}
- function Sf(e, t, n) {
- t = Bi(n, t), t = Ac(e.stateNode, t, 2), e = _o(e, t, 2), e !== null && (ut(e, 2), If(e));
+ function xf(e, t, n) {
+ t = zi(n, t), t = kc(e.stateNode, t, 2), e = go(e, t, 2), e !== null && (lt(e, 2), Ff(e));
}
- function Cf(e, t, n) {
- if (e.tag === 3) Sf(e, e, n);
+ function Sf(e, t, n) {
+ if (e.tag === 3) xf(e, e, n);
else for (; t !== null;) {
if (t.tag === 3) {
- Sf(t, e, n);
+ xf(t, e, n);
break;
}
if (t.tag === 1) {
var r = t.stateNode;
- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Dd === null || !Dd.has(r))) {
- e = Bi(n, e), n = jc(2), r = _o(t, n, 2), r !== null && (Mc(n, r, t, e), ut(r, 2), If(r));
+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Ed === null || !Ed.has(r))) {
+ e = zi(n, e), n = Ac(2), r = go(t, n, 2), r !== null && (jc(n, r, t, e), lt(r, 2), Ff(r));
break;
}
}
t = t.return;
}
}
- function wf(e, t, n) {
+ function Cf(e, t, n) {
var r = e.pingCache;
if (r === null) {
- r = e.pingCache = new rd();
+ r = e.pingCache = new nd();
var i = /* @__PURE__ */ new Set();
r.set(t, i);
} else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));
- i.has(n) || (fd = !0, i.add(n), e = Tf.bind(null, e, t, n), t.then(e, e));
+ i.has(n) || (dd = !0, i.add(n), e = wf.bind(null, e, t, n), t.then(e, e));
}
- function Tf(e, t, n) {
+ function wf(e, t, n) {
var r = e.pingCache;
- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, ad === e && (sd & n) === n && (md === 4 || md === 3 && (sd & 62914560) === sd && 300 > Re() - Cd ? id & 2 ? _d |= n : Xd(e, 0) : _d |= n, yd === sd && (yd = 0)), If(e);
+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, id === e && (od & n) === n && (pd === 4 || pd === 3 && (od & 62914560) === od && 300 > Le() - Sd ? rd & 2 ? gd |= n : Yd(e, 0) : gd |= n, vd === od && (vd = 0)), Ff(e);
}
- function Ef(e, t) {
- t === 0 && (t = ct()), e = Ti(e, t), e !== null && (ut(e, t), If(e));
+ function Tf(e, t) {
+ t === 0 && (t = st()), e = wi(e, t), e !== null && (lt(e, t), Ff(e));
}
- function Df(e) {
+ function Ef(e) {
var t = e.memoizedState, n = 0;
- t !== null && (n = t.retryLane), Ef(e, n);
+ t !== null && (n = t.retryLane), Tf(e, n);
}
- function Of(e, t) {
+ function Df(e, t) {
var n = 0;
switch (e.tag) {
case 31:
@@ -21166,105 +21217,105 @@ var lte = /* @__PURE__ */ _(((e) => {
break;
default: throw Error(i(314));
}
- r !== null && r.delete(t), Ef(e, n);
+ r !== null && r.delete(t), Tf(e, n);
}
- function kf(e, t) {
- return Pe(e, t);
+ function Of(e, t) {
+ return Ne(e, t);
}
- var Af = null, jf = null, Mf = !1, Nf = !1, Pf = !1, Ff = 0;
- function If(e) {
- e !== jf && e.next === null && (jf === null ? Af = jf = e : jf = jf.next = e), Nf = !0, Mf || (Mf = !0, Hf());
+ var kf = null, Af = null, jf = !1, Mf = !1, Nf = !1, Pf = 0;
+ function Ff(e) {
+ e !== Af && e.next === null && (Af === null ? kf = Af = e : Af = Af.next = e), Mf = !0, jf || (jf = !0, Hf());
}
- function Lf(e, t) {
- if (!Pf && Nf) {
- Pf = !0;
+ function If(e, t) {
+ if (!Nf && Mf) {
+ Nf = !0;
do
- for (var n = !1, r = Af; r !== null;) {
+ for (var n = !1, r = kf; r !== null;) {
if (!t) {
if (e !== 0) {
var i = r.pendingLanes;
if (i === 0) var a = 0;
else {
var o = r.suspendedLanes, s = r.pingedLanes;
- a = (1 << 31 - Xe(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
+ a = (1 << 31 - Ye(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
}
a !== 0 && (n = !0, Vf(r, a));
- } else a = sd, a = it(r, r === ad ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || at(r, a) || (n = !0, Vf(r, a));
+ } else a = od, a = rt(r, r === id ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || it(r, a) || (n = !0, Vf(r, a));
}
r = r.next;
}
while (n);
- Pf = !1;
+ Nf = !1;
}
}
- function Rf() {
- B();
+ function Lf() {
+ Rf();
}
- function B() {
- Nf = Mf = !1;
+ function Rf() {
+ Mf = jf = !1;
var e = 0;
- Ff !== 0 && Tp() && (e = Ff);
- for (var t = Re(), n = null, r = Af; r !== null;) {
+ Pf !== 0 && Tp() && (e = Pf);
+ for (var t = Le(), n = null, r = kf; r !== null;) {
var i = r.next, a = zf(r, t);
- a === 0 ? (r.next = null, n === null ? Af = i : n.next = i, i === null && (jf = n)) : (n = r, (e !== 0 || a & 3) && (Nf = !0)), r = i;
+ a === 0 ? (r.next = null, n === null ? kf = i : n.next = i, i === null && (Af = n)) : (n = r, (e !== 0 || a & 3) && (Mf = !0)), r = i;
}
- Od !== 0 && Od !== 5 || Lf(e, !1), Ff !== 0 && (Ff = 0);
+ Dd !== 0 && Dd !== 5 || If(e, !1), Pf !== 0 && (Pf = 0);
}
function zf(e, t) {
for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {
- var o = 31 - Xe(a), s = 1 << o, c = i[o];
- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = st(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
+ var o = 31 - Ye(a), s = 1 << o, c = i[o];
+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ot(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
}
- if (t = ad, n = sd, n = it(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (cd === 2 || cd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Fe(r), e.callbackNode = null, e.callbackPriority = 0;
- if (!(n & 3) || at(e, n)) {
+ if (t = id, n = od, n = rt(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (sd === 2 || sd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Pe(r), e.callbackNode = null, e.callbackPriority = 0;
+ if (!(n & 3) || it(e, n)) {
if (t = n & -n, t === e.callbackPriority) return t;
- switch (r !== null && Fe(r), gt(n)) {
+ switch (r !== null && Pe(r), ht(n)) {
case 2:
case 8:
- n = Ve;
+ n = Be;
break;
case 32:
- n = He;
+ n = Ve;
break;
case 268435456:
- n = We;
+ n = Ue;
break;
- default: n = He;
+ default: n = Ve;
}
- return r = Bf.bind(null, e), n = Pe(n, r), e.callbackPriority = t, e.callbackNode = n, t;
+ return r = Bf.bind(null, e), n = Ne(n, r), e.callbackPriority = t, e.callbackNode = n, t;
}
- return r !== null && r !== null && Fe(r), e.callbackPriority = 2, e.callbackNode = null, 2;
+ return r !== null && r !== null && Pe(r), e.callbackPriority = 2, e.callbackNode = null, 2;
}
function Bf(e, t) {
- if (Od !== 0 && Od !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
+ if (Dd !== 0 && Dd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
var n = e.callbackNode;
- if (bf() && e.callbackNode !== n) return null;
- var r = sd;
- return r = it(e, e === ad ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Wd(e, r, t), zf(e, Re()), e.callbackNode != null && e.callbackNode === n ? Bf.bind(null, e) : null);
+ if (yf() && e.callbackNode !== n) return null;
+ var r = od;
+ return r = rt(e, e === id ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Ud(e, r, t), zf(e, Le()), e.callbackNode != null && e.callbackNode === n ? Bf.bind(null, e) : null);
}
function Vf(e, t) {
- if (bf()) return null;
- Wd(e, t, !0);
+ if (yf()) return null;
+ Ud(e, t, !0);
}
function Hf() {
Ap(function() {
- id & 6 ? Pe(Be, Rf) : B();
+ rd & 6 ? Ne(ze, Lf) : Rf();
});
}
- function Uf() {
- if (Ff === 0) {
- var e = Ra;
- e === 0 && (e = et, et <<= 1, !(et & 261888) && (et = 256)), Ff = e;
+ function V() {
+ if (Pf === 0) {
+ var e = La;
+ e === 0 && (e = $e, $e <<= 1, !($e & 261888) && ($e = 256)), Pf = e;
}
- return Ff;
+ return Pf;
}
- function Wf(e) {
- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : gn(e);
+ function Uf(e) {
+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : hn(e);
}
- function Gf(e, t, n, r, i) {
+ function Wf(e, t, n, r, i) {
if (t === "submit" && n && n.stateNode === i) {
- var a = Wf((i[xt] || null).action), o = r.submitter;
- o && (t = (t = o[xt] || null) ? Wf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
+ var a = Uf((i[bt] || null).action), o = r.submitter;
+ o && (t = (t = o[bt] || null) ? Uf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
var s = new Ln("action", "action", null, r, i);
e.push({
event: s,
@@ -21272,16 +21323,16 @@ var lte = /* @__PURE__ */ _(((e) => {
instance: null,
listener: function() {
if (r.defaultPrevented) {
- if (Ff !== 0) {
+ if (Pf !== 0) {
var e = new FormData(i, o);
- nc(n, {
+ tc(n, {
pending: !0,
data: e,
method: i.method,
action: a
}, null, e);
}
- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), nc(n, {
+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), tc(n, {
pending: !0,
data: e,
method: i.method,
@@ -21293,18 +21344,18 @@ var lte = /* @__PURE__ */ _(((e) => {
});
}
}
- for (var Kf = 0; Kf < fi.length; Kf++) {
- var qf = fi[Kf];
- pi(qf.toLowerCase(), "on" + (qf[0].toUpperCase() + qf.slice(1)));
+ for (var Gf = 0; Gf < di.length; Gf++) {
+ var Kf = di[Gf];
+ fi(Kf.toLowerCase(), "on" + (Kf[0].toUpperCase() + Kf.slice(1)));
}
- pi(ii, "onAnimationEnd"), pi(ai, "onAnimationIteration"), pi(oi, "onAnimationStart"), pi("dblclick", "onDoubleClick"), pi("focusin", "onFocus"), pi("focusout", "onBlur"), pi(si, "onTransitionRun"), pi(ci, "onTransitionStart"), pi(li, "onTransitionCancel"), pi(ui, "onTransitionEnd"), zt("onMouseEnter", ["mouseout", "mouseover"]), zt("onMouseLeave", ["mouseout", "mouseover"]), zt("onPointerEnter", ["pointerout", "pointerover"]), zt("onPointerLeave", ["pointerout", "pointerover"]), Rt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Rt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Rt("onBeforeInput", [
+ fi(ri, "onAnimationEnd"), fi(ii, "onAnimationIteration"), fi(ai, "onAnimationStart"), fi("dblclick", "onDoubleClick"), fi("focusin", "onFocus"), fi("focusout", "onBlur"), fi(oi, "onTransitionRun"), fi(si, "onTransitionStart"), fi(ci, "onTransitionCancel"), fi(li, "onTransitionEnd"), Rt("onMouseEnter", ["mouseout", "mouseover"]), Rt("onMouseLeave", ["mouseout", "mouseover"]), Rt("onPointerEnter", ["pointerout", "pointerover"]), Rt("onPointerLeave", ["pointerout", "pointerover"]), Lt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Lt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Lt("onBeforeInput", [
"compositionend",
"keypress",
"textInput",
"paste"
- ]), Rt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
- var Jf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Yf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Jf));
- function Xf(e, t) {
+ ]), Lt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
+ var qf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Jf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(qf));
+ function Yf(e, t) {
t = !!(t & 4);
for (var n = 0; n < e.length; n++) {
var r = e[n], i = r.event;
@@ -21318,7 +21369,7 @@ var lte = /* @__PURE__ */ _(((e) => {
try {
a(i);
} catch (e) {
- vi(e);
+ _i(e);
}
i.currentTarget = null, a = c;
}
@@ -21328,16 +21379,16 @@ var lte = /* @__PURE__ */ _(((e) => {
try {
a(i);
} catch (e) {
- vi(e);
+ _i(e);
}
i.currentTarget = null, a = c;
}
}
}
}
- function V(e, t) {
- var n = t[Ct];
- n === void 0 && (n = t[Ct] = /* @__PURE__ */ new Set());
+ function Xf(e, t) {
+ var n = t[St];
+ n === void 0 && (n = t[St] = /* @__PURE__ */ new Set());
var r = e + "__bubble";
n.has(r) || (ep(t, e, 2, !1), n.add(r));
}
@@ -21348,8 +21399,8 @@ var lte = /* @__PURE__ */ _(((e) => {
var Qf = "_reactListening" + Math.random().toString(36).slice(2);
function $f(e) {
if (!e[Qf]) {
- e[Qf] = !0, It.forEach(function(t) {
- t !== "selectionchange" && (Yf.has(t) || Zf(t, !1, e), Zf(t, !0, e));
+ e[Qf] = !0, Ft.forEach(function(t) {
+ t !== "selectionchange" && (Jf.has(t) || Zf(t, !1, e), Zf(t, !0, e));
});
var t = e.nodeType === 9 ? e : e.ownerDocument;
t === null || t[Qf] || (t[Qf] = !0, Zf("selectionchange", !1, t));
@@ -21365,7 +21416,7 @@ var lte = /* @__PURE__ */ _(((e) => {
break;
default: i = kh;
}
- n = i.bind(null, t, n, e), i = void 0, !Dn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {
+ n = i.bind(null, t, n, e), i = void 0, !En || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {
capture: !0,
passive: i
}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });
@@ -21384,7 +21435,7 @@ var lte = /* @__PURE__ */ _(((e) => {
s = s.return;
}
for (; c !== null;) {
- if (s = At(c), s === null) return;
+ if (s = kt(c), s === null) return;
if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {
r = a = s;
continue a;
@@ -21394,27 +21445,27 @@ var lte = /* @__PURE__ */ _(((e) => {
}
r = r.return;
}
- wn(function() {
- var r = a, i = yn(n), s = [];
+ Cn(function() {
+ var r = a, i = vn(n), s = [];
a: {
- var c = di.get(e);
+ var c = ui.get(e);
if (c !== void 0) {
var l = Ln, u = e;
switch (e) {
- case "keypress": if (Nn(n) === 0) break a;
+ case "keypress": if (Mn(n) === 0) break a;
case "keydown":
case "keyup":
- l = tr;
+ l = er;
break;
case "focusin":
- u = "focus", l = Kn;
+ u = "focus", l = Gn;
break;
case "focusout":
- u = "blur", l = Kn;
+ u = "blur", l = Gn;
break;
case "beforeblur":
case "afterblur":
- l = Kn;
+ l = Gn;
break;
case "click": if (n.button === 2) break a;
case "auxclick":
@@ -21425,7 +21476,7 @@ var lte = /* @__PURE__ */ _(((e) => {
case "mouseout":
case "mouseover":
case "contextmenu":
- l = Wn;
+ l = Un;
break;
case "drag":
case "dragend":
@@ -21435,33 +21486,33 @@ var lte = /* @__PURE__ */ _(((e) => {
case "dragover":
case "dragstart":
case "drop":
- l = Gn;
+ l = Wn;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
- l = ir;
+ l = rr;
break;
+ case ri:
case ii:
case ai:
- case oi:
- l = qn;
+ l = Kn;
break;
- case ui:
- l = ar;
+ case li:
+ l = ir;
break;
case "scroll":
case "scrollend":
l = zn;
break;
case "wheel":
- l = or;
+ l = ar;
break;
case "copy":
case "cut":
case "paste":
- l = Jn;
+ l = qn;
break;
case "gotpointercapture":
case "lostpointercapture":
@@ -21471,19 +21522,19 @@ var lte = /* @__PURE__ */ _(((e) => {
case "pointerout":
case "pointerover":
case "pointerup":
- l = nr;
+ l = tr;
break;
case "submit":
- l = rr;
+ l = nr;
break;
case "toggle":
- case "beforetoggle": l = sr;
+ case "beforetoggle": l = or;
}
var d = !!(t & 4), f = !d && (e === "scroll" || e === "scrollend"), p = d ? c === null ? null : c + "Capture" : c;
d = [];
for (var m = r, h; m !== null;) {
var g = m;
- if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Tn(m, p), g != null && d.push(np(m, g, h))), f) break;
+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = wn(m, p), g != null && d.push(np(m, g, h))), f) break;
m = m.return;
}
0 < d.length && (c = new l(c, u, null, n, i), s.push({
@@ -21494,45 +21545,45 @@ var lte = /* @__PURE__ */ _(((e) => {
}
if (!(t & 7)) {
a: {
- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== vn && (u = n.relatedTarget || n.fromElement) && (At(u) || u[St])) break a;
- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? At(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Wn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = nr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Mt(c), h = l == null ? u : Mt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, At(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, ip) : null, c !== null && ap(s, u, c, d, !1), l !== null && f !== null && ap(s, f, l, d, !0)));
+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== _n && (u = n.relatedTarget || n.fromElement) && (kt(u) || u[xt])) break a;
+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? kt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Un, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = tr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : jt(c), h = l == null ? u : jt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, kt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? C(c, l, ip) : null, c !== null && ap(s, u, c, d, !1), l !== null && f !== null && ap(s, f, l, d, !0)));
}
a: {
- if (c = r ? Mt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Dr;
- else if (xr(c)) {
- if (Or) _ = Lr;
+ if (c = r ? jt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Er;
+ else if (br(c)) {
+ if (Dr) _ = Ir;
else {
- _ = Fr;
- var v = Pr;
+ _ = Pr;
+ var v = Nr;
}
- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && pn(r.elementType) && (_ = Dr) : _ = Ir;
+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && fn(r.elementType) && (_ = Er) : _ = Fr;
if (_ &&= _(e, r)) {
- Sr(s, _, n, i);
+ xr(s, _, n, i);
break a;
}
v && v(e, c, r);
}
- switch (v = r ? Mt(r) : window, e) {
+ switch (v = r ? jt(r) : window, e) {
case "focusin":
- (xr(v) || v.contentEditable === "true") && (Jr = v, Yr = r, Xr = null);
+ (br(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);
break;
case "focusout":
- Xr = Yr = Jr = null;
+ Yr = Jr = qr = null;
break;
case "mousedown":
- Zr = !0;
+ Xr = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
- Zr = !1, Qr(s, n, i);
+ Xr = !1, Zr(s, n, i);
break;
- case "selectionchange": if (qr) break;
+ case "selectionchange": if (Kr) break;
case "keydown":
- case "keyup": Qr(s, n, i);
+ case "keyup": Zr(s, n, i);
}
var y;
- if (lr) b: {
+ if (cr) b: {
switch (e) {
case "compositionstart":
var b = "onCompositionStart";
@@ -21546,16 +21597,16 @@ var lte = /* @__PURE__ */ _(((e) => {
}
b = void 0;
}
- else _r ? hr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
- b && (fr && n.locale !== "ko" && (_r || b !== "onCompositionStart" ? b === "onCompositionEnd" && _r && (y = Mn()) : (kn = i, An = "value" in kn ? kn.value : kn.textContent, _r = !0)), v = rp(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({
+ else gr ? mr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
+ b && (dr && n.locale !== "ko" && (gr || b !== "onCompositionStart" ? b === "onCompositionEnd" && gr && (y = jn()) : (On = i, kn = "value" in On ? On.value : On.textContent, gr = !0)), v = rp(r, b), 0 < v.length && (b = new Jn(b, e, null, n, i), s.push({
event: b,
listeners: v
- }), y ? b.data = y : (y = gr(n), y !== null && (b.data = y)))), (y = dr ? vr(e, n) : yr(e, n)) && (b = rp(r, "onBeforeInput"), 0 < b.length && (v = new Yn("onBeforeInput", "beforeinput", null, n, i), s.push({
+ }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = rp(r, "onBeforeInput"), 0 < b.length && (v = new Jn("onBeforeInput", "beforeinput", null, n, i), s.push({
event: v,
listeners: b
- }), v.data = y)), Gf(s, e, r, n, i);
+ }), v.data = y)), Wf(s, e, r, n, i);
}
- Xf(s, t);
+ Yf(s, t);
});
}
function np(e, t, n) {
@@ -21568,7 +21619,7 @@ var lte = /* @__PURE__ */ _(((e) => {
function rp(e, t) {
for (var n = t + "Capture", r = []; e !== null;) {
var i = e, a = i.stateNode;
- if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Tn(e, n), i != null && r.unshift(np(e, i, a)), i = Tn(e, t), i != null && r.push(np(e, i, a))), e.tag === 3) return r;
+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = wn(e, n), i != null && r.unshift(np(e, i, a)), i = wn(e, t), i != null && r.push(np(e, i, a))), e.tag === 3) return r;
e = e.return;
}
return [];
@@ -21584,7 +21635,7 @@ var lte = /* @__PURE__ */ _(((e) => {
for (var a = t._reactName, o = []; n !== null && n !== r;) {
var s = n, c = s.alternate, l = s.stateNode;
if (s = s.tag, c !== null && c === r) break;
- s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Tn(n, a), l != null && o.unshift(np(n, l, c))) : i || (l = Tn(n, a), l != null && o.push(np(n, l, c)))), n = n.return;
+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = wn(n, a), l != null && o.unshift(np(n, l, c))) : i || (l = wn(n, a), l != null && o.push(np(n, l, c)))), n = n.return;
}
o.length !== 0 && e.push({
event: t,
@@ -21601,28 +21652,28 @@ var lte = /* @__PURE__ */ _(((e) => {
function up(e, t, n, r, a, o) {
switch (n) {
case "children":
- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || ln(e, r);
- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && ln(e, "" + r);
+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || cn(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && cn(e, "" + r);
else return;
break;
case "className":
- qt(e, "class", r);
+ Kt(e, "class", r);
break;
case "tabIndex":
- qt(e, "tabindex", r);
+ Kt(e, "tabindex", r);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
- qt(e, n, r);
+ Kt(e, n, r);
break;
case "style":
- fn(e, r, o);
+ dn(e, r, o);
return;
case "data": if (t !== "object") {
- qt(e, "data", r);
+ Kt(e, "data", r);
break;
}
case "src":
@@ -21635,7 +21686,7 @@ var lte = /* @__PURE__ */ _(((e) => {
e.removeAttribute(n);
break;
}
- r = gn(r), e.setAttribute(n, r);
+ r = hn(r), e.setAttribute(n, r);
break;
case "action":
case "formAction":
@@ -21647,16 +21698,16 @@ var lte = /* @__PURE__ */ _(((e) => {
e.removeAttribute(n);
break;
}
- r = gn(r), e.setAttribute(n, r);
+ r = hn(r), e.setAttribute(n, r);
break;
case "onClick":
- r != null && (e.onclick = _n);
+ r != null && (e.onclick = gn);
return;
case "onScroll":
- r != null && V("scroll", e);
+ r != null && Xf("scroll", e);
return;
case "onScrollEnd":
- r != null && V("scrollend", e);
+ r != null && Xf("scrollend", e);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -21685,7 +21736,7 @@ var lte = /* @__PURE__ */ _(((e) => {
e.removeAttribute("xlink:href");
break;
}
- n = gn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
+ n = hn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
break;
case "contentEditable":
case "spellCheck":
@@ -21738,49 +21789,49 @@ var lte = /* @__PURE__ */ _(((e) => {
r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);
break;
case "popover":
- V("beforetoggle", e), V("toggle", e), Kt(e, "popover", r);
+ Xf("beforetoggle", e), Xf("toggle", e), Gt(e, "popover", r);
break;
case "xlinkActuate":
- Jt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
break;
case "xlinkArcrole":
- Jt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
break;
case "xlinkRole":
- Jt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
break;
case "xlinkShow":
- Jt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
break;
case "xlinkTitle":
- Jt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
break;
case "xlinkType":
- Jt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
break;
case "xmlBase":
- Jt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
break;
case "xmlLang":
- Jt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
break;
case "xmlSpace":
- Jt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
break;
case "is":
- Kt(e, "is", r);
+ Gt(e, "is", r);
break;
case "innerText":
case "textContent": return;
- default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = mn.get(n) || n, Kt(e, n, r);
+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = pn.get(n) || n, Gt(e, n, r);
else return;
}
- Wt = !0;
+ Ut = !0;
}
function dp(e, t, n, r, a, o) {
switch (n) {
case "style":
- fn(e, r, o);
+ dn(e, r, o);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -21792,18 +21843,18 @@ var lte = /* @__PURE__ */ _(((e) => {
}
break;
case "children":
- if (typeof r == "string") ln(e, r);
- else if (typeof r == "number" || typeof r == "bigint") ln(e, "" + r);
+ if (typeof r == "string") cn(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") cn(e, "" + r);
else return;
break;
case "onScroll":
- r != null && V("scroll", e);
+ r != null && Xf("scroll", e);
return;
case "onScrollEnd":
- r != null && V("scrollend", e);
+ r != null && Xf("scrollend", e);
return;
case "onClick":
- r != null && (e.onclick = _n);
+ r != null && (e.onclick = gn);
return;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
@@ -21812,16 +21863,16 @@ var lte = /* @__PURE__ */ _(((e) => {
case "innerText":
case "textContent": return;
default:
- if (!Lt.hasOwnProperty(n)) a: {
- if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[xt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
+ if (!It.hasOwnProperty(n)) a: {
+ if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[bt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);
break a;
}
- Wt = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Kt(e, n, r);
+ Ut = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Gt(e, n, r);
}
return;
}
- Wt = !0;
+ Ut = !0;
}
function fp(e, t, n) {
switch (t) {
@@ -21834,7 +21885,7 @@ var lte = /* @__PURE__ */ _(((e) => {
case "p":
case "li": break;
case "img":
- V("error", e), V("load", e);
+ Xf("error", e), Xf("load", e);
var r = !1, a = !1, o;
for (o in n) if (n.hasOwnProperty(o)) {
var s = n[o];
@@ -21853,7 +21904,7 @@ var lte = /* @__PURE__ */ _(((e) => {
a && up(e, t, "srcSet", n.srcSet, n, null), r && up(e, t, "src", n.src, n, null);
return;
case "input":
- V("invalid", e);
+ Xf("invalid", e);
var c = o = s = a = null, l = null, u = null;
for (r in n) if (n.hasOwnProperty(r)) {
var d = n[r];
@@ -21883,10 +21934,10 @@ var lte = /* @__PURE__ */ _(((e) => {
default: up(e, t, r, d, n, null);
}
}
- rn(e, o, c, l, u, s, a, !1);
+ nn(e, o, c, l, u, s, a, !1);
return;
case "select":
- for (a in V("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
+ for (a in Xf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
case "value":
o = c;
break;
@@ -21896,10 +21947,10 @@ var lte = /* @__PURE__ */ _(((e) => {
case "multiple": r = c;
default: up(e, t, a, c, n, null);
}
- t = o, n = s, e.multiple = !!r, t == null ? n != null && on(e, !!r, n, !0) : on(e, !!r, t, !1);
+ t = o, n = s, e.multiple = !!r, t == null ? n != null && an(e, !!r, n, !0) : an(e, !!r, t, !1);
return;
case "textarea":
- for (s in V("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
+ for (s in Xf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
case "value":
r = c;
break;
@@ -21914,7 +21965,7 @@ var lte = /* @__PURE__ */ _(((e) => {
break;
default: up(e, t, s, c, n, null);
}
- cn(e, r, a, o);
+ sn(e, r, a, o);
return;
case "option":
for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {
@@ -21925,25 +21976,25 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return;
case "dialog":
- V("beforetoggle", e), V("toggle", e), V("cancel", e), V("close", e);
+ Xf("beforetoggle", e), Xf("toggle", e), Xf("cancel", e), Xf("close", e);
break;
case "iframe":
case "object":
- V("load", e);
+ Xf("load", e);
break;
case "video":
case "audio":
- for (r = 0; r < Jf.length; r++) V(Jf[r], e);
+ for (r = 0; r < qf.length; r++) Xf(qf[r], e);
break;
case "image":
- V("error", e), V("load", e);
+ Xf("error", e), Xf("load", e);
break;
case "details":
- V("toggle", e);
+ Xf("toggle", e);
break;
case "embed":
case "source":
- case "link": V("error", e), V("load", e);
+ case "link": Xf("error", e), Xf("load", e);
case "area":
case "base":
case "br":
@@ -21961,7 +22012,7 @@ var lte = /* @__PURE__ */ _(((e) => {
default: up(e, t, u, r, n, null);
}
return;
- default: if (pn(t)) {
+ default: if (fn(t)) {
for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && dp(e, t, d, r, n, void 0));
return;
}
@@ -21994,22 +22045,22 @@ var lte = /* @__PURE__ */ _(((e) => {
var m = r[p];
if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {
case "type":
- m !== f && (Wt = !0), o = m;
+ m !== f && (Ut = !0), o = m;
break;
case "name":
- m !== f && (Wt = !0), a = m;
+ m !== f && (Ut = !0), a = m;
break;
case "checked":
- m !== f && (Wt = !0), u = m;
+ m !== f && (Ut = !0), u = m;
break;
case "defaultChecked":
- m !== f && (Wt = !0), d = m;
+ m !== f && (Ut = !0), d = m;
break;
case "value":
- m !== f && (Wt = !0), s = m;
+ m !== f && (Ut = !0), s = m;
break;
case "defaultValue":
- m !== f && (Wt = !0), c = m;
+ m !== f && (Ut = !0), c = m;
break;
case "children":
case "dangerouslySetInnerHTML":
@@ -22018,7 +22069,7 @@ var lte = /* @__PURE__ */ _(((e) => {
default: m !== f && up(e, t, p, m, r, f);
}
}
- nn(e, s, c, l, u, d, o, a);
+ tn(e, s, c, l, u, d, o, a);
return;
case "select":
for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {
@@ -22028,15 +22079,15 @@ var lte = /* @__PURE__ */ _(((e) => {
}
for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {
case "value":
- o !== l && (Wt = !0), p = o;
+ o !== l && (Ut = !0), p = o;
break;
case "defaultValue":
- o !== l && (Wt = !0), c = o;
+ o !== l && (Ut = !0), c = o;
break;
- case "multiple": o !== l && (Wt = !0), s = o;
+ case "multiple": o !== l && (Ut = !0), s = o;
default: o !== l && up(e, t, a, o, r, l);
}
- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? on(e, !!n, n ? [] : "", !1) : on(e, !!n, t, !0)) : on(e, !!n, p, !1);
+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? an(e, !!n, n ? [] : "", !1) : an(e, !!n, t, !0)) : an(e, !!n, p, !1);
return;
case "textarea":
for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {
@@ -22046,10 +22097,10 @@ var lte = /* @__PURE__ */ _(((e) => {
}
for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {
case "value":
- a !== o && (Wt = !0), p = a;
+ a !== o && (Ut = !0), p = a;
break;
case "defaultValue":
- a !== o && (Wt = !0), m = a;
+ a !== o && (Ut = !0), m = a;
break;
case "children": break;
case "dangerouslySetInnerHTML":
@@ -22057,7 +22108,7 @@ var lte = /* @__PURE__ */ _(((e) => {
break;
default: a !== o && up(e, t, s, a, r, o);
}
- sn(e, p, m);
+ on(e, p, m);
return;
case "option":
for (var h in n) if (p = n[h], n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h)) switch (h) {
@@ -22068,7 +22119,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {
case "selected":
- p !== m && (Wt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
+ p !== m && (Ut = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
break;
default: up(e, t, l, p, r, m);
}
@@ -22097,7 +22148,7 @@ var lte = /* @__PURE__ */ _(((e) => {
default: up(e, t, u, p, r, m);
}
return;
- default: if (pn(t)) {
+ default: if (fn(t)) {
for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && dp(e, t, _, void 0, r, p);
for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || dp(e, t, d, p, r, m);
return;
@@ -22156,7 +22207,7 @@ var lte = /* @__PURE__ */ _(((e) => {
return e === 1 && t === "foreignObject" ? 0 : e;
}
function Sp(e, t, n, r) {
- return n = yp(n).createElement(e), n[bt] = r, n[xt] = t, fp(n, e, t), Pt(n), n;
+ return n = yp(n).createElement(e), n[yt] = r, n[bt] = t, fp(n, e, t), Nt(n), n;
}
function Cp(e, t) {
return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
@@ -22189,14 +22240,14 @@ var lte = /* @__PURE__ */ _(((e) => {
}
r--;
} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;
- else if (n === "html") Em(e.ownerDocument.documentElement);
+ else if (n === "html") Dm(e.ownerDocument.documentElement);
else if (n === "head") {
- n = e.ownerDocument.head, Em(n);
+ n = e.ownerDocument.head, Dm(n);
for (var a = n.firstChild; a;) {
var o = a.nextSibling, s = a.nodeName;
- a[Dt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
+ a[Et] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
}
- } else n === "body" && Em(e.ownerDocument.body);
+ } else n === "body" && Dm(e.ownerDocument.body);
}
n = i;
} while (n);
@@ -22424,7 +22475,7 @@ var lte = /* @__PURE__ */ _(((e) => {
f(this._fragmentFiber.child, !0, Zp, e, void 0, void 0);
};
function Zp(e, t) {
- return e.tag !== 6 && (e = _(e), H(e, t));
+ return e.tag !== 6 && (e = _(e), Cm(e, t));
}
Gp.prototype.focusLast = function(e) {
var t = [];
@@ -22467,7 +22518,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fragmentInstance: e,
observer: t,
instance: n
- }), rm || (rm = !0, Cm(function() {
+ }), rm || (rm = !0, wm(function() {
rm = !1;
var e = nm;
nm = [];
@@ -22525,7 +22576,7 @@ var lte = /* @__PURE__ */ _(((e) => {
return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || om(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
};
function om(e, t, n, r, i) {
- var a = At(i);
+ var a = kt(i);
if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {
if (n = !!a) a: {
for (; a !== null;) {
@@ -22553,7 +22604,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return a;
}
- return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = w(n, a, S), t === null ? t = !1 : (f(t, !0, b, a, n), a = v, v = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = w(r, a, S), t === null ? t = !1 : (f(t, !0, x, a, r), a = v, y = v = null, t = a !== null)), t) : !1;
+ return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = C(n, a, S), t === null ? t = !1 : (f(t, !0, b, a, n), a = v, v = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = C(r, a, S), t === null ? t = !1 : (f(t, !0, x, a, r), a = v, y = v = null, t = a !== null)), t) : !1;
}
function sm(e, t) {
var n = e.ownerDocument.createRange();
@@ -22622,7 +22673,7 @@ var lte = /* @__PURE__ */ _(((e) => {
case "HTML":
case "HEAD":
case "BODY":
- fm(n), kt(n);
+ fm(n), Ot(n);
continue;
case "SCRIPT":
case "STYLE": continue;
@@ -22641,7 +22692,7 @@ var lte = /* @__PURE__ */ _(((e) => {
var a = i.name == null ? null : "" + i.name;
if (i.type === "hidden" && e.getAttribute("name") === a) return e;
} else return e;
- } else if (!e[Dt]) switch (t) {
+ } else if (!e[Et]) switch (t) {
case "meta":
if (!e.hasAttribute("itemprop")) break;
return e;
@@ -22726,7 +22777,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return null;
}
- function H(e, t) {
+ function Cm(e, t) {
function n() {
r = !0;
}
@@ -22739,14 +22790,14 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return r;
}
- function Cm(e) {
+ function wm(e) {
kp(function() {
kp(function(t) {
return e(t);
});
});
}
- function wm(e, t, n) {
+ function Tm(e, t, n) {
switch (t = yp(n), e) {
case "html":
if (e = t.documentElement, !e) throw Error(i(452));
@@ -22760,18 +22811,18 @@ var lte = /* @__PURE__ */ _(((e) => {
default: throw Error(i(451));
}
}
- function Tm(e, t, n) {
+ function Em(e, t, n) {
for (var r in n) {
var i = n[r];
n.hasOwnProperty(r) && i != null && up(e, t, r, null, pp, i);
}
- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === _n && (e.onclick = null), kt(e);
+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === gn && (e.onclick = null), Ot(e);
}
- function Em(e) {
+ function Dm(e) {
for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
- kt(e);
+ Ot(e);
}
- var Dm = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();
+ var H = /* @__PURE__ */ new Map(), Om = /* @__PURE__ */ new Set();
function km(e) {
if (typeof e.getRootNode == "function") {
var t = e.getRootNode();
@@ -22779,8 +22830,8 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return e.nodeType === 9 ? e : e.ownerDocument;
}
- var Am = de.d;
- de.d = {
+ var Am = z.d;
+ z.d = {
f: jm,
r: Mm,
D: Fm,
@@ -22792,23 +22843,23 @@ var lte = /* @__PURE__ */ _(((e) => {
M: Vm
};
function jm() {
- var e = Am.f(), t = Jd();
+ var e = Am.f(), t = qd();
return e || t;
}
function Mm(e) {
- var t = jt(e);
- t !== null && t.tag === 5 && t.type === "form" ? ic(t) : Am.r(e);
+ var t = At(e);
+ t !== null && t.tag === 5 && t.type === "form" ? rc(t) : Am.r(e);
}
var Nm = typeof document > "u" ? null : document;
function Pm(e, t, n) {
var r = Nm;
if (r && typeof t == "string" && t) {
- var i = tn(t);
+ var i = en(t);
i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Om.has(i) || (Om.add(i), e = {
rel: e,
crossOrigin: n,
href: t
- }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), Pt(t), r.head.appendChild(t)));
+ }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), Nt(t), r.head.appendChild(t)));
}
}
function Fm(e) {
@@ -22821,8 +22872,8 @@ var lte = /* @__PURE__ */ _(((e) => {
Am.L(e, t, n);
var r = Nm;
if (r && e && t) {
- var i = "link[rel=\"preload\"][as=\"" + tn(t) + "\"]";
- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + tn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + tn(n.imageSizes) + "\"]")) : i += "[href=\"" + tn(e) + "\"]";
+ var i = "link[rel=\"preload\"][as=\"" + en(t) + "\"]";
+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + en(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + en(n.imageSizes) + "\"]")) : i += "[href=\"" + en(e) + "\"]";
var a = i;
switch (t) {
case "style":
@@ -22830,15 +22881,15 @@ var lte = /* @__PURE__ */ _(((e) => {
break;
case "script": a = qm(e);
}
- if (!(Dm.has(a) || (e = T({
+ if (!(H.has(a) || (e = T({
rel: "preload",
href: t === "image" && n && n.imageSrcSet ? void 0 : e,
as: t
- }, n), Dm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Ym(a))))) {
+ }, n), H.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Wm(a)) || t === "script" && r.querySelector(Jm(a))))) {
var o = r.createElement("link");
- fp(o, "link", e), t === "style" && (o[Ot] = !0, o.onload = o.onerror = function() {
- Ft(o);
- }), Pt(o), r.head.appendChild(o);
+ fp(o, "link", e), t === "style" && (o[Dt] = !0, o.onload = o.onerror = function() {
+ Pt(o);
+ }), Nt(o), r.head.appendChild(o);
}
}
}
@@ -22846,7 +22897,7 @@ var lte = /* @__PURE__ */ _(((e) => {
Am.m(e, t);
var n = Nm;
if (n && e) {
- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + tn(r) + "\"][href=\"" + tn(e) + "\"]", a = i;
+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + en(r) + "\"][href=\"" + en(e) + "\"]", a = i;
switch (r) {
case "audioworklet":
case "paintworklet":
@@ -22855,19 +22906,19 @@ var lte = /* @__PURE__ */ _(((e) => {
case "worker":
case "script": a = qm(e);
}
- if (!Dm.has(a) && (e = T({
+ if (!H.has(a) && (e = T({
rel: "modulepreload",
href: e
- }, t), Dm.set(a, e), n.querySelector(i) === null)) {
+ }, t), H.set(a, e), n.querySelector(i) === null)) {
switch (r) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
- case "script": if (n.querySelector(Ym(a))) return;
+ case "script": if (n.querySelector(Jm(a))) return;
}
- r = n.createElement("link"), fp(r, "link", e), Pt(r), n.head.appendChild(r);
+ r = n.createElement("link"), fp(r, "link", e), Nt(r), n.head.appendChild(r);
}
}
}
@@ -22875,7 +22926,7 @@ var lte = /* @__PURE__ */ _(((e) => {
Am.S(e, t, n);
var r = Nm;
if (r && e) {
- var i = Nt(r).hoistableStyles, a = Um(e);
+ var i = Mt(r).hoistableStyles, a = Um(e);
t ||= "default";
var o = i.get(a);
if (!o) {
@@ -22889,15 +22940,15 @@ var lte = /* @__PURE__ */ _(((e) => {
rel: "stylesheet",
href: e,
"data-precedence": t
- }, n), (n = Dm.get(a)) && Qm(e, n);
+ }, n), (n = H.get(a)) && Zm(e, n);
var c = o = r.createElement("link");
- Pt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {
+ Nt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {
c.onload = e, c.onerror = t;
}), c.addEventListener("load", function() {
s.loading |= 1;
}), c.addEventListener("error", function() {
s.loading |= 2;
- }), s.loading |= 4, Zm(o, t, r);
+ }), s.loading |= 4, Xm(o, t, r);
}
o = {
type: "stylesheet",
@@ -22912,11 +22963,11 @@ var lte = /* @__PURE__ */ _(((e) => {
Am.X(e, t);
var n = Nm;
if (n && e) {
- var r = Nt(n).hoistableScripts, i = qm(e), a = r.get(i);
- a || (a = n.querySelector(Ym(i)), a || (e = T({
+ var r = Mt(n).hoistableScripts, i = qm(e), a = r.get(i);
+ a || (a = n.querySelector(Jm(i)), a || (e = T({
src: e,
async: !0
- }, t), (t = Dm.get(i)) && $m(e, t), a = n.createElement("script"), Pt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = H.get(i)) && Qm(e, t), a = n.createElement("script"), Nt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -22928,12 +22979,12 @@ var lte = /* @__PURE__ */ _(((e) => {
Am.M(e, t);
var n = Nm;
if (n && e) {
- var r = Nt(n).hoistableScripts, i = qm(e), a = r.get(i);
- a || (a = n.querySelector(Ym(i)), a || (e = T({
+ var r = Mt(n).hoistableScripts, i = qm(e), a = r.get(i);
+ a || (a = n.querySelector(Jm(i)), a || (e = T({
src: e,
async: !0,
type: "module"
- }, t), (t = Dm.get(i)) && $m(e, t), a = n.createElement("script"), Pt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = H.get(i)) && Qm(e, t), a = n.createElement("script"), Nt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -22942,12 +22993,12 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
function Hm(e, t, n, r) {
- var a = (a = be.current) ? km(a) : null;
+ var a = (a = ye.current) ? km(a) : null;
if (!a) throw Error(i(446));
switch (e) {
case "meta":
case "title": return null;
- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = Nt(a).hoistableStyles, r = t.get(n), r || (r = {
+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Um(n.href), t = Mt(a).hoistableStyles, r = t.get(n), r || (r = {
type: "style",
instance: null,
count: 0,
@@ -22961,7 +23012,7 @@ var lte = /* @__PURE__ */ _(((e) => {
case "link":
if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
e = Um(n.href);
- var o = Nt(a).hoistableStyles, s = o.get(e);
+ var o = Mt(a).hoistableStyles, s = o.get(e);
if (s || (a = a.ownerDocument || a, s = {
type: "stylesheet",
instance: null,
@@ -22970,7 +23021,7 @@ var lte = /* @__PURE__ */ _(((e) => {
loading: 0,
preload: null
}
- }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Dm.get(e), o || (o = {
+ }, o.set(e, s), (o = a.querySelector(Wm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = H.get(e), o || (o = {
rel: "preload",
as: "style",
href: n.href,
@@ -22979,12 +23030,12 @@ var lte = /* @__PURE__ */ _(((e) => {
media: n.media,
hrefLang: n.hrefLang,
referrerPolicy: n.referrerPolicy
- }, Dm.set(e, o)), Km(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));
+ }, H.set(e, o)), Km(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));
return s;
}
if (t && r !== null) throw Error(i(529, ""));
return null;
- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = qm(n), t = Nt(a).hoistableScripts, r = t.get(n), r || (r = {
+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = qm(n), t = Mt(a).hoistableScripts, r = t.get(n), r || (r = {
type: "script",
instance: null,
count: 0,
@@ -22999,7 +23050,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
function Um(e) {
- return "href=\"" + tn(e) + "\"";
+ return "href=\"" + en(e) + "\"";
}
function Wm(e) {
return "link[rel=\"stylesheet\"][" + e + "]";
@@ -23012,11 +23063,11 @@ var lte = /* @__PURE__ */ _(((e) => {
}
function Km(e, t, n, r) {
if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {
- if (!0 !== t[Ot]) {
+ if (!0 !== t[Dt]) {
r.loading = 1;
return;
}
- } else t = e.createElement("link"), t[Ot] = !0, t.onload = t.onerror = Ft.bind(null, t), fp(t, "link", n), Pt(t), e.head.appendChild(t);
+ } else t = e.createElement("link"), t[Dt] = !0, t.onload = t.onerror = Pt.bind(null, t), fp(t, "link", n), Nt(t), e.head.appendChild(t);
r.preload = t, t.addEventListener("load", function() {
return r.loading |= 1;
}), t.addEventListener("error", function() {
@@ -23024,40 +23075,40 @@ var lte = /* @__PURE__ */ _(((e) => {
});
}
function qm(e) {
- return "[src=\"" + tn(e) + "\"]";
+ return "[src=\"" + en(e) + "\"]";
}
- function Ym(e) {
+ function Jm(e) {
return "script[async]" + e;
}
- function Xm(e, t, n) {
+ function Ym(e, t, n) {
if (t.count++, t.instance === null) switch (t.type) {
case "style":
- var r = e.querySelector("style[data-href~=\"" + tn(n.href) + "\"]");
- if (r) return t.instance = r, Pt(r), r;
+ var r = e.querySelector("style[data-href~=\"" + en(n.href) + "\"]");
+ if (r) return t.instance = r, Nt(r), r;
var a = T({}, n, {
"data-href": n.href,
"data-precedence": n.precedence,
href: null,
precedence: null
});
- return r = (e.ownerDocument || e).createElement("style"), Pt(r), fp(r, "style", a), Zm(r, n.precedence, e), t.instance = r;
+ return r = (e.ownerDocument || e).createElement("style"), Nt(r), fp(r, "style", a), Xm(r, n.precedence, e), t.instance = r;
case "stylesheet":
a = Um(n.href);
var o = e.querySelector(Wm(a));
- if (o) return t.state.loading |= 4, t.instance = o, Pt(o), o;
- r = Gm(n), (a = Dm.get(a)) && Qm(r, a), o = (e.ownerDocument || e).createElement("link"), Pt(o);
+ if (o) return t.state.loading |= 4, t.instance = o, Nt(o), o;
+ r = Gm(n), (a = H.get(a)) && Zm(r, a), o = (e.ownerDocument || e).createElement("link"), Nt(o);
var s = o;
return s._p = new Promise(function(e, t) {
s.onload = e, s.onerror = t;
- }), fp(o, "link", r), t.state.loading |= 4, Zm(o, n.precedence, e), t.instance = o;
- case "script": return o = qm(n.src), (a = e.querySelector(Ym(o))) ? (t.instance = a, Pt(a), a) : (r = n, (a = Dm.get(o)) && (r = T({}, n), $m(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Pt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);
+ }), fp(o, "link", r), t.state.loading |= 4, Xm(o, n.precedence, e), t.instance = o;
+ case "script": return o = qm(n.src), (a = e.querySelector(Jm(o))) ? (t.instance = a, Nt(a), a) : (r = n, (a = H.get(o)) && (r = T({}, n), Qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Nt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);
case "void": return null;
default: throw Error(i(443, t.type));
}
- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Zm(r, n.precedence, e));
+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Xm(r, n.precedence, e));
return t.instance;
}
- function Zm(e, t, n) {
+ function Xm(e, t, n) {
for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {
var s = r[o];
if (s.dataset.precedence === t) a = s;
@@ -23065,10 +23116,10 @@ var lte = /* @__PURE__ */ _(((e) => {
}
a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));
}
- function Qm(e, t) {
+ function Zm(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;
}
- function $m(e, t) {
+ function Qm(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;
}
var eh = null;
@@ -23080,7 +23131,7 @@ var lte = /* @__PURE__ */ _(((e) => {
if (r.has(e)) return r;
for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {
var a = n[i];
- if (!(a[Dt] || a[bt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
+ if (!(a[Et] || a[yt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
var o = a.getAttribute(t) || "";
o = e + o;
var s = r.get(o);
@@ -23127,10 +23178,10 @@ var lte = /* @__PURE__ */ _(((e) => {
if (n.instance === null) {
var i = Um(r.href), a = t.querySelector(Wm(i));
if (a) {
- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = fh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Pt(a);
+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = fh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Nt(a);
return;
}
- a = t.ownerDocument || t, r = Gm(r), (i = Dm.get(i)) && Qm(r, i), a = a.createElement("link"), Pt(a);
+ a = t.ownerDocument || t, r = Gm(r), (i = H.get(i)) && Zm(r, i), a = a.createElement("link"), Nt(a);
var o = a;
o._p = new Promise(function(e, t) {
o.onload = e, o.onerror = t;
@@ -23198,25 +23249,25 @@ var lte = /* @__PURE__ */ _(((e) => {
$$typeof: N,
Provider: null,
Consumer: null,
- _currentValue: fe,
- _currentValue2: fe,
+ _currentValue: de,
+ _currentValue2: de,
_threadCount: 0
};
function vh(e, t, n, r, i, a, o, s, c) {
- this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = lt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = lt(0), this.hiddenUpdates = lt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
+ this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = ct(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ct(0), this.hiddenUpdates = ct(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
}
function yh(e, t, n, r, i, a, o, s, c, l, u, d) {
- return e = new vh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ai(3, null, null, t), e.current = a, a.stateNode = e, t = ja(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
+ return e = new vh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
element: r,
isDehydrated: n,
cache: t
- }, mo(a), e;
+ }, po(a), e;
}
function bh(e) {
- return e ? (e = Oi, e) : Oi;
+ return e ? (e = Di, e) : Di;
}
function xh(e, t, n, r, i, a) {
- i = bh(i), r.context === null ? r.context = i : r.pendingContext = i, r = go(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = _o(e, r, t), n !== null && (Ud(n, e, t), vo(n, e, t));
+ i = bh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Hd(n, e, t), _o(n, e, t));
}
function Sh(e, t) {
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
@@ -23229,37 +23280,37 @@ var lte = /* @__PURE__ */ _(((e) => {
}
function wh(e) {
if (e.tag === 13 || e.tag === 31) {
- var t = Ti(e, 67108864);
- t !== null && Ud(t, e, 67108864), Ch(e, 67108864);
+ var t = wi(e, 67108864);
+ t !== null && Hd(t, e, 67108864), Ch(e, 67108864);
}
}
function Th(e) {
if (e.tag === 13 || e.tag === 31) {
- var t = Bd();
- t = ht(t);
- var n = Ti(e, t);
- n !== null && Ud(n, e, t), Ch(e, t);
+ var t = zd();
+ t = mt(t);
+ var n = wi(e, t);
+ n !== null && Hd(n, e, t), Ch(e, t);
}
}
var Eh = !0;
function Dh(e, t, n, r) {
var i = R.T;
R.T = null;
- var a = de.p;
+ var a = z.p;
try {
- de.p = 2, kh(e, t, n, r);
+ z.p = 2, kh(e, t, n, r);
} finally {
- de.p = a, R.T = i;
+ z.p = a, R.T = i;
}
}
function Oh(e, t, n, r) {
var i = R.T;
R.T = null;
- var a = de.p;
+ var a = z.p;
try {
- de.p = 8, kh(e, t, n, r);
+ z.p = 8, kh(e, t, n, r);
} finally {
- de.p = a, R.T = i;
+ z.p = a, R.T = i;
}
}
function kh(e, t, n, r) {
@@ -23269,23 +23320,23 @@ var lte = /* @__PURE__ */ _(((e) => {
else if (Wh(i, e, t, n, r)) r.stopPropagation();
else if (Hh(e, r), t & 4 && -1 < Vh.indexOf(e)) {
for (; i !== null;) {
- var a = jt(i);
+ var a = At(i);
if (a !== null) switch (a.tag) {
case 3:
if (a = a.stateNode, a.current.memoizedState.isDehydrated) {
- var o = rt(a.pendingLanes);
+ var o = nt(a.pendingLanes);
if (o !== 0) {
var s = a;
for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {
- var c = 1 << 31 - Xe(o);
+ var c = 1 << 31 - Ye(o);
s.entanglements[1] |= c, o &= ~c;
}
- If(a), !(id & 6) && (Td = Re() + 500, Lf(0, !1));
+ Ff(a), !(rd & 6) && (wd = Le() + 500, If(0, !1));
}
}
break;
case 31:
- case 13: s = Ti(a, 2), s !== null && Ud(s, a, 2), Jd(), Ch(a, 2);
+ case 13: s = wi(a, 2), s !== null && Hd(s, a, 2), qd(), Ch(a, 2);
}
if (a = Ah(r), a === null && tp(e, t, r, jh, n), a === i) break;
i = a;
@@ -23295,11 +23346,11 @@ var lte = /* @__PURE__ */ _(((e) => {
}
}
function Ah(e) {
- return e = yn(e), Mh(e);
+ return e = vn(e), Mh(e);
}
var jh = null;
function Mh(e) {
- if (jh = null, e = At(e), e !== null) {
+ if (jh = null, e = kt(e), e !== null) {
var t = o(e);
if (t === null) e = null;
else {
@@ -23392,12 +23443,12 @@ var lte = /* @__PURE__ */ _(((e) => {
case "mouseleave":
case "pointerenter":
case "pointerleave": return 8;
- case "message": switch (ze()) {
- case Be: return 2;
- case Ve: return 8;
- case He:
- case Ue: return 32;
- case We: return 268435456;
+ case "message": switch (Re()) {
+ case ze: return 2;
+ case Be: return 8;
+ case Ve:
+ case He: return 32;
+ case Ue: return 268435456;
default: return 32;
}
default: return 32;
@@ -23433,7 +23484,7 @@ var lte = /* @__PURE__ */ _(((e) => {
eventSystemFlags: r,
nativeEvent: a,
targetContainers: [i]
- }, t !== null && (t = jt(t), t !== null && wh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
+ }, t !== null && (t = At(t), t !== null && wh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
}
function Wh(e, t, n, r, i) {
switch (t) {
@@ -23448,20 +23499,20 @@ var lte = /* @__PURE__ */ _(((e) => {
return !1;
}
function Gh(e) {
- var t = At(e.target);
+ var t = kt(e.target);
if (t !== null) {
var n = o(t);
if (n !== null) {
if (t = n.tag, t === 13) {
if (t = s(n), t !== null) {
- e.blockedOn = t, vt(e.priority, function() {
+ e.blockedOn = t, _t(e.priority, function() {
Th(n);
});
return;
}
} else if (t === 31) {
if (t = c(n), t !== null) {
- e.blockedOn = t, vt(e.priority, function() {
+ e.blockedOn = t, _t(e.priority, function() {
Th(n);
});
return;
@@ -23481,8 +23532,8 @@ var lte = /* @__PURE__ */ _(((e) => {
if (n === null) {
n = e.nativeEvent;
var r = new n.constructor(n.type, n);
- vn = r, n.target.dispatchEvent(r), vn = null;
- } else return t = jt(n), t !== null && wh(t), e.blockedOn = n, !1;
+ _n = r, n.target.dispatchEvent(r), _n = null;
+ } else return t = At(n), t !== null && wh(t), e.blockedOn = n, !1;
t.shift();
}
return !0;
@@ -23506,8 +23557,8 @@ var lte = /* @__PURE__ */ _(((e) => {
if (Mh(r || n) === null) continue;
break;
}
- var a = jt(n);
- a !== null && (e.splice(t, 3), t -= 3, nc(a, {
+ var a = At(n);
+ a !== null && (e.splice(t, 3), t -= 3, tc(a, {
pending: !0,
data: i,
method: n.method,
@@ -23527,12 +23578,12 @@ var lte = /* @__PURE__ */ _(((e) => {
}
for (; 0 < Bh.length && (n = Bh[0], n.blockedOn === null);) Gh(n), n.blockedOn === null && Bh.shift();
if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {
- var i = n[r], a = n[r + 1], o = i[xt] || null;
+ var i = n[r], a = n[r + 1], o = i[bt] || null;
if (typeof a == "function") o || Zh(n);
else if (o) {
var s = null;
if (a && a.hasAttribute("formAction")) {
- if (i = a, o = a[xt] || null) s = o.formAction;
+ if (i = a, o = a[bt] || null) s = o.formAction;
else if (Mh(i) !== null) continue;
} else s = o.action;
typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Zh(n);
@@ -23578,13 +23629,13 @@ var lte = /* @__PURE__ */ _(((e) => {
var t = this._internalRoot;
if (t === null) throw Error(i(409));
var n = t.current;
- xh(n, Bd(), e, t, null, null);
+ xh(n, zd(), e, t, null, null);
}, tg.prototype.unmount = eg.prototype.unmount = function() {
var e = this._internalRoot;
if (e !== null) {
this._internalRoot = null;
var t = e.containerInfo;
- xh(e.current, 2, null, e, null, null), Jd(), t[St] = null;
+ xh(e.current, 2, null, e, null, null), qd(), t[xt] = null;
}
};
function tg(e) {
@@ -23592,7 +23643,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
tg.prototype.unstable_scheduleHydration = function(e) {
if (e) {
- var t = _t();
+ var t = gt();
e = {
blockedOn: null,
target: e,
@@ -23604,7 +23655,7 @@ var lte = /* @__PURE__ */ _(((e) => {
};
var ng = n.version;
if (ng !== "19.3.0") throw Error(i(527, ng, "19.3.0"));
- de.findDOMNode = function(e) {
+ z.findDOMNode = function(e) {
var t = e._reactInternals;
if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));
return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;
@@ -23619,15 +23670,15 @@ var lte = /* @__PURE__ */ _(((e) => {
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
var ig = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!ig.isDisabled && ig.supportsFiber) try {
- qe = ig.inject(rg), Je = ig;
+ Ke = ig.inject(rg), qe = ig;
} catch {}
}
e.createRoot = function(e, t) {
if (!a(e)) throw Error(i(299));
- var n = !1, r = "", o = Tc, s = Ec, c = Dc;
- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[St] = t.current, $f(e), new eg(t);
+ var n = !1, r = "", o = wc, s = Tc, c = Ec;
+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, $f(e), new eg(t);
};
-})), fte = (/* @__PURE__ */ _(((e, t) => {
+})), nS = (/* @__PURE__ */ v(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -23635,8 +23686,8 @@ var lte = /* @__PURE__ */ _(((e) => {
console.error(e);
}
}
- n(), t.exports = dte();
-})))(), pte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+ n(), t.exports = kte();
+})))(), Ate = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23644,7 +23695,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), mte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), jte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23652,7 +23703,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), rS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23660,7 +23711,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), iS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23668,7 +23719,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), aS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23676,7 +23727,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), hte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Mte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23684,7 +23735,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), oS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23692,7 +23743,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), sS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23700,7 +23751,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Nte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23708,7 +23759,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), cS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23716,7 +23767,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), lS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23724,7 +23775,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), uS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23732,7 +23783,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), dS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23740,7 +23791,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), _te = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Pte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23748,7 +23799,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), fS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23756,7 +23807,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), pS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23764,7 +23815,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), vte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Fte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23772,7 +23823,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), yte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Ite = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23780,7 +23831,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), mS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23788,7 +23839,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23796,7 +23847,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), bte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Lte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23804,7 +23855,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), xte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Rte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23812,7 +23863,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Ste = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), zte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23820,7 +23871,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Cte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Bte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23828,7 +23879,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Vte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23836,7 +23887,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Tte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Hte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23844,7 +23895,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23852,7 +23903,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23860,7 +23911,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23868,7 +23919,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23876,7 +23927,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Ete = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Ute = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23884,7 +23935,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), Dte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), Wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23892,7 +23943,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), Ote = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), Gte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23900,7 +23951,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23908,7 +23959,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23916,7 +23967,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Kte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23924,7 +23975,7 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Ate = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => E.createElement("svg", {
+}, D.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), qte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => D.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23932,100 +23983,100 @@ var lte = /* @__PURE__ */ _(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, E.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), jte = (e, t) => {
+}, D.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Jte = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, Mte = (e, t) => ({
+}, SS = (e, t) => ({
classGroupId: e,
validator: t
-}), PS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), CS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), FS = "-", IS = [], LS = "arbitrary..", RS = (e) => {
- let t = VS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), wS = "-", TS = [], ES = "arbitrary..", DS = (e) => {
+ let t = AS(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return BS(e);
- let n = e.split(FS);
- return zS(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return kS(e);
+ let n = e.split(wS);
+ return OS(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? jte(i, t) : t : i || IS;
+ return t ? i ? Jte(i, t) : t : i || TS;
}
- return n[e] || IS;
+ return n[e] || TS;
}
};
-}, zS = (e, t, n) => {
+}, OS = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = zS(e, t + 1, i);
+ let n = OS(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(FS) : e.slice(t).join(FS), s = a.length;
+ let o = t === 0 ? e.join(wS) : e.slice(t).join(wS), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, BS = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, kS = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
- return r ? LS + r : void 0;
-})(), VS = (e) => {
+ return r ? ES + r : void 0;
+})(), AS = (e) => {
let { theme: t, classGroups: n } = e;
- return HS(n, t);
-}, HS = (e, t) => {
- let n = PS();
+ return jS(n, t);
+}, jS = (e, t) => {
+ let n = CS();
for (let r in e) {
let i = e[r];
- US(i, n, r, t);
+ MS(i, n, r, t);
}
return n;
-}, US = (e, t, n, r) => {
+}, MS = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- WS(i, t, n, r);
+ NS(i, t, n, r);
}
-}, WS = (e, t, n, r) => {
+}, NS = (e, t, n, r) => {
if (typeof e == "string") {
- GS(e, t, n);
+ PS(e, t, n);
return;
}
if (typeof e == "function") {
- KS(e, t, n, r);
+ FS(e, t, n, r);
return;
}
- qS(e, t, n, r);
-}, GS = (e, t, n) => {
- let r = e === "" ? t : JS(t, e);
+ IS(e, t, n, r);
+}, PS = (e, t, n) => {
+ let r = e === "" ? t : LS(t, e);
r.classGroupId = n;
-}, KS = (e, t, n, r) => {
- if (YS(e)) {
- US(e(r), t, n, r);
+}, FS = (e, t, n, r) => {
+ if (RS(e)) {
+ MS(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(Mte(n, e));
-}, qS = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(SS(n, e));
+}, IS = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- US(o, JS(t, a), n, r);
+ MS(o, LS(t, a), n, r);
}
-}, JS = (e, t) => {
- let n = e, r = t.split(FS), i = r.length;
+}, LS = (e, t) => {
+ let n = e, r = t.split(wS), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = PS(), n.nextPart.set(t, i)), n = i;
+ i || (i = CS(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, YS = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, XS = (e) => {
+}, RS = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, zS = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24043,19 +24094,19 @@ var lte = /* @__PURE__ */ _(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, ZS = "!", QS = ":", $S = [], eC = (e, t, n, r, i) => ({
+}, BS = "!", VS = ":", HS = [], US = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), tC = (e) => {
+}), WS = (e) => {
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
for (let s = 0; s < o; s++) {
let o = e[s];
if (n === 0 && r === 0) {
- if (o === QS) {
+ if (o === VS) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24067,13 +24118,13 @@ var lte = /* @__PURE__ */ _(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(ZS) ? (c = s.slice(0, -1), l = !0) : s.startsWith(ZS) && (c = s.slice(1), l = !0);
+ s.endsWith(BS) ? (c = s.slice(0, -1), l = !0) : s.startsWith(BS) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return eC(t, l, c, u);
+ return US(t, l, c, u);
};
if (t) {
- let e = t + QS, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : eC($S, !1, t, void 0, !0);
+ let e = t + VS, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : US(HS, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24083,7 +24134,7 @@ var lte = /* @__PURE__ */ _(((e) => {
});
}
return r;
-}, nC = (e) => {
+}, GS = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24095,18 +24146,18 @@ var lte = /* @__PURE__ */ _(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, rC = (e) => ({
- cache: XS(e.cacheSize),
- parseClassName: tC(e),
- sortModifiers: nC(e),
- postfixLookupClassGroupIds: iC(e),
- ...RS(e)
-}), iC = (e) => {
+}, KS = (e) => ({
+ cache: zS(e.cacheSize),
+ parseClassName: WS(e),
+ sortModifiers: GS(e),
+ postfixLookupClassGroupIds: qS(e),
+ ...DS(e)
+}), qS = (e) => {
let t = Object.create(null), n = e.postfixLookupClassGroups;
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
return t;
-}, aC = /\s+/, oC = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(aC), l = "";
+}, JS = /\s+/, YS = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(JS), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -24130,7 +24181,7 @@ var lte = /* @__PURE__ */ _(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + ZS : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + BS : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24141,34 +24192,34 @@ var lte = /* @__PURE__ */ _(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, sC = (...e) => {
+}, XS = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = cC(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = ZS(n)) && (i && (i += " "), i += r);
return i;
-}, cC = (e) => {
+}, ZS = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = cC(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = ZS(e[r])) && (n && (n += " "), n += t);
return n;
-}, lC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = rC(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, QS = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = KS(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = oC(e, n);
+ let a = YS(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(sC(...e));
-}, uC = [], dC = (e) => {
- let t = (t) => t[e] || uC;
+ return a = o, (...e) => a(XS(...e));
+}, $S = [], eC = (e) => {
+ let t = (t) => t[e] || $S;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, fC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, mC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, hC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gC = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, _C = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, vC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, yC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, bC = (e) => mC.test(e), xC = (e) => !!e && !Number.isNaN(Number(e)), SC = (e) => !!e && Number.isInteger(Number(e)), CC = (e) => e.endsWith("%") && xC(e.slice(0, -1)), wC = (e) => hC.test(e), TC = () => !0, EC = (e) => gC.test(e) && !_C.test(e), DC = () => !1, OC = (e) => vC.test(e), kC = (e) => yC.test(e), AC = (e) => !U(e) && !W(e), jC = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), MC = (e) => qC(e, ZC, DC), U = (e) => fC.test(e), NC = (e) => qC(e, QC, EC), PC = (e) => qC(e, $C, xC), FC = (e) => qC(e, tw, TC), IC = (e) => qC(e, ew, DC), LC = (e) => qC(e, YC, DC), RC = (e) => qC(e, XC, kC), zC = (e) => qC(e, nw, OC), W = (e) => pC.test(e), BC = (e) => JC(e, QC), VC = (e) => JC(e, ew), HC = (e) => JC(e, YC), UC = (e) => JC(e, ZC), WC = (e) => JC(e, XC), GC = (e) => JC(e, nw, !0), KC = (e) => JC(e, tw, !0), qC = (e, t, n) => {
- let r = fC.exec(e);
+}, tC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, nC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, rC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, iC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, aC = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, oC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, sC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, cC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, lC = (e) => rC.test(e), uC = (e) => !!e && !Number.isNaN(Number(e)), dC = (e) => !!e && Number.isInteger(Number(e)), fC = (e) => e.endsWith("%") && uC(e.slice(0, -1)), pC = (e) => iC.test(e), mC = () => !0, hC = (e) => aC.test(e) && !oC.test(e), gC = () => !1, _C = (e) => sC.test(e), vC = (e) => cC.test(e), yC = (e) => !U(e) && !W(e), bC = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), xC = (e) => IC(e, BC, gC), U = (e) => tC.test(e), SC = (e) => IC(e, VC, hC), CC = (e) => IC(e, HC, uC), wC = (e) => IC(e, WC, mC), TC = (e) => IC(e, UC, gC), EC = (e) => IC(e, RC, gC), DC = (e) => IC(e, zC, vC), OC = (e) => IC(e, GC, _C), W = (e) => nC.test(e), kC = (e) => LC(e, VC), AC = (e) => LC(e, UC), jC = (e) => LC(e, RC), MC = (e) => LC(e, BC), NC = (e) => LC(e, zC), PC = (e) => LC(e, GC, !0), FC = (e) => LC(e, WC, !0), IC = (e, t, n) => {
+ let r = tC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, JC = (e, t, n = !1) => {
- let r = pC.exec(e);
+}, LC = (e, t, n = !1) => {
+ let r = nC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, YC = (e) => e === "position" || e === "percentage", XC = (e) => e === "image" || e === "url", ZC = (e) => e === "length" || e === "size" || e === "bg-size", QC = (e) => e === "length", $C = (e) => e === "number", ew = (e) => e === "family-name", tw = (e) => e === "number" || e === "weight", nw = (e) => e === "shadow", rw = () => {
- let e = dC("color"), t = dC("font"), n = dC("text"), r = dC("font-weight"), i = dC("tracking"), a = dC("leading"), o = dC("breakpoint"), s = dC("container"), c = dC("spacing"), l = dC("radius"), u = dC("shadow"), d = dC("inset-shadow"), f = dC("text-shadow"), p = dC("drop-shadow"), m = dC("blur"), h = dC("perspective"), g = dC("aspect"), _ = dC("ease"), v = dC("animate"), y = () => [
+}, RC = (e) => e === "position" || e === "percentage", zC = (e) => e === "image" || e === "url", BC = (e) => e === "length" || e === "size" || e === "bg-size", VC = (e) => e === "length", HC = (e) => e === "number", UC = (e) => e === "family-name", WC = (e) => e === "number" || e === "weight", GC = (e) => e === "shadow", KC = () => {
+ let e = eC("color"), t = eC("font"), n = eC("text"), r = eC("font-weight"), i = eC("tracking"), a = eC("leading"), o = eC("breakpoint"), s = eC("container"), c = eC("spacing"), l = eC("radius"), u = eC("shadow"), d = eC("inset-shadow"), f = eC("text-shadow"), p = eC("drop-shadow"), m = eC("blur"), h = eC("perspective"), g = eC("aspect"), _ = eC("ease"), v = eC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24210,12 +24261,12 @@ var lte = /* @__PURE__ */ _(((e) => {
U,
c
], T = () => [
- bC,
+ lC,
"full",
"auto",
...w()
], E = () => [
- SC,
+ dC,
"none",
"subgrid",
W,
@@ -24224,15 +24275,15 @@ var lte = /* @__PURE__ */ _(((e) => {
"auto",
{ span: [
"full",
- SC,
+ dC,
W,
U
] },
- SC,
+ dC,
W,
U
], O = () => [
- SC,
+ dC,
"auto",
W,
U
@@ -24262,7 +24313,7 @@ var lte = /* @__PURE__ */ _(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- bC,
+ lC,
"auto",
"full",
"dvw",
@@ -24277,7 +24328,7 @@ var lte = /* @__PURE__ */ _(((e) => {
...w()
], P = () => [
s,
- bC,
+ lC,
"screen",
"full",
"dvw",
@@ -24288,7 +24339,7 @@ var lte = /* @__PURE__ */ _(((e) => {
"fit",
...w()
], F = () => [
- bC,
+ lC,
"screen",
"full",
"lh",
@@ -24305,8 +24356,8 @@ var lte = /* @__PURE__ */ _(((e) => {
U
], ee = () => [
...b(),
- HC,
- LC,
+ jC,
+ EC,
{ position: [W, U] }
], te = () => ["no-repeat", { repeat: [
"",
@@ -24314,17 +24365,17 @@ var lte = /* @__PURE__ */ _(((e) => {
"y",
"space",
"round"
- ] }], L = () => [
+ ] }], ne = () => [
"auto",
"cover",
"contain",
- UC,
MC,
+ xC,
{ size: [W, U] }
- ], ne = () => [
- CC,
- BC,
- NC
+ ], L = () => [
+ fC,
+ kC,
+ SC
], re = () => [
"",
"none",
@@ -24334,9 +24385,9 @@ var lte = /* @__PURE__ */ _(((e) => {
U
], ie = () => [
"",
- xC,
- BC,
- NC
+ uC,
+ kC,
+ SC
], ae = () => [
"solid",
"dashed",
@@ -24360,10 +24411,10 @@ var lte = /* @__PURE__ */ _(((e) => {
"color",
"luminosity"
], se = () => [
- xC,
- CC,
- HC,
- LC
+ uC,
+ fC,
+ jC,
+ EC
], ce = () => [
"",
"none",
@@ -24372,20 +24423,20 @@ var lte = /* @__PURE__ */ _(((e) => {
U
], le = () => [
"none",
- xC,
+ uC,
W,
U
], ue = () => [
"none",
- xC,
+ uC,
W,
U
], R = () => [
- xC,
+ uC,
W,
U
- ], de = () => [
- bC,
+ ], z = () => [
+ lC,
"full",
...w()
];
@@ -24399,17 +24450,17 @@ var lte = /* @__PURE__ */ _(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [wC],
- breakpoint: [wC],
- color: [TC],
- container: [wC],
- "drop-shadow": [wC],
+ blur: [pC],
+ breakpoint: [pC],
+ color: [mC],
+ container: [pC],
+ "drop-shadow": [pC],
ease: [
"in",
"out",
"in-out"
],
- font: [AC],
+ font: [yC],
"font-weight": [
"thin",
"extralight",
@@ -24421,7 +24472,7 @@ var lte = /* @__PURE__ */ _(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [wC],
+ "inset-shadow": [pC],
leading: [
"none",
"tight",
@@ -24438,11 +24489,11 @@ var lte = /* @__PURE__ */ _(((e) => {
"distant",
"none"
],
- radius: [wC],
- shadow: [wC],
- spacing: ["px", xC],
- text: [wC],
- "text-shadow": [wC],
+ radius: [pC],
+ shadow: [pC],
+ spacing: ["px", uC],
+ text: [pC],
+ "text-shadow": [pC],
tracking: [
"tighter",
"tight",
@@ -24456,7 +24507,7 @@ var lte = /* @__PURE__ */ _(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- bC,
+ lC,
U,
W,
g
@@ -24469,9 +24520,9 @@ var lte = /* @__PURE__ */ _(((e) => {
W,
U
] }],
- "container-named": [jC],
+ "container-named": [bC],
columns: [{ columns: [
- xC,
+ uC,
"auto",
U,
W,
@@ -24571,13 +24622,13 @@ var lte = /* @__PURE__ */ _(((e) => {
"collapse"
],
z: [{ z: [
- SC,
+ dC,
"auto",
W,
U
] }],
basis: [{ basis: [
- bC,
+ lC,
"full",
"auto",
s,
@@ -24595,8 +24646,8 @@ var lte = /* @__PURE__ */ _(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- xC,
- bC,
+ uC,
+ lC,
"auto",
"initial",
"none",
@@ -24604,18 +24655,18 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
grow: [{ grow: [
"",
- xC,
+ uC,
W,
U
] }],
shrink: [{ shrink: [
"",
- xC,
+ uC,
W,
U
] }],
order: [{ order: [
- SC,
+ dC,
"first",
"last",
"none",
@@ -24727,15 +24778,15 @@ var lte = /* @__PURE__ */ _(((e) => {
"font-size": [{ text: [
"base",
n,
- BC,
- NC
+ kC,
+ SC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- KC,
- FC
+ FC,
+ wC
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -24747,12 +24798,12 @@ var lte = /* @__PURE__ */ _(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- CC,
+ fC,
U
] }],
"font-family": [{ font: [
- VC,
- IC,
+ AC,
+ TC,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -24768,10 +24819,10 @@ var lte = /* @__PURE__ */ _(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- xC,
+ uC,
"none",
W,
- PC
+ CC
] }],
leading: [{ leading: [
"none",
@@ -24809,15 +24860,15 @@ var lte = /* @__PURE__ */ _(((e) => {
],
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- xC,
+ uC,
"from-font",
"auto",
W,
- NC
+ SC
] }],
"text-decoration-color": [{ decoration: I() }],
"underline-offset": [{ "underline-offset": [
- xC,
+ uC,
"auto",
W,
U
@@ -24841,7 +24892,7 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- SC,
+ dC,
W,
U
] }],
@@ -24904,7 +24955,7 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
"bg-position": [{ bg: ee() }],
"bg-repeat": [{ bg: te() }],
- "bg-size": [{ bg: L() }],
+ "bg-size": [{ bg: ne() }],
"bg-image": [{ bg: [
"none",
{
@@ -24919,7 +24970,7 @@ var lte = /* @__PURE__ */ _(((e) => {
"l",
"tl"
] },
- SC,
+ dC,
W,
U
],
@@ -24930,18 +24981,18 @@ var lte = /* @__PURE__ */ _(((e) => {
],
conic: [
"",
- SC,
+ dC,
W,
U
]
},
- WC,
- RC
+ NC,
+ DC
] }],
"bg-color": [{ bg: I() }],
- "gradient-from-pos": [{ from: ne() }],
- "gradient-via-pos": [{ via: ne() }],
- "gradient-to-pos": [{ to: ne() }],
+ "gradient-from-pos": [{ from: L() }],
+ "gradient-via-pos": [{ via: L() }],
+ "gradient-to-pos": [{ to: L() }],
"gradient-from": [{ from: I() }],
"gradient-via": [{ via: I() }],
"gradient-to": [{ to: I() }],
@@ -25003,15 +25054,15 @@ var lte = /* @__PURE__ */ _(((e) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- xC,
+ uC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- xC,
- BC,
- NC
+ uC,
+ kC,
+ SC
] }],
"outline-color": [{ outline: I() }],
shadow: [{ shadow: [
@@ -25019,33 +25070,33 @@ var lte = /* @__PURE__ */ _(((e) => {
"inner",
"none",
u,
- GC,
- zC
+ PC,
+ OC
] }],
"shadow-color": [{ shadow: I() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- GC,
- zC
+ PC,
+ OC
] }],
"inset-shadow-color": [{ "inset-shadow": I() }],
"ring-w": [{ ring: ie() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: I() }],
- "ring-offset-w": [{ "ring-offset": [xC, NC] }],
+ "ring-offset-w": [{ "ring-offset": [uC, SC] }],
"ring-offset-color": [{ "ring-offset": I() }],
"inset-ring-w": [{ "inset-ring": ie() }],
"inset-ring-color": [{ "inset-ring": I() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- GC,
- zC
+ PC,
+ OC
] }],
"text-shadow-color": [{ "text-shadow": I() }],
opacity: [{ opacity: [
- xC,
+ uC,
W,
U
] }],
@@ -25069,7 +25120,7 @@ var lte = /* @__PURE__ */ _(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [xC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [uC] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],
"mask-image-linear-from-color": [{ "mask-linear-from": I() }],
@@ -25109,7 +25160,7 @@ var lte = /* @__PURE__ */ _(((e) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [xC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [uC] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],
"mask-image-conic-from-color": [{ "mask-conic-from": I() }],
@@ -25129,7 +25180,7 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
"mask-position": [{ mask: ee() }],
"mask-repeat": [{ mask: te() }],
- "mask-size": [{ mask: L() }],
+ "mask-size": [{ mask: ne() }],
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
@@ -25144,12 +25195,12 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
blur: [{ blur: ce() }],
brightness: [{ brightness: [
- xC,
+ uC,
W,
U
] }],
contrast: [{ contrast: [
- xC,
+ uC,
W,
U
] }],
@@ -25157,35 +25208,35 @@ var lte = /* @__PURE__ */ _(((e) => {
"",
"none",
p,
- GC,
- zC
+ PC,
+ OC
] }],
"drop-shadow-color": [{ "drop-shadow": I() }],
grayscale: [{ grayscale: [
"",
- xC,
+ uC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- xC,
+ uC,
W,
U
] }],
invert: [{ invert: [
"",
- xC,
+ uC,
W,
U
] }],
saturate: [{ saturate: [
- xC,
+ uC,
W,
U
] }],
sepia: [{ sepia: [
"",
- xC,
+ uC,
W,
U
] }],
@@ -25197,45 +25248,45 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ce() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- xC,
+ uC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- xC,
+ uC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- xC,
+ uC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- xC,
+ uC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- xC,
+ uC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- xC,
+ uC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- xC,
+ uC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- xC,
+ uC,
W,
U
] }],
@@ -25258,7 +25309,7 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- xC,
+ uC,
"initial",
W,
U
@@ -25271,7 +25322,7 @@ var lte = /* @__PURE__ */ _(((e) => {
U
] }],
delay: [{ delay: [
- xC,
+ uC,
W,
U
] }],
@@ -25310,13 +25361,13 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
"transform-origin": [{ origin: x() }],
"transform-style": [{ transform: ["3d", "flat"] }],
- translate: [{ translate: de() }],
- "translate-x": [{ "translate-x": de() }],
- "translate-y": [{ "translate-y": de() }],
- "translate-z": [{ "translate-z": de() }],
+ translate: [{ translate: z() }],
+ "translate-x": [{ "translate-x": z() }],
+ "translate-y": [{ "translate-y": z() }],
+ "translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- SC,
+ dC,
W,
U
] }],
@@ -25460,10 +25511,10 @@ var lte = /* @__PURE__ */ _(((e) => {
] }],
fill: [{ fill: ["none", ...I()] }],
"stroke-w": [{ stroke: [
- xC,
- BC,
- NC,
- PC
+ uC,
+ kC,
+ SC,
+ CC
] }],
stroke: [{ stroke: ["none", ...I()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -25721,16 +25772,16 @@ var lte = /* @__PURE__ */ _(((e) => {
"selection"
]
};
-}, iw = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (aw(e, "cacheSize", t), aw(e, "prefix", n), aw(e, "experimentalParseClassName", r), ow(e.theme, a.theme), ow(e.classGroups, a.classGroups), ow(e.conflictingClassGroups, a.conflictingClassGroups), ow(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), aw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), aw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), sw(e.theme, i.theme), sw(e.classGroups, i.classGroups), sw(e.conflictingClassGroups, i.conflictingClassGroups), sw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), cw(e, i, "postfixLookupClassGroups"), cw(e, i, "orderSensitiveModifiers"), e), aw = (e, t, n) => {
+}, qC = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (JC(e, "cacheSize", t), JC(e, "prefix", n), JC(e, "experimentalParseClassName", r), YC(e.theme, a.theme), YC(e.classGroups, a.classGroups), YC(e.conflictingClassGroups, a.conflictingClassGroups), YC(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), JC(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), JC(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), XC(e.theme, i.theme), XC(e.classGroups, i.classGroups), XC(e.conflictingClassGroups, i.conflictingClassGroups), XC(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), ZC(e, i, "postfixLookupClassGroups"), ZC(e, i, "orderSensitiveModifiers"), e), JC = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, ow = (e, t) => {
- if (t) for (let n in t) aw(e, n, t[n]);
-}, sw = (e, t) => {
- if (t) for (let n in t) cw(e, t, n);
-}, cw = (e, t, n) => {
+}, YC = (e, t) => {
+ if (t) for (let n in t) JC(e, n, t[n]);
+}, XC = (e, t) => {
+ if (t) for (let n in t) ZC(e, t, n);
+}, ZC = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, Nte = (e, ...t) => typeof e == "function" ? lC(rw, e, ...t) : lC(() => iw(rw(), e), ...t), Pte = [
+}, QC = (e, ...t) => typeof e == "function" ? QS(KC, e, ...t) : QS(() => qC(KC(), e), ...t), $C = [
"large-title",
"display-1",
"display-2",
@@ -25744,18 +25795,18 @@ var lte = /* @__PURE__ */ _(((e) => {
"body-2",
"caption-1",
"caption-2"
-], Fte = [
+], ew = [
"regular",
"medium",
"semibold",
"bold"
-], lw = Nte({ extend: { classGroups: { "font-size": [{ text: Pte.flatMap((e) => Fte.map((t) => `${e}-${t}`)) }] } } });
-function uw(e) {
+], tw = QC({ extend: { classGroups: { "font-size": [{ text: $C.flatMap((e) => ew.map((t) => `${e}-${t}`)) }] } } });
+function nw(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var dw = uw({
+var rw = nw({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -25774,16 +25825,16 @@ var dw = uw({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function fw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
- return /* @__PURE__ */ (0, D.jsx)("span", {
+function iw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+ return /* @__PURE__ */ (0, O.jsx)("span", {
ref: r,
- className: lw(dw.base, dw.variant[e], dw.color[t], n),
+ className: tw(rw.base, rw.variant[e], rw.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var pw = uw({
+var aw = nw({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -25839,43 +25890,43 @@ var pw = uw({
}
});
function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, type: s = "button", ref: c, ...l }) {
- return /* @__PURE__ */ (0, D.jsxs)("button", {
+ return /* @__PURE__ */ (0, O.jsxs)("button", {
ref: c,
type: s,
- className: lw(pw.base, pw.size[t], pw.variant[e], n && pw.iconOnlySize[t], o),
+ className: tw(aw.base, aw.size[t], aw.variant[e], n && aw.iconOnlySize[t], o),
...l,
children: [
- r ? /* @__PURE__ */ (0, D.jsx)(r, {
- className: pw.icon[t],
+ r ? /* @__PURE__ */ (0, O.jsx)(r, {
+ className: aw.icon[t],
"aria-hidden": !0
}) : null,
- !n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {
- className: pw.label[t],
+ !n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {
+ className: aw.label[t],
children: a
}),
- !n && i ? /* @__PURE__ */ (0, D.jsx)(i, {
- className: pw.icon[t],
+ !n && i ? /* @__PURE__ */ (0, O.jsx)(i, {
+ className: aw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function Ite({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
- return /* @__PURE__ */ (0, D.jsxs)("a", {
+function ow({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+ return /* @__PURE__ */ (0, O.jsxs)("a", {
ref: s,
- className: lw(pw.base, pw.size[t], pw.variant[e], n && pw.iconOnlySize[t], o),
+ className: tw(aw.base, aw.size[t], aw.variant[e], n && aw.iconOnlySize[t], o),
...c,
children: [
- r ? /* @__PURE__ */ (0, D.jsx)(r, {
- className: pw.icon[t],
+ r ? /* @__PURE__ */ (0, O.jsx)(r, {
+ className: aw.icon[t],
"aria-hidden": !0
}) : null,
- !n && a != null && /* @__PURE__ */ (0, D.jsx)("span", {
- className: pw.label[t],
+ !n && a != null && /* @__PURE__ */ (0, O.jsx)("span", {
+ className: aw.label[t],
children: a
}),
- !n && i ? /* @__PURE__ */ (0, D.jsx)(i, {
- className: pw.icon[t],
+ !n && i ? /* @__PURE__ */ (0, O.jsx)(i, {
+ className: aw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -25883,13 +25934,13 @@ function Ite({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lea
}
//#endregion
//#region src/api.ts
-var mw = class extends Error {
+var sw = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(i(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, hw = (e) => {
+}, cw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -25902,7 +25953,7 @@ var mw = class extends Error {
}
return "";
}, K = (e) => i(e);
-async function gw(e, t) {
+async function lw(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -25911,10 +25962,10 @@ async function gw(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new mw(hw(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new sw(cw(r) || `请求失败(${n.status})`, n.status);
return r;
}
-async function _w(e, t, n = "POST", r) {
+async function q(e, t, n = "POST", r) {
let i = await fetch(e, {
method: n,
...r ? { signal: r } : {},
@@ -25928,63 +25979,73 @@ async function _w(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new mw(hw(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new sw(cw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var Lte = "min-w-0", Rte = {
+var uw = "min-w-0", dw = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, zte = {
+}, fw = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
- surface: "rounded-surface"
-}, Bte = {
+ surface: "rounded-surface",
+ plain: "rounded-2xl"
+}, pw = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Vte = {
+}, mw = {
none: "",
default: "p-5"
-}, Hte = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", Ute = "data-selected:bg-background-primary-default data-selected:ring-2 data-selected:ring-inset data-selected:ring-border-focus-ring";
-function vw(e = {}) {
+}, hw = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", gw = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function _w(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- Lte,
- Rte[t],
- zte[s],
- Vte[n],
- a ? Bte[a] : "",
- r ? Hte : "",
- i ? Ute : "",
+ uw,
+ dw[t],
+ fw[s],
+ mw[n],
+ a ? pw[a] : "",
+ r ? hw : "",
+ i ? gw : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Wte = {
- page: "rounded-2xl border border-separator-border px-6 py-12",
+var vw = {
+ page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
function yw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: `flex flex-col items-center gap-2 text-center ${Wte[i]}`,
+ let a = i === "page";
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ "data-empty-state": "",
+ className: `flex flex-col items-center gap-2 text-center ${vw[i]}`,
children: [
- /* @__PURE__ */ (0, D.jsx)(e, {
+ a ? /* @__PURE__ */ (0, O.jsx)("span", {
+ "aria-hidden": !0,
+ className: "mb-2 flex size-empty-glyph items-center justify-center rounded-floating border border-text-primary/15 p-2.5 text-text-secondary",
+ children: /* @__PURE__ */ (0, O.jsx)(e, {
+ "aria-hidden": !0,
+ className: "size-8"
+ })
+ }) : /* @__PURE__ */ (0, O.jsx)(e, {
"aria-hidden": !0,
className: "size-6 text-text-tertiary"
}),
- /* @__PURE__ */ (0, D.jsx)("h3", {
- className: "text-headline-medium text-text-primary",
+ /* @__PURE__ */ (0, O.jsx)("h3", {
+ className: `${a ? "text-body-semibold" : "text-headline-medium"} text-text-primary`,
children: t
}),
- /* @__PURE__ */ (0, D.jsx)("p", {
- className: "max-w-prose text-body-2-regular text-text-secondary",
+ /* @__PURE__ */ (0, O.jsx)("p", {
+ className: `${a ? "max-w-empty-copy leading-empty-copy" : "max-w-prose"} text-body-2-regular text-text-secondary`,
children: r
}),
- n ? /* @__PURE__ */ (0, D.jsx)("div", {
+ n ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "mt-2 flex flex-wrap justify-center gap-2",
children: n
}) : null
@@ -25993,59 +26054,64 @@ function yw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function bw({ label: e }) {
- return /* @__PURE__ */ (0, D.jsxs)("p", {
+function bw({ label: e, inline: t = !1 }) {
+ let n = /* @__PURE__ */ (0, O.jsxs)("span", {
+ "aria-hidden": !0,
+ className: "inline-flex items-center gap-1",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)("i", { className: "dot-wave-0 size-1 rounded-full bg-current" }),
+ /* @__PURE__ */ (0, O.jsx)("i", { className: "dot-wave-1 size-1 rounded-full bg-current" }),
+ /* @__PURE__ */ (0, O.jsx)("i", { className: "dot-wave-2 size-1 rounded-full bg-current" })
+ ]
+ });
+ return t ? /* @__PURE__ */ (0, O.jsxs)("span", {
+ role: "status",
+ className: "inline-flex items-center gap-2",
+ children: [n, e]
+ }) : /* @__PURE__ */ (0, O.jsxs)("p", {
role: "status",
className: "flex items-center gap-2 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsxs)("span", {
- "aria-hidden": !0,
- className: "inline-flex items-center gap-1",
- children: [
- /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-0 size-1 rounded-full bg-current" }),
- /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-1 size-1 rounded-full bg-current" }),
- /* @__PURE__ */ (0, D.jsx)("i", { className: "dot-wave-2 size-1 rounded-full bg-current" })
- ]
- }), e]
+ children: [n, e]
});
}
//#endregion
//#region src/react/components/note.tsx
-function q({ tone: e, title: t, action: n, extra: r, children: i }) {
- let a = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+function J({ tone: e, title: t, action: n, extra: r, children: i }) {
+ let a = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-0.5",
- children: [t ? /* @__PURE__ */ (0, D.jsx)("p", {
+ children: [t ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-medium",
children: t
- }) : null, /* @__PURE__ */ (0, D.jsx)("p", {
+ }) : null, /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular",
children: i
})]
}), n]
}), r] });
switch (e) {
- case "info": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "info": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "status",
className: "flex flex-col gap-0.5 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground",
children: a
});
- case "success": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "success": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "status",
className: "flex flex-col gap-0.5 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground",
children: a
});
- case "warning": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "warning": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "note",
className: "flex flex-col gap-0.5 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text",
children: a
});
- case "error": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "error": return /* @__PURE__ */ (0, O.jsx)("div", {
role: "alert",
className: "flex flex-col gap-0.5 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary",
children: a
});
- default: return /* @__PURE__ */ (0, D.jsx)("div", {
+ default: return /* @__PURE__ */ (0, O.jsx)("div", {
role: "note",
className: "flex flex-col gap-0.5 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary",
children: a
@@ -26055,17 +26121,17 @@ function q({ tone: e, title: t, action: n, extra: r, children: i }) {
//#endregion
//#region src/react/components/page.tsx
function xw({ children: e }) {
- return /* @__PURE__ */ (0, D.jsx)("div", {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
});
}
//#endregion
//#region src/react/components/progress.tsx
-var Sw = 100, Gte = .4;
-function Cw({ label: e, value: t, max: n = 100, stops: r = [] }) {
+var Sw = 100, Cw = .4;
+function ww({ label: e, value: t, max: n = 100, stops: r = [] }) {
let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * Sw;
- return /* @__PURE__ */ (0, D.jsxs)("svg", {
+ return /* @__PURE__ */ (0, O.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
@@ -26075,19 +26141,19 @@ function Cw({ label: e, value: t, max: n = 100, stops: r = [] }) {
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
- /* @__PURE__ */ (0, D.jsx)("rect", {
+ /* @__PURE__ */ (0, O.jsx)("rect", {
width: Sw,
height: 1,
className: "fill-background-tertiary-default"
}),
- /* @__PURE__ */ (0, D.jsx)("rect", {
+ /* @__PURE__ */ (0, O.jsx)("rect", {
width: a(t),
height: 1,
className: "fill-border-focus-ring"
}),
- r.map((e) => /* @__PURE__ */ (0, D.jsx)("rect", {
+ r.map((e) => /* @__PURE__ */ (0, O.jsx)("rect", {
x: a(e),
- width: Gte,
+ width: Cw,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26096,9 +26162,9 @@ function Cw({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function ww(e = "") {
- let t = (0, E.useRef)(null), [n, r] = (0, E.useState)(""), [i, a] = (0, E.useState)(e);
- (0, E.useEffect)(() => () => t.current?.abort(), []);
+function Tw(e = "") {
+ let t = (0, D.useRef)(null), [n, r] = (0, D.useState)(""), [i, a] = (0, D.useState)(e);
+ (0, D.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
if (t.current) return;
let s = new AbortController();
@@ -26120,7 +26186,7 @@ function ww(e = "") {
setError: a
};
}
-function J(e) {
+function Y(e) {
return e ? {
"aria-busy": !0,
"aria-disabled": !0
@@ -26128,17 +26194,17 @@ function J(e) {
}
//#endregion
//#region src/react/query.ts
-var Tw = new $e({ defaultOptions: { queries: {
+var X = new nt({ defaultOptions: { queries: {
networkMode: "always",
retry: 0,
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), Ew = "/api/tasks", Dw = ["tasks"], Kte = (e, t) => gw(`${Ew}?${new URLSearchParams({
+} } }), Ew = "/api/tasks", Dw = ["tasks"], Ow = (e, t) => lw(`${Ew}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Ow(...e) {
+function kw(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -26146,26 +26212,26 @@ function Ow(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var qte = 2e3, Jte = 1e4, Yte = (e) => e?.running.length ? qte : Jte, kw = (e) => gw(Ew, e);
-async function Xte(e) {
- await Tw.fetchQuery({
+var Aw = 2e3, jw = 1e4, Mw = (e) => e?.running.length ? Aw : jw, Nw = (e) => lw(Ew, e);
+async function Pw(e) {
+ await X.fetchQuery({
queryKey: Dw,
- queryFn: () => kw(e)
+ queryFn: () => Nw(e)
});
}
-var Aw = {
+var Fw = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Zte = {
+}, Iw = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Qte = (e) => Zte[e] || e, $te = {
+}, Lw = (e) => Iw[e] || e, Rw = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26195,7 +26261,7 @@ var Aw = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function ene(e) {
+function zw(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26204,7 +26270,7 @@ function ene(e) {
}
return t;
}
-function tne(e, t) {
+function Bw(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26226,19 +26292,19 @@ function tne(e, t) {
}
return n;
}
-var nne = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), jw = (e) => e.status === "pending" || e.status === "running";
-function rne(e) {
+var Vw = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Hw = (e) => e.status === "pending" || e.status === "running";
+function Uw(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, e.error || Pw(e.result_summary) || (jw(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || qw(e.result_summary) || (Hw(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function Mw(e) {
+function Ww(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
let n = Math.floor(t / 60);
return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;
}
-function Nw(e) {
+function Gw(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26248,7 +26314,7 @@ function Nw(e) {
minute: "2-digit"
});
}
-var ine = /* @__PURE__ */ new Set([
+var Kw = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26257,39 +26323,39 @@ var ine = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function Pw(e) {
- return Object.entries(e || {}).filter(([e, t]) => !ine.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${$te[e] || e} ${t}`).join(" · ");
+function qw(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Kw.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Rw[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var ane = {
+var Jw = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function Fw({ status: e }) {
- return /* @__PURE__ */ (0, D.jsx)(fw, {
- color: ane[e] ?? "neutral",
- children: Qte(e)
+function Yw({ status: e }) {
+ return /* @__PURE__ */ (0, O.jsx)(iw, {
+ color: Jw[e] ?? "neutral",
+ children: Lw(e)
});
}
-function one({ rows: e }) {
- return /* @__PURE__ */ (0, D.jsx)("ul", {
+function Xw({ rows: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = rne(e);
- return /* @__PURE__ */ (0, D.jsxs)("li", {
+ let t = Uw(e);
+ return /* @__PURE__ */ (0, O.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1 border-t border-separator-border px-5 py-2.5",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, D.jsx)(Fw, { status: e.status }),
- t ? /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)(Yw, { status: e.status }),
+ t ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
}) : null
@@ -26298,38 +26364,38 @@ function one({ rows: e }) {
})
});
}
-function Iw({ run: e, meta: t, children: n, footer: r, followups: i }) {
- return /* @__PURE__ */ (0, D.jsxs)("li", {
+function Zw({ run: e, meta: t, children: n, footer: r, followups: i }) {
+ return /* @__PURE__ */ (0, O.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: vw({
+ className: _w({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
}),
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5 px-5 pt-5 pb-4",
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("strong", {
+ children: [/* @__PURE__ */ (0, O.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, D.jsx)(Fw, { status: e.status })]
+ }), /* @__PURE__ */ (0, O.jsx)(Yw, { status: e.status })]
}),
- /* @__PURE__ */ (0, D.jsx)("p", {
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: t
}),
n
]
}),
- i?.length ? /* @__PURE__ */ (0, D.jsx)(one, { rows: i }) : null,
- r ? /* @__PURE__ */ (0, D.jsx)("div", {
+ i?.length ? /* @__PURE__ */ (0, O.jsx)(Xw, { rows: i }) : null,
+ r ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
- children: /* @__PURE__ */ (0, D.jsx)("p", {
+ children: /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: r
})
@@ -26337,19 +26403,19 @@ function Iw({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function sne({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Mw(e.elapsed_seconds), o = [Aw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, D.jsx)(Iw, {
+function Qw({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Ww(e.elapsed_seconds), o = [Fw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, O.jsx)(Zw, {
run: e,
meta: o,
followups: t,
- children: n > 0 ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: n > 0 ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, D.jsx)(Cw, {
+ children: [/* @__PURE__ */ (0, O.jsx)(ww, {
label: i,
value: r,
max: n
- }), /* @__PURE__ */ (0, D.jsxs)("p", {
+ }), /* @__PURE__ */ (0, O.jsxs)("p", {
className: "text-caption-1-regular text-text-secondary",
children: [
i,
@@ -26360,132 +26426,132 @@ function sne({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, D.jsx)(bw, { label: i })
+ }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: i })
});
}
-function Lw({ run: e, followups: t, runs: n }) {
- let r = Pw(e.result_summary), i = Mw(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Aw[e.trigger] || e.trigger,
+function $w({ run: e, followups: t, runs: n }) {
+ let r = qw(e.result_summary), i = Ww(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Fw[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${Nw(a.finished_at)} – ${Nw(e.finished_at)}`
+ `${Gw(a.finished_at)} – ${Gw(e.finished_at)}`
] : [
- Aw[e.trigger] || e.trigger,
- Nw(e.finished_at),
+ Fw[e.trigger] || e.trigger,
+ Gw(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, D.jsx)(Iw, {
+ return /* @__PURE__ */ (0, O.jsx)(Zw, {
run: e,
meta: o,
footer: e.error,
followups: t,
- children: r ? /* @__PURE__ */ (0, D.jsx)("p", {
+ children: r ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: r
}) : null
});
}
-function Rw({ title: e, children: t }) {
- let n = (0, E.useId)();
- return /* @__PURE__ */ (0, D.jsxs)("section", {
+function eT({ title: e, children: t }) {
+ let n = (0, D.useId)();
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
"aria-labelledby": n,
className: "flex min-w-0 flex-col gap-3",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
id: n,
className: "text-title-2-semibold text-text-primary",
children: e
}), t]
});
}
-function zw({ live: e = !1, children: t }) {
- return /* @__PURE__ */ (0, D.jsx)("ul", {
+function tT({ live: e = !1, children: t }) {
+ return /* @__PURE__ */ (0, O.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function cne(e) {
- let t = ft({
+function nT(e) {
+ let t = ht({
queryKey: Dw,
- queryFn: ({ signal: e }) => kw(e),
- refetchInterval: (e) => Yte(e.state.data)
- }), n = t.data, r = n?.finished, [i, a] = (0, E.useState)([]), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)(r);
- r !== c && (l(r), i.length && c && a(Ow(i, c)));
- let u = pt({
- mutationFn: ({ oldest: e }) => Kte(e),
+ queryFn: ({ signal: e }) => Nw(e),
+ refetchInterval: (e) => Mw(e.state.data)
+ }), n = t.data, r = n?.finished, [i, a] = (0, D.useState)([]), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)(r);
+ r !== c && (l(r), i.length && c && a(kw(i, c)));
+ let u = gt({
+ mutationFn: ({ oldest: e }) => Ow(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Ow(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => kw(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, D.jsx)(xw, { children: /* @__PURE__ */ (0, D.jsx)(q, {
+ if (!n) return /* @__PURE__ */ (0, O.jsx)(xw, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Ow(n.finished || [], i), p = [
+ let f = kw(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = ene(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = zw(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(jw)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = tne(w, (e) => nne(e) && !m.get(e.id)?.length), O = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, D.jsxs)(xw, { children: [
- d ? /* @__PURE__ */ (0, D.jsx)(q, {
+ }, x = _.filter((e) => m.get(e.id)?.some(Hw)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Bw(w, (e) => Vw(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, O.jsxs)(xw, { children: [
+ d ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: d
}) : null,
- n.available === !1 ? /* @__PURE__ */ (0, D.jsx)(q, {
+ n.available === !1 ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- O ? /* @__PURE__ */ (0, D.jsx)(yw, {
+ E ? /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: DS,
+ icon: hS,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsx)(Rw, {
+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)(eT, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, D.jsxs)(zw, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, O.jsxs)(tT, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, D.jsx)(sne, {
+ children: [S.map((e) => /* @__PURE__ */ (0, O.jsx)(Qw, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, D.jsx)(Lw, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, O.jsx)($w, {
run: e,
followups: m.get(e.id)
}, e.id))]
- }) : /* @__PURE__ */ (0, D.jsx)(q, {
+ }) : /* @__PURE__ */ (0, O.jsx)(J, {
tone: "neutral",
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, D.jsx)(Rw, {
+ C.length ? /* @__PURE__ */ (0, O.jsx)(eT, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, D.jsx)(zw, { children: C.map((e) => /* @__PURE__ */ (0, D.jsx)(Lw, {
+ children: /* @__PURE__ */ (0, O.jsx)(tT, { children: C.map((e) => /* @__PURE__ */ (0, O.jsx)($w, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, D.jsxs)(Rw, {
+ w.length || y ? /* @__PURE__ */ (0, O.jsxs)(eT, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, D.jsx)(zw, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, D.jsx)(Lw, {
+ w.length ? /* @__PURE__ */ (0, O.jsx)(tT, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, O.jsx)($w, {
run: e,
runs: t,
followups: m.get(e.id)
}, e.id)) }) : null,
- u.error ? /* @__PURE__ */ (0, D.jsx)(q, {
+ u.error ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: K(u.error)
}) : null,
- y ? /* @__PURE__ */ (0, D.jsx)(G, {
+ y ? /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: hS,
+ leadingIcon: rS,
className: "self-start",
- ...J(u.isPending),
+ ...Y(u.isPending),
onClick: b,
children: "加载更早"
}) : null
@@ -26496,14 +26562,14 @@ function cne(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var Bw = Symbol("default");
-function Vw({ values: e, children: t }) {
- for (let [n, r] of e) t = /*#__PURE__*/ E.createElement(n.Provider, { value: r }, t);
+var rT = Symbol("default");
+function iT({ values: e, children: t }) {
+ for (let [n, r] of e) t = /*#__PURE__*/ D.createElement(n.Provider, { value: r }, t);
return t;
}
-function Hw(e) {
+function aT(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
- return (0, E.useMemo)(() => {
+ return (0, D.useMemo)(() => {
let e, l, u;
return e = typeof t == "function" ? t({
...s,
@@ -26535,11 +26601,11 @@ function Hw(e) {
c
]);
}
-function Uw(e, t) {
- let n = (0, E.useContext)(e);
+function oT(e, t) {
+ let n = (0, D.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || Bw;
+ let e = t || rT;
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}.`);
@@ -26548,8 +26614,8 @@ function Uw(e, t) {
}
return n;
}
-function Ww(e, t, n) {
- let { ref: r, ...i } = Uw(n, e.slot) || {}, a = Rm((0, E.useMemo)(() => ym(t, r), [t, r])), o = H(i, e);
+function sT(e, t, n) {
+ let { ref: r, ...i } = oT(n, e.slot) || {}, a = Um((0, D.useMemo)(() => wm(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,
@@ -26567,56 +26633,56 @@ function Ww(e, t, n) {
...e.style
}), [o, a];
}
-function Gw(e = !0) {
- let [t, n] = (0, E.useState)(e), r = (0, E.useRef)(!1), i = (0, E.useCallback)((e) => {
+function cT(e = !0) {
+ let [t, n] = (0, D.useState)(e), r = (0, D.useRef)(!1), i = (0, D.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return V(() => {
+ return tp(() => {
r.current || n(!1);
}, []), [i, t];
}
-function Kw(e) {
+function lT(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function lne(e, t, n) {
- let { render: r, ...i } = t, a = (0, E.useRef)(null), o = (0, E.useMemo)(() => ym(n, a), [n, a]);
- V(() => {}, [e, r]);
+function uT(e, t, n) {
+ let { render: r, ...i } = t, a = (0, D.useRef)(null), o = (0, D.useMemo)(() => wm(n, a), [n, a]);
+ tp(() => {}, [e, r]);
let s = {
...i,
ref: o
};
- return r ? r(s, void 0) : /*#__PURE__*/ E.createElement(e, s);
+ return r ? r(s, void 0) : /*#__PURE__*/ D.createElement(e, s);
}
-var qw = {}, Jw = new Proxy({}, { get(e, t) {
+var dT = {}, fT = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = qw[t];
- return n || (n = /*#__PURE__*/ (0, E.forwardRef)(lne.bind(null, t)), qw[t] = n), n;
-} }), Yw = /*#__PURE__*/ (0, E.createContext)(null), Xw = /*#__PURE__*/ (0, E.createContext)(null), une = /*#__PURE__*/ (0, E.createContext)(null), Zw = {
+ let n = dT[t];
+ return n || (n = /*#__PURE__*/ (0, D.forwardRef)(uT.bind(null, t)), dT[t] = n), n;
+} }), pT = /*#__PURE__*/ (0, D.createContext)(null), mT = /*#__PURE__*/ (0, D.createContext)(null), hT = /*#__PURE__*/ (0, D.createContext)(null), gT = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return Qw(e, null, t);
+ return _T(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return Qw(e, t, n);
+ return _T(e, t, n);
}
};
-function Qw(e, t, n) {
- return bf({
+function _T(e, t, n) {
+ return wf({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
- if (t.type === "content") return /*#__PURE__*/ E.createElement(E.Fragment, null);
+ if (t.type === "content") return /*#__PURE__*/ D.createElement(D.Fragment, null);
let r = t.render(t);
- return !n || t.type !== "item" ? r : /*#__PURE__*/ E.createElement(E.Fragment, null, n({
+ return !n || t.type !== "item" ? r : /*#__PURE__*/ D.createElement(D.Fragment, null, n({
type: "item",
key: t.key,
dropPosition: "before"
- }), r, dne(e, t, n));
+ }), r, vT(e, t, n));
}
});
}
-function dne(e, t, n) {
+function vT(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);
@@ -26630,30 +26696,30 @@ function dne(e, t, n) {
key: r.key,
dropPosition: "after"
});
- /*#__PURE__*/ (0, E.isValidElement)(t) && s.push(/*#__PURE__*/ (0, E.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);
+ /*#__PURE__*/ (0, D.isValidElement)(t) && s.push(/*#__PURE__*/ (0, D.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);
}
}
return s;
}
-var $w = /*#__PURE__*/ (0, E.createContext)(Zw);
-function fne(e) {
- return (0, E.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
+var yT = /*#__PURE__*/ (0, D.createContext)(gT);
+function bT(e) {
+ return (0, D.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var eT = /*#__PURE__*/ (0, E.createContext)({}), pne = /*#__PURE__*/ Gm(function(e, t) {
- [e, t] = Ww(e, t, eT);
- let { elementType: n = "label", ...r } = e, i = Jw[n];
- return /*#__PURE__*/ E.createElement(i, {
+var xT = /*#__PURE__*/ (0, D.createContext)({}), ST = /*#__PURE__*/ Xm(function(e, t) {
+ [e, t] = sT(e, t, xT);
+ let { elementType: n = "label", ...r } = e, i = fT[n];
+ return /*#__PURE__*/ D.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), mne = /*#__PURE__*/ (0, E.createContext)(null), tT = /*#__PURE__*/ (0, E.createContext)({}), hne = /*#__PURE__*/ Gm(function(e, t) {
- [e, t] = Ww(e, t, tT);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = nee(e, t);
- i = _ne(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = ty(e), { hoverProps: l, isHovered: u } = cy({
+}), CT = /*#__PURE__*/ (0, D.createContext)(null), wT = /*#__PURE__*/ (0, D.createContext)({}), TT = /*#__PURE__*/ Xm(function(e, t) {
+ [e, t] = sT(e, t, wT);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = see(e, t);
+ i = DT(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = sy(e), { hoverProps: l, isHovered: u } = dy({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -26663,24 +26729,24 @@ var eT = /*#__PURE__*/ (0, E.createContext)({}), pne = /*#__PURE__*/ Gm(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = Hw({
+ }, f = aT({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = gm(i.id), m = gm(), h = i["aria-labelledby"];
+ }), p = xm(i.id), m = xm(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
- let g = (0, E.useRef)(r);
- (0, E.useEffect)(() => {
+ let g = (0, D.useRef)(r);
+ (0, D.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && Zg(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && r_(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = ag(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ E.createElement(Jw.button, {
+ let _ = cg(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ D.createElement(fT.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -26694,62 +26760,62 @@ var eT = /*#__PURE__*/ (0, E.createContext)({}), pne = /*#__PURE__*/ Gm(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ E.createElement(mne.Provider, { value: { id: m } }, f.children));
-}), gne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function _ne(e, t) {
+ }, /*#__PURE__*/ D.createElement(CT.Provider, { value: { id: m } }, f.children));
+}), ET = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function DT(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !gne.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !ET.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 nT = /*#__PURE__*/ (0, E.createContext)({}), rT = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- [e, t] = Ww(e, t, nT);
- let { children: n, level: r = 3, className: i, ...a } = e, o = Jw[`h${r}`];
- return /*#__PURE__*/ E.createElement(o, {
+var OT = /*#__PURE__*/ (0, D.createContext)({}), kT = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = sT(e, t, OT);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = fT[`h${r}`];
+ return /*#__PURE__*/ D.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), iT = /*#__PURE__*/ (0, E.createContext)({}), vne = /*#__PURE__*/ Gm(function(e, t) {
- [e, t] = Ww(e, t, iT);
- let { elementType: n = "span", ...r } = e, i = Jw[n];
- return /*#__PURE__*/ E.createElement(i, {
+}), AT = /*#__PURE__*/ (0, D.createContext)({}), jT = /*#__PURE__*/ Xm(function(e, t) {
+ [e, t] = sT(e, t, AT);
+ let { elementType: n = "span", ...r } = e, i = fT[n];
+ return /*#__PURE__*/ D.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), aT = /*#__PURE__*/ (0, E.createContext)(null), oT = /*#__PURE__*/ (0, E.createContext)(null), sT = /*#__PURE__*/ (0, E.createContext)(null), cT = /*#__PURE__*/ (0, E.createContext)(null), yne = /*#__PURE__*/ (0, E.createContext)(null), lT = /*#__PURE__*/ (0, E.createContext)(null);
-function bne(e, t) {
- let { validationBehavior: n } = Uw(oT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useContext)(yne), a = Rm((0, E.useMemo)(() => ym(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...Kw(e),
+}), MT = /*#__PURE__*/ (0, D.createContext)(null), NT = /*#__PURE__*/ (0, D.createContext)(null), PT = /*#__PURE__*/ (0, D.createContext)(null), FT = /*#__PURE__*/ (0, D.createContext)(null), IT = /*#__PURE__*/ (0, D.createContext)(null), LT = /*#__PURE__*/ (0, D.createContext)(null);
+function RT(e, t) {
+ let { validationBehavior: n } = oT(NT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useContext)(IT), a = Um((0, D.useMemo)(() => wm(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...lT(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? _ee(o, i, a) : C_(o, O_(e), a), a];
+ return [i ? lee(o, i, a) : P_(o, V_(e), a), a];
}
-var xne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
+var zT = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Ww(r, t, sT);
- let [i, a] = bne(e, n);
- return /*#__PURE__*/ E.createElement(lT.Provider, { value: {
+ [e, t] = sT(r, t, PT);
+ let [i, a] = RT(e, n);
+ return /*#__PURE__*/ D.createElement(LT.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ E.createElement(Sne, {
+ } }, /*#__PURE__*/ D.createElement(BT, {
...e,
ref: t
}));
-}), Sne = /*#__PURE__*/ (0, E.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, E.useContext)(lT), { isFocused: p, isFocusVisible: m, focusProps: h } = ty(), g = a || o, { hoverProps: _, isHovered: v } = cy({
+}), BT = /*#__PURE__*/ (0, D.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, D.useContext)(LT), { isFocused: p, isFocusVisible: m, focusProps: h } = sy(), g = a || o, { hoverProps: _, isHovered: v } = dy({
...e,
isDisabled: g
- }), y = Hw({
+ }), y = aT({
...e,
defaultClassName: u,
values: {
@@ -26764,8 +26830,8 @@ var xne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = ag(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Jw.label, {
+ }), b = cg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(fT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -26779,20 +26845,20 @@ var xne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ E.createElement(M_, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {
+ }, /*#__PURE__*/ D.createElement(G_, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
...H(r, h),
ref: l
})), y.children);
-}), uT = /*#__PURE__*/ (0, E.createContext)({}), Cne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- [e, t] = Ww(e, t, uT);
+}), VT = /*#__PURE__*/ (0, D.createContext)({}), HT = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = sT(e, t, VT);
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 } = cy({
+ let { hoverProps: l, isHovered: u } = dy({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = ty({ within: !0 }), m = Hw({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = sy({ within: !0 }), m = aT({
...e,
values: {
isHovered: u,
@@ -26803,7 +26869,7 @@ var xne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ E.createElement(Jw.div, {
+ return /*#__PURE__*/ D.createElement(fT.div, {
...H(c, p, l),
...m,
ref: t,
@@ -26816,18 +26882,18 @@ var xne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), dT = /*#__PURE__*/ (0, E.createContext)({}), wne = (e) => {
+}), UT = /*#__PURE__*/ (0, D.createContext)({}), WT = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Tne = /*#__PURE__*/ Gm(function(e, t) {
- [e, t] = Ww(e, t, dT);
- let { hoverProps: n, isHovered: r } = cy({
+}, GT = /*#__PURE__*/ Xm(function(e, t) {
+ [e, t] = sT(e, t, UT);
+ let { hoverProps: n, isHovered: r } = dy({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = ty({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = sy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Hw({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = aT({
...e,
values: {
isHovered: r,
@@ -26838,8 +26904,8 @@ var xne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ E.createElement(Jw.input, {
- ...H(wne(e), o, n),
+ return /*#__PURE__*/ D.createElement(fT.input, {
+ ...H(WT(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -26848,8 +26914,8 @@ var xne = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), fT = {};
-fT = {
+}), KT = {};
+KT = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -26857,8 +26923,8 @@ fT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var pT = {};
-pT = {
+var qT = {};
+qT = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -26866,8 +26932,8 @@ pT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var mT = {};
-mT = {
+var JT = {};
+JT = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -26875,8 +26941,8 @@ mT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var hT = {};
-hT = {
+var YT = {};
+YT = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -26884,8 +26950,8 @@ hT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var gT = {};
-gT = {
+var XT = {};
+XT = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -26893,8 +26959,8 @@ gT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var _T = {};
-_T = {
+var ZT = {};
+ZT = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -26902,8 +26968,8 @@ _T = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var vT = {};
-vT = {
+var QT = {};
+QT = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -26911,8 +26977,8 @@ vT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var yT = {};
-yT = {
+var $T = {};
+$T = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -26920,8 +26986,8 @@ yT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var bT = {};
-bT = {
+var eE = {};
+eE = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -26929,8 +26995,8 @@ bT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var xT = {};
-xT = {
+var tE = {};
+tE = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -26938,8 +27004,8 @@ xT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var ST = {};
-ST = {
+var nE = {};
+nE = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -26947,8 +27013,8 @@ ST = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var CT = {};
-CT = {
+var rE = {};
+rE = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -26956,8 +27022,8 @@ CT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var wT = {};
-wT = {
+var iE = {};
+iE = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -26965,8 +27031,8 @@ wT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var TT = {};
-TT = {
+var aE = {};
+aE = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -26974,8 +27040,8 @@ TT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var ET = {};
-ET = {
+var oE = {};
+oE = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -26983,8 +27049,8 @@ ET = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var DT = {};
-DT = {
+var sE = {};
+sE = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -26992,8 +27058,8 @@ DT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var OT = {};
-OT = {
+var cE = {};
+cE = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -27001,8 +27067,8 @@ OT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var kT = {};
-kT = {
+var lE = {};
+lE = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -27010,8 +27076,8 @@ kT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var AT = {};
-AT = {
+var uE = {};
+uE = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -27019,8 +27085,8 @@ AT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var jT = {};
-jT = {
+var dE = {};
+dE = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -27028,8 +27094,8 @@ jT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var MT = {};
-MT = {
+var fE = {};
+fE = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -27037,8 +27103,8 @@ MT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var NT = {};
-NT = {
+var pE = {};
+pE = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -27046,8 +27112,8 @@ NT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var PT = {};
-PT = {
+var mE = {};
+mE = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -27055,8 +27121,8 @@ PT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var FT = {};
-FT = {
+var hE = {};
+hE = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -27064,8 +27130,8 @@ FT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var IT = {};
-IT = {
+var gE = {};
+gE = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -27073,8 +27139,8 @@ IT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var LT = {};
-LT = {
+var _E = {};
+_E = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -27082,8 +27148,8 @@ LT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var RT = {};
-RT = {
+var vE = {};
+vE = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -27091,8 +27157,8 @@ RT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var zT = {};
-zT = {
+var yE = {};
+yE = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -27100,8 +27166,8 @@ zT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var BT = {};
-BT = {
+var bE = {};
+bE = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -27109,8 +27175,8 @@ BT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var VT = {};
-VT = {
+var xE = {};
+xE = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -27118,8 +27184,8 @@ VT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var HT = {};
-HT = {
+var SE = {};
+SE = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -27127,8 +27193,8 @@ HT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var UT = {};
-UT = {
+var CE = {};
+CE = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -27136,8 +27202,8 @@ UT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var WT = {};
-WT = {
+var wE = {};
+wE = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -27145,8 +27211,8 @@ WT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var GT = {};
-GT = {
+var TE = {};
+TE = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -27154,52 +27220,52 @@ GT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var KT = {};
-KT = {
- "ar-AE": fT,
- "bg-BG": pT,
- "cs-CZ": mT,
- "da-DK": hT,
- "de-DE": gT,
- "el-GR": _T,
- "en-US": vT,
- "es-ES": yT,
- "et-EE": bT,
- "fi-FI": xT,
- "fr-FR": ST,
- "he-IL": CT,
- "hr-HR": wT,
- "hu-HU": TT,
- "it-IT": ET,
- "ja-JP": DT,
- "ko-KR": OT,
- "lt-LT": kT,
- "lv-LV": AT,
- "nb-NO": jT,
- "nl-NL": MT,
- "pl-PL": NT,
- "pt-BR": PT,
- "pt-PT": FT,
- "ro-RO": IT,
- "ru-RU": LT,
- "sk-SK": RT,
- "sl-SI": zT,
- "sr-SP": BT,
- "sv-SE": VT,
- "tr-TR": HT,
- "uk-UA": UT,
- "zh-CN": WT,
- "zh-TW": GT
+var EE = {};
+EE = {
+ "ar-AE": KT,
+ "bg-BG": qT,
+ "cs-CZ": JT,
+ "da-DK": YT,
+ "de-DE": XT,
+ "el-GR": ZT,
+ "en-US": QT,
+ "es-ES": $T,
+ "et-EE": eE,
+ "fi-FI": tE,
+ "fr-FR": nE,
+ "he-IL": rE,
+ "hr-HR": iE,
+ "hu-HU": aE,
+ "it-IT": oE,
+ "ja-JP": sE,
+ "ko-KR": cE,
+ "lt-LT": lE,
+ "lv-LV": uE,
+ "nb-NO": dE,
+ "nl-NL": fE,
+ "pl-PL": pE,
+ "pt-BR": mE,
+ "pt-PT": hE,
+ "ro-RO": gE,
+ "ru-RU": _E,
+ "sk-SK": vE,
+ "sl-SI": yE,
+ "sr-SP": bE,
+ "sv-SE": xE,
+ "tr-TR": SE,
+ "uk-UA": CE,
+ "zh-CN": wE,
+ "zh-TW": TE
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var qT = /*#__PURE__*/ (0, E.createContext)({}), JT = /*#__PURE__*/ (0, E.createContext)(null), YT = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { render: n } = (0, E.useContext)(JT);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, n(e, t));
+var DE = /*#__PURE__*/ (0, D.createContext)({}), OE = /*#__PURE__*/ (0, D.createContext)(null), Yte = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { render: n } = (0, D.useContext)(OE);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, n(e, t));
});
-function XT(e, t) {
- let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, E.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ E.createElement(YT, { target: e });
+function kE(e, t) {
+ let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, D.useCallback)((e) => {
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ D.createElement(Yte, { target: e });
}, [
t?.target,
r,
@@ -27207,7 +27273,7 @@ function XT(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function ZT(e, t, n) {
+function AE(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;
@@ -27226,19 +27292,19 @@ function ZT(e, t, n) {
}
i = e ?? t ?? i;
}
- return (0, E.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
+ return (0, D.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var QT = /*#__PURE__*/ (0, E.createContext)({}), $T = /*#__PURE__*/ (0, E.createContext)(null);
-function eE(e) {
- let t = (0, E.useRef)({});
- return /*#__PURE__*/ E.createElement($T.Provider, { value: t }, e.children);
+var Xte = /*#__PURE__*/ (0, D.createContext)({}), Zte = /*#__PURE__*/ (0, D.createContext)(null);
+function jE(e) {
+ let t = (0, D.useRef)({});
+ return /*#__PURE__*/ D.createElement(Zte.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var tE = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), nE = /*#__PURE__*/ (0, E.createContext)({});
-(class extends df {
+var ME = /*#__PURE__*/ (0, D.createContext)({ isSelected: !1 }), Qte = /*#__PURE__*/ (0, D.createContext)({});
+(class extends hf {
static {
this.type = "separator";
}
@@ -27253,13 +27319,13 @@ var tE = /*#__PURE__*/ (0, E.createContext)({ isSelected: !1 }), nE = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function rE(e) {
- let t = E.version.split(".");
+function NE(e) {
+ let t = D.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 iE = class {
+var PE = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -27303,23 +27369,23 @@ var iE = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, aE = class e extends Set {
+}, FE = 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 oE(e, t) {
+function $te(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function sE(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, E.useRef)(!1), [, s] = (0, E.useState)(!1), c = (0, E.useRef)(null), l = (0, E.useRef)(null), [, u] = (0, E.useState)(null), [d, f] = D_((0, E.useMemo)(() => cE(e.selectedKeys), [e.selectedKeys]), (0, E.useMemo)(() => cE(e.defaultSelectedKeys, new aE()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, E.useState)(i);
+function IE(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, D.useRef)(!1), [, s] = (0, D.useState)(!1), c = (0, D.useRef)(null), l = (0, D.useRef)(null), [, u] = (0, D.useState)(null), [d, f] = B_((0, D.useMemo)(() => LE(e.selectedKeys), [e.selectedKeys]), (0, D.useMemo)(() => LE(e.defaultSelectedKeys, new FE()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, D.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
- let g = (0, E.useRef)(i);
- return (0, E.useEffect)(() => {
+ let g = (0, D.useRef)(i);
+ return (0, D.useEffect)(() => {
i !== g.current && (h(i), g.current = i);
}, [i]), {
selectionMode: t,
@@ -27343,18 +27409,18 @@ function sE(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !oE(e, d)) && f(e);
+ (r || !$te(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function cE(e, t) {
- return e ? e === "all" ? "all" : new aE(e) : t;
+function LE(e, t) {
+ return e ? e === "all" ? "all" : new FE(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var lE = class e {
+var RE = 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;
}
@@ -27410,7 +27476,7 @@ var lE = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Wv(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Jv(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -27418,7 +27484,7 @@ var lE = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Wv(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Jv(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -27437,10 +27503,10 @@ var lE = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new aE([t], t, t);
+ if (this.state.selectedKeys === "all") n = new FE([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new aE(e, r, t);
+ n = new FE(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);
}
@@ -27448,7 +27514,7 @@ var lE = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Wv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Jv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
}
getKeyRangeInternal(e, t) {
if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
@@ -27474,19 +27540,19 @@ var lE = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new aE(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new FE(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 aE([t], t, t) : new aE();
+ let n = this.canSelectItem(t) ? new FE([t], t, t) : new FE();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new aE();
+ let t = new FE();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -27498,7 +27564,7 @@ var lE = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Vv(Bv(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Gv(Wv(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -27509,7 +27575,7 @@ var lE = 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 aE());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new FE());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -27550,13 +27616,13 @@ var lE = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, uE = class {
+}, ene = class {
build(e, t) {
- return this.context = t, dE(() => this.iterateCollection(e));
+ return this.context = t, zE(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
- if (E.isValidElement(t) && t.type === E.Fragment) yield* this.iterateCollection({
+ if (D.isValidElement(t) && t.type === D.Fragment) yield* this.iterateCollection({
children: t.props.children,
items: n
});
@@ -27569,7 +27635,7 @@ var lE = class e {
}, { renderer: t }), e++;
} else {
let e = [];
- E.Children.forEach(t, (t) => {
+ D.Children.forEach(t, (t) => {
t && e.push(t);
});
let n = 0;
@@ -27597,9 +27663,9 @@ var lE = class e {
return { renderer: t.renderer || e.renderer };
}
*getFullNode(e, t, n, r) {
- if (E.isValidElement(e.element) && e.element.type === E.Fragment) {
+ if (D.isValidElement(e.element) && e.element.type === D.Fragment) {
let i = [];
- E.Children.forEach(e.element.props.children, (e) => {
+ D.Children.forEach(e.element.props.children, (e) => {
i.push(e);
});
let a = e.index ?? 0;
@@ -27618,7 +27684,7 @@ var lE = class e {
}
i = t.renderer(e.value);
}
- if (E.isValidElement(i)) {
+ if (D.isValidElement(i)) {
let a = i.type;
if (typeof a != "function" && typeof a.getCollectionNode != "function") {
let e = i.type;
@@ -27634,10 +27700,10 @@ var lE = class e {
...a,
key: l,
index: s,
- wrapper: fE(e.wrapper, a.wrapper)
+ wrapper: tne(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 <${pE(t.type)}> in <${pE(r?.type ?? "unknown parent type")}>. Only <${pE(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 <${BE(t.type)}> in <${BE(r?.type ?? "unknown parent type")}>. Only <${BE(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -27659,7 +27725,7 @@ var lE = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: dE(function* () {
+ childNodes: zE(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -27678,7 +27744,7 @@ var lE = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function dE(e) {
+function zE(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -27686,19 +27752,19 @@ function dE(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function fE(e, t) {
+function tne(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function pE(e) {
+function BE(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function mE(e, t, n) {
- let r = (0, E.useMemo)(() => new uE(), []), { children: i, items: a, collection: o } = e;
- return (0, E.useMemo)(() => o || t(r.build({
+function VE(e, t, n) {
+ let r = (0, D.useMemo)(() => new ene(), []), { children: i, items: a, collection: o } = e;
+ return (0, D.useMemo)(() => o || t(r.build({
children: i,
items: a
}, n)), [
@@ -27712,29 +27778,29 @@ function mE(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function hE(e) {
- let { filter: t, layoutDelegate: n } = e, r = sE(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = mE(e, (0, E.useCallback)((e) => t ? new iE(t(e)) : new iE(e), [t]), (0, E.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, E.useMemo)(() => new lE(a, r, { layoutDelegate: n }), [
+function HE(e) {
+ let { filter: t, layoutDelegate: n } = e, r = IE(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = VE(e, (0, D.useCallback)((e) => t ? new PE(t(e)) : new PE(e), [t]), (0, D.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, D.useMemo)(() => new RE(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return _E(a, o), {
+ return UE(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function gE(e, t) {
- let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return _E(n, r), {
+function nne(e, t) {
+ let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
+ return UE(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function _E(e, t) {
- let n = (0, E.useRef)(null);
- (0, E.useEffect)(() => {
+function UE(e, t) {
+ let n = (0, D.useRef)(null);
+ (0, D.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
let r = n.current.getKeyAfter(t.focusedKey), i = null;
for (; r != null;) {
@@ -27760,15 +27826,15 @@ function _E(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function vE(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, E.useRef)(null), s = Th((e) => {
+function WE(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, D.useRef)(null), s = Ah((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- V(() => {
+ tp(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: e_(t?.current),
+ root: s_(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -27784,42 +27850,42 @@ function vE(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var yE = /*#__PURE__*/ (0, E.createContext)(null), bE = /*#__PURE__*/ (0, E.createContext)(null), xE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- [e, t] = Ww(e, t, yE);
- let n = (0, E.useContext)(bE);
- return n ? /*#__PURE__*/ E.createElement(CE, {
+var GE = /*#__PURE__*/ (0, D.createContext)(null), KE = /*#__PURE__*/ (0, D.createContext)(null), rne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = sT(e, t, GE);
+ let n = (0, D.useContext)(KE);
+ return n ? /*#__PURE__*/ D.createElement(qE, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ E.createElement(th, { content: /*#__PURE__*/ E.createElement(ph, e) }, (n) => /*#__PURE__*/ E.createElement(SE, {
+ }) : /*#__PURE__*/ D.createElement(oh, { content: /*#__PURE__*/ D.createElement(vh, e) }, (n) => /*#__PURE__*/ D.createElement(ine, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function SE({ props: e, listBoxRef: t, collection: n }) {
+function ine({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, E.useContext)($w), i = hE({
+ let { layoutDelegate: r } = (0, D.useContext)(yT), i = HE({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ E.createElement(CE, {
+ return /*#__PURE__*/ D.createElement(qE, {
state: i,
props: e,
listBoxRef: t
});
}
-function CE({ state: e, props: t, listBoxRef: n }) {
- [t, n] = Ww(t, n, Yw);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = gE(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Rh(), { disabledBehavior: p, disabledKeys: m } = l, h = Jv({
+function qE({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = sT(t, n, pT);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = nne(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Uh(), { disabledBehavior: p, disabledKeys: m } = l, h = $v({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, E.useContext)($w), b = (0, E.useMemo)(() => t.keyboardDelegate || new J_({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, D.useContext)(yT), b = (0, D.useMemo)(() => t.keyboardDelegate || new tv({
collection: c,
collator: h,
ref: n,
@@ -27840,14 +27906,14 @@ function CE({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Mee({
+ ]), { listBoxProps: x } = Fee({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
isVirtualized: g
}, s, n);
- (0, E.useRef)(u), (0, E.useRef)(d), (0, E.useEffect)(() => {}, [u, d]);
- let S, C, w, T = !1, D = null, O = (0, E.useRef)(null);
+ (0, D.useRef)(u), (0, D.useRef)(d), (0, D.useEffect)(() => {}, [u, d]);
+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null);
if (u && r) {
S = r.useDraggableCollectionState({
collection: c,
@@ -27855,7 +27921,7 @@ function CE({ state: e, props: t, listBoxRef: n }) {
preview: r.renderDragPreview ? O : void 0
}), r.useDraggableCollection({}, S, n);
let e = r.DragPreview;
- D = r.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: O }, r.renderDragPreview) : null;
+ E = r.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: O }, r.renderDragPreview) : null;
}
if (d && r) {
C = r.useDroppableCollectionState({
@@ -27872,7 +27938,7 @@ function CE({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = ty(), M = s.collection.size === 0, N = {
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = sy(), M = s.collection.size === 0, N = {
isDropTarget: T,
isEmpty: M,
isFocused: A,
@@ -27880,18 +27946,18 @@ function CE({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = Hw({
+ }, P = aT({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
values: N
}), F = null;
- M && t.renderEmptyState && (F = /*#__PURE__*/ E.createElement("div", {
+ M && t.renderEmptyState && (F = /*#__PURE__*/ D.createElement("div", {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(N)));
- let I = ag(t, { global: !0 });
- return /*#__PURE__*/ E.createElement(jg, null, /*#__PURE__*/ E.createElement(Jw.div, {
+ let I = cg(t, { global: !0 });
+ return /*#__PURE__*/ D.createElement(jg, null, /*#__PURE__*/ D.createElement(fT.div, {
...H(I, P, x, k, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -27902,60 +27968,60 @@ function CE({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ E.createElement(Vw, { values: [
- [yE, t],
- [bE, s],
- [qT, {
+ }, /*#__PURE__*/ D.createElement(iT, { values: [
+ [GE, t],
+ [KE, s],
+ [DE, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [nE, { elementType: "div" }],
- [JT, { render: EE }],
- [une, {
+ [Qte, { elementType: "div" }],
+ [OE, { render: sne }],
+ [hT, {
name: "ListBoxSection",
- render: wE
+ render: ane
}]
- ] }, /*#__PURE__*/ E.createElement(eE, null, /*#__PURE__*/ E.createElement(y, {
+ ] }, /*#__PURE__*/ D.createElement(jE, null, /*#__PURE__*/ D.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: ZT(l, r, C),
- renderDropIndicator: XT(r, C)
- }))), F, D));
+ persistedKeys: AE(l, r, C),
+ renderDropIndicator: kE(r, C)
+ }))), F, E));
}
-function wE(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, E.useContext)(bE), { dragAndDropHooks: a, dropState: o } = (0, E.useContext)(qT), { CollectionBranch: s } = (0, E.useContext)($w), [c, l] = Gw(), { headingProps: u, groupProps: d } = Zy({
+function ane(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, D.useContext)(KE), { dragAndDropHooks: a, dropState: o } = (0, D.useContext)(DE), { CollectionBranch: s } = (0, D.useContext)(yT), [c, l] = cT(), { headingProps: u, groupProps: d } = Iee({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = Hw({
+ }), f = aT({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = ag(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ E.createElement(Jw.section, {
+ }), p = cg(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ D.createElement(fT.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ E.createElement(QT.Provider, { value: {
+ }, /*#__PURE__*/ D.createElement(Xte.Provider, { value: {
...u,
ref: c
- } }, /*#__PURE__*/ E.createElement(s, {
+ } }, /*#__PURE__*/ D.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: XT(a, o)
+ renderDropIndicator: kE(a, o)
})));
}
-var TE = /*#__PURE__*/ lh(mf, function(e, t, n) {
- let r = Rm(t), i = (0, E.useContext)(bE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(qT), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Qy({
+var one = /*#__PURE__*/ mh(vf, function(e, t, n) {
+ let r = Um(t), i = (0, D.useContext)(KE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(DE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Lee({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = cy({
+ }, i, r), { hoverProps: p, isHovered: m } = dy({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = Lm(e), { focusProps: g } = Cm(e), _ = null;
+ }), { keyboardProps: h } = Hm(e), { focusProps: g } = Om(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -27966,7 +28032,7 @@ var TE = /*#__PURE__*/ lh(mf, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = Hw({
+ let y = o && o.isDragging(n.key), b = aT({
...e,
id: void 0,
children: e.children,
@@ -27981,11 +28047,11 @@ var TE = /*#__PURE__*/ lh(mf, function(e, t, n) {
isDropTarget: v?.isDropTarget
}
});
- (0, E.useEffect)(() => {
+ (0, D.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? Jw.a : Jw.div, S = ag(e, { global: !0 });
- return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ E.createElement(x, {
+ let x = e.href ? fT.a : fT.div, S = cg(e, { global: !0 });
+ return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ D.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
"data-allows-dragging": !!o || void 0,
@@ -27998,29 +28064,29 @@ var TE = /*#__PURE__*/ lh(mf, 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__*/ E.createElement(Vw, { values: [[iT, { slots: {
- [Bw]: u,
+ }, /*#__PURE__*/ D.createElement(iT, { values: [[AT, { slots: {
+ [rT]: u,
label: u,
description: d
- } }], [tE, { isSelected: f.isSelected }]] }, b.children));
+ } }], [ME, { isSelected: f.isSelected }]] }, b.children));
});
-function EE(e, t) {
- t = Rm(t);
- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(qT), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ E.createElement(OE, {
+function sne(e, t) {
+ t = Um(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(DE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ D.createElement(lne, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function DE(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Hw({
+function cne(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = aT({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Jw.div, {
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(fT.div, {
...n,
...a,
role: "option",
@@ -28028,10 +28094,10 @@ function DE(e, t) {
"data-drop-target": r || void 0
}));
}
-var OE = /*#__PURE__*/ (0, E.forwardRef)(DE);
-lh(pf, function(e, t, n) {
- let r = (0, E.useContext)(bE), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, E.useRef)(null);
- vE((0, E.useMemo)(() => ({
+var lne = /*#__PURE__*/ (0, D.forwardRef)(cne);
+mh(_f, function(e, t, n) {
+ let r = (0, D.useContext)(KE), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, D.useRef)(null);
+ WE((0, D.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -28041,21 +28107,21 @@ lh(pf, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Hw({
+ let l = aT({
...s,
id: void 0,
children: n.rendered,
defaultClassName: "react-aria-ListBoxLoadingIndicator",
values: void 0
});
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement("div", {
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement("div", {
style: {
position: "relative",
width: 0,
height: 0
},
- inert: rE(!0)
- }, /*#__PURE__*/ E.createElement("div", {
+ inert: NE(!0)
+ }, /*#__PURE__*/ D.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
style: {
@@ -28063,8 +28129,8 @@ lh(pf, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Jw.div, {
- ...H(ag(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(fT.div, {
+ ...H(cg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -28072,21 +28138,21 @@ lh(pf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var kE = /*#__PURE__*/ (0, E.createContext)({ placement: "bottom" });
+var une = /*#__PURE__*/ (0, D.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function AE(e) {
- let [t, n] = D_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, E.useState)(null);
+function JE(e) {
+ let [t, n] = B_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, D.useState)(null);
return {
isOpen: t,
setOpen: n,
- open: (0, E.useCallback)(() => {
+ open: (0, D.useCallback)(() => {
n(!0);
}, [n]),
- close: (0, E.useCallback)(() => {
+ close: (0, D.useCallback)(() => {
n(!1);
}, [n]),
- toggle: (0, E.useCallback)(() => {
+ toggle: (0, D.useCallback)(() => {
n(!t);
}, [n, t]),
point: r,
@@ -28095,14 +28161,14 @@ function AE(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function jE(e, t = !0) {
- let [n, r] = (0, E.useState)(!0), i = n && t;
- return V(() => {
+function YE(e, t = !0) {
+ let [n, r] = (0, D.useState)(!0), i = n && t;
+ return tp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), NE(e, i, (0, E.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), ZE(e, i, (0, D.useCallback)(() => r(!1), [])), i;
}
-function ME(e, t) {
- let [n, r] = (0, E.useState)(t ? "open" : "closed");
+function XE(e, t) {
+ let [n, r] = (0, D.useState)(t ? "open" : "closed");
switch (n) {
case "open":
t || r("exiting");
@@ -28111,12 +28177,12 @@ function ME(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return NE(e, i, (0, E.useCallback)(() => {
+ return ZE(e, i, (0, D.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function NE(e, t, n) {
- V(() => {
+function ZE(e, t, n) {
+ tp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
n();
@@ -28129,7 +28195,7 @@ function NE(e, t, n) {
}
let r = !1;
return Promise.allSettled(t.map((e) => e.finished)).then(() => {
- r || (0, Zm.flushSync)(() => {
+ r || (0, nh.flushSync)(() => {
n();
});
}), () => {
@@ -28144,9 +28210,9 @@ function NE(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var PE = /*#__PURE__*/ (0, E.createContext)(null), FE = /*#__PURE__*/ (0, E.createContext)(null), IE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- [e, t] = Ww(e, t, PE);
- let n = (0, E.useContext)(zE), r = AE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ME(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Km(), { direction: c } = Rh();
+var QE = /*#__PURE__*/ (0, D.createContext)(null), $E = /*#__PURE__*/ (0, D.createContext)(null), eD = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = sT(e, t, QE);
+ let n = (0, D.useContext)(tD), r = JE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = XE(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Zm(), { direction: c } = Uh();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -28155,9 +28221,9 @@ var PE = /*#__PURE__*/ (0, E.createContext)(null), FE = /*#__PURE__*/ (0, E.crea
isEntering: !1,
isExiting: !1,
defaultChildren: null
- })), /*#__PURE__*/ E.createElement(E.Fragment, null, t);
+ })), /*#__PURE__*/ D.createElement(D.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ E.createElement(LE, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ D.createElement(dne, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -28166,13 +28232,13 @@ var PE = /*#__PURE__*/ (0, E.createContext)(null), FE = /*#__PURE__*/ (0, E.crea
dir: c
});
});
-function LE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = (0, E.useContext)(FE), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = lx({
+function dne({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = (0, D.useContext)($E), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = $ee({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = jE(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Hw({
+ }, e), m = i.popoverRef, h = YE(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = aT({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -28181,24 +28247,24 @@ function LE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
isEntering: g,
isExiting: t
}
- }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, E.useState)(i.trigger === "PreviewTrigger");
- V(() => {
+ }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, D.useState)(i.trigger === "PreviewTrigger");
+ tp(() => {
m.current && b(v && !m.current.querySelector("[role=dialog]"));
- }, [m, v]), (0, E.useEffect)(() => {
- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Qp() !== "pointer") && m.current && !Bf(m.current) && lm(m.current);
+ }, [m, v]), (0, D.useEffect)(() => {
+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || rm() !== "pointer") && m.current && !Wf(m.current) && mm(m.current);
}, [
y,
m,
i.trigger
]);
- let x = (0, E.useMemo)(() => {
+ let x = (0, D.useMemo)(() => {
let e = _.children;
- if (r) for (let t of r) e = /*#__PURE__*/ E.createElement(t.Provider, { value: null }, e);
+ if (r) for (let t of r) e = /*#__PURE__*/ D.createElement(t.Provider, { value: null }, e);
return e;
- }, [_.children, r]), [S, C] = (0, E.useState)(null), w = (0, E.useCallback)(() => {
+ }, [_.children, r]), [S, C] = (0, D.useState)(null), w = (0, D.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- V(w, [w]), eb({
+ tp(w, [w]), $y({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -28207,8 +28273,8 @@ function LE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, D = /*#__PURE__*/ E.createElement(Jw.div, {
- ...H(ag(i, { global: !0 }), l),
+ }, E = /*#__PURE__*/ D.createElement(fT.div, {
+ ...H(cg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -28223,112 +28289,112 @@ function LE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ E.createElement(Ib, { onDismiss: e.close }), /*#__PURE__*/ E.createElement(kE.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ D.createElement(Ib, { onDismiss: e.close }), /*#__PURE__*/ D.createElement(une.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ E.createElement(Ib, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ E.createElement($v, {
+ } }, x), /*#__PURE__*/ D.createElement(Ib, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ D.createElement(ay, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, D) : /*#__PURE__*/ E.createElement($v, {
+ }, E) : /*#__PURE__*/ D.createElement(ay, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n
- }, !i.isNonModal && e.isOpen && /*#__PURE__*/ E.createElement("div", {
+ }, !i.isNonModal && e.isOpen && /*#__PURE__*/ D.createElement("div", {
"data-testid": "underlay",
...u,
style: {
position: "fixed",
inset: 0
}
- }), /*#__PURE__*/ E.createElement("div", {
+ }), /*#__PURE__*/ D.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ E.createElement(FE.Provider, { value: o }, D)));
+ }, /*#__PURE__*/ D.createElement($E.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var RE = /*#__PURE__*/ (0, E.createContext)(null), zE = /*#__PURE__*/ (0, E.createContext)(null), BE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
+var fne = /*#__PURE__*/ (0, D.createContext)(null), tD = /*#__PURE__*/ (0, D.createContext)(null), nD = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = Ww(e, t, RE);
- let { dialogProps: r, titleProps: i, contentProps: a } = wee({
+ [e, t] = sT(e, t, fne);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Cee({
...e,
"aria-labelledby": n
- }, t), o = (0, E.useContext)(zE);
+ }, t), o = (0, D.useContext)(tD);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = Hw({
+ let s = aT({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = ag(e, { global: !0 });
- return /*#__PURE__*/ E.createElement(Jw.section, {
+ }), c = cg(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(fT.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ E.createElement(Vw, { values: [
- [nT, { slots: {
- [Bw]: {},
+ }, /*#__PURE__*/ D.createElement(iT, { values: [
+ [OT, { slots: {
+ [rT]: {},
title: {
...i,
level: 2
}
} }],
- [iT, { slots: {
- [Bw]: {},
+ [AT, { slots: {
+ [rT]: {},
description: a
} }],
- [tT, { slots: {
- [Bw]: {},
+ [wT, { slots: {
+ [rT]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), VE = typeof document < "u" && window.visualViewport;
-function HE() {
- let e = Pp(), [t, n] = (0, E.useState)(() => e ? {
+}), rD = typeof document < "u" && window.visualViewport;
+function pne() {
+ let e = zp(), [t, n] = (0, D.useState)(() => e ? {
width: 0,
height: 0
- } : UE());
- return (0, E.useEffect)(() => {
+ } : iD());
+ return (0, D.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- VE && VE.scale > 1 || e(UE());
+ rD && rD.scale > 1 || e(iD());
}, r, i = (t) => {
- VE && VE.scale > 1 || Ch(B(t)) && (r = requestAnimationFrame(() => {
- let t = Rf();
- (!t || !Ch(t)) && e({
+ rD && rD.scale > 1 || Oh(V(t)) && (r = requestAnimationFrame(() => {
+ let t = Hf();
+ (!t || !Oh(t)) && e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(UE()), cp() && up() && window.addEventListener("blur", i, !0), VE ? VE.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), cp() && up() && window.removeEventListener("blur", i, !0), VE ? VE.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(iD()), pp() && hp() && window.addEventListener("blur", i, !0), rD ? rD.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), pp() && hp() && window.removeEventListener("blur", i, !0), rD ? rD.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function UE() {
+function iD() {
return {
- width: VE ? Math.min(VE.width * VE.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: VE ? VE.height * VE.scale : document.documentElement.clientHeight
+ width: rD ? Math.min(rD.width * rD.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: rD ? rD.height * rD.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var WE = /*#__PURE__*/ (0, E.createContext)(null), GE = /*#__PURE__*/ (0, E.createContext)(null), KE = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- if ((0, E.useContext)(GE)) return /*#__PURE__*/ E.createElement(XE, {
+var mne = /*#__PURE__*/ (0, D.createContext)(null), aD = /*#__PURE__*/ (0, D.createContext)(null), hne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ if ((0, D.useContext)(aD)) return /*#__PURE__*/ D.createElement(sD, {
...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__*/ E.createElement(JE, {
+ return /*#__PURE__*/ D.createElement(oD, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -28338,15 +28404,15 @@ var WE = /*#__PURE__*/ (0, E.createContext)(null), GE = /*#__PURE__*/ (0, E.crea
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ E.createElement(XE, {
+ }, /*#__PURE__*/ D.createElement(sD, {
...f,
modalRef: t
}, s));
});
-function qE(e, t) {
- [e, t] = Ww(e, t, WE);
- let n = (0, E.useContext)(zE), r = AE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rm(t), o = (0, E.useRef)(null), s = ME(a, i.isOpen), c = ME(o, i.isOpen), l = s || c || e.isExiting || !1, u = Pp();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ E.createElement(YE, {
+function gne(e, t) {
+ [e, t] = sT(e, t, mne);
+ let n = (0, D.useContext)(tD), r = JE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Um(t), o = (0, D.useRef)(null), s = XE(a, i.isOpen), c = XE(o, i.isOpen), l = s || c || e.isExiting || !1, u = zp();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ D.createElement(_ne, {
...e,
state: i,
isExiting: l,
@@ -28354,9 +28420,9 @@ function qE(e, t) {
modalRef: o
});
}
-var JE = /*#__PURE__*/ (0, E.forwardRef)(qE);
-function YE({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Iee(t, r, n), o = jE(t.overlayRef) || t.isEntering || !1, s = Hw({
+var oD = /*#__PURE__*/ (0, D.forwardRef)(gne);
+function _ne({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Vee(t, r, n), o = YE(t.overlayRef) || t.isEntering || !1, s = aT({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -28364,9 +28430,9 @@ function YE({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = HE(), l, u;
+ }), c = pne(), l, u;
if (typeof document < "u") {
- let e = $g(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = o_(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;
}
let d = {
@@ -28376,25 +28442,25 @@ function YE({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ E.createElement($v, {
+ return /*#__PURE__*/ D.createElement(ay, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ E.createElement(Jw.div, {
- ...H(ag(t, { global: !0 }), a),
+ }, /*#__PURE__*/ D.createElement(fT.div, {
+ ...H(cg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ E.createElement(Vw, { values: [[GE, {
+ }, /*#__PURE__*/ D.createElement(iT, { values: [[aD, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [zE, r]] }, s.children)));
+ }], [tD, r]] }, s.children)));
}
-function XE(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, E.useContext)(GE), a = (0, E.useContext)(zE), o = Rm((0, E.useMemo)(() => ym(e.modalRef, n), [e.modalRef, n])), s = jE(o), c = Hw({
+function sD(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, D.useContext)(aD), a = (0, D.useContext)(tD), o = Um((0, D.useMemo)(() => wm(e.modalRef, n), [e.modalRef, n])), s = YE(o), c = aT({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -28403,19 +28469,19 @@ function XE(e) {
state: a
}
});
- return /*#__PURE__*/ E.createElement(Jw.div, {
- ...H(ag(e, { global: !0 }), t),
+ return /*#__PURE__*/ D.createElement(fT.div, {
+ ...H(cg(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ E.createElement(Ib, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ D.createElement(Ib, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var ZE = Math.round(Math.random() * 1e10), QE = 0;
-function $E(e) {
- let t = (0, E.useMemo)(() => e.name || `radio-group-${ZE}-${++QE}`, [e.name]), [n, r] = D_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, E.useState)(n), [a, o] = (0, E.useState)(null), s = __({
+var vne = Math.round(Math.random() * 1e10), yne = 0;
+function bne(e) {
+ let t = (0, D.useMemo)(() => e.name || `radio-group-${vne}-${++yne}`, [e.name]), [n, r] = B_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, D.useState)(n), [a, o] = (0, D.useState)(null), s = D_({
...e,
value: n
}), c = (t) => {
@@ -28438,16 +28504,16 @@ function $E(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var eD = /*#__PURE__*/ (0, E.createContext)(null), tD = /*#__PURE__*/ (0, E.createContext)(null), nD = /*#__PURE__*/ (0, E.createContext)(null), rD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- [e, t] = Ww(e, t, eD);
- let { validationBehavior: n } = Uw(oT) || {}, r = e.validationBehavior ?? n ?? "native", i = $E({
+var xne = /*#__PURE__*/ (0, D.createContext)(null), Sne = /*#__PURE__*/ (0, D.createContext)(null), cD = /*#__PURE__*/ (0, D.createContext)(null), lD = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = sT(e, t, xne);
+ let { validationBehavior: n } = oT(NT) || {}, r = e.validationBehavior ?? n ?? "native", i = bne({
...e,
validationBehavior: r
- }), [a, o] = Gw(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = fx({
+ }), [a, o] = cT(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = tte({
...e,
label: o,
validationBehavior: r
- }, i), f = Hw({
+ }, i), f = aT({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -28458,8 +28524,8 @@ var eD = /*#__PURE__*/ (0, E.createContext)(null), tD = /*#__PURE__*/ (0, E.crea
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = ag(e, { global: !0 });
- return /*#__PURE__*/ E.createElement(Jw.div, {
+ }), p = cg(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(fT.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -28468,39 +28534,39 @@ var eD = /*#__PURE__*/ (0, E.createContext)(null), tD = /*#__PURE__*/ (0, E.crea
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ E.createElement(Vw, { values: [
- [nD, i],
- [eT, {
+ }, /*#__PURE__*/ D.createElement(iT, { values: [
+ [cD, i],
+ [xT, {
...c,
ref: a,
elementType: "span"
}],
- [iT, { slots: {
+ [AT, { slots: {
description: l,
errorMessage: u
} }],
- [aT, d]
- ] }, /*#__PURE__*/ E.createElement(eE, null, f.children)));
-}), iD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
+ [MT, d]
+ ] }, /*#__PURE__*/ D.createElement(jE, null, f.children)));
+}), uD = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Ww(r, t, tD);
- let i = E.useContext(nD), a = Rm((0, E.useMemo)(() => ym(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = dx({
- ...Kw(e),
+ [e, t] = sT(r, t, Sne);
+ let i = D.useContext(cD), a = Um((0, D.useMemo)(() => wm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ete({
+ ...lT(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ E.createElement(aD.Provider, { value: {
+ return /*#__PURE__*/ D.createElement(dD.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ E.createElement(oD, {
+ } }, /*#__PURE__*/ D.createElement(Cne, {
...e,
ref: t
}));
-}), aD = /*#__PURE__*/ (0, E.createContext)(null), oD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, E.useContext)(aD), l = E.useContext(nD), { isFocused: u, isFocusVisible: d, focusProps: f } = ty(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = cy({
+}), dD = /*#__PURE__*/ (0, D.createContext)(null), Cne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, D.useContext)(dD), l = D.useContext(cD), { isFocused: u, isFocusVisible: d, focusProps: f } = sy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = dy({
...e,
isDisabled: p
- }), g = Hw({
+ }), g = aT({
...e,
defaultClassName: s,
values: {
@@ -28514,8 +28580,8 @@ var eD = /*#__PURE__*/ (0, E.createContext)(null), tD = /*#__PURE__*/ (0, E.crea
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = ag(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ E.createElement(Jw.label, {
+ }), _ = cg(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ D.createElement(fT.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -28527,19 +28593,19 @@ var eD = /*#__PURE__*/ (0, E.createContext)(null), tD = /*#__PURE__*/ (0, E.crea
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ E.createElement(M_, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {
+ }, /*#__PURE__*/ D.createElement(G_, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
...H(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function sD(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = AE(e), [i, a] = (0, E.useState)(null), o = (0, E.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function wne(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = JE(e), [i, a] = (0, D.useState)(null), o = (0, D.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = D_((0, E.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = B_((0, D.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -28551,12 +28617,12 @@ function sD(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = hE({
+ }, d = HE({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, E.useMemo)(() => cD(l), [l]),
+ selectedKeys: (0, D.useMemo)(() => Tne(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -28566,10 +28632,10 @@ function sD(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, E.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = __({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, D.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = D_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
- }), [h, g] = (0, E.useState)(!1), [_] = (0, E.useState)(l);
+ }), [h, g] = (0, D.useState)(!1), [_] = (0, D.useState)(l);
return {
...m,
...d,
@@ -28593,17 +28659,17 @@ function sD(e) {
setFocused: g
};
}
-function cD(e) {
+function Tne(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 lD(e) {
+function Ene(e) {
return e && e.__esModule ? e.default : e;
}
-var uD = /*#__PURE__*/ (0, E.createContext)(null), dD = /*#__PURE__*/ (0, E.createContext)(null), fD = /*#__PURE__*/ Gm(function(e, t) {
- [e, t] = Ww(e, t, uD);
- let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, E.useMemo)(() => typeof n == "function" ? n({
+var fD = /*#__PURE__*/ (0, D.createContext)(null), pD = /*#__PURE__*/ (0, D.createContext)(null), Dne = /*#__PURE__*/ Xm(function(e, t) {
+ [e, t] = sT(e, t, fD);
+ let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, D.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
isInvalid: i,
@@ -28617,27 +28683,27 @@ var uD = /*#__PURE__*/ (0, E.createContext)(null), dD = /*#__PURE__*/ (0, E.crea
i,
a
]);
- return /*#__PURE__*/ E.createElement(th, { content: o }, (n) => /*#__PURE__*/ E.createElement(mD, {
+ return /*#__PURE__*/ D.createElement(oh, { content: o }, (n) => /*#__PURE__*/ D.createElement(kne, {
props: e,
collection: n,
selectRef: t
}));
-}), pD = [
- eT,
- tT,
- iT
+}), One = [
+ xT,
+ wT,
+ AT
];
-function mD({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = Uw(oT) || {}, i = e.validationBehavior ?? r ?? "native", a = sD({
+function kne({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = oT(NT) || {}, i = e.validationBehavior ?? r ?? "native", a = wne({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = ty({ within: !0 }), c = (0, E.useRef)(null), [l, u] = Gw(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = mx({
- ...Kw(e),
+ }), { isFocusVisible: o, focusProps: s } = sy({ within: !0 }), c = (0, D.useRef)(null), [l, u] = cT(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = nte({
+ ...lT(e),
label: u,
validationBehavior: i
- }, a, c), y = (0, E.useMemo)(() => ({
+ }, a, c), y = (0, D.useMemo)(() => ({
isOpen: a.isOpen,
isFocused: a.isFocused,
isFocusVisible: o,
@@ -28651,48 +28717,48 @@ function mD({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = Hw({
+ ]), b = aT({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = ag(e, { global: !0 });
+ }), x = cg(e, { global: !0 });
delete x.id;
- let S = (0, E.useRef)(null);
- return /*#__PURE__*/ E.createElement(Vw, { values: [
- [uD, e],
- [dD, a],
- [hD, p],
- [eT, {
+ let S = (0, D.useRef)(null);
+ return /*#__PURE__*/ D.createElement(iT, { values: [
+ [fD, e],
+ [pD, a],
+ [mD, p],
+ [xT, {
...d,
ref: l,
elementType: "span"
}],
- [tT, {
+ [wT, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [zE, a],
- [PE, {
+ [tD, a],
+ [QE, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: pD
+ clearContexts: One
}],
- [yE, {
+ [GE, {
...m,
ref: S
}],
- [bE, a],
- [iT, { slots: {
+ [KE, a],
+ [AT, { slots: {
description: h,
errorMessage: g
} }],
- [aT, v]
- ] }, /*#__PURE__*/ E.createElement(Jw.div, {
+ [MT, v]
+ ] }, /*#__PURE__*/ D.createElement(fT.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -28702,14 +28768,14 @@ function mD({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ E.createElement(gx, {
+ }, b.children, /*#__PURE__*/ D.createElement(ite, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(function(e, t) {
- [e, t] = Ww(e, t, hD);
- let n = (0, E.useContext)(dD), { placeholder: r } = Uw(uD), i = n.selectedItems.map((e) => {
+for (var mD = /*#__PURE__*/ (0, D.createContext)(null), Ane = /*#__PURE__*/ Xm(function(e, t) {
+ [e, t] = sT(e, t, mD);
+ let n = (0, D.useContext)(pD), { placeholder: r } = oT(fD), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -28721,59 +28787,59 @@ for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(fu
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = ny(), o = (0, E.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, E.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = wee(), o = (0, D.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, D.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
- ]), l = (0, E.useMemo)(() => {
+ ]), l = (0, D.useMemo)(() => {
if (s === "single") return i[0];
let e = a.formatToParts(o);
if (e.length === 0) return null;
let t = 0;
- return e.map((e) => e.type === "element" ? /*#__PURE__*/ E.createElement(E.Fragment, { key: t }, i[t++]) : e.value);
+ return e.map((e) => e.type === "element" ? /*#__PURE__*/ D.createElement(D.Fragment, { key: t }, i[t++]) : e.value);
}, [
s,
a,
o,
i
- ]), u = Qh(lD(KT), "react-aria-components"), d = Hw({
+ ]), u = rg(Ene(EE), "react-aria-components"), d = aT({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
values: {
selectedItem: n.selectedItems[0]?.value ?? null,
- selectedItems: (0, E.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),
+ selectedItems: (0, D.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),
selectedText: c,
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = ag(e, { global: !0 });
- return /*#__PURE__*/ E.createElement(Jw.span, {
+ }), f = cg(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(fT.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ E.createElement(iT.Provider, { value: void 0 }, d.children));
-}), _D = /*#__PURE__*/ (0, E.createContext)(null), vD = /*#__PURE__*/ (0, E.createContext)(null), yD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ D.createElement(AT.Provider, { value: void 0 }, d.children));
+}), jne = /*#__PURE__*/ (0, D.createContext)(null), hD = /*#__PURE__*/ (0, D.createContext)(null), Mne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Ww(r, t, _D);
- let i = Rm((0, E.useMemo)(() => ym(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = O_(e), o = _x({
- ...Kw(e),
+ [e, t] = sT(r, t, jne);
+ let i = Um((0, D.useMemo)(() => wm(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = V_(e), o = ate({
+ ...lT(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ E.createElement(Vw, { values: [[vD, a], [bD, {
+ return /*#__PURE__*/ D.createElement(iT, { values: [[hD, a], [gD, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ E.createElement(xD, {
+ }]] }, /*#__PURE__*/ D.createElement(Nne, {
...e,
ref: t
}));
-}), bD = /*#__PURE__*/ (0, E.createContext)(null), xD = /*#__PURE__*/ (0, E.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, E.useContext)(bD), { isFocused: f, isFocusVisible: p, focusProps: m } = ty(), h = a || o, g = (0, E.useContext)(vD), { hoverProps: _, isHovered: v } = cy({
+}), gD = /*#__PURE__*/ (0, D.createContext)(null), Nne = /*#__PURE__*/ (0, D.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, D.useContext)(gD), { isFocused: f, isFocusVisible: p, focusProps: m } = sy(), h = a || o, g = (0, D.useContext)(hD), { hoverProps: _, isHovered: v } = dy({
...e,
isDisabled: h
- }), y = Hw({
+ }), y = aT({
...e,
defaultClassName: u,
values: {
@@ -28788,8 +28854,8 @@ for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(fu
isRequired: d || !1,
state: g
}
- }), b = ag(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ E.createElement(Jw.label, {
+ }), b = cg(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ D.createElement(fT.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -28802,11 +28868,11 @@ for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(fu
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ E.createElement(M_, { elementType: "span" }, /*#__PURE__*/ E.createElement("input", {
+ }, /*#__PURE__*/ D.createElement(G_, { elementType: "span" }, /*#__PURE__*/ D.createElement("input", {
...H(r, m),
ref: l
})), y.children);
-}), SD = 10, CD = 5, wD = class {
+}), _D = 10, vD = 5, Pne = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -28816,7 +28882,7 @@ for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(fu
}
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) > CD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > SD && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > vD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > _D && (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);
@@ -28895,11 +28961,11 @@ for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(fu
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > CD && i) {
+ if (Math.abs(r - c.lastSwitchY) > vD && 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 > SD && a) {
+ if (l > _D && 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;
}
@@ -28914,7 +28980,7 @@ for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(fu
boundaryContext: null
};
}
-}, TD = class {
+}, Fne = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -28984,8 +29050,8 @@ for (var hD = /*#__PURE__*/ (0, E.createContext)(null), gD = /*#__PURE__*/ Gm(fu
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, ED = "row-header-column-" + Math.random().toString(36).slice(2), DD = "row-header-column-" + Math.random().toString(36).slice(2); ED === DD;) DD = "row-header-column-" + Math.random().toString(36).slice(2);
-function OD(e, t) {
+}, yD = "row-header-column-" + Math.random().toString(36).slice(2), bD = "row-header-column-" + Math.random().toString(36).slice(2); yD === bD;) bD = "row-header-column-" + Math.random().toString(36).slice(2);
+function xD(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -29069,13 +29135,13 @@ function OD(e, t) {
textValue: ""
}));
}
-var kD = class extends TD {
+var Ine = class extends Fne {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: ED,
+ key: yD,
value: null,
textValue: "",
level: 0,
@@ -29090,7 +29156,7 @@ var kD = class extends TD {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: DD,
+ key: bD,
value: null,
textValue: "",
level: 0,
@@ -29117,7 +29183,7 @@ var kD = class extends TD {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = OD(s, a);
+ let l = xD(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -29143,10 +29209,10 @@ var kD = class extends TD {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Vv(this.body.childNodes)?.key ?? null;
+ return Gv(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Uv(this.body.childNodes)?.key ?? null;
+ return qv(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -29178,20 +29244,20 @@ var kD = class extends TD {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function AD(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || sE(e), i = (0, E.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Lne(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || IE(e), i = (0, D.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = Bv(n, t);
- e = r === "last" ? Uv(i)?.key ?? null : Vv(i)?.key ?? null;
+ let i = Wv(n, t);
+ e = r === "last" ? qv(i)?.key ?? null : Gv(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, E.useMemo)(() => new lE(t, r), [t, r]), s = (0, E.useRef)(null);
- return (0, E.useEffect)(() => {
+ let o = (0, D.useMemo)(() => new RE(t, r), [t, r]), s = (0, D.useRef)(null);
+ return (0, D.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;
if (!n) {
@@ -29210,7 +29276,7 @@ function AD(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...Bv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...Wv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
r.setFocusedKey(a);
} else r.setFocusedKey(null);
}
@@ -29229,12 +29295,12 @@ function AD(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var jD = {
+var Rne = {
ascending: "descending",
descending: "ascending"
};
-function MD(e) {
- let [t, n] = (0, E.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, E.useMemo)(() => ({
+function zne(e) {
+ let [t, n] = (0, D.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, D.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
selectionMode: r,
@@ -29244,11 +29310,11 @@ function MD(e) {
i,
r,
a
- ]), c = mE(e, (0, E.useCallback)((e) => new kD(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = AD({
+ ]), c = VE(e, (0, D.useCallback)((e) => new Ine(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Lne({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = D_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -29260,7 +29326,7 @@ function MD(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? jD[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Rne[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -29273,8 +29339,8 @@ function MD(e) {
treeColumn: o
};
}
-function ND(e, t) {
- let n = (0, E.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
+function Bne(e, t) {
+ let n = (0, D.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
collection: n,
@@ -29283,7 +29349,7 @@ function ND(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var PD = class extends hf {
+var Vne = class extends yf {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -29298,7 +29364,7 @@ var PD = class extends hf {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new $D(-2);
+ return new OD(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -29324,7 +29390,7 @@ var PD = class extends hf {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = OD(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 = xD(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;
@@ -29405,11 +29471,11 @@ var PD = class extends hf {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new WD(-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 TD(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, FD = /*#__PURE__*/ (0, E.createContext)(null), ID = /*#__PURE__*/ (0, E.createContext)(null), LD = /*#__PURE__*/ (0, E.createContext)(null), RD = /*#__PURE__*/ (0, E.createContext)(null), zD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- [e, t] = Ww(e, t, ID);
- let n = sE(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, E.useMemo)(() => ({
+}, Hne = /*#__PURE__*/ (0, D.createContext)(null), Une = /*#__PURE__*/ (0, D.createContext)(null), SD = /*#__PURE__*/ (0, D.createContext)(null), CD = /*#__PURE__*/ (0, D.createContext)(null), Wne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = sT(e, t, Une);
+ let n = IE(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, D.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -29419,26 +29485,26 @@ var PD = class extends hf {
i,
a,
o
- ]), c = /*#__PURE__*/ E.createElement(UD.Provider, { value: s }, /*#__PURE__*/ E.createElement(ph, e));
- return /*#__PURE__*/ E.createElement(th, {
+ ]), c = /*#__PURE__*/ D.createElement(qne.Provider, { value: s }, /*#__PURE__*/ D.createElement(vh, e));
+ return /*#__PURE__*/ D.createElement(oh, {
content: c,
- createCollection: () => new PD()
- }, (r) => /*#__PURE__*/ E.createElement(HD, {
+ createCollection: () => new Vne()
+ }, (r) => /*#__PURE__*/ D.createElement(Kne, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), BD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+}), Gne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.table, {
+ }) : /*#__PURE__*/ D.createElement(fT.table, {
...e,
ref: t
});
-}), VD = {
+}), wD = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -29448,26 +29514,26 @@ var PD = class extends hf {
rtl: "ArrowRight"
}
};
-function HD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = Ww(e, t, Yw);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, E.useContext)(FD);
- t = Rm((0, E.useMemo)(() => ym(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = D_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
- r = (0, E.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = MD({
+function Kne({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = sT(e, t, pT);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, D.useContext)(Hne);
+ t = Um((0, D.useMemo)(() => wm(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = B_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ r = (0, D.useMemo)(() => r.withExpandedKeys(l), [r, l]);
+ let d = zne({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = ND(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, E.useContext)($w), { dragAndDropHooks: _ } = e, { gridProps: v } = qee({
+ }), f = Bne(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, D.useContext)(yT), { dragAndDropHooks: _ } = e, { gridProps: v } = dte({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
- (0, E.useRef)(b), (0, E.useRef)(x), (0, E.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, D = null, O = (0, E.useRef)(null), { direction: k } = Rh(), [A] = (0, E.useState)(() => new wD());
+ (0, D.useRef)(b), (0, D.useRef)(x), (0, D.useEffect)(() => {}, [b, x]);
+ let S, C, w, T = !1, E = null, O = (0, D.useRef)(null), { direction: k } = Uh(), [A] = (0, D.useState)(() => new Pne());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -29475,14 +29541,14 @@ function HD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
preview: _.renderDragPreview ? O : void 0
}), _.useDraggableCollection({}, S, t);
let e = _.DragPreview;
- D = _.renderDragPreview ? /*#__PURE__*/ E.createElement(e, { ref: O }, _.renderDragPreview) : null;
+ E = _.renderDragPreview ? /*#__PURE__*/ D.createElement(e, { ref: O }, _.renderDragPreview) : null;
}
if (x && _) {
C = _.useDroppableCollectionState({
collection: f.collection,
selectionManager: y
});
- let e = new J_({
+ let e = new tv({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -29502,12 +29568,12 @@ function HD({ 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 === VD.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === VD.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === wD.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === wD.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = ty(), P = Hw({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = sy(), P = aT({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -29523,19 +29589,19 @@ function HD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let te = ag(e, { global: !0 });
- return /*#__PURE__*/ E.createElement(Vw, { values: [
- [LD, f],
- [RD, ee],
- [qT, {
+ let te = cg(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(iT, { values: [
+ [SD, f],
+ [CD, ee],
+ [DE, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [JT, { render: lO }],
- [Yw, null],
- [Xw, null]
- ] }, /*#__PURE__*/ E.createElement(jg, null, /*#__PURE__*/ E.createElement(BD, {
+ [OE, { render: rre }],
+ [pT, null],
+ [mT, null]
+ ] }, /*#__PURE__*/ D.createElement(jg, null, /*#__PURE__*/ D.createElement(Gne, {
...H(te, P, v, j, w?.collectionProps),
style: I,
ref: t,
@@ -29545,98 +29611,98 @@ function HD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
- }, /*#__PURE__*/ E.createElement(eE, null, /*#__PURE__*/ E.createElement(g, {
+ }, /*#__PURE__*/ D.createElement(jE, null, /*#__PURE__*/ D.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: ZT(y, _, C)
- })))), D);
+ persistedKeys: AE(y, _, C)
+ })))), E);
}
-var UD = /*#__PURE__*/ (0, E.createContext)(null), WD = class extends df {
+var qne = /*#__PURE__*/ (0, D.createContext)(null), TD = class extends hf {
static {
this.type = "tableheader";
}
-}, GD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+}, Jne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.thead, {
+ }) : /*#__PURE__*/ D.createElement(fT.thead, {
...e,
ref: t
});
-}), KD = /*#__PURE__*/ uh(WD, (e, t) => {
- let n = (0, E.useContext)(LD).collection, r = bf({
+}), ED = /*#__PURE__*/ hh(TD, (e, t) => {
+ let n = (0, D.useContext)(SD).collection, r = wf({
items: n.headerRows,
- children: (0, E.useCallback)((e) => {
+ children: (0, D.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ E.createElement(JD, { item: e });
+ case "headerrow": return /*#__PURE__*/ D.createElement(Xne, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = fS(), { hoverProps: a, isHovered: o } = cy({
+ }), { rowGroupProps: i } = $x(), { hoverProps: a, isHovered: o } = dy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = Hw({
+ }), s = aT({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ E.createElement(GD, {
- ...H(ag(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ D.createElement(Jne, {
+ ...H(cg(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ E.createElement(ph, {
+}, (e) => /*#__PURE__*/ D.createElement(vh, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), qD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement("div", {
+}, e.children)), Yne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement("div", {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement("tr", {
+ }) : /*#__PURE__*/ D.createElement("tr", {
...e,
ref: t
});
});
-function JD({ item: e }) {
- let t = (0, E.useRef)(null), n = (0, E.useContext)(LD), { isVirtualized: r, CollectionBranch: i } = (0, E.useContext)($w), { rowProps: a } = Zee({
+function Xne({ item: e }) {
+ let t = (0, D.useRef)(null), n = (0, D.useContext)(SD), { isVirtualized: r, CollectionBranch: i } = (0, D.useContext)(yT), { rowProps: a } = hte({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = ite(n);
- return /*#__PURE__*/ E.createElement(qD, {
+ }, n, t), { checkboxProps: o } = Ste(n);
+ return /*#__PURE__*/ D.createElement(Yne, {
...a,
ref: t
- }, /*#__PURE__*/ E.createElement(Vw, { values: [[sT, { slots: { selection: o } }], [cT, { slots: { selection: o } }]] }, /*#__PURE__*/ E.createElement(i, {
+ }, /*#__PURE__*/ D.createElement(iT, { values: [[PT, { slots: { selection: o } }], [FT, { slots: { selection: o } }]] }, /*#__PURE__*/ D.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var YD = class extends df {
+var Zne = class extends hf {
static {
this.type = "column";
}
-}, XD = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+}, Qne = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.th, {
+ }) : /*#__PURE__*/ D.createElement(fT.th, {
...e,
ref: t
});
-}), ZD = /*#__PURE__*/ lh(YD, (e, t, n) => {
- let r = Rm(t), i = (0, E.useContext)(LD), { isVirtualized: a } = (0, E.useContext)($w), { columnHeaderProps: o, isPressed: s } = Xee({
+}), DD = /*#__PURE__*/ mh(Zne, (e, t, n) => {
+ let r = Um(t), i = (0, D.useContext)(SD), { isVirtualized: a } = (0, D.useContext)(yT), { columnHeaderProps: o, isPressed: s } = mte({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ty(), d = (0, E.useContext)(RD), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = sy(), d = (0, D.useContext)(CD), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = cy({ isDisabled: !e.allowsSorting }), h = Hw({
+ let { hoverProps: p, isHovered: m } = dy({ isDisabled: !e.allowsSorting }), h = aT({
...e,
id: void 0,
children: n.rendered,
@@ -29662,8 +29728,8 @@ var YD = class extends df {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = ag(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ E.createElement(XD, {
+ let _ = cg(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ D.createElement(Qne, {
...H(_, o, u, p),
...h,
style: g,
@@ -29675,28 +29741,28 @@ var YD = class extends df {
"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__*/ E.createElement(Vw, { values: [[QD, {
+ }, /*#__PURE__*/ D.createElement(iT, { values: [[$ne, {
column: n,
triggerRef: r
- }], [$w, Zw]] }, h.children));
-}), QD = /*#__PURE__*/ (0, E.createContext)(null), $D = class extends ff {
+ }], [yT, gT]] }, h.children));
+}), $ne = /*#__PURE__*/ (0, D.createContext)(null), OD = class extends gf {
static {
this.type = "tablebody";
}
-}, eO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+}, ere = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.tbody, {
+ }) : /*#__PURE__*/ D.createElement(fT.tbody, {
...e,
ref: t
});
-}), tO = /*#__PURE__*/ uh($D, (e, t, n) => {
- let r = (0, E.useContext)(LD), { isVirtualized: i } = (0, E.useContext)($w), a = r.collection, { CollectionBranch: o } = (0, E.useContext)($w), { dragAndDropHooks: s, dropState: c } = (0, E.useContext)(qT), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), kD = /*#__PURE__*/ hh(OD, (e, t, n) => {
+ let r = (0, D.useContext)(SD), { isVirtualized: i } = (0, D.useContext)(yT), a = r.collection, { CollectionBranch: o } = (0, D.useContext)(yT), { dragAndDropHooks: s, dropState: c } = (0, D.useContext)(DE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = Hw({
+ }, p = aT({
...e,
id: void 0,
children: void 0,
@@ -29705,33 +29771,33 @@ var YD = class extends df {
}), 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__*/ E.createElement(iO, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ D.createElement(jD, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ E.createElement(sO, {
+ }, /*#__PURE__*/ D.createElement(ND, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = fS(), _ = ag(e, { global: !0 });
- return /*#__PURE__*/ E.createElement(eO, {
+ let { rowGroupProps: g } = $x(), _ = cg(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(ere, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ E.createElement(mO, null), /*#__PURE__*/ E.createElement(o, {
+ }, l && /*#__PURE__*/ D.createElement(cre, null), /*#__PURE__*/ D.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: XT(s, c)
+ renderDropIndicator: kE(s, c)
}), m);
});
-(class extends ff {
+(class extends gf {
static {
this.type = "tablefooter";
}
});
-var nO = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), rO = class extends df {
+var AD = /*#__PURE__*/ (0, D.createContext)({ isFocusVisibleWithinRow: !1 }), tre = class extends hf {
static {
this.type = "item";
}
@@ -29743,41 +29809,41 @@ var nO = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), rO
}
return null;
}
-}, iO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+}, jD = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.tr, {
+ }) : /*#__PURE__*/ D.createElement(fT.tr, {
...e,
ref: t
});
-}), aO = /*#__PURE__*/ uh(rO, (e, t, n) => {
- let r = Rm(t), i = (0, E.useContext)(LD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, E.useContext)(qT), { isVirtualized: c, CollectionBranch: l } = (0, E.useContext)($w), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ete({
+}), MD = /*#__PURE__*/ hh(tre, (e, t, n) => {
+ let r = Um(t), i = (0, D.useContext)(SD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, D.useContext)(DE), { isVirtualized: c, CollectionBranch: l } = (0, D.useContext)(yT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = vte({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ty(), { isFocusVisible: _, focusProps: v } = ty({ within: !0 }), { hoverProps: y, isHovered: b } = cy({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = sy(), { isFocusVisible: _, focusProps: v } = sy({ within: !0 }), { hoverProps: y, isHovered: b } = dy({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = rte({ key: n.key }, i), S;
+ }), { checkboxProps: x } = xte({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, E.useRef)(null), { visuallyHiddenProps: T } = j_();
+ let C, w = (0, D.useRef)(null), { visuallyHiddenProps: T } = W_();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
dropPosition: "on"
} }, s, w));
- let D = (0, E.useRef)(null);
- (0, E.useEffect)(() => {
- o && D.current;
+ let E = (0, D.useRef)(null);
+ (0, D.useEffect)(() => {
+ o && E.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Hw({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = aT({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -29798,20 +29864,20 @@ var nO = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), rO
isExpanded: M,
level: n.level + 1
}
- }), P = ag(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ E.createElement(E.Fragment, null, C && !C.isHidden && /*#__PURE__*/ E.createElement(iO, {
+ }), P = cg(e, { global: !0 });
+ return delete P.id, delete P.onClick, /*#__PURE__*/ D.createElement(D.Fragment, null, C && !C.isHidden && /*#__PURE__*/ D.createElement(jD, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ E.createElement(sO, {
+ }, /*#__PURE__*/ D.createElement(ND, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
- }, /*#__PURE__*/ E.createElement("div", {
+ }, /*#__PURE__*/ D.createElement("div", {
role: "button",
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ E.createElement(iO, {
+ }))), /*#__PURE__*/ D.createElement(jD, {
...H(P, N, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -29827,61 +29893,61 @@ var nO = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), rO
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ E.createElement(Vw, { values: [
- [sT, { slots: {
- [Bw]: {},
+ }, /*#__PURE__*/ D.createElement(iT, { values: [
+ [PT, { slots: {
+ [rT]: {},
selection: x
} }],
- [cT, { slots: {
- [Bw]: {},
+ [FT, { slots: {
+ [rT]: {},
selection: x
} }],
- [tT, { slots: {
- [Bw]: {},
+ [wT, { slots: {
+ [rT]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
- ref: D,
+ ref: E,
style: { pointerEvents: "none" }
}
} }],
- [tE, { isSelected: p.isSelected }],
- [nO, { isFocusVisibleWithinRow: _ }]
- ] }, /*#__PURE__*/ E.createElement(l, {
+ [ME, { isSelected: p.isSelected }],
+ [AD, { isFocusVisibleWithinRow: _ }]
+ ] }, /*#__PURE__*/ D.createElement(l, {
collection: i.collection,
parent: n
}))));
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ E.createElement(ph, {
+ return /*#__PURE__*/ D.createElement(vh, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), oO = class extends df {
+}), nre = class extends hf {
static {
this.type = "cell";
}
-}, sO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+}, ND = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.td, {
+ }) : /*#__PURE__*/ D.createElement(fT.td, {
...e,
ref: t
});
-}), cO = /*#__PURE__*/ lh(oO, (e, t, n) => {
- let r = Rm(t), i = (0, E.useContext)(LD), { dragState: a } = (0, E.useContext)(qT), { isVirtualized: o } = (0, E.useContext)($w);
+}), PD = /*#__PURE__*/ mh(nre, (e, t, n) => {
+ let r = Um(t), i = (0, D.useContext)(SD), { dragState: a } = (0, D.useContext)(DE), { isVirtualized: o } = (0, D.useContext)(yT);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = Jee({
+ let { gridCellProps: s, isPressed: c } = fte({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ty(), { hoverProps: f, isHovered: p } = cy({}), { isFocusVisibleWithinRow: m } = (0, E.useContext)(nO), 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 = Hw({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = sy(), { hoverProps: f, isHovered: p } = dy({}), { isFocusVisibleWithinRow: m } = (0, D.useContext)(AD), 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 = aT({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -29900,8 +29966,8 @@ var nO = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), rO
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = ag(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ E.createElement(sO, {
+ }), S = cg(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ D.createElement(ND, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -29915,14 +29981,14 @@ var nO = /*#__PURE__*/ (0, E.createContext)({ isFocusVisibleWithinRow: !1 }), rO
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ E.createElement($w.Provider, { value: Zw }, x.children));
+ }, /*#__PURE__*/ D.createElement(yT.Provider, { value: gT }, x.children));
});
-function lO(e, t) {
- t = Rm(t);
- let { dragAndDropHooks: n, dropState: r } = (0, E.useContext)(qT), i = (0, E.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function rre(e, t) {
+ t = Um(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, D.useContext)(DE), i = (0, D.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__*/ E.createElement(pO, {
+ return /*#__PURE__*/ D.createElement(sre, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -29931,71 +29997,71 @@ function lO(e, t) {
ref: t
});
}
-var uO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+var ire = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.tr, {
+ }) : /*#__PURE__*/ D.createElement(fT.tr, {
...e,
ref: t
});
-}), dO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, E.useContext)($w);
- return n ? /*#__PURE__*/ E.createElement(Jw.div, {
+}), are = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, D.useContext)(yT);
+ return n ? /*#__PURE__*/ D.createElement(fT.div, {
...e,
ref: t
- }) : /*#__PURE__*/ E.createElement(Jw.td, {
+ }) : /*#__PURE__*/ D.createElement(fT.td, {
...e,
ref: t
});
});
-function fO(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, E.useContext)(LD), { visuallyHiddenProps: c } = j_(), l = Hw({
+function ore(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, D.useContext)(SD), { visuallyHiddenProps: c } = W_(), l = aT({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ E.createElement(uO, {
- ...ag(e, { global: !0 }),
+ return /*#__PURE__*/ D.createElement(ire, {
+ ...cg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ E.createElement(dO, {
+ }, /*#__PURE__*/ D.createElement(are, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
- }, /*#__PURE__*/ E.createElement("div", {
+ }, /*#__PURE__*/ D.createElement("div", {
...c,
role: "button",
...n,
ref: i
}), l.children));
}
-var pO = /*#__PURE__*/ (0, E.forwardRef)(fO);
-function mO() {
- let e = (0, E.useContext)(LD), { dragAndDropHooks: t, dropState: n } = (0, E.useContext)(qT), r = (0, E.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = j_();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ E.createElement(iO, {
+var sre = /*#__PURE__*/ (0, D.forwardRef)(ore);
+function cre() {
+ let e = (0, D.useContext)(SD), { dragAndDropHooks: t, dropState: n } = (0, D.useContext)(DE), r = (0, D.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = W_();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ D.createElement(jD, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ E.createElement(sO, {
+ }, /*#__PURE__*/ D.createElement(ND, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
- }, /*#__PURE__*/ E.createElement("div", {
+ }, /*#__PURE__*/ D.createElement("div", {
role: "button",
...o,
...i,
ref: r
})));
}
-lh(pf, function(e, t, n) {
- let r = (0, E.useContext)(LD), { isVirtualized: i } = (0, E.useContext)($w), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, E.useRef)(null);
- vE((0, E.useMemo)(() => ({
+mh(_f, function(e, t, n) {
+ let r = (0, D.useContext)(SD), { isVirtualized: i } = (0, D.useContext)(yT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, D.useRef)(null);
+ WE((0, D.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -30005,7 +30071,7 @@ lh(pf, function(e, t, n) {
s,
r?.collection
]), u);
- let d = Hw({
+ let d = aT({
...c,
id: void 0,
children: n.rendered,
@@ -30013,13 +30079,13 @@ lh(pf, 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__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(iO, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(jD, {
style: { height: 0 },
- inert: rE(!0)
- }, /*#__PURE__*/ E.createElement(sO, { style: {
+ inert: NE(!0)
+ }, /*#__PURE__*/ D.createElement(ND, { style: {
padding: 0,
border: 0
- } }, /*#__PURE__*/ E.createElement("div", {
+ } }, /*#__PURE__*/ D.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: u,
style: {
@@ -30027,14 +30093,14 @@ lh(pf, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ E.createElement(iO, {
- ...H(ag(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ D.createElement(jD, {
+ ...H(cg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ E.createElement(sO, {
+ }, /*#__PURE__*/ D.createElement(ND, {
role: "rowheader",
...p,
style: m
@@ -30042,8 +30108,8 @@ lh(pf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function hO(e) {
- let [t, n] = D_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, E.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = hE({
+function lre(e) {
+ let [t, n] = B_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, D.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = HE({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -30066,24 +30132,24 @@ function hO(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function gO(e) {
- let t = hO({
+function ure(e) {
+ let t = lre({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? _O(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
- }), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, E.useRef)(i);
- return (0, E.useEffect)(() => {
+ defaultSelectedKey: e.defaultSelectedKey ?? FD(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ }), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, D.useRef)(i);
+ return (0, D.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = _O(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 = FD(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 _O(e, t) {
+function FD(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);
@@ -30093,24 +30159,24 @@ function _O(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var vO = /*#__PURE__*/ (0, E.createContext)(null), yO = /*#__PURE__*/ (0, E.createContext)(null), bO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- [e, t] = Ww(e, t, vO);
+var ID = /*#__PURE__*/ (0, D.createContext)(null), LD = /*#__PURE__*/ (0, D.createContext)(null), RD = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ [e, t] = sT(e, t, ID);
let { children: n, orientation: r = "horizontal" } = e;
- return n = (0, E.useMemo)(() => typeof n == "function" ? n({
+ return n = (0, D.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ E.createElement(th, { content: n }, (n) => /*#__PURE__*/ E.createElement(xO, {
+ }) : n, [n, r]), /*#__PURE__*/ D.createElement(oh, { content: n }, (n) => /*#__PURE__*/ D.createElement(dre, {
props: e,
collection: n,
tabsRef: t
}));
});
-function xO({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = gO({
+function dre({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = ure({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = ty({ within: !0 }), c = (0, E.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = sy({ within: !0 }), c = (0, D.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -30118,12 +30184,12 @@ function xO({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = Hw({
+ ]), l = aT({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = ag(e, { global: !0 });
- return /*#__PURE__*/ E.createElement(Jw.div, {
+ }), u = cg(e, { global: !0 });
+ return /*#__PURE__*/ D.createElement(fT.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -30131,20 +30197,20 @@ function xO({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ E.createElement(Vw, { values: [[vO, e], [yO, i]] }, l.children));
+ }, /*#__PURE__*/ D.createElement(iT, { values: [[ID, e], [LD, i]] }, l.children));
}
-var SO = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- return (0, E.useContext)(yO) ? /*#__PURE__*/ E.createElement(CO, {
+var zD = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ return (0, D.useContext)(LD) ? /*#__PURE__*/ D.createElement(fre, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ E.createElement(ph, e);
+ }) : /*#__PURE__*/ D.createElement(vh, e);
});
-function CO({ props: e, forwardedRef: t }) {
- let n = (0, E.useContext)(yO), { CollectionRoot: r } = (0, E.useContext)($w), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Uw(vO), o = Rm(t), { tabListProps: s } = ste({
+function fre({ props: e, forwardedRef: t }) {
+ let n = (0, D.useContext)(LD), { CollectionRoot: r } = (0, D.useContext)(yT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = oT(ID), o = Um(t), { tabListProps: s } = Tte({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = Hw({
+ }, n, o), c = aT({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -30152,30 +30218,30 @@ function CO({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = ag(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ E.createElement(Jw.div, {
+ }), l = cg(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ D.createElement(fT.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ E.createElement(eE, null, /*#__PURE__*/ E.createElement(r, {
+ }, /*#__PURE__*/ D.createElement(jE, null, /*#__PURE__*/ D.createElement(r, {
collection: n.collection,
- persistedKeys: fne(n.selectionManager.focusedKey)
+ persistedKeys: bT(n.selectionManager.focusedKey)
})));
}
-var wO = /*#__PURE__*/ lh(class extends df {
+var BD = /*#__PURE__*/ mh(class extends hf {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, E.useContext)(yO), i = Rm(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = ate({
+ let r = (0, D.useContext)(LD), i = Um(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Cte({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ty(), { hoverProps: f, isHovered: p } = cy({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = sy(), { hoverProps: f, isHovered: p } = dy({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = Hw({
+ }), m = aT({
...e,
id: void 0,
children: n.rendered,
@@ -30188,8 +30254,8 @@ var wO = /*#__PURE__*/ lh(class extends df {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? Jw.a : Jw.div, g = ag(e, { global: !0 });
- return delete g.id, delete g.onClick, /*#__PURE__*/ E.createElement(h, {
+ }), h = n.props.href ? fT.a : fT.div, g = cg(e, { global: !0 });
+ return delete g.id, delete g.onClick, /*#__PURE__*/ D.createElement(h, {
...H(g, m, a, l, f),
ref: i,
"data-selected": o || void 0,
@@ -30198,58 +30264,58 @@ var wO = /*#__PURE__*/ lh(class extends df {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ E.createElement(tE.Provider, { value: { isSelected: o } }, m.children));
-}), TO = /*#__PURE__*/ Gm(function(e, t) {
- let n = (0, E.useContext)(yO), r = Rm(t), i = n.selectedKey === e.id, [a, o] = (0, E.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ D.createElement(ME.Provider, { value: { isSelected: o } }, m.children));
+}), VD = /*#__PURE__*/ Xm(function(e, t) {
+ let n = (0, D.useContext)(LD), r = Um(t), i = n.selectedKey === e.id, [a, o] = (0, D.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = ME(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ E.createElement(EO, {
+ let s = XE(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ D.createElement(pre, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function EO(e) {
- let t = (0, E.useContext)(yO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = cte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ty(), d = t.selectedKey === e.id, f = jE(r) && !i, p = Hw({
+function pre(e) {
+ let t = (0, D.useContext)(LD), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ete(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = sy(), d = t.selectedKey === e.id, f = YE(r) && !i, p = aT({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: rE(!d),
+ isInert: NE(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = ag(o, { global: !0 });
+ }), m = cg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ E.createElement(Jw.div, {
+ return /*#__PURE__*/ D.createElement(fT.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: rE(!d || e.inert),
+ inert: NE(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ E.createElement(Vw, { values: [[vO, null], [yO, null]] }, /*#__PURE__*/ E.createElement($w.Provider, { value: Zw }, p.children)));
+ }, /*#__PURE__*/ D.createElement(iT, { values: [[ID, null], [LD, null]] }, /*#__PURE__*/ D.createElement(yT.Provider, { value: gT }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var DO = /*#__PURE__*/ (0, E.createContext)({}), OO = /*#__PURE__*/ (0, E.createContext)(null), kO = /*#__PURE__*/ Gm(function(e, t) {
- [e, t] = Ww(e, t, OO);
- let { validationBehavior: n } = Uw(oT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, E.useRef)(null);
- [e, i] = Ww(e, i, Xw);
- let [a, o] = Gw(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, E.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = vee({
- ...Kw(e),
+var mre = /*#__PURE__*/ (0, D.createContext)({}), hre = /*#__PURE__*/ (0, D.createContext)(null), gre = /*#__PURE__*/ Xm(function(e, t) {
+ [e, t] = sT(e, t, hre);
+ let { validationBehavior: n } = oT(NT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, D.useRef)(null);
+ [e, i] = sT(e, i, mT);
+ let [a, o] = cT(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, D.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = uee({
+ ...lT(e),
inputElementType: s,
label: o,
validationBehavior: r
- }, i), m = (0, E.useCallback)((e) => {
+ }, i), m = (0, D.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = Hw({
+ }, [i]), h = aT({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -30258,8 +30324,8 @@ var DO = /*#__PURE__*/ (0, E.createContext)({}), OO = /*#__PURE__*/ (0, E.create
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = ag(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ E.createElement(Jw.div, {
+ }), g = cg(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ D.createElement(fT.div, {
...g,
...h,
ref: t,
@@ -30268,31 +30334,31 @@ var DO = /*#__PURE__*/ (0, E.createContext)({}), OO = /*#__PURE__*/ (0, E.create
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ E.createElement(Vw, { values: [
- [eT, {
+ }, /*#__PURE__*/ D.createElement(iT, { values: [
+ [xT, {
...l,
ref: a
}],
- [dT, {
+ [UT, {
...u,
ref: m
}],
- [DO, {
+ [mre, {
...u,
ref: m
}],
- [uT, {
+ [VT, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [iT, { slots: {
+ [AT, { slots: {
description: d,
errorMessage: f
} }],
- [aT, p]
+ [MT, p]
] }, h.children));
-}), AO = uw({
+}), HD = nw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -30313,33 +30379,33 @@ var DO = /*#__PURE__*/ (0, E.createContext)({}), OO = /*#__PURE__*/ (0, E.create
small: "size-4 shrink-0"
}
});
-function jO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
- return /* @__PURE__ */ (0, D.jsx)("button", {
+function UD({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsx)("button", {
ref: i,
type: r,
- className: lw(AO.base, AO.size[t], n),
+ className: tw(HD.base, HD.size[t], n),
...a,
- children: /* @__PURE__ */ (0, D.jsx)(e, {
- className: AO.icon[t],
+ children: /* @__PURE__ */ (0, O.jsx)(e, {
+ className: HD.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function MO({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, D.jsxs)(pne, {
+function _re({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsxs)(ST, {
"data-label": "true",
...a,
- className: lw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: tw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
- e && /* @__PURE__ */ (0, D.jsx)("span", {
+ e && /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": "true",
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, D.jsx)(xte, {
+ n && /* @__PURE__ */ (0, O.jsx)(Rte, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -30348,33 +30414,33 @@ function MO({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Ene({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, D.jsx)(vne, {
+function vre({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, O.jsx)(jT, {
slot: e ? "errorMessage" : "description",
...n,
- className: lw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: tw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var NO = (0, E.createContext)({});
-function PO({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, D.jsx)(NO.Provider, {
+var WD = (0, D.createContext)({});
+function GD({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsx)(WD.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, D.jsx)(kO, {
+ children: /* @__PURE__ */ (0, O.jsx)(gre, {
...a,
"data-input-size": e,
- className: lw("group flex h-max w-full flex-col items-start gap-1", r),
+ className: tw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-PO.displayName = "TextField";
-var FO = uw({
+GD.displayName = "TextField";
+var KD = nw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -30403,44 +30469,44 @@ var FO = uw({
].join(" "),
icon: "size-5 shrink-0"
});
-function IO({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, E.useContext)(NO), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, D.jsx)(Cne, {
+function qD({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, D.useContext)(WD), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, O.jsx)(HT, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => lw(FO.field, d ? FO.fieldWithAddonSize[u] : FO.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, D.jsxs)("div", {
- className: FO.content,
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
- className: FO.leftSection,
- children: [d ? r : t ? /* @__PURE__ */ (0, D.jsx)(t, {
- className: FO.icon,
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => tw(KD.field, d ? KD.fieldWithAddonSize[u] : KD.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, O.jsxs)("div", {
+ className: KD.content,
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
+ className: KD.leftSection,
+ children: [d ? r : t ? /* @__PURE__ */ (0, O.jsx)(t, {
+ className: KD.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, D.jsx)(Tne, {
+ }) : null, /* @__PURE__ */ (0, O.jsx)(GT, {
ref: o,
...c,
- className: lw(FO.input, l.inputClassName, a)
+ className: tw(KD.input, l.inputClassName, a)
})]
- }), n ? /* @__PURE__ */ (0, D.jsx)(n, {
- className: FO.icon,
+ }), n ? /* @__PURE__ */ (0, O.jsx)(n, {
+ className: KD.icon,
"aria-hidden": !0
}) : null]
})
});
}
-IO.displayName = "InputBase";
-function LO({ 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, D.jsx)(PO, {
+qD.displayName = "InputBase";
+function JD({ 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, O.jsx)(GD, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
- children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- e && /* @__PURE__ */ (0, D.jsx)(MO, {
+ children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ e && /* @__PURE__ */ (0, O.jsx)(_re, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, D.jsx)(IO, {
+ /* @__PURE__ */ (0, O.jsx)(qD, {
ref: c,
groupRef: l,
placeholder: r,
@@ -30449,15 +30515,15 @@ function LO({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, D.jsx)(Ene, {
+ t && /* @__PURE__ */ (0, O.jsx)(vre, {
isInvalid: d,
children: t
})
] })
});
}
-LO.displayName = "Input";
-function RO(e) {
+JD.displayName = "Input";
+function YD(e) {
return {
x0: 0,
y0: 0,
@@ -30465,7 +30531,7 @@ function RO(e) {
y1: e.height
};
}
-function zO(e) {
+function XD(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -30473,40 +30539,40 @@ function zO(e) {
y1: Math.round(e.y1)
};
}
-function BO(e) {
+function ZD(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function VO(e, t) {
- if (!BO(e)) return {
+function QD(e, t) {
+ if (!ZD(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return RO(e);
+ if (t == null || !(t > 0)) return YD(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 zO({
+ return XD({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Dne(e, t) {
- if (!BO(e) || !(t > 0)) return RO(e);
+function yre(e, t) {
+ if (!ZD(e) || !(t > 0)) return YD(e);
let n = Math.min(e.width, e.height * t);
- return zO({
+ return XD({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function One(e, t, n) {
- if (!BO(t) || !(n > 0)) return RO(t);
- let r = HO(e, t), i = VO({
+function bre(e, t, n) {
+ if (!ZD(t) || !(n > 0)) return YD(t);
+ let r = $D(e, t), i = QD({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -30517,8 +30583,8 @@ function One(e, t, n) {
y1: r.y0 + i.y1
};
}
-function HO(e, t, n = null, r = "width") {
- if (!BO(t)) return {
+function $D(e, t, n = null, r = "width") {
+ if (!ZD(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -30527,43 +30593,43 @@ function HO(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 zO({
+ return XD({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function UO(e, t, n, r) {
+function eO(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 zO({
+ return XD({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function WO(e, t, n, r = null) {
- if (!BO(n) || !(t > 0)) return e;
+function tO(e, t, n, r = null) {
+ if (!ZD(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 HO({
+ return $D({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function kne(e, t, n, r, i = null) {
+function xre(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 HO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return $D(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Ane(e, t) {
- return BO(t) ? {
+function Sre(e, t) {
+ return ZD(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -30575,8 +30641,8 @@ function Ane(e, t) {
height: 0
};
}
-function jne(e, t) {
- if (!BO(t)) return {
+function Cre(e, t) {
+ if (!ZD(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -30586,7 +30652,7 @@ function jne(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Mne(e, t) {
+function wre(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}%`,
@@ -30595,33 +30661,63 @@ function Mne(e, t) {
height: `${t.height / r * 100}%`
};
}
-function GO(e, t, n) {
+function nO(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
+//#region src/react/components/modal-frame.tsx
+var Tre = {
+ "avatar-picker": "max-w-avatar-picker",
+ "cover-crop": "max-w-cover-crop",
+ form: "max-w-form-modal"
+};
+function rO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ return /* @__PURE__ */ (0, O.jsx)(oD, {
+ isOpen: e,
+ onOpenChange: t,
+ isDismissable: !0,
+ className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
+ children: /* @__PURE__ */ (0, O.jsx)(hne, {
+ className: `flex max-h-full w-full ${Tre[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, O.jsx)(nD, {
+ "aria-label": r,
+ className: "flex min-h-0 flex-col outline-none",
+ children: i
+ })
+ })
+ });
+}
+function iO({ children: e }) {
+ return /* @__PURE__ */ (0, O.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",
+ children: e
+ });
+}
+//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function KO() {
- let e = (0, E.useRef)(null);
- return (0, E.useEffect)(() => {
+function aO() {
+ let e = (0, D.useRef)(null);
+ return (0, D.useEffect)(() => {
s(e.current);
}), e;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var Nne = .02, qO = 1.08;
-function JO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
- let s = (0, E.useRef)(null), c = (0, E.useRef)(null), [l, u] = (0, E.useState)(!1);
- (0, E.useEffect)(() => {
+var Ere = .02, oO = 1.08;
+function sO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+ let s = (0, D.useRef)(null), c = (0, D.useRef)(null), [l, u] = (0, D.useState)(!1);
+ (0, D.useEffect)(() => {
u(!1);
}, [e]);
- let d = (0, E.useCallback)((e, t) => {
+ let d = (0, D.useCallback)((e, t) => {
let n = s.current;
return !n || !r ? {
dx: 0,
dy: 0
} : {
- dx: GO(e, n.clientWidth, r.width),
- dy: GO(t, n.clientHeight, r.height)
+ dx: nO(e, n.clientWidth, r.width),
+ dy: nO(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -30639,29 +30735,29 @@ function JO({ 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(UO(n.box, o.dx, o.dy, r));
+ i(eO(n.box, o.dx, o.dy, r));
return;
}
- i(kne(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(xre(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) * Nne), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Ere), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(UO(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(eO(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(WO(n, e.key === "-" ? 1 / qO : qO, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(tO(n, e.key === "-" ? 1 / oO : oO, r, t)));
}
- let g = n && r ? Ane(HO(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? Sre($D(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -30669,18 +30765,18 @@ function JO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
"--crop-r": `${g.left + g.width}%`,
"--crop-b": `${g.top + g.height}%`
} : void 0;
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "relative inline-block max-w-full select-none",
style: _,
children: [
- /* @__PURE__ */ (0, D.jsx)("img", {
+ /* @__PURE__ */ (0, O.jsx)("img", {
ref: s,
src: e,
alt: "",
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- BO({
+ ZD({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -30691,24 +30787,24 @@ function JO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onError: () => u(!0),
className: "block max-h-crop-frame max-w-full object-contain"
}),
- l || !g ? null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsx)("div", {
+ l || !g ? null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)("div", {
"aria-hidden": !0,
className: "pointer-events-none absolute inset-x-0 top-0 h-(--crop-t) bg-scrim"
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
"aria-hidden": !0,
className: "pointer-events-none absolute inset-x-0 bottom-0 top-(--crop-b) bg-scrim"
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
"aria-hidden": !0,
className: "pointer-events-none absolute left-0 top-(--crop-t) h-(--crop-h) w-(--crop-l) bg-scrim"
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
"aria-hidden": !0,
className: "pointer-events-none absolute right-0 left-(--crop-r) top-(--crop-t) h-(--crop-h) bg-scrim"
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
role: "group",
tabIndex: 0,
"aria-label": o,
@@ -30719,10 +30815,10 @@ function JO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(WO(n, e.deltaY > 0 ? qO : 1 / qO, r, t));
+ !n || !r || i(tO(n, e.deltaY > 0 ? oO : 1 / oO, 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, D.jsx)("span", {
+ children: /* @__PURE__ */ (0, O.jsx)("span", {
"data-crop-handle": !0,
onPointerDown: f("resize"),
onPointerMove: p,
@@ -30732,7 +30828,7 @@ function JO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
})
})
] }),
- l ? /* @__PURE__ */ (0, D.jsx)("p", {
+ l ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "p-4 text-body-2-regular text-text-secondary",
children: "这张图读不出来,换一张再框。"
}) : null
@@ -30741,163 +30837,152 @@ function JO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Pne = "/api/avatar-choices", YO = "/api/avatar-pick", Fne = "/api/avatar-code-cover", Ine = "/avatar-choice", XO = (e, t) => [
+var Dre = "/api/avatar-choices", cO = "/api/avatar-pick", Ore = "/api/avatar-code-cover", kre = "/avatar-choice", lO = (e, t) => [
"avatar-choices",
e,
t
-], ZO = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, QO = (e, t, n) => `${Ine}${ZO(e, t)}&ref=${encodeURIComponent(n)}`, Lne = (e, t, n) => gw(Pne + ZO(e, t), n), Rne = (e) => _w(Fne, { code: e });
-function $O(e, t, n) {
+], uO = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, dO = (e, t, n) => `${kre}${uO(e, t)}&ref=${encodeURIComponent(n)}`, Are = (e, t, n) => lw(Dre + uO(e, t), n), jre = (e) => q(Ore, { code: e });
+function fO(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? One(e.focus, t, n) : VO(t, n);
+ return e.focus && r ? bre(e.focus, t, n) : QD(t, n);
}
-var zne = (e) => e.crop && BO({
+var Mre = (e) => e.crop && ZD({
width: e.width,
height: e.height
});
-async function Bne(e, t, n) {
+async function Nre(e, t, n) {
if (!("file" in n)) {
- await _w(YO, {
+ await q(cO, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${YO}${ZO(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${cO}${uO(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new mw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new sw(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function Vne(e, t) {
+function Pre(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 Hne = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Une(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Hne(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Fre = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Ire(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Fre(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var ek = (e) => e.cast > 1, Wne = (e) => ek(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Gne = {
+var pO = (e) => e.cast > 1, Lre = (e) => pO(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Rre = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function Kne(e) {
+function zre(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 qne = (e) => `${Gne[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (ek(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Jne = 8, Yne = 3 / 4;
-function Xne({ kind: e, entityId: t, name: n, onPicked: r }) {
- let [i, a] = (0, E.useState)(!1);
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", {
+var Bre = (e) => `${Rre[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (pO(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Vre = 8, Hre = 3 / 4;
+function Ure({ kind: e, entityId: t, name: n, onPicked: r }) {
+ let [i, a] = (0, D.useState)(!1);
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
- children: /* @__PURE__ */ (0, D.jsx)("button", {
+ children: /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"aria-haspopup": "dialog",
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, D.jsx)(pte, {
+ children: /* @__PURE__ */ (0, O.jsx)(Ate, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, D.jsx)(JE, {
+ }), /* @__PURE__ */ (0, O.jsx)(rO, {
isOpen: i,
onOpenChange: a,
- isDismissable: !0,
- className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, D.jsx)(KE, {
- className: "flex max-h-full w-full max-w-avatar-picker flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown",
- children: /* @__PURE__ */ (0, D.jsx)(BE, {
- "aria-label": "更换头像",
- className: "flex min-h-0 flex-col outline-none",
- children: /* @__PURE__ */ (0, D.jsx)(Zne, {
- kind: e,
- entityId: t,
- name: n,
- onPicked: r,
- close: () => a(!1)
- })
- })
+ width: "avatar-picker",
+ label: "更换头像",
+ children: /* @__PURE__ */ (0, O.jsx)(Wre, {
+ kind: e,
+ entityId: t,
+ name: n,
+ onPicked: r,
+ close: () => a(!1)
})
})] });
}
-function Zne({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, E.useRef)(null), o = KO(), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(null), h = XO(e, t), g = (0, E.useRef)(!1), _ = ft({
+function Wre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, D.useRef)(null), o = aO(), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(null), h = lO(e, t), g = (0, D.useRef)(!1), _ = ht({
queryKey: h,
- queryFn: ({ signal: n }) => Lne(e, t, n),
+ queryFn: ({ signal: n }) => Are(e, t, n),
retryOnMount: !0
});
- (0, E.useEffect)(() => () => {
- g.current && Tw.removeQueries({ queryKey: XO(e, t) });
+ (0, D.useEffect)(() => () => {
+ g.current && X.removeQueries({ queryKey: lO(e, t) });
}, [e, t]);
- let v = pt({
- mutationFn: (n) => Bne(e, t, n),
+ let v = gt({
+ mutationFn: (n) => Nre(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
- }), y = pt({
- mutationFn: (e) => Rne(e),
+ }), y = gt({
+ mutationFn: (e) => jre(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 ? "" : Une(x);
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ 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 ? "" : Ire(x);
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, D.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",
- children: /* @__PURE__ */ (0, D.jsx)(NS, { className: "size-6" })
- }),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsx)(iO, { children: /* @__PURE__ */ (0, O.jsx)(xS, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(rT, {
+ children: [/* @__PURE__ */ (0, O.jsx)(kT, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, D.jsxs)(fw, {
+ }), !p && S.length ? /* @__PURE__ */ (0, O.jsxs)(iw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
- /* @__PURE__ */ (0, D.jsx)("p", {
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? Wne(p) : Vne(n, x)
+ children: p ? Lre(p) : Pre(n, x)
}),
- T ? /* @__PURE__ */ (0, D.jsx)(q, {
+ T ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "neutral",
children: T
}) : null,
- C ? /* @__PURE__ */ (0, D.jsx)(q, {
+ C ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: C
}) : null
]
}),
- /* @__PURE__ */ (0, D.jsx)(jO, {
- icon: bS,
+ /* @__PURE__ */ (0, O.jsx)(UD, {
+ icon: cS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, D.jsx)($ne, {
+ }), p ? /* @__PURE__ */ (0, O.jsx)(Kre, {
kind: e,
entityId: t,
choice: p,
@@ -30909,56 +30994,56 @@ function Zne({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
crop: t
});
}
- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", {
+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "relative flex min-h-0 flex-1 flex-col",
- children: /* @__PURE__ */ (0, D.jsx)("div", {
+ children: /* @__PURE__ */ (0, O.jsx)("div", {
ref: o,
className: "flex min-h-0 flex-1 flex-col overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, D.jsx)("div", {
+ children: /* @__PURE__ */ (0, O.jsx)("div", {
role: "listbox",
"aria-label": "候选头像",
"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: Jne }, (e, t) => /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Vre }, (e, t) => /* @__PURE__ */ (0, O.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",
- children: [/* @__PURE__ */ (0, D.jsx)("span", { className: "relative block w-full aspect-avatar-choice skeleton-sheen" }), /* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", { className: "relative block w-full aspect-avatar-choice skeleton-sheen" }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "relative mx-auto w-2/3 rounded-sm skeleton-sheen",
children: "\xA0"
})]
- }, t)) : S.map((n) => /* @__PURE__ */ (0, D.jsxs)("button", {
+ }, t)) : S.map((n) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: qne(n),
- ...J(w),
+ title: Bre(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, D.jsx)(Qne, {
- src: QO(e, t, n.ref),
+ /* @__PURE__ */ (0, O.jsx)(Gre, {
+ src: dO(e, t, n.ref),
choice: n
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "truncate px-1",
children: n.label
}),
- n.current ? /* @__PURE__ */ (0, D.jsx)("span", {
+ n.current ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, D.jsx)(fw, {
+ children: /* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- ek(n) ? /* @__PURE__ */ (0, D.jsx)("span", {
+ pO(n) ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, D.jsxs)(fw, {
+ children: /* @__PURE__ */ (0, O.jsxs)(iw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -30968,38 +31053,38 @@ function Zne({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}, n.ref))
})
})
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 flex-col gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, D.jsxs)("form", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("form", {
className: "flex min-w-0 items-center gap-2",
onSubmit: (e) => {
e.preventDefault(), l.trim() && !w && y.mutate(l.trim());
},
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, D.jsx)(LO, {
+ children: /* @__PURE__ */ (0, O.jsx)(JD, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
onChange: u
})
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
variant: "secondary",
disabled: !l.trim(),
- ...J(y.isPending),
+ ...Y(y.isPending),
children: "取封面来框"
})]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
onClick: () => a.current?.click(),
- ...J(v.isPending),
+ ...Y(v.isPending),
children: "从本机选图片"
}),
- /* @__PURE__ */ (0, D.jsx)("input", {
+ /* @__PURE__ */ (0, O.jsx)("input", {
ref: a,
type: "file",
accept: "image/png,image/jpeg",
@@ -31008,20 +31093,20 @@ function Zne({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "hidden",
onChange: b
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-1 items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, D.jsx)(LO, {
+ children: /* @__PURE__ */ (0, O.jsx)(JD, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
value: s,
onChange: c
})
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
disabled: !s.trim(),
- ...J(v.isPending),
+ ...Y(v.isPending),
onClick: () => {
v.isPending || v.mutate({ url: s.trim() });
},
@@ -31032,18 +31117,18 @@ function Zne({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function Qne({ src: e, choice: t }) {
- let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1);
- (0, E.useEffect)(() => {
+function Gre({ src: e, choice: t }) {
+ let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1);
+ (0, D.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
}, []);
let a = {
width: t.width,
height: t.height
- }, o = zne(t) ? Mne($O(t, a, Yne), a) : null, s = r ? !0 : void 0;
- return /* @__PURE__ */ (0, D.jsxs)("span", {
+ }, o = Mre(t) ? wre(fO(t, a, Hre), a) : null, s = r ? !0 : void 0;
+ return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
- children: [/* @__PURE__ */ (0, D.jsx)("img", {
+ children: [/* @__PURE__ */ (0, O.jsx)("img", {
ref: n,
loading: "lazy",
alt: "",
@@ -31058,49 +31143,49 @@ function Qne({ src: e, choice: t }) {
"--tile-height": o.height,
"--tile-width": o.width
} : void 0
- }), /* @__PURE__ */ (0, D.jsx)("span", {
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
"data-revealed": s,
className: "reveal-skeleton pointer-events-none absolute inset-0 skeleton-sheen"
})]
});
}
-function $ne({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, E.useState)(o[0]), [l, u] = (0, E.useState)(null), [d, f] = (0, E.useState)(null), p = QO(e, t, s), m = KO();
+function Kre({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, D.useState)(o[0]), [l, u] = (0, D.useState)(null), [d, f] = (0, D.useState)(null), p = dO(e, t, s), m = aO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? jne(d, l) : null;
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ let g = d && l ? Cre(d, l) : null;
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.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, D.jsx)(JO, {
+ children: [/* @__PURE__ */ (0, O.jsx)(sO, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), BO(e) && f(s === n.ref ? $O(n, e, 1) : VO(e, 1));
+ u(e), ZD(e) && f(s === n.ref ? fO(n, e, 1) : QD(e, 1));
},
onBox: f
- }), o.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {
+ }), o.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
role: "radiogroup",
"aria-label": "底图",
className: "flex flex-wrap justify-center gap-2",
- children: o.map((e) => /* @__PURE__ */ (0, D.jsx)("button", {
+ children: o.map((e) => /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": e === s,
"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: Kne(e)
+ children: zre(e)
}, e))
}) : null]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
"data-crop-preview": !0,
className: "size-crop-preview shrink-0 rounded-full border border-separator-border bg-background-secondary-default bg-(image:--crop-preview) bg-(position:--crop-preview-at) bg-(length:--crop-preview-size) bg-no-repeat",
@@ -31109,16 +31194,16 @@ function $ne({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"--crop-preview-size": g.size,
"--crop-preview-at": g.position
} : void 0
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-1 flex-wrap items-center justify-end gap-3",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
onClick: i,
- ...J(r),
+ ...Y(r),
children: "回候选"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
disabled: !d || !l,
- ...J(r),
+ ...Y(r),
onClick: () => {
d && !r && a(s, d);
},
@@ -31129,7 +31214,7 @@ function $ne({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var ere = uw({
+var qre = nw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -31191,27 +31276,27 @@ var ere = uw({
}
}
});
-function tre({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = ere[t];
- return /* @__PURE__ */ (0, D.jsx)("span", {
+function Jre({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = qre[t];
+ return /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
- className: lw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? lw("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
- children: /* @__PURE__ */ (0, D.jsx)("span", {
- className: lw("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, D.jsx)("span", { className: lw("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: tw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? tw("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ children: /* @__PURE__ */ (0, O.jsx)("span", {
+ className: tw("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: tw("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
-function tk({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, D.jsx)(yD, {
+function mO({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsx)(Mne, {
ref: i,
...a,
- className: (t) => lw("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(tre, {
+ className: (t) => tw("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(Jre, {
state: e,
size: n,
shape: r
- }), t != null && t !== !1 && /* @__PURE__ */ (0, D.jsx)("span", {
+ }), t != null && t !== !1 && /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-medium text-text-primary",
children: t
})] })
@@ -31219,24 +31304,24 @@ function tk({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/overlay-host.ts
-function nre(e) {
+function Yre(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 rre(e) {
+function Xre(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return nre(n ?? t.body);
+ return Yre(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var ire = "/api/cover-crop", are = (e, t) => _w(ire, {
+var Zre = "/api/cover-crop", Qre = (e, t) => q(Zre, {
code: e,
box: t
-}), nk = .704;
-function rk({ className: e }) {
- return /* @__PURE__ */ (0, D.jsx)("svg", {
+}), hO = .704;
+function gO({ className: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
fill: "none",
@@ -31245,12 +31330,12 @@ function rk({ className: e }) {
strokeLinecap: "round",
strokeLinejoin: "round",
className: e,
- children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-crop" })
+ children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-crop" })
});
}
-function ore({ code: e, coverUrl: t, box: n, onSaved: r }) {
- let [i, a] = (0, E.useState)(!1), o = (0, E.useRef)(null);
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("button", {
+function $re({ code: e, coverUrl: t, box: n, onSaved: r }) {
+ let [i, a] = (0, D.useState)(!1), o = (0, D.useRef)(null);
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {
ref: o,
type: "button",
"aria-haspopup": "dialog",
@@ -31259,34 +31344,27 @@ function ore({ 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, D.jsx)(rk, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, D.jsx)(Xv, {
- getContainer: () => rre(o.current),
- children: /* @__PURE__ */ (0, D.jsx)(JE, {
+ children: /* @__PURE__ */ (0, O.jsx)(gO, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, O.jsx)(ny, {
+ getContainer: () => Xre(o.current),
+ children: /* @__PURE__ */ (0, O.jsx)(rO, {
isOpen: i,
onOpenChange: a,
- isDismissable: !0,
- className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, D.jsx)(KE, {
- className: "flex max-h-full w-full max-w-cover-crop flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown",
- children: /* @__PURE__ */ (0, D.jsx)(BE, {
- "aria-label": "裁剪封面",
- className: "flex min-h-0 flex-col outline-none",
- children: /* @__PURE__ */ (0, D.jsx)(sre, {
- code: e,
- coverUrl: t,
- box: n,
- onSaved: r,
- close: () => a(!1)
- })
- })
+ width: "cover-crop",
+ label: "裁剪封面",
+ children: /* @__PURE__ */ (0, O.jsx)(eie, {
+ code: e,
+ coverUrl: t,
+ box: n,
+ onSaved: r,
+ close: () => a(!1)
})
})
})] });
}
-function sre({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, E.useState)(null), [s, c] = (0, E.useState)(null), [l, u] = (0, E.useState)(!0), d = KO(), f = pt({
- mutationFn: (t) => are(e, t),
+function eie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, D.useState)(null), [s, c] = (0, D.useState)(null), [l, u] = (0, D.useState)(!0), d = aO(), f = gt({
+ mutationFn: (t) => Qre(e, t),
onSuccess: () => {
i(), r();
}
@@ -31298,83 +31376,79 @@ function sre({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Dne(e, nk);
- c(HO(t, e, null));
+ } : yre(e, hO);
+ c($D(t, e, null));
}
let m = f.isPending;
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, D.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",
- children: /* @__PURE__ */ (0, D.jsx)(rk, { className: "size-6" })
- }),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsx)(iO, { children: /* @__PURE__ */ (0, O.jsx)(gO, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(rT, {
+ /* @__PURE__ */ (0, O.jsx)(kT, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
}),
- /* @__PURE__ */ (0, D.jsxs)("p", {
+ /* @__PURE__ */ (0, O.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]
}),
- f.error ? /* @__PURE__ */ (0, D.jsx)(q, {
+ f.error ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: K(f.error)
}) : null
]
}),
- /* @__PURE__ */ (0, D.jsx)(jO, {
- icon: bS,
+ /* @__PURE__ */ (0, O.jsx)(UD, {
+ icon: cS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.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, D.jsx)(JO, {
+ children: /* @__PURE__ */ (0, O.jsx)(sO, {
src: t,
- aspect: l ? nk : null,
+ aspect: l ? hO : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- BO(e) && p(e);
+ ZD(e) && p(e);
},
onBox: c
})
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, D.jsx)(tk, {
+ children: [/* @__PURE__ */ (0, O.jsx)(mO, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(HO(s, a, nk));
+ u(e), e && s && a && c($D(s, a, hO));
},
- children: /* @__PURE__ */ (0, D.jsx)("span", {
+ children: /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "锁定正封比例"
})
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-1 flex-wrap items-center justify-end gap-3",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
- ...J(m),
+ ...Y(m),
onClick: () => {
m || f.mutate(null);
},
children: "恢复默认"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
disabled: !s || !a,
- ...J(m),
+ ...Y(m),
onClick: () => {
s && !m && f.mutate(s);
},
@@ -31385,32 +31459,158 @@ function sre({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
//#endregion
-//#region src/follow-sort.ts
-var ik = [
- ["checked", "检查时间"],
- ["added", "添加时间"],
- ["name", "创作者名称"],
- ["sources", "来源数量"],
- ["source", "来源名称"],
- ["provider", "站点"],
- ["status", "状态"]
-], cre = "checked", ak = {
- checked: "desc",
- added: "desc",
- name: "asc",
- sources: "desc",
- source: "asc",
- provider: "asc",
- status: "asc"
-}, lre = (e) => ik.some(([t]) => t === e);
-function ok(e, t) {
- let n = lre(e) ? e : cre;
- return {
- sort: n,
- dir: t === "asc" || t === "desc" ? t : ak[n]
- };
+//#region src/react/media-sources.ts
+var tie = "/api/sources", _O = ["media-sources"], vO = (e) => lw(tie, e);
+async function yO(e) {
+ await X.fetchQuery({
+ queryKey: _O,
+ queryFn: () => vO(e)
+ });
+}
+var nie = [
+ "local",
+ "115",
+ "pikpak"
+], rie = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), iie = "/api/duplicates?limit=120", bO = ["duplicates"], aie = "/api/batch", xO = (e) => lw(iie, e);
+async function oie(e) {
+ await Promise.all([X.fetchQuery({
+ queryKey: bO,
+ queryFn: () => xO(e)
+ }), yO(e)]);
+}
+var SO = {
+ largest: "最大的一个",
+ longest: "最长的一个",
+ 115: "115(没有则留最大)",
+ pikpak: "PikPak(没有则留最大)",
+ all: "零个文件"
+}, sie = (e, t) => t.filter((t) => e.some((e) => e.location === t)), CO = (e, t) => sie(e, t).filter((t) => e.some((e) => e.location !== t)), cie = (e, t) => t.filter((t) => e.some((e) => CO(e.files, [t]).length));
+function lie(e, t) {
+ let n = [];
+ for (let r of e) {
+ if (t === "all") {
+ for (let e of r.files) n.push(e.id);
+ continue;
+ }
+ let e;
+ if (t === "largest" || t === "longest") {
+ let n = t === "longest" ? "is_longest" : "is_largest";
+ e = r.files.find((e) => e[n]) ?? r.files[0];
+ } else {
+ let n = r.files.filter((e) => e.location === t), i = n.length ? n : r.files;
+ e = i.reduce((e, t) => (t.size || 0) > (e.size || 0) ? t : e, i[0]);
+ }
+ for (let t of r.files) t.id !== e?.id && n.push(t.id);
+ }
+ return n;
+}
+function uie(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 wO(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(aie, {
+ ids: e.slice(n, n + 200),
+ operation: t
+ });
+}
+//#endregion
+//#region src/react/library-processing/library-processing.ts
+var TO = "/api/library-processing", EO = ["library-processing"], DO = (e) => lw(TO, e);
+async function OO(e) {
+ await X.fetchQuery({
+ queryKey: EO,
+ queryFn: () => DO(e)
+ });
+}
+var die = 2e3, fie = 1e4, kO = "连接中断,正在重新读取处理进度";
+function pie(e, t) {
+ return e?.status === "running" ? die : t ? fie : !1;
+}
+var mie = {
+ reading_local: "读取本地资料",
+ querying_metadata: "查询外部资料",
+ fetching_cover: "采集缺失封面",
+ writing_candidates: "保存资料候选"
+}, AO = {
+ querying_metadata: "没有资料",
+ fetching_cover: "没有封面"
+};
+function hie(e) {
+ let t = Object.entries(e).filter(([e, t]) => AO[e] && t > 0).map(([e, t]) => `${AO[e]} ${t} 部`);
+ return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
+}
+function jO(e) {
+ let t = mie[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 gie(e) {
+ let t = e.issue_preview || [];
+ return t.length ? {
+ label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
+ items: t.map((e, t) => ({
+ key: `${e.asset_id ?? "source"}-${t}`,
+ label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),
+ href: e.asset_id ? `/item/${e.asset_id}` : "",
+ note: e.message,
+ hint: e.path || ""
+ })),
+ log: e.issues_log || ""
+ } : null;
+}
+var MO = "peach.library-processing.announced", _ie = 120;
+function vie(e, t, n) {
+ if (e.status !== "complete") return;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < _ie;
+ if (!(!n && !r)) {
+ try {
+ if (e.job_id && localStorage.getItem(MO) === e.job_id) return;
+ e.job_id && localStorage.setItem(MO, 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 NO = "/api/media-repair", PO = ["media-repair"], FO = ["media-repair", "libraries"], yie = {
+ status: "idle",
+ library: "",
+ stage: "",
+ checked: 0,
+ total: 0,
+ found: 0,
+ repaired: 0,
+ failed: 0,
+ missing_tool: 0,
+ skipped: 0,
+ message: ""
+}, IO = (e) => lw(NO, e), LO = async (e) => (await lw("/api/libraries", e)).libraries || [];
+async function bie(e) {
+ await Promise.all([X.fetchQuery({
+ queryKey: PO,
+ queryFn: () => IO(e)
+ }), X.fetchQuery({
+ queryKey: FO,
+ queryFn: () => LO(e)
+ })]);
+}
+var RO = (e) => Number(e).toLocaleString();
+function xie(e) {
+ if (e.status === "running") {
+ let t = e.total ? `${RO(e.checked)} / ${RO(e.total)}` : "准备中";
+ return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
+ }
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${RO(e.repaired)} 部,${RO(e.failed)} 部修不了` : `修好 ${RO(e.repaired)} 部` : "";
+}
+var Sie = (e) => `${RO(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Cie = "/api/quality-goals?limit=200", zO = ["quality-goals"], BO = (e) => lw(Cie, e);
+async function wie(e) {
+ await X.fetchQuery({
+ queryKey: zO,
+ queryFn: () => BO(e)
+ });
}
-function sk(e, t, n = 1) {
+var Tie = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+function VO(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;
@@ -31430,15 +31630,21 @@ function sk(e, t, n = 1) {
t
];
}
-function ck(e, t) {
+function HO(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function lk(e, t) {
+function UO(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
+//#region src/selection.ts
+function WO(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 uk(e) {
+function GO(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);
@@ -31446,620 +31652,2823 @@ function uk(e) {
return `${n.getFullYear()}-${r(n.getMonth() + 1)}-${r(n.getDate())} ${r(n.getHours())}:${r(n.getMinutes())}`;
}
//#endregion
-//#region src/react/follow-manage/follow-manage.ts
-var dk = "/api/follow", ure = "/api/follow/credentials", fk = "/api/follow/check", pk = "/api/follow/source", mk = "/api/follow/resolve", dre = "/api/follow/suggest", hk = "/api/follow/author-alias", fre = "/api/follow/credential", pre = "/api/follow/status", mre = "/api/feeds", gk = "/api/feeds/source", hre = "/api/feeds/check", _k = ["follow-manage"], vk = ["follow-manage", "credentials"], gre = ["follow-manage", "check"], _re = ["follow-manage", "resolve"], yk = ["follow-manage", "feeds"], vre = (e) => [
- "follow-manage",
- "suggest",
- e
-], bk = [["default", "默认视图"], ["table", "表格视图"]], xk = [
- 10,
- 20,
- 50,
- 100
-], yre = Object.fromEntries(ik), Sk = {
- author: "name",
- source: "source",
- provider: "provider",
- status: "status",
- checked: "checked"
-}, bre = (e) => bk.some(([t]) => t === e), xre = (e) => xk.includes(Number(e)) ? Number(e) : 20, Sre = {
- checked: ["从近到远", "从远到近"],
- added: ["从近到远", "从远到近"],
- name: ["倒序", "正序"],
- sources: ["从多到少", "从少到多"],
- source: ["倒序", "正序"],
- provider: ["倒序", "正序"],
- status: ["倒序", "正序"]
-}, Cre = (e, t) => `按${yre[e]}${Sre[e][t === "asc" ? 0 : 1]}排序`;
-function Ck(e) {
- let t = e.last_status;
- return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
-}
-function wre(e) {
- return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
+//#region src/react/review/review.ts
+var Eie = "/api/review", Die = "/api/review/decision", Oie = "/api/review/genre", KO = ["review"], qO = {
+ metadata_fields: "元数据字段",
+ creator_tags: "创作者标签",
+ studio_logos: "厂牌 Logo",
+ performer_avatars: "女优头像",
+ western_identity: "西方身份回配",
+ code_creators: "番号目录存疑",
+ fc2_markings: "FC2 评论标记",
+ fc2_similarity: "FC2 跨号相似",
+ video_endcards: "片尾/出处证据"
+}, kie = Object.keys(qO), Aie = "metadata_fields", JO = (e) => typeof e == "string" && Object.hasOwn(qO, e), YO = {
+ creator_tags: "creator",
+ western_identity: "creator"
+};
+function XO(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;
}
-var wk = (e) => e.last_status === "error" || e.last_status === "unauthorized", Tk = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), Ek = {
- source: Tk,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || Tk(e, t),
- status: (e, t) => Ck(e) - Ck(t) || Tk(e, t)
-}, Dk = (e) => Date.parse(e || "") || 0, Ok = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function kk(e, t = []) {
- if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || Ok(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 Ok(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);
- if (!o.length) return e[0].label || e[0].ref || "";
- let s = (e) => (e.match(/[A-Z]/g) || []).length;
- return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
+function ZO(e, t) {
+ let n = /* @__PURE__ */ new Map();
+ for (let r of e) {
+ let e, i;
+ if (t === "field") e = r.field || "__unspecified_field", i = r.field_label || r.field || "未标注字段";
+ else if (t === "source") {
+ let t = [...new Set((r.candidates?.map((e) => e.source || "") || [r.source || ""]).filter(Boolean))].sort();
+ e = JSON.stringify(t), i = t.join(" / ") || "未标注来源";
+ } else e = r.candidates ? r.candidates.length === 1 ? "single" : "multiple" : "pending", i = e === "single" ? "单一候选" : e === "multiple" ? "需选择来源" : "待复核";
+ n.has(e) || n.set(e, {
+ key: e,
+ title: i,
+ rows: []
+ }), n.get(e).rows.push(r);
+ }
+ return [...n.values()];
}
-function Tre(e) {
- let t = e.trim().match(/[A-Za-z0-9]/);
- return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
+function QO(e, t, n) {
+ return n && ZO(e, t).find((e) => e.key === n)?.rows || e;
}
-function Ere(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 || "";
+function jie(e, t) {
+ let n = HO(e.length, 20), r = UO(t, n);
return {
- src: r,
- fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
+ page: r,
+ pages: n,
+ rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Ak(e) {
- let t = [], n = /* @__PURE__ */ new Map();
- for (let r of e) {
- let e = r.author_key || `source:${r.id}`;
- n.has(e) || (n.set(e, []), t.push(e)), n.get(e).push(r);
- }
- return t.map((e) => n.get(e));
+function Mie(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 Dre(e, t, n, r = []) {
- let i = Ak(e), a = n === ak[t] ? 1 : -1, o = (e) => kk(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Ek[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) => Dk(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Dk(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 Nie(e, t, n, r, i, a) {
+ return WO(e, t, n, r, i, a);
}
-function Ore(e, t, n, r = []) {
- let i = e.flatMap((e) => {
- let t = kk(e, r);
- return e.map((n) => ({
- source: n,
- group: e,
- author: t
- }));
- }), a = Ek[t];
- if (a) {
- let e = n === ak[t] ? 1 : -1;
- i.sort((t, n) => e * a(t.source, n.source));
- }
- return i;
+function $O(e, t) {
+ return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
+}
+function ek(e, t) {
+ return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
+}
+var tk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Pie(e, t) {
+ let n = ek(e, t), r = tk(e, t);
+ return r ? `${n} · ${r}` : n;
}
-function kre(e, t, n) {
- let r = ck(e, t), i = lk(n, r), a = (i - 1) * t;
+var Fie = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Iie = (e) => String(e.tags || "").split("|").filter(Boolean), Lie = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Rie(e) {
+ let t = e.candidates || [];
return {
- page: i,
- pages: r,
- total: e,
- start: a,
- end: Math.min(a + t, e)
+ candidateKey: t.length === 1 ? t[0].candidate_key : "",
+ assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Are(e, t) {
- let n = new Set(t.map((e) => e.id));
- return new Set([...e].filter((e) => n.has(e)));
-}
-function jk(e, t) {
- let n = t.filter((t) => e.has(t)).length;
+function nk(e, t, n, r) {
+ let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
- all: t.length > 0 && n === t.length,
- some: n > 0 && n < t.length
+ category: e,
+ item_key: t.item_key,
+ status: n,
+ candidate_key: r.candidateKey,
+ creator: t.creator,
+ tags: t.tags,
+ studio: t.studio,
+ entity_id: t.entity_id,
+ avatar_url: t.avatar_url,
+ selected_ids: r.assets,
+ ...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-function Mk(e, t, n) {
- let r = new Set(e);
- for (let e of t) n ? r.add(e) : r.delete(e);
- return r;
+var zie = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", rk = (e) => lw(Eie, e), ik = (e) => q(Die, e), Bie = (e, t) => q(Oie, {
+ genre: e,
+ tag: t
+});
+async function Vie(e) {
+ await X.fetchQuery({
+ queryKey: KO,
+ queryFn: () => rk(e)
+ });
}
-var Nk = (e) => gw(`${dk}?limit=1`, e), Pk = (e) => gw(ure, e), jre = (e) => gw(fk, e), Mre = (e) => gw(mk, e), Nre = (e, t) => gw(`${dre}?q=${encodeURIComponent(e)}`, t), Fk = (e) => _w(fk, {
- ...e?.length ? { sources: e } : {},
+function ak(e, t) {
+ let n = new Set(t);
+ n.size && X.setQueryData(KO, (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 : {
+ ...t,
+ sections: {
+ ...t.sections,
+ [e]: i
+ },
+ counts: {
+ ...t.counts,
+ [e]: Math.max(0, (t.counts[e] ?? r.length) - (r.length - i.length))
+ }
+ };
+ });
+}
+var ok = () => X.invalidateQueries({
+ queryKey: KO,
+ exact: !0
+});
+function sk(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${GO(e.fetched_at)} 的缓存` : e?.error || t;
+}
+//#endregion
+//#region src/react/data-cleanup/links.ts
+var ck = "/api/links", lk = "/api/links/check", uk = "/api/links/prune", dk = ["links"], fk = ["links", "check"], pk = ["links", "prune"], mk = {
+ official: "官网/事务所",
+ social: "社交账号",
+ catalog: "作品资料站",
+ source_reference: "资料出处"
+};
+async function hk(e) {
+ let t = await e;
+ if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
+ return t;
+}
+var gk = (e) => lw(ck, e), _k = (e) => q(lk, { status_only: !0 }, "POST", e), Hie = ({ retry: e, checkId: t }) => hk(q(lk, e ? {
+ retry: e,
+ check_id: t
+} : { restart: !0 })), vk = (e) => lw(uk, e), Uie = (e) => hk(q(uk, {
+ confirm: !0,
+ check_id: e,
background: !0
-}), Pre = (e) => _w(mk, {
- lines: e,
+})), yk = (e) => Number(e || 0).toLocaleString(), Wie = (e) => `已删除 ${yk(e.removed)} 条;${e.marked ? `已隐退女优的 ${yk(e.marked)} 条留作不可点的记录;` : ""}保留 ${yk(e.recovered)} 条未确认失效的链接。`;
+function Gie(e) {
+ let t = e.scope === "retry";
+ return e.total ? `${t ? "已重验" : "已检查"} ${yk(e.checked)} / ${yk(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+}
+//#endregion
+//#region src/react/data-cleanup/organize.ts
+var Kie = "/api/organize", qie = "/api/organize/preview", Jie = "/api/organize/apply", Yie = "/api/organize/rollback", Xie = "/api/settings", bk = ["organize"], xk = (e) => lw(Kie, e);
+async function Zie(e) {
+ await X.fetchQuery({
+ queryKey: bk,
+ queryFn: () => xk(e)
+ });
+}
+var Qie = (e) => q(qie, e), $ie = (e) => e.kind === "apply" ? q(Jie, {
+ ...e.request,
+ confirm: !0
+}) : q(Yie, { confirm: !0 });
+async function eae(e) {
+ X.setQueryData(bk, (t) => t && {
+ ...t,
+ templates: e
+ });
+ try {
+ await q(Xie, { organizeTemplates: e });
+ } catch {}
+}
+var tae = (e, t) => e && {
+ ...e,
+ ...t
+}, nae = /目录模板|分隔符|盘符|`\.`/;
+function Sk(e) {
+ let t = String(e || "");
+ return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
+}
+var Ck = (e) => Number(e || 0).toLocaleString();
+function rae(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Ck(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${Ck(e.counts.change)} 个文件会改名或移动,${Ck(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+}
+function wk(e) {
+ let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
+ return {
+ text: t ? `已退回 ${Ck(r)} 个文件${n ? `,${Ck(n)} 行未能退回` : ""}。` : `已整理 ${Ck(r)} 个文件${n ? `,${Ck(n)} 行未能处理` : ""}。`,
+ failed: n,
+ rollback: t
+ };
+}
+//#endregion
+//#region src/react/data-cleanup/resource-sync.ts
+var Tk = "/api/resource-sync/scan", Ek = "/api/resource-sync/apply", Dk = ["resource-sync", "scan"], Ok = ["resource-sync", "apply"], kk = (e) => q(Tk, {
+ background: !0,
+ status_only: !0
+}, "POST", e), iae = () => q(Tk, {
+ background: !0,
+ restart: !0
+}), Ak = (e) => lw(Ek, e), aae = (e) => q(Ek, {
+ confirm: !0,
+ clean_cache: !0,
+ scan_id: e,
background: !0
-}), Fre = (e, t) => _w(pk, {
- action: "enabled",
- id: e,
- enabled: t
-}), Ik = (e) => _w(pk, {
- action: "remove",
- id: e
-}), Ire = (e) => _w(pk, {
- action: "add",
- url: e.url,
- label: e.label,
- author: e.author || "",
- aliases: e.aliases || [],
- defer_check: !0
-}), Lk = (e, t) => _w(hk, {
- action: "add",
- canonical: e,
- alias: t
-}), Lre = (e) => _w(hk, {
- action: "remove",
- alias: e
-}), Rre = (e, t) => _w(fre, {
- provider: e,
- values: t
-}), zre = (e, t) => _w(pre, {
- item: e,
- to: t
-}), Bre = () => gw(`${dk}?status=new&limit=1000`);
-async function Rk(e) {
- let t = await gw(mre, e);
- if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
- return t;
+}), jk = (e) => (e?.sources ?? []).some((e) => nie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Mk(e) {
+ jk(X.getQueryData(_O)) && await Promise.all([X.fetchQuery({
+ queryKey: Dk,
+ queryFn: () => kk(e)
+ }), X.fetchQuery({
+ queryKey: Ok,
+ queryFn: () => Ak(e)
+ })]);
}
-var Vre = (e, t, n) => _w(gk, {
- action: "enabled",
- id: e,
- enabled: t
-}, "POST", n), Hre = (e, t) => _w(gk, {
- action: "remove",
- id: e
-}, "POST", t), Ure = (e) => _w(hre, { all: !0 }, "POST", e);
-async function Wre(e, t = "") {
+var Nk = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Pk = {
+ local: "本地磁盘",
+ 115: "115",
+ pikpak: "PikPak"
+}, Fk = (e) => Number(e || 0).toLocaleString(), Ik = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Lk = (e) => `将永久删除文件已不在盘上的 ${Fk(e.missing)} 条记录和 ${Fk(e.empty)} 个空文件夹,并清理 ${Fk(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, Rk = (e) => `将永久删除文件已不在盘上的 ${Fk(e.missing)} 条记录(含回收站里的)、${Fk(e.empty)} 个空文件夹,并清理 ${Fk(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, zk = (e) => e.online ? [
+ `找不到文件 · 共 ${Fk(e.total)} 项`,
+ e.empty ? `空文件夹 ${Fk(e.empty)} 个` : "",
+ e.unreadable ? `${Fk(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${Fk(e.total)} 项`;
+function Bk(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 ? `${Fk(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${Fk(n)} 个文件夹没有删除` : "",
+ r.length ? `${Fk(r.length)} 个缓存没有清理` : ""
+ ].filter(Boolean).join(",")
+ };
+}
+var Vk = (e, t) => {
+ let { rest: n } = Bk(e), r = `已永久删除 ${Fk(e.purged)} 条失效记录和 ${Fk(e.dirs_removed)} 个空文件夹,清理 ${Fk(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
+ return n ? `${r}${n},重新检查后可再试。` : r;
+}, Hk = "/api/review?counts=1", Uk = ["review", "counts"], Wk = "/api/ads?limit=1", Gk = ["junk-summary"], Kk = "/api/items?state=trash&limit=1", qk = ["trash-summary"], Jk = [
+ ["video", "视频"],
+ ["image", "图片"],
+ ["archive", "压缩包"],
+ ["audio", "音频"],
+ ["url", "网址"],
+ ["other", "其它"]
+], Yk = (e) => lw(Hk, e), Xk = (e) => lw(Wk, e), Zk = (e) => {
+ let t = sessionStorage.getItem("peach.library");
+ return lw(t ? `${Kk}&library=${encodeURIComponent(t)}` : Kk, e);
+}, Qk = (e) => Number(e || 0).toLocaleString();
+function $k(e) {
+ let t = qO, 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 eA(e) {
+ if (!e) return "";
+ let t = Jk.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Qk(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Qk(e.dismissed_total)}`), t.join(" · ");
+}
+var oae = [
+ [Uk, ({ signal: e }) => Yk(e)],
+ [zO, ({ signal: e }) => BO(e)],
+ [qk, ({ signal: e }) => Zk(e)],
+ [dk, ({ signal: e }) => gk(e)],
+ [fk, ({ signal: e }) => _k(e)],
+ [pk, ({ signal: e }) => vk(e)]
+];
+async function sae(e) {
+ let t = location.hash === "#resource-sync", n = oae.map(([n, r]) => {
+ if (t) return X.fetchQuery({
+ queryKey: n,
+ queryFn: () => r({ signal: e })
+ }).catch(() => void 0);
+ X.getQueryState(n) && X.prefetchQuery({
+ queryKey: n,
+ queryFn: r
+ });
+ });
await Promise.all([
- Tw.fetchQuery({
- queryKey: _k,
- queryFn: () => Nk(e)
+ ...n,
+ X.fetchQuery({
+ queryKey: Gk,
+ queryFn: () => Xk(e)
}),
- Tw.fetchQuery({
- queryKey: vk,
- queryFn: () => Pk(e)
+ X.fetchQuery({
+ queryKey: bO,
+ queryFn: () => xO(e)
}),
- t === "feeds" ? Tw.fetchQuery({
- queryKey: yk,
- queryFn: () => Rk(e)
- }) : null
+ yO(e).then(() => Mk(e)),
+ OO(e),
+ bie(e),
+ Zie(e)
]);
}
-function Gre(e, t) {
- Tw.setQueryData(_k, (n) => n && {
- ...n,
- sources: n.sources.map((n) => n.id === e ? {
- ...n,
- ...t
- } : n)
- });
-}
-function zk(e) {
- let t = new Set(e);
- Tw.setQueryData(_k, (e) => e && {
- ...e,
- sources: e.sources.filter((e) => !t.has(e.id))
+//#endregion
+//#region src/react/components/sprite-glyph.tsx
+var cae = { "text-aa": 1.435 }, tA = /* @__PURE__ */ new Map();
+function nA(e) {
+ let t = tA.get(e);
+ if (t) return t;
+ let n = cae[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {
+ "aria-hidden": !0,
+ viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
+ className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
+ children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
+ }) : ({ className: t }) => /* @__PURE__ */ (0, O.jsx)("svg", {
+ "aria-hidden": !0,
+ viewBox: "0 0 24 24",
+ fill: "none",
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
+ children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
});
+ return r.displayName = `SpriteGlyph(${e})`, tA.set(e, r), r;
}
-var Bk = () => Tw.invalidateQueries({
- queryKey: _k,
- exact: !0
-});
-function Kre(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 qre = (e) => (e?.results || []).filter((e) => !e.ok), Jre = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Vk = (e) => e.last_checked_at ? uk(e.last_checked_at) : "未检查", Yre = /* @__PURE__ */ new Set([
- "fanbox",
- "patreon",
- "subscribestar",
- "kemono",
- "coomer",
- "pawchive",
- "rule34video",
- "rule34xxx",
- "rule34paheal",
- "gofile",
- "f95zone",
- "simpcity"
-]), Xre = (e) => Yre.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Zre = {
- required: "需要",
- optional: "可选",
- none: "不需要",
- blocked: "接不进来"
-}, Hk = (e) => !!e.present && !e.missing.length, Uk = "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", Wk = "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-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Qre = [
+//#endregion
+//#region src/react/components/stat-card.tsx
+var lae = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], $re = [
+], uae = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function Gk(e = {}) {
- return `${vw({
+function rA(e = {}) {
+ return `${_w({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var Kk = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
-function qk({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("span", {
+var iA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
+function aA({ interactive: e = !1 } = {}) {
+ return _w({
+ padding: "none",
+ radius: "plain",
+ interactive: e,
+ className: "flex min-h-33 flex-col gap-2 p-4 text-left"
+ });
+}
+var dae = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function oA({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("span", {
+ className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
+ children: [
+ t || n ? /* @__PURE__ */ (0, O.jsx)("i", {
+ "aria-hidden": !0,
+ className: "flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary",
+ children: t ? /* @__PURE__ */ (0, O.jsx)(t, {
+ "aria-hidden": !0,
+ className: "size-4"
+ }) : n
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "min-w-0 truncate",
+ children: e
+ }),
+ r ? /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "ml-auto shrink-0 text-caption-1-regular",
+ children: r
+ }) : null
+ ]
+ }),
+ /* @__PURE__ */ (0, O.jsx)("strong", {
+ className: "block text-title-1-medium tabular-nums text-text-primary",
+ children: i
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: `block min-h-4 text-caption-1-regular text-text-tertiary ${o ? "" : "truncate"}`,
+ children: a
+ })
+ ] });
+}
+function sA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.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, D.jsx)("i", {
+ children: [t ? /* @__PURE__ */ (0, O.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Qre[n % 4]} ${$re[n % 4]}`,
- children: /* @__PURE__ */ (0, D.jsx)(t, {
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${lae[n % 4]} ${uae[n % 4]}`,
+ children: /* @__PURE__ */ (0, O.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
})
- }) : null, /* @__PURE__ */ (0, D.jsx)("span", {
+ }) : null, /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 truncate",
children: e
})]
}),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "px-4 pt-3 pb-4 text-title-1-medium tabular-nums text-text-primary max-sm:px-3 max-sm:pb-3",
children: r
}),
- /* @__PURE__ */ (0, D.jsx)("small", {
+ /* @__PURE__ */ (0, O.jsx)("small", {
className: "mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular text-text-secondary max-sm:px-3 max-sm:py-2",
children: i
})
] });
}
//#endregion
-//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var Jk = {
- md: {
- box: "size-4",
- glyph: "size-4",
- label: "text-body-medium",
- gap: "gap-2"
+//#region src/react/boardui/components/base/buttons/link-button.tsx
+var cA = nw({
+ base: [
+ "inline-flex items-center justify-center gap-1 whitespace-nowrap",
+ "font-sans select-none cursor-pointer rounded-sm",
+ "underline-offset-3 hover:underline",
+ "transition-colors duration-150 ease",
+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",
+ "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"
+ ].join(" "),
+ size: {
+ medium: "text-body-medium",
+ small: "text-body-medium",
+ xs: "text-caption-1-semibold"
},
- sm: {
- box: "size-3.5",
- glyph: "size-3.5",
- label: "text-body-2-medium",
- gap: "gap-1.5"
+ icon: {
+ medium: "size-5 shrink-0",
+ small: "size-[18px] shrink-0",
+ xs: "size-3.5 shrink-0"
+ },
+ variant: {
+ primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),
+ secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
-};
-function Yk({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Jk[t], c = n || r, l = o && !a;
- return /* @__PURE__ */ (0, D.jsx)("span", {
- "aria-hidden": !0,
- className: lw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? lw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : lw("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
- children: /* @__PURE__ */ (0, D.jsx)("svg", {
- viewBox: "0 0 16 16",
- fill: "none",
- className: s.glyph,
- children: r ? /* @__PURE__ */ (0, D.jsx)("path", {
- d: "M4.5 8H8H11.5",
- stroke: "white",
- strokeWidth: "2",
- strokeLinecap: "round"
- }) : n ? /* @__PURE__ */ (0, D.jsx)("path", {
- d: "M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002",
- stroke: "white",
- strokeWidth: "2",
- strokeLinecap: "round",
- strokeLinejoin: "round",
- pathLength: 1,
- className: "animate-check-draw"
- }) : null
- })
- });
-}
-//#endregion
-//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function Xk({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = Jk[n];
- return /* @__PURE__ */ (0, D.jsx)(xne, {
- ref: r,
- ...i,
- className: (t) => lw("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, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Yk, {
- state: e,
- size: n
- }), t != null && /* @__PURE__ */ (0, D.jsx)("span", {
- className: lw(a.label, "text-text-primary"),
- children: t
- })] })
- });
-}
-//#endregion
-//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var Zk = [
- "max-w-[calc(100vw-32px)] overflow-y-auto",
- "rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
+});
+function lA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = tw(cA.base, cA.size[t], cA.variant[e], a), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ n ? /* @__PURE__ */ (0, O.jsx)(n, {
+ className: cA.icon[t],
+ "aria-hidden": !0
+ }) : null,
+ i != null && /* @__PURE__ */ (0, O.jsx)("span", { children: i }),
+ r ? /* @__PURE__ */ (0, O.jsx)(r, {
+ className: cA.icon[t],
+ "aria-hidden": !0
+ }) : null
+ ] });
+ if (s.href !== void 0) {
+ let { ref: e, href: t, ...n } = s;
+ return /* @__PURE__ */ (0, O.jsx)("a", {
+ ref: e,
+ href: o ? void 0 : t,
+ "aria-disabled": o || void 0,
+ className: c,
+ ...n,
+ children: l
+ });
+ }
+ let { ref: u, type: d = "button", ...f } = s;
+ return /* @__PURE__ */ (0, O.jsx)("button", {
+ ref: u,
+ type: d,
+ disabled: o,
+ className: c,
+ ...f,
+ children: l
+ });
+}
+//#endregion
+//#region src/react/boardui/components/base/dropdown/menu-styles.ts
+var uA = [
+ "max-w-[calc(100vw-32px)] overflow-y-auto",
+ "rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
"data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px]",
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), eie = "w-[266px]", tie = "flex w-full flex-col gap-1 outline-none", Qk = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), $k = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background", eA = 2e3, nie = (e) => e, rie = (e, t) => t;
-function tA(e) {
- let { queryKey: t, jobOf: n = nie, withJob: r = rie, idlePollMs: i } = e, [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(null), l = (0, E.useRef)(e);
- (0, E.useEffect)(() => {
+].join(" "), fae = "w-[266px]", pae = "flex w-full flex-col gap-1 outline-none", dA = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), fA = "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 mae = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", hae = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", gae = _w({
+ padding: "none",
+ bordered: "line",
+ className: "overflow-hidden"
+}), _ae = {
+ 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"
+}, vae = {
+ 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"
+}, yae = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", bae = {
+ neutral: "border-border-button-default bg-card-footer",
+ error: "border-border-error-default bg-background-tertiary-error"
+}, xae = _w({
+ padding: "none",
+ radius: "surface",
+ bordered: "line",
+ className: "overflow-hidden"
+}), pA = "border-t border-border-button-default p-4 first:border-t-0";
+function mA({ tone: e = "neutral", status: t, children: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: `${yae} ${bae[e]}`,
+ children: [t ? /* @__PURE__ */ (0, O.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 hA({ id: e, children: t }) {
+ return /* @__PURE__ */ (0, O.jsx)("h2", {
+ id: e,
+ className: "text-title-2-medium! m-0! text-text-primary",
+ children: t
+ });
+}
+function gA({ id: e, gap: t = "none", children: n }) {
+ return /* @__PURE__ */ (0, O.jsx)("h3", {
+ id: e,
+ className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
+ children: n
+ });
+}
+function _A({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ id: r,
+ "aria-label": t,
+ "aria-labelledby": n,
+ ...o,
+ className: `${gae} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
+ className: _ae[e],
+ children: a
+ }), i ? /* @__PURE__ */ (0, O.jsx)("footer", {
+ className: vae[e],
+ children: i
+ }) : null]
+ });
+}
+//#endregion
+//#region src/react/components/path-line.tsx
+function Sae({ className: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("svg", {
+ "aria-hidden": !0,
+ viewBox: "0 0 24 24",
+ fill: "none",
+ stroke: "currentColor",
+ strokeWidth: 2,
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ className: e,
+ children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-open" })
+ });
+}
+var Cae = "打开文件管理器失败,请重试";
+function vA({ path: e, prefix: t, className: n, onRevealed: r }) {
+ let [i, a] = (0, D.useState)(!1), [o, s] = (0, D.useState)(""), c = (0, D.useRef)(!0);
+ (0, D.useEffect)(() => () => {
+ c.current = !1;
+ }, []);
+ let l = async () => {
+ if (!i) {
+ a(!0), s("");
+ try {
+ await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
+ } catch (e) {
+ c.current && s(e instanceof sw ? e.message : Cae);
+ } finally {
+ c.current && a(!1);
+ }
+ }
+ };
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-1",
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex items-center justify-between gap-2",
+ children: [/* @__PURE__ */ (0, O.jsxs)("p", {
+ className: tw("min-w-0 break-all", n),
+ children: [t, e]
+ }), /* @__PURE__ */ (0, O.jsx)(UD, {
+ icon: Sae,
+ size: "small",
+ className: "shrink-0",
+ "aria-label": "在资源管理器中显示",
+ onClick: () => void l(),
+ ...Y(i)
+ })]
+ }), o ? /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-caption-1-regular text-text-error-primary",
+ children: o
+ }) : null]
+ });
+}
+//#endregion
+//#region src/react/boardui/components/application/settings/settings-rows.tsx
+function yA({ className: e, children: t }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: tw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ children: t
+ });
+}
+function bA({ className: e, children: t }) {
+ return /* @__PURE__ */ (0, O.jsx)("p", {
+ className: tw("w-full px-3 text-body-2-medium text-text-secondary", e),
+ children: t
+ });
+}
+function xA({ label: e, description: t, children: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: tw("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, O.jsxs)("div", {
+ className: "flex min-w-0 flex-col",
+ children: [/* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-regular text-text-primary",
+ children: e
+ }), t && /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: t
+ })]
+ }), n]
+ });
+}
+//#endregion
+//#region src/react/settings/section.tsx
+function SA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+ let a = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [n ? /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex w-full flex-wrap items-center justify-between gap-2",
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
+ className: "min-w-0 flex-1",
+ children: /* @__PURE__ */ (0, O.jsx)(bA, { children: e })
+ }), n]
+ }) : /* @__PURE__ */ (0, O.jsx)(bA, { children: e }), /* @__PURE__ */ (0, O.jsx)(yA, { children: i })] });
+ return r ? /* @__PURE__ */ (0, O.jsx)("form", {
+ id: t,
+ "aria-label": e,
+ noValidate: !0,
+ onSubmit: r,
+ className: "flex w-full flex-col gap-2",
+ children: a
+ }) : /* @__PURE__ */ (0, O.jsx)("section", {
+ id: t,
+ "aria-label": e,
+ className: "flex w-full flex-col gap-2",
+ children: a
+ });
+}
+function CA({ children: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-col",
+ children: e
+ });
+}
+function wA({ divided: e = !1, children: t }) {
+ return e ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
+ children: t
+ }) : /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-col gap-4 py-4 pr-3",
+ children: t
+ });
+}
+function TA({ status: e, children: t }) {
+ return /* @__PURE__ */ (0, O.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, O.jsx)("div", {
+ className: "mr-auto min-w-0 text-body-2-regular text-text-secondary",
+ children: e
+ }) : null, t]
+ });
+}
+function EA({ role: e, children: t }) {
+ return /* @__PURE__ */ (0, O.jsx)("p", {
+ role: e,
+ className: "text-body-2-regular text-text-secondary",
+ children: t
+ });
+}
+function DA({ children: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("p", {
+ role: "alert",
+ className: "text-body-2-regular text-text-error-primary",
+ children: e
+ });
+}
+function OA({ children: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-medium text-text-primary",
+ children: e
+ });
+}
+function kA({ href: e, children: t }) {
+ return /* @__PURE__ */ (0, O.jsx)(lA, {
+ href: e,
+ target: "_blank",
+ rel: "noopener noreferrer",
+ size: "small",
+ trailingIcon: fS,
+ children: t
+ });
+}
+function AA({ children: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("dl", {
+ className: "flex flex-col",
+ children: e
+ });
+}
+function jA({ term: e, children: t }) {
+ return /* @__PURE__ */ (0, O.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, O.jsx)("dt", {
+ className: "flex shrink-0 items-center gap-2 text-body-regular text-text-secondary",
+ children: e
+ }), /* @__PURE__ */ (0, O.jsx)("dd", {
+ className: "flex min-w-0 flex-wrap items-center justify-end gap-2 text-right text-body-regular break-all text-text-primary",
+ children: t
+ })]
+ });
+}
+function MA({ summary: e, defaultOpen: t = !1, children: n }) {
+ let r = (0, D.useId)(), i = (0, D.useRef)(null), a = (0, D.useRef)(null), o = (0, D.useRef)(!1), [s, c] = (0, D.useState)(t);
+ return /* @__PURE__ */ (0, O.jsxs)("details", {
+ ref: (e) => {
+ i.current = e, e && t && !o.current && (o.current = !0, e.open = !0);
+ },
+ children: [/* @__PURE__ */ (0, O.jsxs)("summary", {
+ "aria-expanded": s,
+ "aria-controls": r,
+ onClick: (e) => {
+ e.preventDefault(), !(!i.current || !a.current) && (u(i.current, a.current, !s), c(!s));
+ },
+ className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
+ children: [/* @__PURE__ */ (0, O.jsx)(aS, {
+ "aria-hidden": !0,
+ className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
+ }), e]
+ }), /* @__PURE__ */ (0, O.jsx)("div", {
+ ref: a,
+ id: r,
+ inert: !s,
+ children: /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-col gap-2 pt-3",
+ children: n
+ })
+ })]
+ });
+}
+function wae({ name: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("svg", {
+ "aria-hidden": !0,
+ viewBox: "0 0 24 24",
+ fill: "none",
+ className: "size-4 shrink-0 stroke-current stroke-2",
+ children: /* @__PURE__ */ (0, O.jsx)("use", { href: `#i-${e}` })
+ });
+}
+function NA({ mark: e }) {
+ return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, O.jsx)("img", {
+ src: e,
+ alt: "",
+ width: 16,
+ height: 16,
+ className: "size-4 shrink-0"
+ }) : /* @__PURE__ */ (0, O.jsx)(wae, { name: e });
+}
+//#endregion
+//#region src/react/library-processing/use-library-processing.ts
+function PA({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = ht({
+ queryKey: EO,
+ queryFn: ({ signal: e }) => DO(e),
+ refetchInterval: (e) => pie(e.state.data, r)
+ }), [a, o] = (0, D.useState)(null), s = (0, D.useRef)(void 0), c = i.data;
+ return (0, D.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") && vie(c, e, r);
+ }, [
+ c,
+ t,
+ e
+ ]), {
+ job: i,
+ settled: a,
+ forget: () => o(null)
+ };
+}
+//#endregion
+//#region src/react/library-processing/library-processing-card.tsx
+var Tae = [
+ {
+ label: "扫描并补全资料",
+ icon: uS,
+ command: {}
+ },
+ {
+ label: "只扫描",
+ icon: mS,
+ command: { stage: "scan" }
+ },
+ {
+ label: "只采集",
+ icon: Ite,
+ command: { stage: "collect" }
+ }
+], Eae = tw(dA, fA, "text-body-2-medium"), Dae = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Oae = (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(",")}。`;
+}, kae = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Oae(e);
+function Aae({ busy: e, onRun: t }) {
+ let n = (0, D.useRef)(null), [r, i] = (0, D.useState)(!1), a = (n) => {
+ e || (i(!1), t(n));
+ };
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {
+ "data-button-group": !0,
+ "data-split-button": !0,
+ "data-variant": "primary",
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
+ leadingIcon: uS,
+ onClick: () => a({}),
+ ...Y(e),
+ children: "扫描并补全资料"
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
+ ref: n,
+ iconOnly: !0,
+ leadingIcon: rS,
+ "aria-label": "更多扫描与采集方式",
+ "aria-haspopup": "dialog",
+ "aria-expanded": r,
+ ...Y(e),
+ onClick: () => {
+ e || i(!0);
+ }
+ })]
+ }), /* @__PURE__ */ (0, O.jsx)(eD, {
+ triggerRef: n,
+ isOpen: r,
+ onOpenChange: i,
+ placement: "bottom end",
+ offset: 4,
+ className: uA,
+ children: /* @__PURE__ */ (0, O.jsx)(nD, {
+ "aria-label": "更多扫描与采集方式",
+ className: "flex w-52 flex-col gap-1 outline-none",
+ children: Tae.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ className: Eae,
+ onClick: () => a(n),
+ children: [/* @__PURE__ */ (0, O.jsx)(t, {
+ "aria-hidden": !0,
+ className: "size-4 shrink-0"
+ }), e]
+ }, e))
+ })
+ })] });
+}
+function jae({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = gie(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = hie(e.notes || {}), c = aO();
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ "aria-live": "polite",
+ className: "flex flex-col gap-4 empty:hidden",
+ children: [
+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "warning",
+ title: "处理较慢",
+ children: Dae
+ }) : null,
+ t || e.status === "failed" ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ action: o ? /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "primary",
+ size: "small",
+ onClick: r,
+ children: "重试未完成项"
+ }) : null,
+ extra: a ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mt-1.5 border-t border-current/20 pt-1.5",
+ children: /* @__PURE__ */ (0, O.jsxs)(MA, {
+ summary: a.label,
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
+ className: "relative",
+ children: /* @__PURE__ */ (0, O.jsx)("ul", {
+ ref: c,
+ className: "max-h-96 overflow-y-auto pr-3",
+ children: a.items.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
+ className: "flex flex-col gap-0.5 border-b border-current/15 py-2 first:pt-1 last:border-b-0 last:pb-1",
+ children: [
+ e.href ? /* @__PURE__ */ (0, O.jsx)("a", {
+ href: e.href,
+ className: "text-body-2-medium underline-offset-4 hover:underline",
+ children: e.label
+ }) : /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "text-body-2-medium",
+ children: e.label
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "text-caption-1-regular",
+ children: e.note
+ }),
+ e.hint ? /* @__PURE__ */ (0, O.jsx)("code", {
+ className: "text-caption-1-regular break-all",
+ children: e.hint
+ }) : null
+ ]
+ }, e.key))
+ })
+ }), a.log ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
+ children: /* @__PURE__ */ (0, O.jsx)(vA, {
+ path: a.log,
+ prefix: "完整记录:",
+ className: "text-caption-1-regular",
+ onRevealed: i
+ })
+ }) : null]
+ })
+ }) : null,
+ children: t || e.error || "处理未完成,请重试"
+ }) : null,
+ n?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "success",
+ title: "处理完成",
+ children: kae(n)
+ }) : null,
+ e.status !== "running" && s ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "neutral",
+ extra: e.issues_log ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
+ children: /* @__PURE__ */ (0, O.jsx)(vA, {
+ path: e.issues_log,
+ prefix: "完整记录:",
+ className: "text-caption-1-regular",
+ onRevealed: i
+ })
+ }) : null,
+ children: s
+ }) : null
+ ]
+ });
+}
+function FA(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = PA(e), o = gt({
+ mutationFn: (e) => q(TO, e),
+ onSuccess: (e) => {
+ a(), X.setQueryData(EO, e), X.invalidateQueries({ queryKey: EO });
+ }
+ });
+ (0, D.useEffect)(() => {
+ i && n?.();
+ }, [i, n]);
+ let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? kO : K(r.error) : "", l = o.isPending || s.status === "running", u = jO(s), d = (e) => {
+ l || (o.reset(), o.mutate(e));
+ };
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-4",
+ children: [/* @__PURE__ */ (0, O.jsx)(_A, {
+ layout: "split",
+ label: "扫描与采集",
+ footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)(lA, {
+ href: "/scraping",
+ size: "small",
+ trailingIcon: iS,
+ children: "来源和凭证"
+ }),
+ s.candidates ? /* @__PURE__ */ (0, O.jsx)(lA, {
+ href: "/review",
+ size: "small",
+ trailingIcon: iS,
+ children: "复核资料"
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)(Aae, {
+ busy: l,
+ onRun: d
+ })
+ ] }),
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(gA, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: mae
+ }),
+ s.status === "running" ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-col gap-1.5",
+ children: s.total ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(ww, {
+ label: u,
+ value: s.checked || 0,
+ max: s.total
+ }), /* @__PURE__ */ (0, O.jsxs)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: [
+ u,
+ " · ",
+ s.checked || 0,
+ " / ",
+ s.total,
+ " 个视频"
+ ]
+ })] }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: u })
+ }) : null
+ ]
+ })
+ }), /* @__PURE__ */ (0, O.jsx)(jae, {
+ state: s,
+ problem: c,
+ settled: i,
+ onRetry: () => {
+ !s.job_id || !s.retryable_asset_ids?.length || d({
+ job_id: s.job_id,
+ retry: s.retryable_asset_ids
+ });
+ },
+ toast: t
+ })]
+ });
+}
+//#endregion
+//#region src/react/boardui/components/foundations/icons/chevrons.tsx
+function Mae(e) {
+ return /* @__PURE__ */ (0, O.jsx)("svg", {
+ viewBox: "0 0 16 16",
+ fill: "none",
+ "aria-hidden": !0,
+ ...e,
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
+ d: "M4 7L7.29289 10.2929C7.68342 10.6834 8.31658 10.6834 8.70711 10.2929L12 7",
+ stroke: "currentColor",
+ strokeWidth: "2",
+ strokeLinecap: "round"
+ })
+ });
+}
+function Nae(e) {
+ return /* @__PURE__ */ (0, O.jsx)("svg", {
+ viewBox: "0 0 24 24",
+ fill: "none",
+ "aria-hidden": !0,
+ ...e,
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
+ d: "M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z",
+ fill: "currentColor"
+ })
+ });
+}
+//#endregion
+//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
+function Pae(e, t, n) {
+ (0, D.useEffect)(() => {
+ if (!e) return;
+ let r = (e) => {
+ let r = e.target;
+ n.some((e) => e.current?.contains(r)) || t();
+ };
+ return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);
+ }, [
+ e,
+ t,
+ n
+ ]);
+}
+function Fae(e, t) {
+ let n = (0, D.useRef)(!1);
+ return (0, D.useEffect)(() => {
+ if (!e) return;
+ let r = (e) => {
+ t.current?.contains(e.target) && (n.current = !0, setTimeout(() => {
+ n.current = !1;
+ }, 400));
+ };
+ return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);
+ }, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
+}
+//#endregion
+//#region src/react/boardui/components/base/select/select.tsx
+var IA = (0, D.createContext)("md");
+function LA({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+ let l = (0, D.useRef)(null), u = (0, D.useRef)(null), [d, f] = (0, D.useState)(!1);
+ Pae(d, () => f(!1), [l, u]);
+ let p = Fae(d, l);
+ return /* @__PURE__ */ (0, O.jsx)(Dne, {
+ ref: s,
+ ...c,
+ isOpen: d,
+ onOpenChange: (e) => p(e) && f(e),
+ className: tw("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)(TT, {
+ ref: l,
+ className: tw("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, O.jsx)(Ane, {
+ className: tw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ children: o
+ }), /* @__PURE__ */ (0, O.jsx)(Mae, { className: tw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, O.jsx)(eD, {
+ ref: u,
+ isNonModal: !0,
+ offset: 4,
+ className: tw(fae, uA, "p-2", n),
+ children: /* @__PURE__ */ (0, O.jsx)(rne, {
+ items: a,
+ className: tw(pae, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, O.jsx)(IA.Provider, {
+ value: r,
+ children: i
+ })
+ })
+ })] })
+ });
+}
+function RA({ className: e, children: t, ...n }) {
+ let r = (0, D.useContext)(IA);
+ return /* @__PURE__ */ (0, O.jsx)(one, {
+ ...n,
+ className: (t) => tw(dA, 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 zA = 2e3, Iae = (e) => e, Lae = (e, t) => t;
+function BA(e) {
+ let { queryKey: t, jobOf: n = Iae, withJob: r = Lae, idlePollMs: i } = e, [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(null), l = (0, D.useRef)(e);
+ (0, D.useEffect)(() => {
l.current = e;
});
- let u = ft({
- queryKey: t,
- queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
- refetchInterval: (e) => {
- let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? eA : i ?? !1;
- }
- }), d = pt({
- mutationFn: (e) => l.current.start(e),
- onSuccess: (e) => {
- o(!0), c(null), l.current.onStarted?.(e), Tw.setQueryData(t, (t) => r(t, e)), Tw.invalidateQueries({
- queryKey: t,
- exact: !0
- });
- },
- onError: (e) => l.current.onError?.(e)
- }), f = u.data === void 0 ? void 0 : n(u.data), p = f?.status === "running";
- return (0, E.useEffect)(() => {
- if (f) {
- if (f.status === "running") {
- a || o(!0);
- return;
- }
- a && (o(!1), c(f), l.current.onFinish?.(f));
- }
- }, [f, a]), {
- query: u,
- job: f,
- running: p,
- outcome: s,
- start: d,
- dismiss: () => c(null)
- };
+ let u = ht({
+ queryKey: t,
+ queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
+ refetchInterval: (e) => {
+ let t = e.state.data;
+ return t !== void 0 && n(t)?.status === "running" ? zA : i ?? !1;
+ }
+ }), d = gt({
+ mutationFn: (e) => l.current.start(e),
+ onSuccess: (e) => {
+ o(!0), c(null), l.current.onStarted?.(e), X.setQueryData(t, (t) => r(t, e)), X.invalidateQueries({
+ queryKey: t,
+ exact: !0
+ });
+ },
+ onError: (e) => l.current.onError?.(e)
+ }), f = u.data === void 0 ? void 0 : n(u.data), p = f?.status === "running";
+ return (0, D.useEffect)(() => {
+ if (f) {
+ if (f.status === "running") {
+ a || o(!0);
+ return;
+ }
+ a && (o(!1), c(f), l.current.onFinish?.(f));
+ }
+ }, [f, a]), {
+ query: u,
+ job: f,
+ running: p,
+ outcome: s,
+ start: d,
+ dismiss: () => c(null)
+ };
+}
+//#endregion
+//#region src/react/media-repair/media-repair-card.tsx
+var Rae = (e) => o[e] || e, VA = (e) => X.setQueryData(PO, e);
+function HA() {
+ let e = ht({
+ queryKey: PO,
+ queryFn: ({ signal: e }) => IO(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && zA
+ }), t = ht({
+ queryKey: FO,
+ queryFn: ({ signal: e }) => LO(e)
+ }), [n, r] = (0, D.useState)(""), i = Tw(), a = e.data ?? yie, o = t.data ?? [], s = a.status === "running", l = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], u = () => {
+ l && c({
+ title: `修复媒体库「${l.name}」`,
+ body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
+ confirmLabel: "修复媒体库",
+ onConfirm: async () => VA(await q(NO, {
+ library: l.id,
+ restart: !0
+ }))
+ });
+ }, d = () => void i.run("stop", (e) => q(NO, { stop: !0 }, "POST", e), VA), f = xie(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-4",
+ children: [/* @__PURE__ */ (0, O.jsx)(_A, {
+ layout: "split",
+ label: "媒体修复",
+ footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(LA, {
+ "aria-label": "媒体库",
+ className: "w-48",
+ selectedKey: l?.id ?? null,
+ isDisabled: s || !o.length,
+ onSelectionChange: (e) => {
+ e !== null && r(String(e));
+ },
+ children: o.map((e) => /* @__PURE__ */ (0, O.jsxs)(RA, {
+ id: e.id,
+ textValue: e.name,
+ children: [/* @__PURE__ */ (0, O.jsx)(NA, { mark: Rae(e.icon) }), e.name]
+ }, e.id))
+ }), s ? /* @__PURE__ */ (0, O.jsx)(G, {
+ onClick: d,
+ ...Y(i.busy === "stop"),
+ children: "停止"
+ }) : /* @__PURE__ */ (0, O.jsx)(G, {
+ onClick: u,
+ disabled: !l,
+ children: "开始修复"
+ })] }),
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(gA, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: hae
+ }),
+ s && a.total ? /* @__PURE__ */ (0, O.jsx)(ww, {
+ label: "修复进度",
+ value: a.checked,
+ max: a.total
+ }) : null,
+ f ? /* @__PURE__ */ (0, O.jsx)("p", {
+ role: "status",
+ className: "text-caption-1-regular text-text-secondary",
+ children: f
+ }) : null
+ ]
+ })
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
+ "aria-live": "polite",
+ className: "flex flex-col gap-4 empty:hidden",
+ children: [
+ p && !a.repaired && !a.failed ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "info",
+ title: "没有要修的",
+ children: "这个库里的片子都能直接播。"
+ }) : null,
+ p && a.missing_tool ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "warning",
+ title: "缺少 untrunc",
+ children: Sie(a)
+ }) : null,
+ m ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ children: m
+ }) : null
+ ]
+ })]
+ });
+}
+//#endregion
+//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
+var UA = {
+ md: {
+ box: "size-4",
+ glyph: "size-4",
+ label: "text-body-medium",
+ gap: "gap-2"
+ },
+ sm: {
+ box: "size-3.5",
+ glyph: "size-3.5",
+ label: "text-body-2-medium",
+ gap: "gap-1.5"
+ }
+};
+function WA({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = UA[t], c = n || r, l = o && !a;
+ return /* @__PURE__ */ (0, O.jsx)("span", {
+ "aria-hidden": !0,
+ className: tw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? tw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : tw("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ children: /* @__PURE__ */ (0, O.jsx)("svg", {
+ viewBox: "0 0 16 16",
+ fill: "none",
+ className: s.glyph,
+ children: r ? /* @__PURE__ */ (0, O.jsx)("path", {
+ d: "M4.5 8H8H11.5",
+ stroke: "white",
+ strokeWidth: "2",
+ strokeLinecap: "round"
+ }) : n ? /* @__PURE__ */ (0, O.jsx)("path", {
+ d: "M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002",
+ stroke: "white",
+ strokeWidth: "2",
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ pathLength: 1,
+ className: "animate-check-draw"
+ }) : null
+ })
+ });
+}
+//#endregion
+//#region src/react/boardui/components/base/checkbox/checkbox.tsx
+function GA({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = UA[n];
+ return /* @__PURE__ */ (0, O.jsx)(zT, {
+ ref: r,
+ ...i,
+ className: (t) => tw("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, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(WA, {
+ state: e,
+ size: n
+ }), t != null && /* @__PURE__ */ (0, O.jsx)("span", {
+ className: tw(a.label, "text-text-primary"),
+ children: t
+ })] })
+ });
+}
+//#endregion
+//#region src/react/boardui/components/base/table/table.tsx
+function KA({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: tw("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, O.jsx)(Wne, {
+ ref: r,
+ ...i,
+ className: tw("bui-table", e === "sm" && "bui-table-sm", t)
+ })
+ });
+}
+//#endregion
+//#region src/react/components/data-table-frame.tsx
+function qA({ children: e, follow: t = !1 }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-board-data-table": !0,
+ "data-follow-table": t || void 0,
+ children: e
+ });
+}
+//#endregion
+//#region src/react/data-cleanup/link-manager.tsx
+var JA = nA("unlink"), YA = nA("rotate-cw"), XA = "站点返回 404 或 410,确认这个地址不存在。", ZA = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", QA = "删除前会逐条重验一次;此操作不可撤销。", $A = "暂时无法读取进度,正在重新连接…", ej = (e) => Number(e || 0).toLocaleString();
+function tj({ label: e, value: t, note: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex min-w-0 flex-col gap-0.5",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "text-caption-1-regular leading-5 text-text-secondary",
+ children: e
+ }),
+ /* @__PURE__ */ (0, O.jsx)("b", {
+ className: "text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary",
+ children: t
+ }),
+ n ? /* @__PURE__ */ (0, O.jsx)("small", {
+ className: "text-caption-1-regular leading-5 text-text-secondary",
+ children: n
+ }) : null
+ ]
+ });
+}
+function nj({ 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, O.jsxs)("div", {
+ className: pA,
+ children: [
+ /* @__PURE__ */ (0, O.jsxs)("h4", {
+ className: "mb-1 text-body-semibold text-text-primary",
+ children: [e, /* @__PURE__ */ (0, O.jsx)("b", {
+ className: "ml-1.5 font-semibold tabular-nums text-text-secondary",
+ children: t.length
+ })]
+ }),
+ /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "mb-3 text-caption-1-regular text-text-secondary",
+ children: n
+ }),
+ /* @__PURE__ */ (0, O.jsx)(qA, { children: /* @__PURE__ */ (0, O.jsxs)(KA, {
+ "aria-label": e,
+ size: "sm",
+ children: [/* @__PURE__ */ (0, O.jsxs)(ED, { children: [
+ i ? /* @__PURE__ */ (0, O.jsx)(DD, {
+ id: "pick",
+ children: /* @__PURE__ */ (0, O.jsx)(GA, {
+ slot: null,
+ "aria-label": "全选本次未访问成功的链接",
+ isSelected: s,
+ isIndeterminate: o.length > 0 && !s,
+ onChange: (e) => i(e ? t.map((e) => e.id) : [])
+ })
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)(DD, {
+ id: "entity",
+ isRowHeader: !0,
+ children: "所属"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(DD, {
+ id: "kind",
+ children: "类型"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(DD, {
+ id: "label",
+ children: "标签"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(DD, {
+ id: "note",
+ children: "结果"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(DD, {
+ id: "url",
+ children: "地址"
+ })
+ ] }), /* @__PURE__ */ (0, O.jsx)(kD, { children: t.map((e) => /* @__PURE__ */ (0, O.jsxs)(MD, {
+ id: e.id,
+ children: [
+ i ? /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)(GA, {
+ 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, O.jsx)(PD, { children: e.entity }),
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: mk[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: e.label || "" }),
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "tabular-nums text-text-error-primary",
+ children: e.note
+ }) }),
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsxs)("a", {
+ href: e.url,
+ target: "_blank",
+ rel: "noreferrer",
+ title: e.url,
+ className: "flex max-w-90 min-w-0 items-center gap-1 text-text-secondary hover:text-text-primary",
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
+ "data-middle-truncate": !0,
+ className: "min-w-0 truncate",
+ children: e.url
+ }), /* @__PURE__ */ (0, O.jsx)(fS, {
+ "aria-hidden": !0,
+ className: "size-3.5 shrink-0"
+ })]
+ }) })
+ ]
+ }, e.id)) })]
+ }) }),
+ a
+ ]
+ });
+}
+function rj({ line: e, value: t, total: n }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: `${pA} flex flex-col gap-1.5`,
+ children: n ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(ww, {
+ label: e,
+ value: t || 0,
+ max: n
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: e
+ })] }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: e })
+ });
+}
+function ij() {
+ let e = ht({
+ queryKey: dk,
+ queryFn: ({ signal: e }) => gk(e)
+ }), [t, n] = (0, D.useState)([]), r = BA({
+ queryKey: pk,
+ queryFn: ({ signal: e }) => vk(e),
+ start: Uie,
+ onFinish: () => {
+ X.invalidateQueries({
+ queryKey: dk,
+ exact: !0
+ }), X.invalidateQueries({
+ queryKey: fk,
+ exact: !0
+ });
+ }
+ }), i = BA({
+ queryKey: fk,
+ queryFn: ({ signal: e }) => _k(e),
+ start: Hie,
+ onStarted: () => {
+ r.dismiss(), n([]);
+ }
+ }), a = i.job, o = a?.check_id ?? "";
+ (0, D.useEffect)(() => {
+ n([]);
+ }, [o]);
+ let s = i.running || i.start.isPending, l = r.running || r.start.isPending, u = a?.status === "complete", d = a?.gone ?? [], f = a?.unclear ?? [], p = u ? f : [], m = e.data, h = (m?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${t}`).join(" · "), g = (e) => {
+ s || e && !e.length || i.start.mutate(e ? {
+ retry: e,
+ checkId: o
+ } : {});
+ }, _ = () => {
+ l || !d.length || c({
+ title: "删除失效链接",
+ body: `将删除 ${d.length} 条失效链接。删除前会再次检查,删除后无法恢复。`,
+ confirmLabel: "删除失效链接",
+ danger: !0,
+ onConfirm: () => r.start.mutateAsync(o)
+ });
+ }, v = r.outcome, y = i.start.error ?? r.start.error, b = null;
+ if (v?.status === "failed") b = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "任务失败",
+ children: v.error || "任务失败"
+ });
+ else if (v) b = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "success",
+ title: "完成",
+ children: Wie(v)
+ });
+ else if (y) b = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "检查失败",
+ children: K(y)
+ });
+ else if (i.query.isError && a) b = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "neutral",
+ title: "任务状态",
+ children: $A
+ });
+ else if (a?.status === "failed") b = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "检查失败",
+ children: a.error || "检查失败"
+ });
+ else if (a && a.status !== "idle") {
+ let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
+ b = /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: xae,
+ children: [
+ a.status === "running" ? /* @__PURE__ */ (0, O.jsx)(rj, {
+ line: Gie(a),
+ value: a.checked,
+ total: a.total
+ }) : null,
+ l ? /* @__PURE__ */ (0, O.jsx)(rj, {
+ line: r.job?.message || "正在重验并删除失效链接…",
+ value: r.job?.checked,
+ total: r.job?.total
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)(nj, {
+ title: "地址已失效",
+ items: d,
+ hint: XA
+ }),
+ /* @__PURE__ */ (0, O.jsx)(nj, {
+ title: "本次未访问成功",
+ items: f,
+ hint: ZA,
+ picked: p.length ? t : void 0,
+ onPick: p.length ? n : void 0,
+ children: p.length ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "-mx-4 mt-3 -mb-4",
+ children: /* @__PURE__ */ (0, O.jsxs)(mA, { children: [/* @__PURE__ */ (0, O.jsx)(G, {
+ leadingIcon: YA,
+ disabled: !t.length,
+ ...Y(s),
+ onClick: () => g(t),
+ children: e
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
+ leadingIcon: YA,
+ ...Y(s),
+ onClick: () => g(p.map((e) => e.id)),
+ children: `全部重试(${p.length})`
+ })] })
+ }) : null
+ }),
+ u && d.length ? /* @__PURE__ */ (0, O.jsx)(mA, {
+ tone: "error",
+ status: QA,
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "danger",
+ ...Y(l),
+ onClick: _,
+ children: `删除 ${d.length} 条失效链接`
+ })
+ }) : null,
+ u && !d.length && !f.length ? /* @__PURE__ */ (0, O.jsx)("p", {
+ className: `${pA} text-body-regular text-notification-success-foreground`,
+ children: "全部链接均可访问。"
+ }) : null
+ ]
+ });
+ }
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ id: "link-manager",
+ "aria-labelledby": "link-manager-title",
+ className: "flex scroll-mt-20 flex-col gap-4",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(hA, {
+ id: "link-manager-title",
+ children: "链接管理"
+ }),
+ /* @__PURE__ */ (0, O.jsxs)(_A, {
+ layout: "split",
+ labelledBy: "link-manager-box",
+ footer: /* @__PURE__ */ (0, O.jsx)(G, {
+ leadingIcon: JA,
+ ...Y(s),
+ onClick: () => g(),
+ children: s ? "检查中" : u ? "重新检查" : "检查死链"
+ }),
+ children: [/* @__PURE__ */ (0, O.jsx)(gA, {
+ id: "link-manager-box",
+ gap: "small",
+ children: "站外链接"
+ }), e.isError ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "读取失败",
+ children: K(e.error)
+ }) : m ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
+ children: [/* @__PURE__ */ (0, O.jsx)(tj, {
+ label: "链接总数",
+ value: ej(m.total),
+ note: `分布在 ${ej(m.entities)} 个女优、厂牌与系列`
+ }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(tj, {
+ label: mk[e] || e,
+ value: ej(t)
+ }, e))]
+ }), h ? /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "mt-4 flex min-w-0 flex-col gap-0.5",
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: "主要站点"
+ }), /* @__PURE__ */ (0, O.jsx)("b", {
+ className: "text-body-2-medium break-words text-text-primary",
+ children: h
+ })]
+ }) : null] }) : null]
+ }),
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ "aria-live": "polite",
+ className: "empty:hidden",
+ children: b
+ })
+ ]
+ });
+}
+//#endregion
+//#region src/react/data-cleanup/organize-card.tsx
+var aj = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, oj = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", sj = 8;
+function cj({ plan: e }) {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("ol", {
+ className: "mt-2 flex min-w-0 flex-col gap-1",
+ children: e.rows.slice(0, sj).map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
+ className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-middle-truncate": !0,
+ title: e.current_path,
+ className: "min-w-0 truncate",
+ children: Sk(e.current_path)
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "aria-hidden": !0,
+ children: "→"
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-middle-truncate": !0,
+ title: e.target_path,
+ className: "min-w-0 truncate text-text-primary",
+ children: Sk(e.target_path)
+ })
+ ]
+ }, e.current_path))
+ }), e.truncated ? /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: "只列出前 8 行,完整计划在计划 CSV 里。"
+ }) : null] });
+}
+function lj({ toast: t, failure: n }) {
+ let r = ht({
+ queryKey: bk,
+ queryFn: ({ signal: e }) => xk(e)
+ }), i = r.data, a = i?.locations ?? [], [s, l] = (0, D.useState)(""), u = a.some((e) => e.location === s) ? s : a[0]?.location ?? "", d = i?.templates?.[u], [f, p] = (0, D.useState)(null), m = f?.location === u ? f : {
+ location: u,
+ file: d?.file ?? "",
+ dir: d?.dir ?? ""
+ }, h = (e) => p({
+ ...m,
+ ...e
+ }), [g, _] = (0, D.useState)(null), v = (0, D.useRef)(null), y = (0, D.useRef)(null), b = () => ({
+ location: u,
+ file_template: m.file.trim(),
+ dir_template: m.dir.trim()
+ }), x = gt({
+ mutationFn: Qie,
+ onSuccess: (e, t) => void eae({
+ ...i?.templates ?? {},
+ [t.location]: {
+ file: t.file_template,
+ dir: t.dir_template
+ }
+ }),
+ onError: (e) => {
+ let t = nae.test(K(e)) ? "dir" : "file";
+ _(t), (t === "dir" ? y : v).current?.focus();
+ }
+ }), S = BA({
+ queryKey: bk,
+ queryFn: ({ signal: e }) => xk(e),
+ start: $ie,
+ jobOf: (e) => e,
+ withJob: tae,
+ onStarted: () => x.reset(),
+ onFinish: (e) => {
+ if (X.invalidateQueries({
+ queryKey: bk,
+ exact: !0
+ }), e.status !== "complete") return;
+ let { text: r, failed: i } = wk(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[u] || u, k = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), A = () => {
+ x.isPending || !u || (_(null), x.mutate(b()));
+ }, j = () => void c({
+ title: "按模板整理文件",
+ body: aj(E),
+ confirmLabel: "整理文件",
+ onConfirm: () => S.start.mutateAsync({
+ kind: "apply",
+ request: b()
+ })
+ }), M = () => void c({
+ title: "回滚上一批整理",
+ body: oj,
+ confirmLabel: "回滚整理",
+ onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
+ }), N = null, P = S.job, F = S.outcome;
+ if (P?.status === "running") {
+ let e = P.message || P.stage || "正在整理文件…";
+ N = P.total ? /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-1.5",
+ children: [/* @__PURE__ */ (0, O.jsx)(ww, {
+ label: e,
+ value: P.checked || 0,
+ max: P.total
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: e
+ })]
+ }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: e });
+ } else if (F?.status === "failed") N = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "任务失败",
+ children: F.error || "任务失败"
+ });
+ else if (F) {
+ let { text: e, failed: t } = wk(F);
+ N = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: t ? "warning" : "success",
+ title: t ? "部分完成" : "整理结果",
+ children: e
+ });
+ } else S.start.isError ? N = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "整理失败",
+ children: K(S.start.error)
+ }) : x.isPending ? N = /* @__PURE__ */ (0, O.jsx)(bw, { label: "正在按模板算计划…" }) : x.isError ? N = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "模板不可用",
+ children: K(x.error)
+ }) : w && (N = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "neutral",
+ title: "预览结果",
+ children: rae(w)
+ }), T ? /* @__PURE__ */ (0, O.jsx)(cj, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, O.jsxs)(_A, {
+ layout: "stack",
+ id: "organize",
+ labelledBy: "cleanup-organize-title",
+ attributes: { "data-cleanup-organize": "" },
+ footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)(G, {
+ disabled: !a.length,
+ ...Y(x.isPending),
+ onClick: A,
+ children: "预览"
+ }),
+ T && !C && !S.outcome ? /* @__PURE__ */ (0, O.jsx)(G, {
+ onClick: j,
+ children: "执行整理"
+ }) : null,
+ i?.last_batch ? /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ ...Y(C),
+ onClick: M,
+ children: "回滚上一批"
+ }) : null
+ ] }),
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(gA, {
+ id: "cleanup-organize-title",
+ gap: "medium",
+ children: "整理"
+ }),
+ /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-regular text-text-secondary",
+ children: "按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。"
+ }),
+ r.isError ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mt-3",
+ children: /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "读取失败",
+ children: K(r.error)
+ })
+ }) : null,
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "mt-3 flex flex-col gap-3",
+ children: [
+ a.length ? /* @__PURE__ */ (0, O.jsx)(LA, {
+ "aria-label": "整理哪个来源",
+ className: "w-fit min-w-25",
+ selectedKey: u || null,
+ onSelectionChange: (e) => {
+ e !== null && (l(String(e)), _(null), x.reset());
+ },
+ children: a.map((t) => /* @__PURE__ */ (0, O.jsxs)(RA, {
+ id: t.location,
+ textValue: e[t.location] || t.location,
+ children: [/* @__PURE__ */ (0, O.jsx)(NA, { mark: o[t.location] || "database" }), e[t.location] || t.location]
+ }, t.location))
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)(JD, {
+ label: "文件名模板",
+ placeholder: "{number}[ {title}]",
+ value: m.file,
+ ref: v,
+ spellCheck: "false",
+ isInvalid: g === "file",
+ onChange: (e) => {
+ h({ file: e }), _(null);
+ }
+ }),
+ /* @__PURE__ */ (0, O.jsx)(JD, {
+ label: "目录模板",
+ placeholder: "留空表示原地改名",
+ value: m.dir,
+ ref: y,
+ spellCheck: "false",
+ isInvalid: g === "dir",
+ onChange: (e) => {
+ h({ dir: e }), _(null);
+ }
+ }),
+ i?.presets?.length ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-wrap gap-2",
+ children: i.presets.map((e) => /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ onClick: () => {
+ h({
+ file: e.file,
+ dir: e.dir
+ }), _(null);
+ },
+ children: e.label
+ }, e.label))
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-caption-1-regular leading-4.5 text-text-secondary",
+ children: `${k};方括号里的内容在字段为空时整段省略。`
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ "aria-live": "polite",
+ className: "mt-3 flex flex-col gap-2 empty:hidden",
+ children: N
+ })
+ ]
+ });
}
//#endregion
-//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function nA({ className: e, children: t }) {
- return /* @__PURE__ */ (0, D.jsx)("div", {
- className: lw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
- children: t
- });
+//#region src/react/data-cleanup/resource-sync-card.tsx
+var uj = nA("git-compare"), dj = nA("rotate-cw"), fj = "暂时无法读取进度,正在重新连接…", pj = "清理失效条目", mj = "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", hj = (e) => Number(e || 0).toLocaleString();
+function gj({ scan: e }) {
+ let t = e.cache ?? {
+ files: 0,
+ bytes: 0
+ };
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", {
+ className: mj,
+ children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, O.jsx)("article", {
+ className: aA(),
+ children: /* @__PURE__ */ (0, O.jsx)(oA, {
+ label: Pk[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, O.jsx)(NA, { mark: o[e.location] ?? "database" }),
+ aside: /* @__PURE__ */ (0, O.jsx)("span", {
+ className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
+ children: e.online ? "可访问" : "离线,已跳过"
+ }),
+ figure: e.online ? `${hj(e.missing)} 项` : "—",
+ meta: zk(e),
+ wrapMeta: !0
+ })
+ }, e.location))
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: mj,
+ children: [
+ /* @__PURE__ */ (0, O.jsx)("article", {
+ className: aA(),
+ children: /* @__PURE__ */ (0, O.jsx)(oA, {
+ label: "待永久删除",
+ figure: `${hj(e.missing)} 项`,
+ meta: "文件已不在盘上,含回收站"
+ })
+ }),
+ /* @__PURE__ */ (0, O.jsx)("article", {
+ className: aA(),
+ children: /* @__PURE__ */ (0, O.jsx)(oA, {
+ label: "空文件夹",
+ figure: `${hj(e.empty)} 个`,
+ meta: "保留来源根目录"
+ })
+ }),
+ /* @__PURE__ */ (0, O.jsx)("article", {
+ className: aA(),
+ children: /* @__PURE__ */ (0, O.jsx)(oA, {
+ label: "可清理的缓存",
+ figure: `${hj(t.files)} 个`,
+ meta: t.files ? n(t.bytes) : ""
+ })
+ })
+ ]
+ })] });
}
-function rA({ className: e, children: t }) {
- return /* @__PURE__ */ (0, D.jsx)("p", {
- className: lw("w-full px-3 text-body-2-medium text-text-secondary", e),
- children: t
+function _j({ toast: e }) {
+ let t = BA({
+ queryKey: Ok,
+ queryFn: ({ signal: e }) => Ak(e),
+ start: aae,
+ onFinish: (t) => {
+ if (X.invalidateQueries({
+ queryKey: qk,
+ exact: !0
+ }), X.invalidateQueries({
+ queryKey: Dk,
+ exact: !0
+ }), t.status !== "complete") return;
+ let { done: n, left: r } = Bk(t);
+ r ? e(`已完成 ${hj(n)} 项,${hj(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ }
+ }), r = BA({
+ queryKey: Dk,
+ queryFn: ({ signal: e }) => kk(e),
+ start: iae,
+ onStarted: () => t.dismiss()
+ }), i = r.job, a = r.running || r.start.isPending, o = t.running || t.start.isPending, s = i?.status === "complete" || i?.status === "failed", l = a ? "扫描中" : s ? "重新扫描" : "检查文件", u = (e) => void c({
+ title: pj,
+ body: Rk(e),
+ confirmLabel: pj,
+ danger: !0,
+ onConfirm: () => t.start.mutateAsync(e.scan_id || "")
+ }), d = t.outcome, f = (e) => {
+ let t = Bk(e).left > 0;
+ return /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: t ? "warning" : "success",
+ title: t ? "部分完成" : "清理结果",
+ children: Vk(e, n)
+ });
+ }, p = null;
+ if (d?.status === "failed") p = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "任务失败",
+ children: d.error || "任务失败"
});
-}
-function iA({ label: e, description: t, children: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: lw("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, D.jsxs)("div", {
- className: "flex min-w-0 flex-col",
- children: [/* @__PURE__ */ (0, D.jsx)("p", {
- className: "text-body-regular text-text-primary",
- children: e
- }), t && /* @__PURE__ */ (0, D.jsx)("p", {
- className: "text-body-2-regular text-text-secondary",
- children: t
- })]
- }), n]
+ else if (d) p = f(d);
+ else if (t.running) p = /* @__PURE__ */ (0, O.jsx)(bw, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (r.start.isError) p = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "扫描失败",
+ children: K(r.start.error)
});
-}
-//#endregion
-//#region src/react/boardui/components/base/buttons/link-button.tsx
-var aA = uw({
- base: [
- "inline-flex items-center justify-center gap-1 whitespace-nowrap",
- "font-sans select-none cursor-pointer rounded-sm",
- "underline-offset-3 hover:underline",
- "transition-colors duration-150 ease",
- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",
- "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"
- ].join(" "),
- size: {
- medium: "text-body-medium",
- small: "text-body-medium",
- xs: "text-caption-1-semibold"
- },
- icon: {
- medium: "size-5 shrink-0",
- small: "size-[18px] shrink-0",
- xs: "size-3.5 shrink-0"
- },
- variant: {
- primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),
- secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
- }
-});
-function oA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = lw(aA.base, aA.size[t], aA.variant[e], a), l = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- n ? /* @__PURE__ */ (0, D.jsx)(n, {
- className: aA.icon[t],
- "aria-hidden": !0
- }) : null,
- i != null && /* @__PURE__ */ (0, D.jsx)("span", { children: i }),
- r ? /* @__PURE__ */ (0, D.jsx)(r, {
- className: aA.icon[t],
- "aria-hidden": !0
- }) : null
- ] });
- if (s.href !== void 0) {
- let { ref: e, href: t, ...n } = s;
- return /* @__PURE__ */ (0, D.jsx)("a", {
- ref: e,
- href: o ? void 0 : t,
- "aria-disabled": o || void 0,
- className: c,
- ...n,
- children: l
+ else if (r.query.isError && i) p = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "neutral",
+ title: "任务状态",
+ children: fj
+ });
+ else if (i?.status === "running") {
+ let e = Ik(i);
+ p = /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5",
+ children: i.total_sources ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(ww, {
+ label: e,
+ value: i.completed_sources || 0,
+ max: i.total_sources
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: e
+ })] }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: "正在检查本地磁盘和网盘…" })
});
+ } else if (i?.status === "failed") p = /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "扫描失败",
+ children: i.error || "后台扫描失败"
+ });
+ else if (i?.status === "complete" && i.applied) p = t.job?.status === "complete" ? f(t.job) : /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "neutral",
+ title: "清理结果",
+ children: "这次检查的结果已经清理,重新扫描可再核对。"
+ });
+ else if (i?.status === "complete") {
+ let e = Nk(i);
+ p = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)(gj, { scan: i }),
+ e ? /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "neutral",
+ title: "清理内容",
+ children: Lk(i)
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex flex-wrap items-center justify-end gap-2",
+ children: e ? /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "danger",
+ ...Y(o),
+ onClick: () => u(i),
+ children: o ? "正在复核并清理…" : pj
+ }) : /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "mr-auto text-body-regular text-notification-success-foreground",
+ children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
+ })
+ })
+ ] });
}
- let { ref: u, type: d = "button", ...f } = s;
- return /* @__PURE__ */ (0, D.jsx)("button", {
- ref: u,
- type: d,
- disabled: o,
- className: c,
- ...f,
- children: l
+ return t.start.isError && !d && (p = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [p, /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "清理失败",
+ children: K(t.start.error)
+ })] })), /* @__PURE__ */ (0, O.jsxs)("section", {
+ id: "resource-sync",
+ "aria-labelledby": "resource-sync-title",
+ className: "flex scroll-mt-20 flex-col gap-4",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(hA, {
+ id: "resource-sync-title",
+ children: "资源同步"
+ }),
+ /* @__PURE__ */ (0, O.jsxs)(_A, {
+ layout: "split",
+ labelledBy: "resource-sync-box",
+ footer: /* @__PURE__ */ (0, O.jsx)(G, {
+ "data-resource-scan": !0,
+ leadingIcon: s && !a ? dj : uj,
+ ...Y(a),
+ onClick: () => {
+ a || r.start.mutate();
+ },
+ children: l
+ }),
+ children: [/* @__PURE__ */ (0, O.jsx)(gA, {
+ id: "resource-sync-box",
+ gap: "small",
+ children: "文件与记录核对"
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "max-w-190 text-body-2-regular leading-5 text-text-secondary",
+ children: "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。"
+ })]
+ }),
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ "aria-live": "polite",
+ className: "flex flex-col gap-4 empty:hidden",
+ children: p
+ })
+ ]
});
}
//#endregion
-//#region src/react/settings/section.tsx
-function sA({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
- let a = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [n ? /* @__PURE__ */ (0, D.jsxs)("div", {
- className: "flex w-full flex-wrap items-center justify-between gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
- className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, D.jsx)(rA, { children: e })
- }), n]
- }) : /* @__PURE__ */ (0, D.jsx)(rA, { children: e }), /* @__PURE__ */ (0, D.jsx)(nA, { children: i })] });
- return r ? /* @__PURE__ */ (0, D.jsx)("form", {
- id: t,
- "aria-label": e,
- noValidate: !0,
- onSubmit: r,
- className: "flex w-full flex-col gap-2",
- children: a
- }) : /* @__PURE__ */ (0, D.jsx)("section", {
- id: t,
- "aria-label": e,
- className: "flex w-full flex-col gap-2",
- children: a
+//#region src/react/data-cleanup/data-cleanup-page.tsx
+function vj(e, t) {
+ return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
+}
+function yj({ section: e, label: t, icon: n, value: r, open: i }) {
+ return /* @__PURE__ */ (0, O.jsx)("button", {
+ type: "button",
+ className: aA({ interactive: !0 }),
+ "data-cleanup-go": e,
+ onClick: () => i(e),
+ children: /* @__PURE__ */ (0, O.jsx)(oA, {
+ label: t,
+ icon: n,
+ figure: r.figure,
+ meta: r.meta
+ })
});
}
-function cA({ children: e }) {
- return /* @__PURE__ */ (0, D.jsx)("div", {
- className: "flex flex-col",
- children: e
+var bj = nA("square-check-big"), xj = nA("sparkles"), Sj = nA("file-stack"), Cj = nA("file-archive"), wj = nA("trash"), Tj = [
+ Uk,
+ zO,
+ bO
+], Ej = () => {
+ for (let e of Tj) X.invalidateQueries({
+ queryKey: e,
+ exact: !0
});
+};
+function Dj({ toast: e, failure: t, open: r }) {
+ let i = ht({
+ queryKey: Uk,
+ queryFn: ({ signal: e }) => Yk(e)
+ }), a = ht({
+ queryKey: zO,
+ queryFn: ({ signal: e }) => BO(e)
+ }), o = ht({
+ queryKey: bO,
+ queryFn: ({ signal: e }) => xO(e)
+ }), s = ht({
+ queryKey: Gk,
+ queryFn: ({ signal: e }) => Xk(e)
+ }), c = ht({
+ queryKey: qk,
+ queryFn: ({ signal: e }) => Zk(e)
+ }), l = ht({
+ queryKey: _O,
+ queryFn: ({ signal: e }) => vO(e)
+ }), u = (t) => e(t);
+ return /* @__PURE__ */ (0, O.jsxs)(xw, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: dae,
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(yj, {
+ section: "review",
+ label: "人工复核",
+ icon: bj,
+ open: r,
+ value: vj(i, $k)
+ }),
+ /* @__PURE__ */ (0, O.jsx)(yj, {
+ section: "quality",
+ label: "高清版",
+ icon: xj,
+ open: r,
+ value: vj(a, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ }),
+ /* @__PURE__ */ (0, O.jsx)(yj, {
+ section: "duplicates",
+ label: "重复文件",
+ icon: Sj,
+ open: r,
+ value: vj(o, (e) => Number(e.total || 0) ? {
+ figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
+ meta: `可回收 ${n(e.reclaimable || 0)}`
+ } : { figure: "没有重复内容" })
+ }),
+ /* @__PURE__ */ (0, O.jsx)(yj, {
+ section: "ads",
+ label: "垃圾文件",
+ icon: Cj,
+ open: r,
+ value: vj(s, (e) => ({
+ figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
+ meta: eA(e)
+ }))
+ }),
+ /* @__PURE__ */ (0, O.jsx)(yj, {
+ section: "trash",
+ label: "回收站",
+ icon: wj,
+ open: r,
+ value: vj(c, (e) => ({
+ figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
+ meta: e.total ? `占用 ${n(e.bytes || 0)}` : ""
+ }))
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-4 max-cleanup-tight:gap-3",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ id: "libraryProcessing",
+ className: "scroll-mt-20",
+ children: /* @__PURE__ */ (0, O.jsx)(FA, {
+ toast: u,
+ monitor: !0,
+ onComplete: Ej
+ })
+ }),
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ id: "mediaRepair",
+ children: /* @__PURE__ */ (0, O.jsx)(HA, {})
+ }),
+ /* @__PURE__ */ (0, O.jsx)(lj, {
+ toast: u,
+ failure: t
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, O.jsx)(ij, {}),
+ jk(l.data) ? /* @__PURE__ */ (0, O.jsx)(_j, { toast: e }) : null
+ ] });
}
-function lA({ divided: e = !1, children: t }) {
- return e ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
- children: t
- }) : /* @__PURE__ */ (0, D.jsx)("div", {
- className: "flex flex-col gap-4 py-4 pr-3",
- children: t
+//#endregion
+//#region src/react/components/collection-summary.tsx
+function Oj({ label: e, figure: t, detail: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5\n max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4\n dark:bg-background-primary-default",
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex min-w-0 flex-col gap-2",
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
+ className: "text-body-regular text-text-secondary",
+ children: e
+ }), /* @__PURE__ */ (0, O.jsx)("strong", {
+ className: "text-display-4-medium tabular-nums text-text-primary",
+ children: t
+ })]
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-regular text-text-secondary",
+ children: n
+ })]
});
}
-function uA({ status: e, children: t }) {
- return /* @__PURE__ */ (0, D.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, D.jsx)("div", {
- className: "mr-auto min-w-0 text-body-2-regular text-text-secondary",
+//#endregion
+//#region src/react/components/use-stuck.ts
+function kj(e) {
+ (0, D.useEffect)(() => {
+ let t = e.current;
+ if (!t) return;
+ let n = 0, r = () => {
+ n = 0;
+ let e = parseFloat(getComputedStyle(t).top), r = window.scrollY > 0 && Number.isFinite(e) && t.getBoundingClientRect().top <= e + 1;
+ t.toggleAttribute("data-stuck", r);
+ }, i = () => {
+ n ||= requestAnimationFrame(r);
+ };
+ return r(), addEventListener("scroll", i, { passive: !0 }), addEventListener("resize", i), () => {
+ cancelAnimationFrame(n), removeEventListener("scroll", i), removeEventListener("resize", i);
+ };
+ }, [e]);
+}
+//#endregion
+//#region src/react/components/filter-glass.tsx
+function Aj({ title: e, children: t }) {
+ let n = (0, D.useRef)(null);
+ return kj(n), /* @__PURE__ */ (0, O.jsxs)("div", {
+ ref: n,
+ role: "group",
+ "aria-label": e,
+ "data-filter-glass": !0,
+ "data-glass-pane": "",
+ className: "sticky top-topbar z-10 mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5",
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
+ className: "mr-1 text-body-medium",
children: e
- }) : null, t]
+ }), t]
});
}
-function dA({ role: e, children: t }) {
- return /* @__PURE__ */ (0, D.jsx)("p", {
- role: e,
- className: "text-body-2-regular text-text-secondary",
- children: t
+function jj({ label: e, topLabel: t, top: n, bottom: r }) {
+ let i = (0, D.useRef)(null);
+ return kj(i), /* @__PURE__ */ (0, O.jsxs)("div", {
+ ref: i,
+ role: "group",
+ "aria-label": e,
+ "data-filter-glass": !0,
+ "data-glass-pane": "",
+ className: "sticky top-topbar z-10 mb-5.5 flex flex-col",
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
+ role: "group",
+ "aria-label": t,
+ "data-filter-row": "top",
+ className: "flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2",
+ children: n
+ }), /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-filter-row": "bottom",
+ className: "flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2",
+ children: r
+ })]
});
}
-function fA({ children: e }) {
- return /* @__PURE__ */ (0, D.jsx)("p", {
- role: "alert",
- className: "text-body-2-regular text-text-error-primary",
+var Mj = "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 Nj({ children: e, pressed: t, onPress: n, ...r }) {
+ return /* @__PURE__ */ (0, O.jsx)("button", {
+ type: "button",
+ ...r,
+ "aria-pressed": t,
+ className: Mj,
+ onClick: n,
children: e
});
}
-function pA({ children: e }) {
- return /* @__PURE__ */ (0, D.jsx)("p", {
- className: "text-body-medium text-text-primary",
+var Pj = "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 Fj({ children: e, onPress: t, busy: n = !1 }) {
+ return /* @__PURE__ */ (0, O.jsx)("button", {
+ type: "button",
+ className: Pj,
+ "aria-busy": n || void 0,
+ "aria-disabled": n || void 0,
+ onClick: () => {
+ n || t();
+ },
children: e
});
}
-function mA({ href: e, children: t }) {
- return /* @__PURE__ */ (0, D.jsx)(oA, {
- href: e,
- target: "_blank",
- rel: "noopener noreferrer",
- size: "small",
- trailingIcon: wS,
- children: t
+//#endregion
+//#region src/react/duplicates/duplicates-page.tsx
+var Ij = nA("play"), Lj = nA("file-stack"), Rj = _w({
+ padding: "none",
+ radius: "surface",
+ className: "mb-6 overflow-hidden dark:bg-background-primary-default"
+}), zj = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Bj = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", Vj = "font-mono text-caption-1-regular leading-5 text-text-secondary", Hj = () => {
+ X.invalidateQueries({
+ queryKey: bO,
+ exact: !0
+ }), X.invalidateQueries({
+ queryKey: qk,
+ exact: !0
});
-}
-function hA({ children: e }) {
- return /* @__PURE__ */ (0, D.jsx)("dl", {
- className: "flex flex-col",
- children: e
+};
+function Uj(e) {
+ return e.identical ? /* @__PURE__ */ (0, O.jsx)("span", {
+ className: `${Bj} text-(--keep)`,
+ children: "sha1 一致"
+ }) : /* @__PURE__ */ (0, O.jsx)("span", {
+ className: `${Bj} text-text-secondary`,
+ children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function gA({ term: e, children: t }) {
- return /* @__PURE__ */ (0, D.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, D.jsx)("dt", {
- className: "flex shrink-0 items-center gap-2 text-body-regular text-text-secondary",
- children: e
- }), /* @__PURE__ */ (0, D.jsx)("dd", {
- className: "flex min-w-0 flex-wrap items-center justify-end gap-2 text-right text-body-regular break-all text-text-primary",
- children: t
- })]
+function Wj({ file: r, openItem: i }) {
+ let a = () => i(r.id);
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
+ children: [
+ /* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ onClick: a,
+ "aria-label": `预览 ${r.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, O.jsx)(Ij, {
+ "aria-hidden": !0,
+ className: "size-6"
+ }), /* @__PURE__ */ (0, O.jsx)("img", {
+ src: `/thumb?id=${r.id}&c=4`,
+ alt: "",
+ loading: "lazy",
+ onError: (e) => e.currentTarget.remove(),
+ className: "absolute inset-0 size-full object-contain"
+ })]
+ }),
+ /* @__PURE__ */ (0, O.jsxs)("span", {
+ className: "flex min-w-0 items-center gap-2 max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1",
+ children: [/* @__PURE__ */ (0, O.jsx)("button", {
+ type: "button",
+ onClick: a,
+ title: r.name,
+ "data-middle-truncate": !0,
+ "data-middle-truncate-within": !0,
+ className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",
+ children: r.name
+ }), r.is_largest || r.is_longest ? /* @__PURE__ */ (0, O.jsxs)("span", {
+ className: "flex flex-none gap-1",
+ children: [r.is_largest ? /* @__PURE__ */ (0, O.jsx)("i", {
+ className: `${zj} not-italic bg-background-primary-hover text-text-secondary`,
+ children: "最大"
+ }) : null, r.is_longest ? /* @__PURE__ */ (0, O.jsx)("i", {
+ className: `${zj} not-italic bg-(--keep)/22 text-(--keep)`,
+ children: "最长"
+ }) : null]
+ }) : null]
+ }),
+ /* @__PURE__ */ (0, O.jsxs)("span", {
+ className: `${Vj} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, O.jsx)(NA, { mark: o[r.location] || "database" }), /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "whitespace-nowrap",
+ children: e[r.location] || r.location || r.drive
+ })]
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: Vj,
+ children: n(r.size || 0)
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: Vj,
+ children: t(r.duration)
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-middle-truncate": !0,
+ title: r.path ?? "",
+ className: `${Vj} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ children: r.path ?? ""
+ })
+ ]
});
}
-function _A({ summary: e, defaultOpen: t = !1, children: n }) {
- let r = (0, E.useId)(), i = (0, E.useRef)(null), a = (0, E.useRef)(null), o = (0, E.useRef)(!1), [s, c] = (0, E.useState)(t);
- return /* @__PURE__ */ (0, D.jsxs)("details", {
- ref: (e) => {
- i.current = e, e && t && !o.current && (o.current = !0, e.open = !0);
+function Gj({ openItem: t, toast: r, failure: i }) {
+ let a = ht({
+ queryKey: bO,
+ queryFn: ({ signal: e }) => xO(e)
+ }), o = ht({
+ queryKey: _O,
+ queryFn: ({ signal: e }) => vO(e)
+ }), [s, l] = (0, D.useState)(""), u = gt({
+ mutationFn: (e) => wO(e, "dispose"),
+ onSuccess: (e, t) => {
+ Hj(), r(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ try {
+ await wO(t, "restore");
+ } catch (e) {
+ i("撤销移入回收站", e);
+ } finally {
+ Hj();
+ }
+ } });
},
- children: [/* @__PURE__ */ (0, D.jsxs)("summary", {
- "aria-expanded": s,
- "aria-controls": r,
- onClick: (e) => {
- e.preventDefault(), !(!i.current || !a.current) && (l(i.current, a.current, !s), c(!s));
- },
- className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, D.jsx)(_S, {
- "aria-hidden": !0,
- className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
- }), e]
- }), /* @__PURE__ */ (0, D.jsx)("div", {
- ref: a,
- id: r,
- inert: !s,
- children: /* @__PURE__ */ (0, D.jsx)("div", {
- className: "flex flex-col gap-2 pt-3",
- children: n
+ onSettled: () => l("")
+ }), d = a.data;
+ if (!d) return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mx-auto w-full max-w-board",
+ children: /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "读取失败",
+ children: a.error ? K(a.error) : "读取重复文件失败"
+ })
+ });
+ let f = d.groups ?? [], p = rie(o.data), m = ({ groups: e, keep: t, key: r }) => {
+ if (u.isPending) return;
+ let i = lie(e, t);
+ i.length && c({
+ title: "移入回收站",
+ body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${SO[t] ?? SO.largest}。文件共 ${n(uie(e, i))},记录可从回收站还原。`,
+ confirmLabel: "移入回收站",
+ onConfirm: () => (l(r), u.mutateAsync(i))
+ });
+ }, h = (e) => Y(s === e && u.isPending);
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "mx-auto w-full max-w-board pb-10.5",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(Oj, {
+ label: "重复内容",
+ figure: `${Number(d.total || 0).toLocaleString()} 组`,
+ detail: `${d.files} 个文件 · 可回收 ${n(d.reclaimable)}`
+ }),
+ f.length ? /* @__PURE__ */ (0, O.jsxs)(Aj, {
+ title: "批量保留",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(Fj, {
+ busy: s === "all:largest",
+ onPress: () => m({
+ groups: f,
+ keep: "largest",
+ key: "all:largest"
+ }),
+ children: "全部保留最大"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(Fj, {
+ busy: s === "all:longest",
+ onPress: () => m({
+ groups: f,
+ keep: "longest",
+ key: "all:longest"
+ }),
+ children: "全部保留最长"
+ }),
+ cie(f, p).map((t) => /* @__PURE__ */ (0, O.jsx)(Fj, {
+ busy: s === `all:${t}`,
+ onPress: () => m({
+ groups: f,
+ keep: t,
+ key: `all:${t}`
+ }),
+ children: `全部优先 ${e[t] || t}`
+ }, t))
+ ]
+ }) : null,
+ u.isError ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mb-5",
+ children: /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "移入回收站失败",
+ children: K(u.error)
+ })
+ }) : null,
+ f.length ? f.map((r, i) => {
+ let a = [r], o = (e) => `${i}:${e}`;
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ "aria-label": r.code,
+ className: Rj,
+ children: [/* @__PURE__ */ (0, O.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: [
+ /* @__PURE__ */ (0, O.jsx)("b", {
+ className: "text-title-2-medium text-text-primary",
+ children: r.code
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "font-mono text-caption-1-regular leading-5 text-text-primary",
+ children: `${r.count} 个 · 可回收 ${n(r.reclaimable)}`
+ }),
+ Uj(r),
+ r.cross_drive ? /* @__PURE__ */ (0, O.jsx)("span", {
+ className: `${Bj} text-text-secondary`,
+ children: `跨盘 ${r.drives.join(" ")}`
+ }) : null,
+ /* @__PURE__ */ (0, O.jsxs)("span", {
+ className: "ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ ...h(o("largest")),
+ onClick: () => m({
+ groups: a,
+ keep: "largest",
+ key: o("largest")
+ }),
+ children: "留最大"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ ...h(o("longest")),
+ onClick: () => m({
+ groups: a,
+ keep: "longest",
+ key: o("longest")
+ }),
+ children: "留最长"
+ }),
+ CO(r.files, p).map((t) => /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ ...h(o(t)),
+ onClick: () => m({
+ groups: a,
+ keep: t,
+ key: o(t)
+ }),
+ children: `留 ${e[t] || t}`
+ }, t)),
+ /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "danger",
+ size: "small",
+ ...h(o("all")),
+ onClick: () => m({
+ groups: a,
+ keep: "all",
+ key: o("all")
+ }),
+ children: "整组回收"
+ })
+ ]
+ })
+ ]
+ }), /* @__PURE__ */ (0, O.jsx)("div", { children: r.files.map((e) => /* @__PURE__ */ (0, O.jsx)(Wj, {
+ file: e,
+ openItem: t
+ }, e.id)) })]
+ }, `${r.code}-${i}`);
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
+ icon: Lj,
+ title: "没有找到重复文件",
+ children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
- })]
+ ]
});
}
-function iie({ name: e }) {
- return /* @__PURE__ */ (0, D.jsx)("svg", {
- "aria-hidden": !0,
- viewBox: "0 0 24 24",
- fill: "none",
- className: "size-4 shrink-0 stroke-current stroke-2",
- children: /* @__PURE__ */ (0, D.jsx)("use", { href: `#i-${e}` })
+//#endregion
+//#region src/follow-sort.ts
+var Kj = [
+ ["checked", "检查时间"],
+ ["added", "添加时间"],
+ ["name", "创作者名称"],
+ ["sources", "来源数量"],
+ ["source", "来源名称"],
+ ["provider", "站点"],
+ ["status", "状态"]
+], qj = "checked", Jj = {
+ checked: "desc",
+ added: "desc",
+ name: "asc",
+ sources: "desc",
+ source: "asc",
+ provider: "asc",
+ status: "asc"
+}, Yj = (e) => Kj.some(([t]) => t === e);
+function Xj(e, t) {
+ let n = Yj(e) ? e : qj;
+ return {
+ sort: n,
+ dir: t === "asc" || t === "desc" ? t : Jj[n]
+ };
+}
+//#endregion
+//#region src/react/follow-manage/follow-manage.ts
+var Zj = "/api/follow", zae = "/api/follow/credentials", Qj = "/api/follow/check", $j = "/api/follow/source", eM = "/api/follow/resolve", Bae = "/api/follow/suggest", tM = "/api/follow/author-alias", Vae = "/api/follow/credential", Hae = "/api/follow/status", Uae = "/api/feeds", nM = "/api/feeds/source", Wae = "/api/feeds/check", rM = ["follow-manage"], iM = ["follow-manage", "credentials"], Gae = ["follow-manage", "check"], Kae = ["follow-manage", "resolve"], aM = ["follow-manage", "feeds"], qae = (e) => [
+ "follow-manage",
+ "suggest",
+ e
+], oM = [["default", "默认视图"], ["table", "表格视图"]], sM = [
+ 10,
+ 20,
+ 50,
+ 100
+], Jae = Object.fromEntries(Kj), cM = {
+ author: "name",
+ source: "source",
+ provider: "provider",
+ status: "status",
+ checked: "checked"
+}, Yae = (e) => oM.some(([t]) => t === e), Xae = (e) => sM.includes(Number(e)) ? Number(e) : 20, Zae = {
+ checked: ["从近到远", "从远到近"],
+ added: ["从近到远", "从远到近"],
+ name: ["倒序", "正序"],
+ sources: ["从多到少", "从少到多"],
+ source: ["倒序", "正序"],
+ provider: ["倒序", "正序"],
+ status: ["倒序", "正序"]
+}, Qae = (e, t) => `按${Jae[e]}${Zae[e][t === "asc" ? 0 : 1]}排序`;
+function lM(e) {
+ let t = e.last_status;
+ return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
+}
+function $ae(e) {
+ return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
+}
+var uM = (e) => e.last_status === "error" || e.last_status === "unauthorized", dM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), fM = {
+ source: dM,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || dM(e, t),
+ status: (e, t) => lM(e) - lM(t) || dM(e, t)
+}, pM = (e) => Date.parse(e || "") || 0, mM = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function hM(e, t = []) {
+ if (!e.length) return "";
+ let n = (e) => String(e.author_name || "").trim() || mM(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 mM(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);
+ if (!o.length) return e[0].label || e[0].ref || "";
+ let s = (e) => (e.match(/[A-Z]/g) || []).length;
+ return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
+}
+function eoe(e) {
+ let t = e.trim().match(/[A-Za-z0-9]/);
+ return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
+}
+function toe(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 gM(e) {
+ let t = [], n = /* @__PURE__ */ new Map();
+ for (let r of e) {
+ let e = r.author_key || `source:${r.id}`;
+ n.has(e) || (n.set(e, []), t.push(e)), n.get(e).push(r);
+ }
+ return t.map((e) => n.get(e));
+}
+function noe(e, t, n, r = []) {
+ let i = gM(e), a = n === Jj[t] ? 1 : -1, o = (e) => hM(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = fM[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) => pM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => pM(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 roe(e, t, n, r = []) {
+ let i = e.flatMap((e) => {
+ let t = hM(e, r);
+ return e.map((n) => ({
+ source: n,
+ group: e,
+ author: t
+ }));
+ }), a = fM[t];
+ if (a) {
+ let e = n === Jj[t] ? 1 : -1;
+ i.sort((t, n) => e * a(t.source, n.source));
+ }
+ return i;
+}
+function ioe(e, t, n) {
+ let r = HO(e, t), i = UO(n, r), a = (i - 1) * t;
+ return {
+ page: i,
+ pages: r,
+ total: e,
+ start: a,
+ end: Math.min(a + t, e)
+ };
+}
+function aoe(e, t) {
+ let n = new Set(t.map((e) => e.id));
+ return new Set([...e].filter((e) => n.has(e)));
+}
+function _M(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 vM(e, t, n) {
+ let r = new Set(e);
+ for (let e of t) n ? r.add(e) : r.delete(e);
+ return r;
+}
+var yM = (e) => lw(`${Zj}?summary=1`, e), bM = (e) => lw(zae, e), ooe = (e) => lw(Qj, e), soe = (e) => lw(eM, e), coe = (e, t) => lw(`${Bae}?q=${encodeURIComponent(e)}`, t), xM = (e) => q(Qj, {
+ ...e?.length ? { sources: e } : {},
+ background: !0
+}), loe = (e) => q(eM, {
+ lines: e,
+ background: !0
+}), uoe = (e, t) => q($j, {
+ action: "enabled",
+ id: e,
+ enabled: t
+}), SM = (e) => q($j, {
+ action: "remove",
+ id: e
+}), doe = (e) => q($j, {
+ action: "add",
+ url: e.url,
+ label: e.label,
+ author: e.author || "",
+ aliases: e.aliases || [],
+ defer_check: !0
+}), CM = (e, t) => q(tM, {
+ action: "add",
+ canonical: e,
+ alias: t
+}), foe = (e) => q(tM, {
+ action: "remove",
+ alias: e
+}), poe = (e, t) => q(Vae, {
+ provider: e,
+ values: t
+}), moe = (e, t) => q(Hae, {
+ item: e,
+ to: t
+}), hoe = () => lw(`${Zj}?status=new&limit=1000`);
+async function wM(e) {
+ let t = await lw(Uae, e);
+ if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
+ return t;
+}
+var goe = (e, t, n) => q(nM, {
+ action: "enabled",
+ id: e,
+ enabled: t
+}, "POST", n), _oe = (e, t) => q(nM, {
+ action: "remove",
+ id: e
+}, "POST", t), voe = (e) => q(Wae, { all: !0 }, "POST", e);
+async function yoe(e, t = "") {
+ await Promise.all([
+ X.fetchQuery({
+ queryKey: rM,
+ queryFn: () => yM(e)
+ }),
+ X.fetchQuery({
+ queryKey: iM,
+ queryFn: () => bM(e)
+ }),
+ t === "feeds" ? X.fetchQuery({
+ queryKey: aM,
+ queryFn: () => wM(e)
+ }) : null
+ ]);
+}
+function boe(e, t) {
+ X.setQueryData(rM, (n) => n && {
+ ...n,
+ sources: n.sources.map((n) => n.id === e ? {
+ ...n,
+ ...t
+ } : n)
});
}
-function vA({ mark: e }) {
- return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, D.jsx)("img", {
- src: e,
- alt: "",
- width: 16,
- height: 16,
- className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, D.jsx)(iie, { name: e });
+function TM(e) {
+ let t = new Set(e);
+ X.setQueryData(rM, (e) => e && {
+ ...e,
+ sources: e.sources.filter((e) => !t.has(e.id))
+ });
+}
+var EM = () => X.invalidateQueries({
+ queryKey: rM,
+ exact: !0
+});
+function xoe(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 Soe = (e) => (e?.results || []).filter((e) => !e.ok), Coe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", DM = (e) => e.last_checked_at ? GO(e.last_checked_at) : "未检查", woe = /* @__PURE__ */ new Set([
+ "fanbox",
+ "patreon",
+ "subscribestar",
+ "kemono",
+ "coomer",
+ "pawchive",
+ "rule34video",
+ "rule34xxx",
+ "rule34paheal",
+ "gofile",
+ "f95zone",
+ "simpcity"
+]), Toe = (e) => woe.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Eoe = {
+ required: "需要",
+ optional: "可选",
+ none: "不需要",
+ blocked: "接不进来"
+}, OM = (e) => !!e.present && !e.missing.length, kM = "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", AM = "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-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Doe = "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-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Ooe = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", koe = "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/follow-manage/source-view.tsx
-function yA({ provider: e, label: t }) {
- let n = Xre(e), [r, i] = (0, E.useState)(!1);
- return !n || r ? t ? /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: t }) : null : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("img", {
+function jM({ provider: e, label: t }) {
+ let n = Toe(e), [r, i] = (0, D.useState)(!1);
+ return !n || r ? t ? /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: t }) : null : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("img", {
src: n,
alt: "",
width: 14,
@@ -32067,11 +34476,11 @@ function yA({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, D.jsx)(M_, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, O.jsx)(G_, { children: t }) : null] });
}
-function bA({ group: e, name: t }) {
- let { src: n, fallback: r } = Ere(e), [i, a] = (0, E.useState)(0), o = [n, r].filter(Boolean)[i];
- return o ? /* @__PURE__ */ (0, D.jsx)("img", {
+function MM({ group: e, name: t }) {
+ let { src: n, fallback: r } = toe(e), [i, a] = (0, D.useState)(0), o = [n, r].filter(Boolean)[i];
+ return o ? /* @__PURE__ */ (0, O.jsx)("img", {
src: o,
alt: "",
width: 32,
@@ -32080,22 +34489,22 @@ function bA({ group: e, name: t }) {
referrerPolicy: "no-referrer",
onError: () => a(i + 1),
className: "size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"
- }) : /* @__PURE__ */ (0, D.jsx)("span", {
+ }) : /* @__PURE__ */ (0, O.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: Tre(t)
+ children: eoe(t)
});
}
-function xA({ source: e }) {
- let t = wk(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, D.jsx)(fw, {
+function NM({ source: e }) {
+ let t = uM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: t,
- children: wre(e)
+ children: $ae(e)
});
}
-function SA({ source: e }) {
- return /* @__PURE__ */ (0, D.jsx)("a", {
+function PM({ source: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer noopener",
@@ -32106,11 +34515,11 @@ function SA({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var CA = lw(Qk, $k, "text-body-2-medium"), aie = "粘贴来源链接,或输入创作者名、id…", oie = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", sie = "识别中…", cie = "站内没有查到来源", wA = (e, t) => `${e}:${t.url}`;
-function lie({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
- return (0, E.useEffect)(() => {
+var FM = tw(dA, fA, "text-body-2-medium"), Aoe = "粘贴来源链接,或输入创作者名、id…", joe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Moe = "识别中…", Noe = "站内没有查到来源", IM = (e, t) => `${e}:${t.url}`;
+function Poe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+ return (0, D.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, D.jsxs)(IE, {
+ }, [t, r]), /* @__PURE__ */ (0, O.jsxs)(eD, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -32122,29 +34531,29 @@ function lie({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: lw(Zk, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
- children: [i && !n.length ? /* @__PURE__ */ (0, D.jsx)("div", {
+ className: tw(uA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ children: [i && !n.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, D.jsx)(bw, { label: "正在查找建议" })
- }) : null, n.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, D.jsx)("div", {
+ children: /* @__PURE__ */ (0, O.jsx)(bw, { label: "正在查找建议" })
+ }) : null, n.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, O.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
- }), /* @__PURE__ */ (0, D.jsxs)("button", {
+ }), /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? lw(CA, "bg-background-secondary-default") : CA,
+ className: t === r ? tw(FM, "bg-background-secondary-default") : FM,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 grow truncate text-left",
children: e.value
}),
- e.matched ? /* @__PURE__ */ (0, D.jsx)("span", {
+ e.matched ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "shrink-0 text-caption-1-regular text-text-tertiary",
children: e.matched
}) : null,
- e.n ? /* @__PURE__ */ (0, D.jsx)("span", {
+ e.n ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "shrink-0 text-caption-1-regular tabular-nums text-text-tertiary",
children: e.n.toLocaleString()
}) : null
@@ -32152,55 +34561,55 @@ function lie({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function uie({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
- let i = (0, E.useRef)(null), [a, o] = (0, E.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) => {
+function Foe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+ let i = (0, D.useRef)(null), [a, o] = (0, D.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);
};
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: vte,
+ leadingIcon: Fte,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, D.jsx)(IE, {
+ }), /* @__PURE__ */ (0, O.jsx)(eD, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: Zk,
- children: /* @__PURE__ */ (0, D.jsxs)(BE, {
+ className: uA,
+ children: /* @__PURE__ */ (0, O.jsxs)(nD, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
- children: [s.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [s.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-center gap-2 pb-1",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
onClick: () => n(/* @__PURE__ */ new Set()),
children: "全选"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, D.jsx)(dA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, O.jsx)(EA, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(Xk, {
+ children: [/* @__PURE__ */ (0, O.jsx)(GA, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
- children: /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, D.jsx)(yA, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, O.jsx)(jM, { provider: e.provider }), e.provider_label]
})
- }), n ? /* @__PURE__ */ (0, D.jsx)(G, {
+ }), n ? /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "xs",
className: "ml-auto",
@@ -32214,66 +34623,66 @@ function uie({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function die({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
- if (e.kind === "error") return /* @__PURE__ */ (0, D.jsx)(q, {
+function Ioe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+ if (e.kind === "error") return /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: e.line,
children: e.error || "查找失败"
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: vw({
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: _w({
padding: "none",
className: "flex flex-col gap-2 p-4"
}),
children: [
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.line
}),
a.length ? a.map((e) => {
- let n = wA(t, e);
- return /* @__PURE__ */ (0, D.jsx)(Xk, {
+ let n = IM(t, e);
+ return /* @__PURE__ */ (0, O.jsx)(GA, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
- children: /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, D.jsx)(yA, { provider: e.provider }),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)(jM, { provider: e.provider }),
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 break-words",
children: e.label
}),
- /* @__PURE__ */ (0, D.jsx)("small", {
+ /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.known ? "已经关注" : e.evidence
})
]
})
}, n);
- }) : /* @__PURE__ */ (0, D.jsx)(dA, { children: cie }),
- (e.external_searches || []).map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {
+ }) : /* @__PURE__ */ (0, O.jsx)(EA, { children: Noe }),
+ (e.external_searches || []).map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("small", {
+ children: [/* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, D.jsx)(mA, {
+ }), /* @__PURE__ */ (0, O.jsx)(kA, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, D.jsx)(dA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, O.jsx)(EA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
- let [a, o] = (0, E.useState)(""), [s, c] = (0, E.useState)(""), [l, u] = (0, E.useState)(""), [d, f] = (0, E.useState)(!1), [p, m] = (0, E.useState)(null), [h, g] = (0, E.useState)(-1), _ = (0, E.useRef)(null), v = (0, E.useRef)(null), [y, b] = (0, E.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, E.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, E.useState)(""), [T, O] = (0, E.useState)(0);
- (0, E.useEffect)(() => {
+function Loe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+ let [a, o] = (0, D.useState)(""), [s, c] = (0, D.useState)(""), [l, u] = (0, D.useState)(""), [d, f] = (0, D.useState)(!1), [p, m] = (0, D.useState)(null), [h, g] = (0, D.useState)(-1), _ = (0, D.useRef)(null), v = (0, D.useRef)(null), [y, b] = (0, D.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, D.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, D.useState)(""), [T, E] = (0, D.useState)(0);
+ (0, D.useEffect)(() => {
let e = a.trim();
if (!e || e.includes("/")) {
u("");
@@ -32282,19 +34691,19 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let k = ft({
- queryKey: vre(l),
- queryFn: ({ signal: e }) => Nre(l, e),
+ let k = ht({
+ queryKey: qae(l),
+ queryFn: ({ signal: e }) => coe(l, e),
enabled: l.length > 0 && d
- }), A = (0, E.useMemo)(() => (k.data?.groups || []).flatMap((e) => e.items.map((t) => ({
+ }), A = (0, D.useMemo)(() => (k.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: F } = tA({
- queryKey: _re,
- queryFn: ({ signal: e }) => Mre(e),
- start: (e) => Pre([e]),
+ }))), [k.data]), { job: j, running: M, outcome: N, start: P, dismiss: F } = BA({
+ queryKey: Kae,
+ queryFn: ({ signal: e }) => soe(e),
+ start: (e) => loe([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(K(e)),
onFinish: (e) => {
@@ -32303,12 +34712,12 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}), I = (e) => {
let t = e.trim();
!t || M || P.isPending || (w(""), g(-1), c(t), o(""), u(""), P.mutate(t));
- }, ee = k.isFetching, te = d && p !== a && (A.length > 0 || ee), L = () => {
+ }, ee = k.isFetching, te = d && p !== a && (A.length > 0 || ee), ne = () => {
g(-1), m(a);
- }, ne = (e) => {
+ }, L = (e) => {
if (!e.nativeEvent.isComposing) {
if (e.key === "Escape" && te) {
- L();
+ ne();
return;
}
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
@@ -32328,22 +34737,22 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = N?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: wA(t, e)
- })).filter((e) => !x.has(e.key))), ae = pt({
+ key: IM(t, e)
+ })).filter((e) => !x.has(e.key))), ae = gt({
mutationFn: async (e) => {
let t = [], n = [];
- O(0);
+ E(0);
for (let r of e) {
try {
- let e = await Ire(r.candidate);
+ let e = await doe(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${K(e)}`);
}
- O((e) => e + 1);
+ E((e) => e + 1);
}
if (n.length) try {
- await Fk(n);
+ await xM(n);
} catch (e) {
t.push(K(e));
}
@@ -32353,7 +34762,7 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (Bk(), e.failures.length) {
+ if (EM(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -32361,20 +34770,20 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
},
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: vw({
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
+ /* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: "添加关注"
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
ref: _,
className: "min-w-64 grow",
onFocus: () => f(!0),
@@ -32382,57 +34791,57 @@ function fie({ 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, D.jsx)(LO, {
+ children: [/* @__PURE__ */ (0, O.jsx)(JD, {
"aria-label": "来源链接、名字或 id",
- placeholder: aie,
+ placeholder: Aoe,
value: a,
- leadingIcon: jS,
+ leadingIcon: yS,
isDisabled: n,
onChange: o,
- onKeyDown: ne
- }), te ? /* @__PURE__ */ (0, D.jsx)(lie, {
+ onKeyDown: L
+ }), te ? /* @__PURE__ */ (0, O.jsx)(Poe, {
field: _,
menu: v,
options: A,
active: h,
busy: ee,
onPick: I,
- onClose: L
+ onClose: ne
}) : null]
}),
- /* @__PURE__ */ (0, D.jsx)(uie, {
+ /* @__PURE__ */ (0, O.jsx)(Foe, {
credentials: t,
hidden: y,
onHidden: b,
openCredentials: i
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
disabled: n || !a.trim(),
- ...J(M || P.isPending),
+ ...Y(M || P.isPending),
onClick: () => I(a),
children: "查找"
})
]
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [M || P.isPending ? j?.total ? /* @__PURE__ */ (0, D.jsx)(Cw, {
+ children: [M || P.isPending ? j?.total ? /* @__PURE__ */ (0, O.jsx)(ww, {
label: j.message || `查找中:${j.checked || 0}/${j.total}`,
value: j.checked || 0,
max: j.total
- }) : /* @__PURE__ */ (0, D.jsx)(bw, { label: se ? oie : sie }) : null, C ? /* @__PURE__ */ (0, D.jsx)(q, {
+ }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: se ? joe : Moe }) : null, C ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
}) : null]
}),
- re.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ re.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(pA, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, D.jsx)(die, {
+ /* @__PURE__ */ (0, O.jsx)(OA, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, O.jsx)(Ioe, {
row: e,
at: t,
hidden: y,
@@ -32442,24 +34851,24 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
t ? n.delete(e) : n.add(e), S(n);
}
}, `${e.line}-${t}`)),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
size: "small",
disabled: n || !ie.length,
- ...J(ae.isPending),
+ ...Y(ae.isPending),
onClick: () => ae.mutate(ie),
children: `添加选中(${ie.length})`
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
onClick: () => F(),
children: "关闭"
}),
- ae.isPending ? /* @__PURE__ */ (0, D.jsx)("span", {
+ ae.isPending ? /* @__PURE__ */ (0, O.jsx)("span", {
role: "status",
className: "text-body-2-regular text-text-secondary",
children: `添加中… ${T}/${ie.length}`
@@ -32468,12 +34877,12 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
})
]
}) : null,
- oe.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ oe.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "猜你喜欢"
- }), oe.map((e) => /* @__PURE__ */ (0, D.jsx)(G, {
+ }), oe.map((e) => /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: n,
@@ -32486,54 +34895,33 @@ function fie({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
});
}
//#endregion
-//#region src/react/boardui/components/base/table/table.tsx
-function TA({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
- return /* @__PURE__ */ (0, D.jsx)("div", {
- className: lw("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, D.jsx)(zD, {
- ref: r,
- ...i,
- className: lw("bui-table", e === "sm" && "bui-table-sm", t)
- })
- });
-}
-//#endregion
-//#region src/react/components/data-table-frame.tsx
-function EA({ children: e, follow: t = !1 }) {
- return /* @__PURE__ */ (0, D.jsx)("div", {
- "data-board-data-table": !0,
- "data-follow-table": t || void 0,
- children: e
- });
-}
-//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var pie = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, DA = (e) => e.alias;
-function mie(e, t, n) {
+var Roe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, LM = (e) => e.alias;
+function zoe(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 OA({ sources: e, name: t, canonicalKey: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("span", {
+function RM({ sources: e, name: t, canonicalKey: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(bA, {
- group: mie(e, t, n),
+ children: [/* @__PURE__ */ (0, O.jsx)(MM, {
+ group: zoe(e, t, n),
name: t
- }), /* @__PURE__ */ (0, D.jsx)("b", {
+ }), /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-medium",
children: t
})]
});
}
-function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, E.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = pt({
+function Boe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+ let [a, o] = (0, D.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(""), m = gt({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await Lk(n.canonical, n.alias);
+ await CM(n.canonical, n.alias);
} catch (n) {
- throw t && Bk(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && EM(), Error(`${K(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -32543,19 +34931,19 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- l(""), o(/* @__PURE__ */ new Set()), Bk(), i(`已合并 ${e.done} 组创作者别名`);
+ l(""), o(/* @__PURE__ */ new Set()), EM(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => l(K(e))
- }), h = pt({
- mutationFn: (e) => Lk(e.canonical, e.alias),
+ }), h = gt({
+ mutationFn: (e) => CM(e.canonical, e.alias),
onSuccess: () => {
- l(""), d(""), p(""), Bk(), i("已保存创作者别名");
+ l(""), d(""), p(""), EM(), i("已保存创作者别名");
},
onError: (e) => l(K(e))
- }), g = pt({
- mutationFn: (e) => Lre(e),
+ }), g = gt({
+ mutationFn: (e) => foe(e),
onSuccess: () => {
- l(""), Bk(), i("已移除创作者别名");
+ l(""), EM(), i("已移除创作者别名");
},
onError: (e) => l(K(e))
}), _ = (e, t) => {
@@ -32565,23 +34953,23 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => m.mutateAsync(e)
});
- }, v = t.filter((e) => a.has(DA(e))), y = t.length > 0 && v.length === t.length, b = J(m.isPending);
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: vw({
+ }, v = t.filter((e) => a.has(LM(e))), y = t.length > 0 && v.length === t.length, b = Y(m.isPending);
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
+ /* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: "创作者别名"
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(pA, { children: "手动添加别名" }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsx)(OA, { children: "手动添加别名" }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(LO, {
+ /* @__PURE__ */ (0, O.jsx)(JD, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: u,
@@ -32589,7 +34977,7 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, D.jsx)(LO, {
+ /* @__PURE__ */ (0, O.jsx)(JD, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: f,
@@ -32597,10 +34985,10 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
disabled: r || !u.trim() || !f.trim(),
- ...J(h.isPending),
+ ...Y(h.isPending),
onClick: () => h.mutate({
canonical: u.trim(),
alias: f.trim()
@@ -32610,18 +34998,18 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, D.jsx)(fA, { children: s }) : null,
- t.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ s ? /* @__PURE__ */ (0, O.jsx)(DA, { children: s }) : null,
+ t.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(pA, { children: "待合并" }),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)(OA, { children: "待合并" }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r || !v.length,
@@ -32629,7 +35017,7 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
onClick: () => _(v, !1),
children: `合并所选(${v.length})`
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
size: "small",
disabled: r,
@@ -32638,44 +35026,44 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, D.jsx)(EA, { children: /* @__PURE__ */ (0, D.jsxs)(TA, {
+ }), /* @__PURE__ */ (0, O.jsx)(qA, { children: /* @__PURE__ */ (0, O.jsxs)(KA, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, D.jsxs)(KD, { children: [
- /* @__PURE__ */ (0, D.jsx)(ZD, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(ED, { children: [
+ /* @__PURE__ */ (0, O.jsx)(DD, {
id: "select",
- children: /* @__PURE__ */ (0, D.jsx)(Xk, {
+ children: /* @__PURE__ */ (0, O.jsx)(GA, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(DA)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(LM)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, D.jsx)(ZD, {
+ /* @__PURE__ */ (0, O.jsx)(DD, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, D.jsx)(ZD, {
+ /* @__PURE__ */ (0, O.jsx)(DD, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, D.jsx)(ZD, {
+ /* @__PURE__ */ (0, O.jsx)(DD, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, D.jsx)(ZD, {
+ /* @__PURE__ */ (0, O.jsx)(DD, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, D.jsx)(tO, { children: t.map((e) => {
- let t = DA(e);
- return /* @__PURE__ */ (0, D.jsxs)(aO, {
+ ] }), /* @__PURE__ */ (0, O.jsx)(kD, { children: t.map((e) => {
+ let t = LM(e);
+ return /* @__PURE__ */ (0, O.jsxs)(MD, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, D.jsx)(cO, { children: /* @__PURE__ */ (0, D.jsx)(Xk, {
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)(GA, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -32684,16 +35072,16 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, D.jsx)(cO, { children: /* @__PURE__ */ (0, D.jsx)(OA, {
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)(RM, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, D.jsx)(cO, { children: e.alias }),
- /* @__PURE__ */ (0, D.jsx)(cO, { children: /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: e.alias }),
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, D.jsx)(cO, { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: r,
@@ -32706,45 +35094,45 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}) })]
}) })]
}) : null,
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(pA, { children: "已保存别名" }), /* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)(OA, { children: "已保存别名" }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, D.jsx)(EA, { children: /* @__PURE__ */ (0, D.jsxs)(TA, {
+ }), e.length ? /* @__PURE__ */ (0, O.jsx)(qA, { children: /* @__PURE__ */ (0, O.jsxs)(KA, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, D.jsxs)(KD, { children: [/* @__PURE__ */ (0, D.jsx)(ZD, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(ED, { children: [/* @__PURE__ */ (0, O.jsx)(DD, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, D.jsx)(ZD, {
+ }), /* @__PURE__ */ (0, O.jsx)(DD, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, D.jsx)(tO, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(aO, {
+ })] }), /* @__PURE__ */ (0, O.jsx)(kD, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(MD, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, D.jsx)(cO, { children: /* @__PURE__ */ (0, D.jsx)(OA, {
+ children: [/* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)(RM, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, D.jsx)(cO, { children: /* @__PURE__ */ (0, D.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, O.jsx)(PD, { children: /* @__PURE__ */ (0, O.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
- children: e.aliases.map((e) => /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: e.aliases.map((e) => /* @__PURE__ */ (0, O.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",
- children: [e.name, /* @__PURE__ */ (0, D.jsx)(G, {
+ children: [e.name, /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: bS,
+ leadingIcon: cS,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
- ...J(g.isPending),
+ ...Y(g.isPending),
onClick: () => void c({
title: "移除创作者别名",
- body: pie(e.name),
+ body: Roe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => g.mutateAsync(e.name)
})
@@ -32752,9 +35140,9 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: NS,
+ icon: xS,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -32763,88 +35151,34 @@ function hie({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
});
}
//#endregion
-//#region src/react/components/path-line.tsx
-function gie({ className: e }) {
- return /* @__PURE__ */ (0, D.jsx)("svg", {
- "aria-hidden": !0,
- viewBox: "0 0 24 24",
- fill: "none",
- stroke: "currentColor",
- strokeWidth: 2,
- strokeLinecap: "round",
- strokeLinejoin: "round",
- className: e,
- children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-open" })
- });
-}
-var _ie = "打开文件管理器失败,请重试";
-function kA({ path: e, prefix: t, className: n, onRevealed: r }) {
- let [i, a] = (0, E.useState)(!1), [o, s] = (0, E.useState)(""), c = (0, E.useRef)(!0);
- (0, E.useEffect)(() => () => {
- c.current = !1;
- }, []);
- let l = async () => {
- if (!i) {
- a(!0), s("");
- try {
- await _w("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
- } catch (e) {
- c.current && s(e instanceof mw ? e.message : _ie);
- } finally {
- c.current && a(!1);
- }
- }
- };
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
- className: "flex items-center justify-between gap-2",
- children: [/* @__PURE__ */ (0, D.jsxs)("p", {
- className: lw("min-w-0 break-all", n),
- children: [t, e]
- }), /* @__PURE__ */ (0, D.jsx)(jO, {
- icon: gie,
- size: "small",
- className: "shrink-0",
- "aria-label": "在资源管理器中显示",
- onClick: () => void l(),
- ...J(i)
- })]
- }), o ? /* @__PURE__ */ (0, D.jsx)("p", {
- className: "text-caption-1-regular text-text-error-primary",
- children: o
- }) : null]
- });
-}
-//#endregion
//#region src/react/follow-manage/credentials.tsx
-var vie = "这些账号信息存在哪里", yie = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", bie = "将清除这个来源在本机和共享副本中的登录凭据。", xie = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function Sie(e, t) {
+var Voe = "这些账号信息存在哪里", Hoe = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", Uoe = "将清除这个来源在本机和共享副本中的登录凭据。", Woe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function Goe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function Cie({ row: e }) {
- if (Hk(e)) return /* @__PURE__ */ (0, D.jsx)(fw, {
+function Koe({ row: e }) {
+ if (OM(e)) return /* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, D.jsx)(fw, {
+ return /* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: t,
- children: Zre[e.requirement] || ""
+ children: Eoe[e.requirement] || ""
});
}
-function wie({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, E.useState)({}), [a, o] = (0, E.useState)(""), s = Hk(e), l = pt({
- mutationFn: (t) => Rre(e.provider, t),
+function qoe({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, D.useState)({}), [a, o] = (0, D.useState)(""), s = OM(e), l = gt({
+ mutationFn: (t) => poe(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
- o(""), i({}), Tw.invalidateQueries({
- queryKey: vk,
+ o(""), i({}), X.invalidateQueries({
+ queryKey: iM,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -32857,20 +35191,20 @@ function wie({ row: e, readOnly: t, toast: n }) {
}
l.mutate(e);
};
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, D.jsxs)(dA, { children: [e.why, e.where ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [" ", /* @__PURE__ */ (0, D.jsx)(mA, {
+ /* @__PURE__ */ (0, O.jsxs)(EA, { children: [e.why, e.where ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [" ", /* @__PURE__ */ (0, O.jsx)(kA, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, D.jsx)(dA, { children: e.howto }) : null,
- /* @__PURE__ */ (0, D.jsx)("div", {
+ e.howto ? /* @__PURE__ */ (0, O.jsx)(EA, { children: e.howto }) : null,
+ /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-wrap items-end gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, D.jsx)(LO, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, O.jsx)(JD, {
type: "password",
label: n,
- placeholder: Sie(e, n),
+ placeholder: Goe(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -32882,23 +35216,23 @@ function wie({ row: e, readOnly: t, toast: n }) {
className: "w-48"
}, n))
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
size: "small",
disabled: t,
- ...J(l.isPending),
+ ...Y(l.isPending),
onClick: u,
children: "保存配置"
- }), s ? /* @__PURE__ */ (0, D.jsx)(G, {
+ }), s ? /* @__PURE__ */ (0, O.jsx)(G, {
variant: "danger",
size: "small",
disabled: t,
- ...J(l.isPending),
+ ...Y(l.isPending),
onClick: () => void c({
title: "清除来源凭据",
- body: bie,
+ body: Uoe,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => l.mutateAsync({})
@@ -32906,50 +35240,50 @@ function wie({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, D.jsx)(fA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, D.jsx)(dA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, D.jsx)(kA, {
+ a ? /* @__PURE__ */ (0, O.jsx)(DA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, O.jsx)(EA, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, O.jsx)(vA, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
}) : null,
- e.world_readable ? /* @__PURE__ */ (0, D.jsx)(q, {
+ e.world_readable ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "凭据文件权限过宽",
- children: xie
+ children: Woe
}) : null
]
});
}
-function Tie({ row: e, readOnly: t, toast: n }) {
- let r = /* @__PURE__ */ (0, D.jsxs)("span", {
+function Joe({ row: e, readOnly: t, toast: n }) {
+ let r = /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, D.jsx)(yA, { provider: e.provider })
+ children: /* @__PURE__ */ (0, O.jsx)(jM, { provider: e.provider })
}),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, D.jsx)(Cie, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, D.jsx)(fw, {
+ /* @__PURE__ */ (0, O.jsx)(Koe, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
}) : null
]
});
- return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, O.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, D.jsx)(dA, { children: e.why }) : null]
- }) : /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, O.jsx)(EA, { children: e.why }) : null]
+ }) : /* @__PURE__ */ (0, O.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, D.jsx)(_A, {
- summary: Hk(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !Hk(e),
- children: /* @__PURE__ */ (0, D.jsx)(wie, {
+ children: [r, /* @__PURE__ */ (0, O.jsx)(MA, {
+ summary: OM(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !OM(e),
+ children: /* @__PURE__ */ (0, O.jsx)(qoe, {
row: e,
readOnly: t,
toast: n
@@ -32957,47 +35291,47 @@ function Tie({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function Eie({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Hk(e));
- return r.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
- className: vw({
+function Yoe({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !OM(e));
+ return r.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "mr-auto text-title-2-medium text-text-primary",
children: "来源和凭证"
- }), i.length ? /* @__PURE__ */ (0, D.jsx)("span", {
+ }), i.length ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-error-primary",
children: `${i.length} 个待配置`
}) : null]
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
- className: vw({
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ className: _w({
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: r.map((e) => /* @__PURE__ */ (0, D.jsx)(Tie, {
+ children: r.map((e) => /* @__PURE__ */ (0, O.jsx)(Joe, {
row: e,
readOnly: t,
toast: n
}, e.provider))
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: vie
+ children: Voe
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: yie
+ children: Hoe
}),
- /* @__PURE__ */ (0, D.jsx)(kA, {
+ /* @__PURE__ */ (0, O.jsx)(vA, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -33006,83 +35340,83 @@ function Eie({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: Cte,
+ icon: Bte,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-function Die(e) {
+function Xoe(e) {
let t = e.last_fetched_at ? `上次拉取 ${new Date(e.last_fetched_at).toLocaleString()}` : "还没拉过", n = e.interval_minutes >= 60 ? `每 ${Math.round(e.interval_minutes / 60)} 小时一次` : `每 ${e.interval_minutes} 分钟一次`;
return `${e.kind_label} · ${n} · ${t} · 上次新增 ${e.last_new_count} 条`;
}
-var AA = () => Tw.invalidateQueries({
- queryKey: yk,
+var zM = () => X.invalidateQueries({
+ queryKey: aM,
exact: !0
-}), jA = (e) => e.name || e.url;
-function Oie({ readOnly: e, toast: t }) {
- let n = ft({
- queryKey: yk,
- queryFn: ({ signal: e }) => Rk(e)
- }), r = ww(), i = n.data;
- if (!i) return /* @__PURE__ */ (0, D.jsx)(nA, { children: /* @__PURE__ */ (0, D.jsx)(lA, { children: n.error ? /* @__PURE__ */ (0, D.jsx)(q, {
+}), BM = (e) => e.name || e.url;
+function Zoe({ readOnly: e, toast: t }) {
+ let n = ht({
+ queryKey: aM,
+ queryFn: ({ signal: e }) => wM(e)
+ }), r = Tw(), i = n.data;
+ if (!i) return /* @__PURE__ */ (0, O.jsx)(yA, { children: /* @__PURE__ */ (0, O.jsx)(wA, { children: n.error ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "打不开订阅源",
children: K(n.error)
- }) : /* @__PURE__ */ (0, D.jsx)(dA, { children: "正在读订阅源。" }) }) });
- let a = (e, t) => void r.run(`enabled-${e.id}`, (n) => Vre(e.id, t, n), () => void AA()), o = (e) => void c({
+ }) : /* @__PURE__ */ (0, O.jsx)(EA, { children: "正在读订阅源。" }) }) });
+ let a = (e, t) => void r.run(`enabled-${e.id}`, (n) => goe(e.id, t, n), () => void zM()), o = (e) => void c({
title: "移除订阅源",
- body: `将移除订阅源「${jA(e)}」,之后不再拉取它的新作;已经拉到的新作保留。`,
+ body: `将移除订阅源「${BM(e)}」,之后不再拉取它的新作;已经拉到的新作保留。`,
confirmLabel: "移除订阅源",
danger: !0,
onConfirm: async () => {
- await Hre(e.id), t(`已移除订阅源「${jA(e)}」`), AA();
- }
- }), s = () => void r.run("check", (e) => Ure(e), () => void AA()), l = i.sources.filter((e) => e.last_error);
- return /* @__PURE__ */ (0, D.jsxs)(nA, { children: [
- i.sources.length ? /* @__PURE__ */ (0, D.jsx)(cA, { children: i.sources.map((t) => /* @__PURE__ */ (0, D.jsx)(iA, {
- label: jA(t),
- description: Die(t),
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ await _oe(e.id), t(`已移除订阅源「${BM(e)}」`), zM();
+ }
+ }), s = () => void r.run("check", (e) => voe(e), () => void zM()), l = i.sources.filter((e) => e.last_error);
+ return /* @__PURE__ */ (0, O.jsxs)(yA, { children: [
+ i.sources.length ? /* @__PURE__ */ (0, O.jsx)(CA, { children: i.sources.map((t) => /* @__PURE__ */ (0, O.jsx)(xA, {
+ label: BM(t),
+ description: Xoe(t),
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(tk, {
- "aria-label": `启用 ${jA(t)}`,
+ children: [/* @__PURE__ */ (0, O.jsx)(mO, {
+ "aria-label": `启用 ${BM(t)}`,
isSelected: t.enabled,
isDisabled: e,
onChange: (e) => a(t, e)
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: CS,
- "aria-label": `移除 ${jA(t)}`,
+ leadingIcon: dS,
+ "aria-label": `移除 ${BM(t)}`,
disabled: e,
onClick: () => o(t)
})]
})
- }, t.id)) }) : /* @__PURE__ */ (0, D.jsx)(yw, {
- icon: AS,
+ }, t.id)) }) : /* @__PURE__ */ (0, O.jsx)(yw, {
+ icon: vS,
title: "还没有订阅源",
shell: "plain",
children: "在人物页点「订阅新作」添加。"
}),
- l.length || r.error ? /* @__PURE__ */ (0, D.jsxs)(lA, {
+ l.length || r.error ? /* @__PURE__ */ (0, O.jsxs)(wA, {
divided: !0,
- children: [l.map((e) => /* @__PURE__ */ (0, D.jsx)(q, {
+ children: [l.map((e) => /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
- title: `${jA(e)} 拉取失败`,
+ title: `${BM(e)} 拉取失败`,
children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: r.error }) : null]
+ }, e.id)), r.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: r.error }) : null]
}) : null,
- /* @__PURE__ */ (0, D.jsx)(uA, {
+ /* @__PURE__ */ (0, O.jsx)(TA, {
status: i.unread ? `有 ${i.unread} 条新作还没看` : "新作都看过了",
- children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
onClick: s,
disabled: e,
- ...J(r.busy === "check"),
+ ...Y(r.busy === "check"),
children: "立即拉取"
})
})
@@ -33090,7 +35424,7 @@ function Oie({ readOnly: e, toast: t }) {
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function kie() {
+function Qoe() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -33103,24 +35437,24 @@ function kie() {
group: (e) => e
};
}
-function MA(e, t) {
+function VM(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function NA(e, t) {
+function HM(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: MA(n, t[e])
+ [e]: VM(n, t[e])
}));
};
}
-function PA(e) {
+function UM(e) {
return e instanceof Function;
}
-function Aie(e) {
+function $oe(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function jie(e, t) {
+function ese(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -33130,7 +35464,7 @@ function jie(e, t) {
};
return r(e), n;
}
-function Y(e, t, n) {
+function WM(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -33152,21 +35486,21 @@ function Y(e, t, n) {
return i;
};
}
-function X(e, t, n, r) {
+function GM(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function Mie(e, t, n, r) {
+function tse(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: Y(() => [
+ getContext: WM(() => [
e,
n,
t,
@@ -33178,13 +35512,13 @@ function Mie(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), X(e.options, "debugCells", "cell.getContext"))
+ }), GM(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function Nie(e, t, n, r) {
+function nse(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -33201,17 +35535,17 @@ function Nie(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: Y(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], X(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: Y(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: WM(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], GM(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: WM(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, X(e.options, "debugColumns", "column.getLeafColumns"))
+ }, GM(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var FA = "debugHeaders";
-function IA(e, t, n) {
+var KM = "debugHeaders";
+function qM(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -33239,42 +35573,42 @@ function IA(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var Pie = { createTable: (e) => {
- e.getHeaderGroups = Y(() => [
+var rse = { createTable: (e) => {
+ e.getHeaderGroups = WM(() => [
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 LA(t, [
+ return JM(t, [
...a,
...s,
...o
], e);
- }, X(e.options, FA, "getHeaderGroups")), e.getCenterHeaderGroups = Y(() => [
+ }, GM(e.options, KM, "getHeaderGroups")), e.getCenterHeaderGroups = WM(() => [
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))), LA(t, n, e, "center")), X(e.options, FA, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Y(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), JM(t, n, e, "center")), GM(e.options, KM, "getCenterHeaderGroups")), e.getLeftHeaderGroups = WM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => LA(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), X(e.options, FA, "getLeftHeaderGroups")), e.getRightHeaderGroups = Y(() => [
+ ], (t, n, r) => JM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), GM(e.options, KM, "getLeftHeaderGroups")), e.getRightHeaderGroups = WM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => LA(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), X(e.options, FA, "getRightHeaderGroups")), e.getFooterGroups = Y(() => [e.getHeaderGroups()], (e) => [...e].reverse(), X(e.options, FA, "getFooterGroups")), e.getLeftFooterGroups = Y(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), X(e.options, FA, "getLeftFooterGroups")), e.getCenterFooterGroups = Y(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), X(e.options, FA, "getCenterFooterGroups")), e.getRightFooterGroups = Y(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), X(e.options, FA, "getRightFooterGroups")), e.getFlatHeaders = Y(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, FA, "getFlatHeaders")), e.getLeftFlatHeaders = Y(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, FA, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Y(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, FA, "getCenterFlatHeaders")), e.getRightFlatHeaders = Y(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), X(e.options, FA, "getRightFlatHeaders")), e.getCenterLeafHeaders = Y(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => JM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), GM(e.options, KM, "getRightHeaderGroups")), e.getFooterGroups = WM(() => [e.getHeaderGroups()], (e) => [...e].reverse(), GM(e.options, KM, "getFooterGroups")), e.getLeftFooterGroups = WM(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), GM(e.options, KM, "getLeftFooterGroups")), e.getCenterFooterGroups = WM(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), GM(e.options, KM, "getCenterFooterGroups")), e.getRightFooterGroups = WM(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), GM(e.options, KM, "getRightFooterGroups")), e.getFlatHeaders = WM(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), GM(e.options, KM, "getFlatHeaders")), e.getLeftFlatHeaders = WM(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), GM(e.options, KM, "getLeftFlatHeaders")), e.getCenterFlatHeaders = WM(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), GM(e.options, KM, "getCenterFlatHeaders")), e.getRightFlatHeaders = WM(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), GM(e.options, KM, "getRightFlatHeaders")), e.getCenterLeafHeaders = WM(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), X(e.options, FA, "getCenterLeafHeaders")), e.getLeftLeafHeaders = Y(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), GM(e.options, KM, "getCenterLeafHeaders")), e.getLeftLeafHeaders = WM(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), X(e.options, FA, "getLeftLeafHeaders")), e.getRightLeafHeaders = Y(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), GM(e.options, KM, "getLeftLeafHeaders")), e.getRightLeafHeaders = WM(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), X(e.options, FA, "getRightLeafHeaders")), e.getLeafHeaders = Y(() => [
+ }), GM(e.options, KM, "getRightLeafHeaders")), e.getLeafHeaders = WM(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -33282,9 +35616,9 @@ var Pie = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), X(e.options, FA, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), GM(e.options, KM, "getLeafHeaders"));
} };
-function LA(e, t, n, r) {
+function JM(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;
@@ -33302,7 +35636,7 @@ function LA(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 = IA(n, c, {
+ let i = qM(n, c, {
id: [
r,
t,
@@ -33319,7 +35653,7 @@ function LA(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) => IA(n, e, {
+ s(t.map((e, t) => qM(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -33337,7 +35671,7 @@ function LA(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var Fie = (e, t, n, r, i, a, o) => {
+var ise = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -33358,7 +35692,7 @@ var Fie = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => jie(s.subRows, (e) => e.subRows),
+ getLeafRows: () => ese(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -33369,95 +35703,95 @@ var Fie = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: Y(() => [e.getAllLeafColumns()], (t) => t.map((t) => Mie(e, s, t, t.id)), X(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: Y(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), X(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: WM(() => [e.getAllLeafColumns()], (t) => t.map((t) => tse(e, s, t, t.id)), GM(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: WM(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), GM(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;
-}, Iie = { createColumn: (e, t) => {
+}, ase = { 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();
};
-} }, RA = (e, t, n) => {
+} }, YM = (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));
};
-RA.autoRemove = (e) => JA(e);
-var zA = (e, t, n) => {
+YM.autoRemove = (e) => aN(e);
+var XM = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-zA.autoRemove = (e) => JA(e);
-var BA = (e, t, n) => {
+XM.autoRemove = (e) => aN(e);
+var ZM = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-BA.autoRemove = (e) => JA(e);
-var VA = (e, t, n) => e.getValue(t)?.includes(n);
-VA.autoRemove = (e) => JA(e);
-var HA = (e, t, n) => !n.some((n) => {
+ZM.autoRemove = (e) => aN(e);
+var QM = (e, t, n) => e.getValue(t)?.includes(n);
+QM.autoRemove = (e) => aN(e);
+var $M = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-HA.autoRemove = (e) => JA(e) || !(e != null && e.length);
-var UA = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-UA.autoRemove = (e) => JA(e) || !(e != null && e.length);
-var WA = (e, t, n) => e.getValue(t) === n;
-WA.autoRemove = (e) => JA(e);
-var GA = (e, t, n) => e.getValue(t) == n;
-GA.autoRemove = (e) => JA(e);
-var KA = (e, t, n) => {
+$M.autoRemove = (e) => aN(e) || !(e != null && e.length);
+var eN = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+eN.autoRemove = (e) => aN(e) || !(e != null && e.length);
+var tN = (e, t, n) => e.getValue(t) === n;
+tN.autoRemove = (e) => aN(e);
+var nN = (e, t, n) => e.getValue(t) == n;
+nN.autoRemove = (e) => aN(e);
+var rN = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-KA.resolveFilterValue = (e) => {
+rN.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];
-}, KA.autoRemove = (e) => JA(e) || JA(e[0]) && JA(e[1]);
-var qA = {
- includesString: RA,
- includesStringSensitive: zA,
- equalsString: BA,
- arrIncludes: VA,
- arrIncludesAll: HA,
- arrIncludesSome: UA,
- equals: WA,
- weakEquals: GA,
- inNumberRange: KA
-};
-function JA(e) {
+}, rN.autoRemove = (e) => aN(e) || aN(e[0]) && aN(e[1]);
+var iN = {
+ includesString: YM,
+ includesStringSensitive: XM,
+ equalsString: ZM,
+ arrIncludes: QM,
+ arrIncludesAll: $M,
+ arrIncludesSome: eN,
+ equals: tN,
+ weakEquals: nN,
+ inNumberRange: rN
+};
+function aN(e) {
return e == null || e === "";
}
-var Lie = {
+var ose = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: NA("columnFilters", e),
+ onColumnFiltersChange: HM("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? qA.includesString : typeof n == "number" ? qA.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? qA.equals : Array.isArray(n) ? qA.arrIncludes : qA.weakEquals;
- }, e.getFilterFn = () => PA(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? qA[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" ? iN.includesString : typeof n == "number" ? iN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? iN.equals : Array.isArray(n) ? iN.arrIncludes : iN.weakEquals;
+ }, e.getFilterFn = () => UM(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? iN[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 = MA(n, i ? i.value : void 0);
- if (YA(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = VM(n, i ? i.value : void 0);
+ if (oN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -33472,19 +35806,19 @@ var Lie = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => MA(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => VM(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && YA(t.getFilterFn(), e.value, t));
+ return !(t && oN(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 YA(e, t, n) {
+function oN(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var XA = {
+var sN = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -33520,7 +35854,7 @@ var XA = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!Aie(n)) return;
+ if (!$oe(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];
@@ -33528,7 +35862,7 @@ var XA = {
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
-}, Rie = {
+}, sse = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -33541,7 +35875,7 @@ var XA = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: NA("grouping", e),
+ onGroupingChange: HM("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -33554,11 +35888,11 @@ var XA = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return XA.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return XA.extent;
+ if (typeof n == "number") return sN.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return sN.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return PA(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? XA[e.columnDef.aggregationFn];
+ return UM(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? sN[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -33580,27 +35914,27 @@ var XA = {
};
}
};
-function zie(e, t, n) {
+function cse(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 Bie = {
+var lse = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: NA("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: HM("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = Y((e) => [nj(t, e)], (t) => t.findIndex((t) => t.id === e.id), X(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => nj(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = nj(t, n);
+ e.getIndex = WM((e) => [pN(t, e)], (t) => t.findIndex((t) => t.id === e.id), GM(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => pN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = pN(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 = Y(() => [
+ }, e._getOrderColumnsFn = WM(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -33615,18 +35949,18 @@ var Bie = {
}
i = [...i, ...n];
}
- return zie(i, t, n);
- }, X(e.options, "debugTable", "_getOrderColumnsFn"));
+ return cse(i, t, n);
+ }, GM(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, ZA = () => ({
+}, cN = () => ({
left: [],
right: []
-}), Vie = {
+}), use = {
getInitialState: (e) => ({
- columnPinning: ZA(),
+ columnPinning: cN(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: NA("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: HM("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -33650,75 +35984,75 @@ var Bie = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = Y(() => [
+ e.getCenterVisibleCells = WM(() => [
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));
- }, X(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = Y(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, GM(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = WM(() => [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"
- })), X(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = Y(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), GM(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = WM(() => [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"
- })), X(t.options, "debugRows", "getRightVisibleCells"));
+ })), GM(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 ? ZA() : e.initialState?.columnPinning ?? ZA()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? cN() : e.initialState?.columnPinning ?? cN()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = Y(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), X(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = Y(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), X(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = Y(() => [
+ }, e.getLeftLeafColumns = WM(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), GM(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = WM(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), GM(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = WM(() => [
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));
- }, X(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, GM(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function Hie(e) {
+function dse(e) {
return e || (typeof document < "u" ? document : null);
}
-var QA = {
+var lN = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, $A = () => ({
+}, uN = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), Uie = {
- getDefaultColumnDef: () => QA,
+}), fse = {
+ getDefaultColumnDef: () => lN,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: $A(),
+ columnSizingInfo: uN(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: NA("columnSizing", e),
- onColumnSizingInfoChange: NA("columnSizingInfo", e)
+ onColumnSizingChange: HM("columnSizing", e),
+ onColumnSizingInfoChange: HM("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? QA.minSize, n ?? e.columnDef.size ?? QA.size), e.columnDef.maxSize ?? QA.maxSize);
- }, e.getStart = Y((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? lN.minSize, n ?? e.columnDef.size ?? lN.size), e.columnDef.maxSize ?? lN.maxSize);
+ }, e.getStart = WM((e) => [
e,
- nj(t, e),
+ pN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), X(t.options, "debugColumns", "getStart")), e.getAfter = Y((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), GM(t.options, "debugColumns", "getStart")), e.getAfter = WM((e) => [
e,
- nj(t, e),
+ pN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), X(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), GM(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -33740,8 +36074,8 @@ var QA = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), tj(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 = tj(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), fN(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 = fN(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) => {
@@ -33766,7 +36100,7 @@ var QA = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = Hie(n), m = {
+ }, p = dse(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -33776,8 +36110,8 @@ var QA = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = Wie() ? { passive: !1 } : !1;
- tj(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 = pse() ? { passive: !1 } : !1;
+ fN(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,
@@ -33793,12 +36127,12 @@ var QA = {
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 ? $A() : e.initialState.columnSizingInfo ?? $A());
+ e.setColumnSizingInfo(t ? uN() : e.initialState.columnSizingInfo ?? uN());
}, 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;
}
-}, ej = null;
-function Wie() {
- if (typeof ej == "boolean") return ej;
+}, dN = null;
+function pse() {
+ if (typeof dN == "boolean") return dN;
let e = !1;
try {
let t = { get passive() {
@@ -33808,17 +36142,17 @@ function Wie() {
} catch {
e = !1;
}
- return ej = e, ej;
+ return dN = e, dN;
}
-function tj(e) {
+function fN(e) {
return e.type === "touchstart";
}
-var Gie = {
+var mse = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: NA("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: HM("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -33833,7 +36167,7 @@ var Gie = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = Y(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), X(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = Y(() => [
+ e._getAllVisibleCells = WM(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), GM(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = WM(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -33841,10 +36175,10 @@ var Gie = {
...e,
...t,
...n
- ], X(t.options, "debugRows", "getVisibleCells"));
+ ], GM(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => Y(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), X(e.options, "debugColumns", t));
+ let t = (t, n) => WM(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), GM(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) => {
@@ -33857,20 +36191,20 @@ var Gie = {
};
}
};
-function nj(e, t) {
+function pN(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var Kie = { createTable: (e) => {
+var hse = { 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();
};
-} }, qie = {
+} }, gse = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: NA("globalFilter", e),
+ onGlobalFilterChange: HM("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -33882,22 +36216,22 @@ var Kie = { 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 = () => qA.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => iN.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return PA(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? qA[t];
+ return UM(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? iN[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, Jie = {
+}, _se = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: NA("expanded", e),
+ onExpandedChange: HM("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -33968,18 +36302,18 @@ var Kie = { createTable: (e) => {
};
};
}
-}, rj = 0, ij = 10, aj = () => ({
- pageIndex: rj,
- pageSize: ij
-}), oj = {
+}, mN = 0, hN = 10, gN = () => ({
+ pageIndex: mN,
+ pageSize: hN
+}), vse = {
getInitialState: (e) => ({
...e,
pagination: {
- ...aj(),
+ ...gN(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: NA("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: HM("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -33995,11 +36329,11 @@ var Kie = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => MA(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? aj() : e.initialState.pagination ?? aj());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => VM(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? gN() : e.initialState.pagination ?? gN());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = MA(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = VM(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
@@ -34007,13 +36341,13 @@ var Kie = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? rj : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? rj);
+ e.setPageIndex(t ? mN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? mN);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? ij : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? ij);
+ e.setPageSize(t ? hN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? hN);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, MA(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, VM(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -34021,28 +36355,28 @@ var Kie = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = MA(t, e.options.pageCount ?? -1);
+ let r = VM(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = Y(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = WM(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, X(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, GM(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;
}
-}, sj = () => ({
+}, _N = () => ({
top: [],
bottom: []
-}), cj = {
+}), yse = {
getInitialState: (e) => ({
- rowPinning: sj(),
+ rowPinning: _N(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: NA("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: HM("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -34081,7 +36415,7 @@ var Kie = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? sj() : e.initialState?.rowPinning ?? sj()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? _N() : e.initialState?.rowPinning ?? _N()), 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) => {
@@ -34090,22 +36424,22 @@ var Kie = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = Y(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), X(e.options, "debugRows", "getTopRows")), e.getBottomRows = Y(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), X(e.options, "debugRows", "getBottomRows")), e.getCenterRows = Y(() => [
+ })), e.getTopRows = WM(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), GM(e.options, "debugRows", "getTopRows")), e.getBottomRows = WM(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), GM(e.options, "debugRows", "getBottomRows")), e.getCenterRows = WM(() => [
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));
- }, X(e.options, "debugRows", "getCenterRows"));
+ }, GM(e.options, "debugRows", "getCenterRows"));
}
-}, lj = {
+}, bse = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: NA("rowSelection", e),
+ onRowSelectionChange: HM("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -34124,21 +36458,21 @@ var Kie = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- uj(i, t.id, r, !0, e);
+ vN(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Y(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? dj(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = WM(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? yN(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, X(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Y(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? dj(e, n) : {
+ }, GM(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = WM(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? yN(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, X(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Y(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? dj(e, n) : {
+ }, GM(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = WM(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? yN(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, X(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, GM(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 = () => {
@@ -34162,17 +36496,17 @@ var Kie = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return uj(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return vN(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return fj(e, n);
+ return bN(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return pj(e, n) === "some";
+ return xN(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return pj(e, n) === "all";
+ return xN(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) => {
@@ -34180,16 +36514,16 @@ var Kie = { createTable: (e) => {
};
};
}
-}, uj = (e, t, n, r, i) => {
+}, vN = (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) => uj(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) => vN(e, t.id, n, r, i));
};
-function dj(e, t) {
+function yN(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = fj(e, n);
+ let o = bN(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -34202,32 +36536,32 @@ function dj(e, t) {
rowsById: i
};
}
-function fj(e, t) {
+function bN(e, t) {
return t[e.id] ?? !1;
}
-function pj(e, t, n) {
+function xN(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() && (fj(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = pj(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (bN(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = xN(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var mj = /([0-9]+)/gm, hj = (e, t, n) => Cj(Sj(e.getValue(n)).toLowerCase(), Sj(t.getValue(n)).toLowerCase()), gj = (e, t, n) => Cj(Sj(e.getValue(n)), Sj(t.getValue(n))), _j = (e, t, n) => xj(Sj(e.getValue(n)).toLowerCase(), Sj(t.getValue(n)).toLowerCase()), vj = (e, t, n) => xj(Sj(e.getValue(n)), Sj(t.getValue(n))), yj = (e, t, n) => {
+var SN = /([0-9]+)/gm, xse = (e, t, n) => TN(wN(e.getValue(n)).toLowerCase(), wN(t.getValue(n)).toLowerCase()), Sse = (e, t, n) => TN(wN(e.getValue(n)), wN(t.getValue(n))), Cse = (e, t, n) => CN(wN(e.getValue(n)).toLowerCase(), wN(t.getValue(n)).toLowerCase()), wse = (e, t, n) => CN(wN(e.getValue(n)), wN(t.getValue(n))), Tse = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, bj = (e, t, n) => xj(e.getValue(n), t.getValue(n));
-function xj(e, t) {
+}, Ese = (e, t, n) => CN(e.getValue(n), t.getValue(n));
+function CN(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function Sj(e) {
+function wN(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function Cj(e, t) {
- let n = e.split(mj).filter(Boolean), r = t.split(mj).filter(Boolean);
+function TN(e, t) {
+ let n = e.split(SN).filter(Boolean), r = t.split(SN).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])) {
@@ -34241,22 +36575,22 @@ function Cj(e, t) {
}
return n.length - r.length;
}
-var wj = {
- alphanumeric: hj,
- alphanumericCaseSensitive: gj,
- text: _j,
- textCaseSensitive: vj,
- datetime: yj,
- basic: bj
-}, Tj = [
- Pie,
- Gie,
- Bie,
- Vie,
- Iie,
- Lie,
- Kie,
- qie,
+var EN = {
+ alphanumeric: xse,
+ alphanumericCaseSensitive: Sse,
+ text: Cse,
+ textCaseSensitive: wse,
+ datetime: Tse,
+ basic: Ese
+}, Dse = [
+ rse,
+ mse,
+ lse,
+ use,
+ ase,
+ ose,
+ hse,
+ gse,
{
getInitialState: (e) => ({
sorting: [],
@@ -34267,7 +36601,7 @@ var wj = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: NA("sorting", e),
+ onSortingChange: HM("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -34275,13 +36609,13 @@ var wj = {
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 wj.datetime;
- if (typeof n == "string" && (r = !0, n.split(mj).length > 1)) return wj.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return EN.datetime;
+ if (typeof n == "string" && (r = !0, n.split(SN).length > 1)) return EN.alphanumeric;
}
- return r ? wj.text : wj.basic;
+ return r ? EN.text : EN.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return PA(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? wj[e.columnDef.sortingFn];
+ return UM(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? EN[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -34318,15 +36652,15 @@ var wj = {
}, 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());
}
},
- Rie,
- Jie,
- oj,
- cj,
- lj,
- Uie
+ sse,
+ _se,
+ vse,
+ yse,
+ bse,
+ fse
];
-function Ej(e) {
- let t = [...Tj, ...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 Ose(e) {
+ let t = [...Dse, ...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 ?? {} };
@@ -34352,7 +36686,7 @@ function Ej(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = MA(e, n.options);
+ let t = VM(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -34367,7 +36701,7 @@ function Ej(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: Y(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: WM(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -34378,20 +36712,20 @@ function Ej(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), X(e, "debugColumns", "_getDefaultColumnDef")),
+ }), GM(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: Y(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: WM(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = Nie(n, e, i, r), o = e;
+ let a = nse(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, X(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: Y(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), X(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: Y(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), X(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: Y(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), X(e, "debugColumns", "getAllLeafColumns")),
+ }, GM(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: WM(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), GM(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: WM(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), GM(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: WM(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), GM(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -34401,8 +36735,8 @@ function Ej(e) {
}
return n;
}
-function Dj() {
- return (e) => Y(() => [e.options.data], (t) => {
+function kse() {
+ return (e) => WM(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -34411,7 +36745,7 @@ function Dj() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = Fie(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = ise(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));
@@ -34420,9 +36754,9 @@ function Dj() {
return o;
};
return n.rows = r(t), n;
- }, X(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, GM(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function Oj(e) {
+function Ase(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -34433,8 +36767,8 @@ function Oj(e) {
rowsById: e.rowsById
};
}
-function kj(e) {
- return (e) => Y(() => [
+function jse(e) {
+ return (e) => WM(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -34447,7 +36781,7 @@ function kj(e) {
rows: a,
flatRows: o,
rowsById: s
- } : Oj({
+ } : Ase({
rows: a,
flatRows: o,
rowsById: s
@@ -34456,32 +36790,32 @@ function kj(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, X(e.options, "debugTable", "getPaginationRowModel"));
+ }, GM(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function Aj(e, t) {
- return e ? jj(e) ? /*#__PURE__*/ E.createElement(e, t) : e : null;
+function DN(e, t) {
+ return e ? Mse(e) ? /*#__PURE__*/ D.createElement(e, t) : e : null;
}
-function jj(e) {
- return Mj(e) || typeof e == "function" || Nj(e);
+function Mse(e) {
+ return ON(e) || typeof e == "function" || kN(e);
}
-function Mj(e) {
+function ON(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Nj(e) {
+function kN(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function Pj(e) {
+function AN(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = E.useState(() => ({ current: Ej(t) })), [r, i] = E.useState(() => n.current.initialState);
+ }, [n] = D.useState(() => ({ current: Ose(t) })), [r, i] = D.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -34495,114 +36829,14 @@ function Pj(e) {
})), n.current;
}
//#endregion
-//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Fj(e) {
- return /* @__PURE__ */ (0, D.jsx)("svg", {
- viewBox: "0 0 16 16",
- fill: "none",
- "aria-hidden": !0,
- ...e,
- children: /* @__PURE__ */ (0, D.jsx)("path", {
- d: "M4 7L7.29289 10.2929C7.68342 10.6834 8.31658 10.6834 8.70711 10.2929L12 7",
- stroke: "currentColor",
- strokeWidth: "2",
- strokeLinecap: "round"
- })
- });
-}
-function Ij(e) {
- return /* @__PURE__ */ (0, D.jsx)("svg", {
- viewBox: "0 0 24 24",
- fill: "none",
- "aria-hidden": !0,
- ...e,
- children: /* @__PURE__ */ (0, D.jsx)("path", {
- d: "M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z",
- fill: "currentColor"
- })
- });
-}
-//#endregion
-//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Lj(e, t, n) {
- (0, E.useEffect)(() => {
- if (!e) return;
- let r = (e) => {
- let r = e.target;
- n.some((e) => e.current?.contains(r)) || t();
- };
- return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);
- }, [
- e,
- t,
- n
- ]);
-}
-function Rj(e, t) {
- let n = (0, E.useRef)(!1);
- return (0, E.useEffect)(() => {
- if (!e) return;
- let r = (e) => {
- t.current?.contains(e.target) && (n.current = !0, setTimeout(() => {
- n.current = !1;
- }, 400));
- };
- return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);
- }, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
-}
-//#endregion
-//#region src/react/boardui/components/base/select/select.tsx
-var zj = (0, E.createContext)("md");
-function Bj({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
- let l = (0, E.useRef)(null), u = (0, E.useRef)(null), [d, f] = (0, E.useState)(!1);
- Lj(d, () => f(!1), [l, u]);
- let p = Rj(d, l);
- return /* @__PURE__ */ (0, D.jsx)(fD, {
- ref: s,
- ...c,
- isOpen: d,
- onOpenChange: (e) => p(e) && f(e),
- className: lw("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)(hne, {
- ref: l,
- className: lw("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, D.jsx)(gD, {
- className: lw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
- children: o
- }), /* @__PURE__ */ (0, D.jsx)(Fj, { className: lw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, D.jsx)(IE, {
- ref: u,
- isNonModal: !0,
- offset: 4,
- className: lw(eie, Zk, "p-2", n),
- children: /* @__PURE__ */ (0, D.jsx)(xE, {
- items: a,
- className: lw(tie, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, D.jsx)(zj.Provider, {
- value: r,
- children: i
- })
- })
- })] })
- });
-}
-function Vj({ className: e, children: t, ...n }) {
- let r = (0, E.useContext)(zj);
- return /* @__PURE__ */ (0, D.jsx)(TE, {
- ...n,
- className: (t) => lw(Qk, 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/components/selection-dock.tsx
-function Hj({ children: e, count: t, label: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function jN({ children: e, count: t, label: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
"data-glass-pane": "",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
role: "status",
className: "px-2 text-body-2-regular whitespace-nowrap text-text-primary",
children: t
@@ -34611,19 +36845,19 @@ function Hj({ children: e, count: t, label: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Uj = Object.fromEntries(Object.entries(Sk).map(([e, t]) => [t, e])), Wj = 740;
-function Gj() {
- let [e, t] = (0, E.useState)(!1), n = (0, E.useRef)(null), r = (0, E.useCallback)((e) => {
+var MN = Object.fromEntries(Object.entries(cM).map(([e, t]) => [t, e])), NN = 740;
+function PN() {
+ let [e, t] = (0, D.useState)(!1), n = (0, D.useRef)(null), r = (0, D.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < Wj));
- r.observe(e), n.current = r, t(e.clientWidth < Wj);
+ let r = new ResizeObserver(() => t(e.clientWidth < NN));
+ r.observe(e), n.current = r, t(e.clientWidth < NN);
}, []);
- return (0, E.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
+ return (0, D.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var Kj = {
+var FN = {
select: "选择",
author: "创作者",
source: "来源",
@@ -34632,25 +36866,25 @@ var Kj = {
checked: "上次检查",
actions: "操作"
};
-function qj({ page: e, pages: t, onPage: n }) {
- return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {
+function IN({ page: e, pages: t, onPage: n }) {
+ return t <= 1 ? null : /* @__PURE__ */ (0, O.jsxs)("nav", {
"aria-label": "关注列表分页",
className: "flex flex-wrap items-center justify-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: e <= 1,
onClick: () => n(e - 1),
children: "上一页"
}),
- /* @__PURE__ */ (0, D.jsx)("ul", {
+ /* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: sk(e, t).map((t, r) => /* @__PURE__ */ (0, D.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, D.jsx)("span", {
+ children: VO(e, t).map((t, r) => /* @__PURE__ */ (0, O.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
- }) : /* @__PURE__ */ (0, D.jsx)(G, {
+ }) : /* @__PURE__ */ (0, O.jsx)(G, {
variant: t === e ? "secondary" : "ghost",
size: "small",
"aria-label": `第 ${t} 页`,
@@ -34659,7 +36893,7 @@ function qj({ page: e, pages: t, onPage: n }) {
children: t
}) }, t === "…" ? `dots-${r}` : t))
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: e >= t,
@@ -34669,52 +36903,52 @@ function qj({ page: e, pages: t, onPage: n }) {
]
});
}
-function Jj({ source: e, selected: t, onToggle: n, handlers: r }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function LN({ source: e, selected: t, onToggle: n, handlers: r }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(Xk, {
+ /* @__PURE__ */ (0, O.jsx)(GA, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
- /* @__PURE__ */ (0, D.jsxs)("span", {
+ /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, D.jsx)(SA, { source: e }), e.last_error ? /* @__PURE__ */ (0, D.jsx)("small", {
+ children: [/* @__PURE__ */ (0, O.jsx)(PM, { source: e }), e.last_error ? /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.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, D.jsx)(yA, {
+ children: /* @__PURE__ */ (0, O.jsx)(jM, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, D.jsx)(xA, { source: e }),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)(NM, { source: e }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: Vk(e)
+ children: DM(e)
}),
- /* @__PURE__ */ (0, D.jsxs)("span", {
+ /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: kS,
+ leadingIcon: _S,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
- ...J(r.busy),
+ ...Y(r.busy),
onClick: () => r.check([e.id])
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: CS,
+ leadingIcon: dS,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -34723,72 +36957,72 @@ function Jj({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function Yj({ 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(wk).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = jk(r, c);
- return /* @__PURE__ */ (0, D.jsxs)("section", {
+function RN({ 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(uM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = _M(r, c);
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: vw({
+ className: _w({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
}),
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
"data-follow-author-header": !0,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, D.jsx)(bA, {
+ /* @__PURE__ */ (0, O.jsx)(MM, {
group: e,
name: t
}),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "min-w-0 grow text-body-medium break-words text-text-primary",
children: t
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: kS,
+ leadingIcon: _S,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
- ...J(i.busy),
+ ...Y(i.busy),
onClick: () => i.check(l)
}),
- /* @__PURE__ */ (0, D.jsxs)("span", {
+ /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, D.jsx)(yA, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, D.jsx)(M_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, O.jsx)(jM, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, O.jsx)(G_, { children: `来源:${d}` })]
}),
- u ? /* @__PURE__ */ (0, D.jsx)("span", {
+ u ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
children: `${u} 个失败`
}) : null,
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: yS,
+ leadingIcon: sS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
children: p.all ? "取消全选" : "全选"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? vS : hS,
+ leadingIcon: n ? oS : rS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
})
]
- }), /* @__PURE__ */ (0, D.jsx)("div", {
+ }), /* @__PURE__ */ (0, O.jsx)("div", {
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(Jj, {
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(LN, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -34797,43 +37031,43 @@ function Yj({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
})]
});
}
-function Xj(e) {
- let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, E.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, E.useState)(/* @__PURE__ */ new Set()), [C, w] = Gj(), [T, O] = (0, E.useState)(""), k = (0, E.useMemo)(() => Dre(v, n, i, y), [
+function zN(e) {
+ let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, D.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, D.useState)(/* @__PURE__ */ new Set()), [C, w] = PN(), [T, E] = (0, D.useState)(""), k = (0, D.useMemo)(() => noe(v, n, i, y), [
v,
n,
i,
y
- ]), A = (0, E.useMemo)(() => Ore(k, n, i, y), [
+ ]), A = (0, D.useMemo)(() => roe(k, n, i, y), [
k,
n,
i,
y
- ]), { job: j, running: M, outcome: N, start: P } = tA({
- queryKey: gre,
- queryFn: ({ signal: e }) => jre(e),
- start: (e) => Fk(e),
- onError: (e) => O(K(e)),
+ ]), { job: j, running: M, outcome: N, start: P } = BA({
+ queryKey: Gae,
+ queryFn: ({ signal: e }) => ooe(e),
+ start: (e) => xM(e),
+ onError: (e) => E(K(e)),
onFinish: (e) => {
- Bk(), g(e.status === "failed" ? e.error || "检查失败" : Kre(e));
+ EM(), g(e.status === "failed" ? e.error || "检查失败" : xoe(e));
}
}), F = (e) => {
- M || P.isPending || (O(""), P.mutate(e));
- }, I = (e, t) => h(Mk(l, [e], t)), ee = (e, t) => h(Mk(l, e, t)), te = pt({
- mutationFn: (e) => Ik(e),
+ M || P.isPending || (E(""), P.mutate(e));
+ }, I = (e, t) => h(vM(l, [e], t)), ee = (e, t) => h(vM(l, e, t)), te = gt({
+ mutationFn: (e) => SM(e),
onSuccess: (e, t) => {
- zk([t]), h(Mk(l, [t], !1)), g("已取消关注来源");
+ TM([t]), h(vM(l, [t], !1)), g("已取消关注来源");
},
- onError: (e) => O(K(e))
- }), L = (e) => void c({
+ onError: (e) => E(K(e))
+ }), ne = (e) => void c({
title: "取消关注来源",
body: "将移除这个来源及已抓取的条目,媒体文件保留。",
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => te.mutateAsync(e.id)
- }), ne = pt({
+ }), L = gt({
mutationFn: async (e) => {
let t = await r(e.ids, 4, async (t) => {
- e.action === "remove" ? await Ik(t) : await Fre(t, e.action === "enabled");
+ e.action === "remove" ? await SM(t) : await uoe(t, e.action === "enabled");
});
return {
...e,
@@ -34842,58 +37076,58 @@ function Xj(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") zk(e.done);
- else for (let t of e.done) Gre(t, { enabled: e.action === "enabled" });
- h(Mk(l, e.done, !1));
+ if (e.action === "remove") TM(e.done);
+ else for (let t of e.done) boe(t, { enabled: e.action === "enabled" });
+ h(vM(l, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
- O(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
+ E(`${t.length}/${e.ids.length} 个来源未更新:${K(t[0]?.error)}`);
return;
}
- O("");
+ E("");
let n = e.action === "remove" ? "删除" : e.action === "enabled" ? "启用" : "暂停";
g(`已${n} ${e.done.length} 个关注来源`);
},
- onError: (e) => O(K(e))
- }), re = pt({
+ onError: (e) => E(K(e))
+ }), re = gt({
mutationFn: async (e) => {
- let t = ((await Bre()).groups || []).flatMap((e) => [
+ let t = ((await hoe()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await r(t, 6, (t) => zre(t, e))).filter((e) => !e.ok)
+ failed: (await r(t, 6, (t) => moe(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (Bk(), e.failed.length) {
- O(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
+ if (EM(), e.failed.length) {
+ E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
- O(""), g(`已批量标记 ${e.ids.length} 项`);
+ E(""), g(`已批量标记 ${e.ids.length} 项`);
},
- onError: (e) => O(K(e))
- }), ie = (0, E.useRef)({
+ onError: (e) => E(K(e))
+ }), ie = (0, D.useRef)({
check: F,
- remove: L,
+ remove: ne,
busy: !1,
readOnly: u
});
ie.current = {
check: F,
- remove: L,
+ remove: ne,
busy: M || P.isPending,
readOnly: u
};
- let ae = ie.current, oe = (0, E.useMemo)(() => {
- let e = kie(), t = (e) => () => Kj[e] || e;
+ let ae = ie.current, oe = (0, D.useMemo)(() => {
+ let e = Qoe(), t = (e) => () => FN[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, D.jsx)(Xk, {
+ cell: (e) => /* @__PURE__ */ (0, O.jsx)(GA, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -34903,12 +37137,12 @@ function Xj(e) {
e.accessor((e) => e.author, {
id: "author",
header: t("author"),
- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {
+ cell: (e) => /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(bA, {
+ children: [/* @__PURE__ */ (0, O.jsx)(MM, {
group: e.row.original.group,
name: e.row.original.author
- }), /* @__PURE__ */ (0, D.jsx)("span", {
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 break-words",
children: e.row.original.author
})]
@@ -34917,9 +37151,9 @@ function Xj(e) {
e.accessor((e) => e.source.label, {
id: "source",
header: t("source"),
- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {
+ cell: (e) => /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, D.jsx)(SA, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, D.jsx)("small", {
+ children: [/* @__PURE__ */ (0, O.jsx)(PM, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -34928,40 +37162,40 @@ function Xj(e) {
e.accessor((e) => e.source.provider_label, {
id: "provider",
header: t("provider"),
- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {
+ cell: (e) => /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, D.jsx)(yA, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, O.jsx)(jM, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, D.jsx)(xA, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, O.jsx)(NM, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => Vk(e.row.original.source)
+ cell: (e) => DM(e.row.original.source)
}),
e.display({
id: "actions",
header: t("actions"),
- cell: (e) => /* @__PURE__ */ (0, D.jsxs)("span", {
+ cell: (e) => /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex items-center gap-1",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: kS,
+ leadingIcon: _S,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || ae.readOnly,
- ...J(ae.busy),
+ ...Y(ae.busy),
onClick: () => ie.current.check([e.row.original.source.id])
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: CS,
+ leadingIcon: dS,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: ae.readOnly,
onClick: () => ie.current.remove(e.row.original.source)
@@ -34969,13 +37203,13 @@ function Xj(e) {
})
})
];
- }, [ae]), se = (0, E.useMemo)(() => {
- let e = Uj[n];
+ }, [ae]), se = (0, D.useMemo)(() => {
+ let e = MN[n];
return e ? [{
id: e,
desc: i === "desc"
}] : [];
- }, [n, i]), ce = (0, E.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), le = o === "table", ue = kre(le ? A.length : k.length, s, a), R = Pj({
+ }, [n, i]), ce = (0, D.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), le = o === "table", ue = ioe(le ? A.length : k.length, s, a), R = AN({
data: A,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -34992,7 +37226,7 @@ function Xj(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(se) : e)[0];
if (!t) return;
- let n = Sk[t.id];
+ let n = cM[t.id];
n && d(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -35006,168 +37240,168 @@ function Xj(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === s ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);
},
- getCoreRowModel: Dj(),
- getPaginationRowModel: kj()
- }), de = R.getRowModel().rows, fe = le ? de.map((e) => e.original.source.id) : k.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), pe = jk(l, fe), me = [...l], he = qre(N), ge = Jre(N), _e = k.length > 0 && x.size >= k.length;
- return v.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
- className: vw({
+ getCoreRowModel: kse(),
+ getPaginationRowModel: jse()
+ }), z = R.getRowModel().rows, de = le ? z.map((e) => e.original.source.id) : k.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), fe = _M(l, de), pe = [...l], me = Soe(N), he = Coe(N), ge = k.length > 0 && x.size >= k.length;
+ return v.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: _w({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
ref: C,
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
+ /* @__PURE__ */ (0, O.jsx)("h3", {
className: "mr-auto text-title-2-medium text-text-primary",
children: "关注列表"
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${v.length} 个来源${b.new ? ` · ${b.new} 条未看` : ""}`
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
- leadingIcon: kS,
+ leadingIcon: _S,
disabled: u,
"aria-label": "检查全部",
iconOnly: w,
- ...J(ae.busy),
+ ...Y(ae.busy),
onClick: () => F([]),
children: "检查全部"
}),
- /* @__PURE__ */ (0, D.jsxs)("span", {
+ /* @__PURE__ */ (0, O.jsxs)("span", {
"data-button-group": !0,
role: "group",
"aria-label": "关注列表版式",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: wte,
- "aria-label": bk[0][1],
+ leadingIcon: Vte,
+ "aria-label": oM[0][1],
"aria-pressed": !le,
onClick: () => p("default")
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Ete,
- "aria-label": bk[1][1],
+ leadingIcon: Ute,
+ "aria-label": oM[1][1],
"aria-pressed": le,
onClick: () => p("table")
})]
}),
- /* @__PURE__ */ (0, D.jsx)(Bj, {
+ /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- d(t, ak[t]);
+ d(t, Jj[t]);
},
- children: ik.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: Kj.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: i === "asc" ? hte : mte,
- "aria-label": Cre(n, i),
+ leadingIcon: i === "asc" ? Mte : jte,
+ "aria-label": Qae(n, i),
onClick: () => d(n, i === "asc" ? "desc" : "asc")
}),
- le ? null : /* @__PURE__ */ (0, D.jsx)(G, {
+ le ? null : /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: _e ? hS : vS,
- "aria-label": _e ? "全部展开" : "全部收起",
- onClick: () => S(_e ? /* @__PURE__ */ new Set() : new Set(k.map((e) => String(e[0].author_key || e[0].id)))),
- children: _e ? "全部展开" : "全部收起"
+ leadingIcon: ge ? rS : oS,
+ "aria-label": ge ? "全部展开" : "全部收起",
+ onClick: () => S(ge ? /* @__PURE__ */ new Set() : new Set(k.map((e) => String(e[0].author_key || e[0].id)))),
+ children: ge ? "全部展开" : "全部收起"
})
]
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- M ? j?.total ? /* @__PURE__ */ (0, D.jsx)(Cw, {
+ M ? j?.total ? /* @__PURE__ */ (0, O.jsx)(ww, {
label: j.message || `${j.older ? "抓取历史" : "检查更新"}:已完成 ${j.checked || 0}/${j.total} 个来源`,
value: j.checked || 0,
max: j.total
- }) : /* @__PURE__ */ (0, D.jsx)(bw, { label: j?.message || "正在准备检查任务" }) : null,
- T ? /* @__PURE__ */ (0, D.jsx)(q, {
+ }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: j?.message || "正在准备检查任务" }) : null,
+ T ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "操作未完成",
children: T
}) : null,
- he.length ? /* @__PURE__ */ (0, D.jsx)(q, {
+ me.length ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
- title: `${he.length} 个来源检查失败`,
- extra: /* @__PURE__ */ (0, D.jsx)("ul", {
+ title: `${me.length} 个来源检查失败`,
+ extra: /* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex flex-col gap-0.5 text-body-2-regular",
- children: he.map((e, t) => /* @__PURE__ */ (0, D.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
+ children: me.map((e, t) => /* @__PURE__ */ (0, O.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
}),
children: "这些来源这一轮没有取到更新。"
}) : null,
- ge ? /* @__PURE__ */ (0, D.jsx)(q, {
+ he ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
- children: `候选已入库,但这一次的原始响应没有留档:${ge}`
+ children: `候选已入库,但这一次的原始响应没有留档:${he}`
}) : null
]
}),
- me.length ? /* @__PURE__ */ (0, D.jsxs)(Hj, {
+ pe.length ? /* @__PURE__ */ (0, O.jsxs)(jN, {
label: "关注来源批量操作",
- count: `已选 ${me.length} 个来源`,
+ count: `已选 ${pe.length} 个来源`,
children: [
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: u,
- ...J(ae.busy),
- onClick: () => F(me),
+ ...Y(ae.busy),
+ onClick: () => F(pe),
children: "检查所选"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: u,
- ...J(ne.isPending),
- onClick: () => ne.mutate({
- ids: me,
+ ...Y(L.isPending),
+ onClick: () => L.mutate({
+ ids: pe,
action: "enabled"
}),
children: "启用"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: u,
- ...J(ne.isPending),
- onClick: () => ne.mutate({
- ids: me,
+ ...Y(L.isPending),
+ onClick: () => L.mutate({
+ ids: pe,
action: "paused"
}),
children: "暂停"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "danger",
size: "small",
disabled: u,
- ...J(ne.isPending),
+ ...Y(L.isPending),
onClick: () => void c({
- title: `删除 ${me.length} 个关注来源`,
+ title: `删除 ${pe.length} 个关注来源`,
body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",
confirmLabel: "删除所选来源",
danger: !0,
- onConfirm: () => ne.mutateAsync({
- ids: me,
+ onConfirm: () => L.mutateAsync({
+ ids: pe,
action: "remove"
})
}),
children: "删除"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
onClick: () => h(/* @__PURE__ */ new Set()),
@@ -35175,9 +37409,9 @@ function Xj(e) {
})
]
}) : null,
- le ? /* @__PURE__ */ (0, D.jsx)(EA, {
+ le ? /* @__PURE__ */ (0, O.jsx)(qA, {
follow: !0,
- children: /* @__PURE__ */ (0, D.jsxs)(TA, {
+ children: /* @__PURE__ */ (0, O.jsxs)(KA, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -35188,43 +37422,43 @@ function Xj(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, D.jsx)(KD, { children: R.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Sk, n = Aj(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, D.jsx)(ZD, {
+ children: [/* @__PURE__ */ (0, O.jsx)(ED, { children: R.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in cM, n = DN(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, O.jsx)(DD, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
- children: ({ sortDirection: e }) => t ? /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: ({ sortDirection: e }) => t ? /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [n, /* @__PURE__ */ (0, D.jsx)("span", {
+ children: [n, /* @__PURE__ */ (0, O.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, D.jsx)(Ij, {})
+ children: /* @__PURE__ */ (0, O.jsx)(Nae, {})
})]
- }) : /* @__PURE__ */ (0, D.jsx)(M_, { children: n })
+ }) : /* @__PURE__ */ (0, O.jsx)(G_, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, D.jsx)(tO, {
+ }) }), /* @__PURE__ */ (0, O.jsx)(kD, {
renderEmptyState: () => "这一页没有来源",
- children: de.map((e) => /* @__PURE__ */ (0, D.jsx)(aO, {
+ children: z.map((e) => /* @__PURE__ */ (0, O.jsx)(MD, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, D.jsx)(cO, { children: Aj(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, O.jsx)(PD, { children: DN(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Xk, {
- isSelected: pe.all,
- isIndeterminate: pe.some,
- onChange: (e) => ee(fe, e),
+ }) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(GA, {
+ isSelected: fe.all,
+ isIndeterminate: fe.some,
+ onChange: (e) => ee(de, e),
"aria-label": "全选本页来源",
children: "全选本页"
- }), /* @__PURE__ */ (0, D.jsx)("div", {
+ }), /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-3",
children: k.slice(ue.start, ue.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, D.jsx)(Yj, {
+ return /* @__PURE__ */ (0, O.jsx)(RN, {
group: e,
- name: kk(e, y),
+ name: hM(e, y),
handlers: ae,
selected: l,
open: !x.has(t),
@@ -35237,50 +37471,50 @@ function Xj(e) {
}, t);
})
})] }),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${ue.start + 1}–${ue.end} / ${ue.total} ${le ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, D.jsx)(Bj, {
+ /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(s),
onSelectionChange: (e) => {
e !== null && R.setPageSize(Number(e));
},
- children: xk.map((e) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: sM.map((e) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: String(e),
children: `每页 ${e} ${le ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, D.jsx)(qj, {
+ /* @__PURE__ */ (0, O.jsx)(IN, {
page: ue.page,
pages: ue.pages,
onPage: (e) => R.setPageIndex(e - 1)
})
]
}),
- b.new ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ b.new ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "-mx-6 -mb-5 flex flex-wrap items-center gap-2 border-t border-separator-border rounded-b-2xl bg-card-footer px-6 py-4 max-sm:-mx-4 max-sm:px-4",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `未看 ${b.new} · 已看 ${b.seen || 0} · 已保存 ${b.saved || 0} · 已忽略 ${b.ignored || 0}`
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
onClick: _,
children: "去看更新"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: u,
- ...J(re.isPending),
+ ...Y(re.isPending),
onClick: () => void c({
title: "标记已看",
body: "将把当前未看作品标记为已看。",
@@ -35289,11 +37523,11 @@ function Xj(e) {
}),
children: "全部标记已看"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: u,
- ...J(re.isPending),
+ ...Y(re.isPending),
onClick: () => void c({
title: "标记已忽略",
body: "将把当前未看作品标记为已忽略。",
@@ -35305,72 +37539,72 @@ function Xj(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: AS,
+ icon: vS,
title: "还没有关注来源",
children: "关注来源及其检查状态会显示在这里。"
});
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var Zj = [
+var BN = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "订阅源"],
["source", "来源和凭证"]
-], Qj = (e) => Zj.some(([t]) => t === e);
-function $j({ term: e, figure: t, unit: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: vw({
+], VN = (e) => BN.some(([t]) => t === e);
+function HN({ term: e, figure: t, unit: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: _w({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-medium text-text-secondary",
children: e
- }), /* @__PURE__ */ (0, D.jsxs)("b", {
+ }), /* @__PURE__ */ (0, O.jsxs)("b", {
className: "text-title-1-medium tabular-nums text-text-primary",
- children: [t, /* @__PURE__ */ (0, D.jsx)("small", {
+ children: [t, /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-body-2-regular text-text-secondary",
children: ` ${n}`
})]
})]
});
}
-function eM(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, E.useState)(Qj(e.tab) ? e.tab : "list"), [u, d] = (0, E.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, E.useState)(() => ok(e.sort, e.dir).sort), [m, h] = (0, E.useState)(() => ok(e.sort, e.dir).dir), [g, _] = (0, E.useState)(bre(e.layout) ? e.layout : "default"), [v, y] = (0, E.useState)(xre(e.pageSize)), [b, x] = (0, E.useState)(/* @__PURE__ */ new Set()), S = ft({
- queryKey: _k,
- queryFn: ({ signal: e }) => Nk(e)
- }), C = ft({
- queryKey: vk,
- queryFn: ({ signal: e }) => Pk(e)
+function UN(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, D.useState)(VN(e.tab) ? e.tab : "list"), [u, d] = (0, D.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, D.useState)(() => Xj(e.sort, e.dir).sort), [m, h] = (0, D.useState)(() => Xj(e.sort, e.dir).dir), [g, _] = (0, D.useState)(Yae(e.layout) ? e.layout : "default"), [v, y] = (0, D.useState)(Xae(e.pageSize)), [b, x] = (0, D.useState)(/* @__PURE__ */ new Set()), S = ht({
+ queryKey: rM,
+ queryFn: ({ signal: e }) => yM(e)
+ }), C = ht({
+ queryKey: iM,
+ queryFn: ({ signal: e }) => bM(e)
}), w = S.data || { sources: [] }, T = C.data || {
root: "",
providers: []
- }, O = w.sources;
- (0, E.useEffect)(() => {
+ }, E = w.sources;
+ (0, D.useEffect)(() => {
x((e) => {
- let t = Are(e, O);
+ let t = aoe(e, E);
return t.size === e.size ? e : t;
});
- }, [O]);
+ }, [E]);
let k = (e) => {
let n = e.sort ?? f, r = e.dir ?? m;
t({
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === ak[n] ? "" : r
+ dir: r === Jj[n] ? "" : r
});
- }, A = Ak(O), j = O.filter(wk).length, M = O.filter((e) => e.enabled).length, N = (T.providers || []).filter((e) => e.requirement === "required" && !Hk(e)).length;
- return /* @__PURE__ */ (0, D.jsxs)(xw, { children: [
- a ? /* @__PURE__ */ (0, D.jsx)(q, {
+ }, A = gM(E), j = E.filter(uM).length, M = E.filter((e) => e.enabled).length, N = (T.providers || []).filter((e) => e.requirement === "required" && !OM(e)).length;
+ return /* @__PURE__ */ (0, O.jsxs)(xw, { children: [
+ a ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
- extra: s ? /* @__PURE__ */ (0, D.jsx)("p", {
+ extra: s ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular",
- children: /* @__PURE__ */ (0, D.jsx)("a", {
+ children: /* @__PURE__ */ (0, O.jsx)("a", {
href: s,
className: "text-text-primary underline underline-offset-2",
children: "前往写入端管理关注"
@@ -35378,53 +37612,53 @@ function eM(e) {
}) : void 0,
children: o
}) : null,
- /* @__PURE__ */ (0, D.jsxs)("div", {
- className: Kk,
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: iA,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, D.jsx)($j, {
+ /* @__PURE__ */ (0, O.jsx)(HN, {
term: "关注创作者",
figure: A.length,
unit: "位"
}),
- /* @__PURE__ */ (0, D.jsx)($j, {
+ /* @__PURE__ */ (0, O.jsx)(HN, {
term: "启用来源",
figure: M,
- unit: `/ ${O.length}`
+ unit: `/ ${E.length}`
}),
- /* @__PURE__ */ (0, D.jsx)($j, {
+ /* @__PURE__ */ (0, O.jsx)(HN, {
term: "检查失败",
figure: j,
unit: "个来源"
}),
- /* @__PURE__ */ (0, D.jsx)($j, {
+ /* @__PURE__ */ (0, O.jsx)(HN, {
term: "未看更新",
figure: w.counts?.new || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, D.jsxs)(bO, {
+ /* @__PURE__ */ (0, O.jsxs)(RD, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- Qj(t) && (l(t), k({ tab: t }));
+ VN(t) && (l(t), k({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, D.jsx)(SO, {
+ /* @__PURE__ */ (0, O.jsx)(zD, {
"aria-label": "关注管理区域",
- className: Uk,
- children: Zj.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(wO, {
+ className: kM,
+ children: BN.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(BD, {
id: e,
- className: Wk,
+ className: AM,
children: e === "source" && N ? `${t}(${N})` : t
}, e))
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, D.jsx)(Xj, {
+ children: /* @__PURE__ */ (0, O.jsx)(zN, {
data: w,
sort: f,
dir: m,
@@ -35454,10 +37688,10 @@ function eM(e) {
}
})
}),
- /* @__PURE__ */ (0, D.jsxs)(TO, {
+ /* @__PURE__ */ (0, O.jsxs)(VD, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, D.jsx)(fie, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Loe, {
data: w,
credentials: T,
readOnly: a,
@@ -35465,7 +37699,7 @@ function eM(e) {
openCredentials: () => {
l("source"), k({ tab: "source" });
}
- }), /* @__PURE__ */ (0, D.jsx)(hie, {
+ }), /* @__PURE__ */ (0, O.jsx)(Boe, {
groups: w.author_aliases || [],
readOnly: a,
toast: r,
@@ -35473,18 +37707,18 @@ function eM(e) {
sources: w.sources
})]
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, D.jsx)(Oie, {
+ children: /* @__PURE__ */ (0, O.jsx)(Zoe, {
readOnly: a,
toast: r
})
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, D.jsx)(Eie, {
+ children: /* @__PURE__ */ (0, O.jsx)(Yoe, {
data: T,
readOnly: a,
toast: r
@@ -35495,470 +37729,827 @@ function eM(e) {
] });
}
//#endregion
-//#region src/react/library-processing/library-processing.ts
-var tM = "/api/library-processing", nM = ["library-processing"], rM = (e) => gw(tM, e);
-async function iM(e) {
- await Tw.fetchQuery({
- queryKey: nM,
- queryFn: () => rM(e)
+//#region src/react/follow/online-vocab.ts
+var WN = "/api/follow/authors", GN = "/api/follow/tags", KN = (e) => [
+ "follow",
+ "authors",
+ e
+], qN = (e, t) => [
+ "follow",
+ "tags",
+ e,
+ t
+];
+function JN(e, t, n) {
+ let r = new URLSearchParams({
+ limit: String(t),
+ offset: String(n)
});
+ return e && r.set("q", e), `${WN}?${r}`;
}
-var aM = 2e3, oM = 1e4, sM = "连接中断,正在重新读取处理进度";
-function cM(e, t) {
- return e?.status === "running" ? aM : t ? oM : !1;
+function YN(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), `${GN}?${i}`;
+}
+var XN = (e, t, n, r) => lw(JN(e, t, n), r), ZN = (e, t, n, r, i) => lw(YN(e, t, n, r), i), QN = "/api/index", $N = {
+ performers: "艺人",
+ creators: "创作者",
+ studios: "厂牌",
+ agencies: "事务所",
+ tags: "标签"
+}, eP = {
+ performers: "performer",
+ creators: "creator",
+ studios: "studio",
+ agencies: "agency"
+}, tP = [
+ ["all", "全部"],
+ ["meta", "影片属性"],
+ ["relationship", "人物关系"],
+ ["role", "角色设定"],
+ ["appearance", "外貌身材"],
+ ["scene", "情境场所"],
+ ["story", "故事剧情"],
+ ["position", "性交体位"],
+ ["general", "其他内容"]
+], nP = [
+ ["all", "全部"],
+ ["general", "通用"],
+ ["artist", "创作者"],
+ ["character", "角色"],
+ ["copyright", "作品"],
+ ["metadata", "元数据"]
+], rP = {
+ people: 120,
+ tags: 180
+}, iP = (e) => e !== "tags", aP = (e) => e === "studios" || e === "agencies";
+function oP(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? nP : tP).some(([t]) => t === e.category);
+ return {
+ ...e,
+ scope: t,
+ category: e.kind === "tags" && n ? e.category : "all"
+ };
}
-var lM = {
- reading_local: "读取本地资料",
- querying_metadata: "查询外部资料",
- fetching_cover: "采集缺失封面",
- writing_candidates: "保存资料候选"
-}, uM = {
- querying_metadata: "没有资料",
- fetching_cover: "没有封面"
-};
-function dM(e) {
- let t = Object.entries(e).filter(([e, t]) => uM[e] && t > 0).map(([e, t]) => `${uM[e]} ${t} 部`);
- return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
+function sP(e) {
+ let { kind: t, q: n, scope: r, category: i } = e;
+ return t === "tags" ? r === "online" ? {
+ what: "online-tags",
+ q: n,
+ category: i
+ } : {
+ what: "tags",
+ q: n,
+ category: i
+ } : t === "performers" && r === "online" ? {
+ what: "online-authors",
+ q: n
+ } : {
+ what: "people",
+ kind: t,
+ q: n
+ };
}
-function fM(e) {
- let t = lM[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;
+var cP = (e, t, n = "all") => [
+ "index",
+ e,
+ t,
+ ...e === "tags" ? [n] : []
+];
+function lP(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), `${QN}?${a}`;
}
-function pM(e) {
- let t = e.issue_preview || [];
- return t.length ? {
- label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
- items: t.map((e, t) => ({
- key: `${e.asset_id ?? "source"}-${t}`,
- label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),
- href: e.asset_id ? `/item/${e.asset_id}` : "",
- note: e.message,
- hint: e.path || ""
- })),
- log: e.issues_log || ""
- } : null;
+function uP(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? rP.people : rP.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: cP(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => lw(lP(e.kind, e.q, "all", t, n), r)
+ };
+ case "tags": return {
+ ...n,
+ queryKey: cP("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => lw(lP("tags", e.q, e.category, t, n), r)
+ };
+ case "online-authors": return {
+ ...n,
+ queryKey: KN(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => XN(e.q, t, n, r)
+ };
+ case "online-tags": return {
+ ...n,
+ queryKey: qN(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => ZN(e.q, e.category, t, n, r)
+ };
+ }
}
-var mM = "peach.library-processing.announced", hM = 120;
-function gM(e, t, n) {
- if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < hM;
- if (!(!n && !r)) {
- try {
- if (e.job_id && localStorage.getItem(mM) === e.job_id) return;
- e.job_id && localStorage.setItem(mM, e.job_id);
- } catch {}
- t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
+async function dP(e, t) {
+ let n = uP(sP(oP(e)));
+ X.removeQueries({
+ queryKey: n.queryKey,
+ exact: !0
+ }), await X.fetchInfiniteQuery({
+ queryKey: n.queryKey,
+ queryFn: ({ pageParam: e }) => n.queryFn({
+ pageParam: e,
+ signal: t
+ }),
+ initialPageParam: 0,
+ getNextPageParam: n.getNextPageParam
+ });
+}
+var fP = (e) => e ? e.pages.flatMap((e) => e.items) : [], pP = (e, t) => `${e}${t ? "+" : ""} 项`, mP = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", hP = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), gP = {
+ numeric: !0,
+ sensitivity: "base"
+};
+function _P(e, t) {
+ let n = /* @__PURE__ */ new Map();
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", gP))) {
+ 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]);
}
+ return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
//#endregion
-//#region src/react/media-repair/media-repair.ts
-var _M = "/api/media-repair", vM = ["media-repair"], yM = ["media-repair", "libraries"], bM = {
- status: "idle",
- library: "",
- stage: "",
- checked: 0,
- total: 0,
- found: 0,
- repaired: 0,
- failed: 0,
- missing_tool: 0,
- skipped: 0,
- message: ""
-}, xM = (e) => gw(_M, e), SM = async (e) => (await gw("/api/libraries", e)).libraries || [];
-async function CM(e) {
- await Promise.all([Tw.fetchQuery({
- queryKey: vM,
- queryFn: () => xM(e)
- }), Tw.fetchQuery({
- queryKey: yM,
- queryFn: () => SM(e)
- })]);
+//#region src/react/components/board-tabs.tsx
+function vP({ value: e }) {
+ return /* @__PURE__ */ (0, O.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 wM = (e) => Number(e).toLocaleString();
-function TM(e) {
- if (e.status === "running") {
- let t = e.total ? `${wM(e.checked)} / ${wM(e.total)}` : "准备中";
- return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
- }
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${wM(e.repaired)} 部,${wM(e.failed)} 部修不了` : `修好 ${wM(e.repaired)} 部` : "";
+var yP = "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 bP({ tabs: e, value: t, label: n, onChange: r }) {
+ let i = (0, D.useRef)(null), a = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ let e = i.current;
+ if (!e) return;
+ let t = () => {
+ let t = e.querySelector("[role=\"tab\"][aria-selected=\"true\"]");
+ !t || !t.offsetWidth || (e.style.setProperty("--tab-x", `${t.offsetLeft}px`), e.style.setProperty("--tab-width", `${t.offsetWidth}px`));
+ };
+ t();
+ let n = requestAnimationFrame(() => a.current?.setAttribute("data-ready", "")), r = new ResizeObserver(t);
+ return r.observe(e), () => {
+ cancelAnimationFrame(n), r.disconnect();
+ };
+ }, [t]), /* @__PURE__ */ (0, O.jsxs)("div", {
+ ref: i,
+ role: "tablist",
+ "aria-label": n,
+ "data-board-tab-list": "",
+ onKeyDown: (n) => {
+ let a = e.findIndex((e) => e.value === t), o = n.key === "ArrowRight" ? a + 1 : n.key === "ArrowLeft" ? a - 1 : n.key === "Home" ? 0 : n.key === "End" ? e.length - 1 : -2;
+ if (o === -2) return;
+ n.preventDefault();
+ let s = e[(o + e.length) % e.length];
+ i.current?.querySelector(`[data-tab="${s.value}"]`)?.focus(), s.value !== t && r(s.value);
+ },
+ 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 ? nA(e.symbol) : null, i = e.value === t;
+ return /* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ role: "tab",
+ "data-tab": e.value,
+ "aria-selected": i,
+ tabIndex: i ? 0 : -1,
+ className: yP,
+ onClick: () => {
+ i || r(e.value);
+ },
+ children: [n ? /* @__PURE__ */ (0, O.jsx)(n, { className: "mr-1.5 size-4" }) : null, e.label]
+ }, e.value);
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
+ ref: a,
+ "aria-hidden": !0,
+ "data-tab-indicator": "",
+ className: "pointer-events-none absolute bottom-0 left-0 z-1 h-0.5 bg-border-focus-ring"
+ })]
+ });
}
-var EM = (e) => `${wM(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`;
-({
- 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 DM = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", OM = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", kM = (e) => o[e] || e, AM = (e) => Tw.setQueryData(vM, e);
-function jM() {
- let e = ft({
- queryKey: vM,
- queryFn: ({ signal: e }) => xM(e),
- refetchInterval: (e) => e.state.data?.status === "running" && eA
- }), t = ft({
- queryKey: yM,
- queryFn: ({ signal: e }) => SM(e)
- }), [n, r] = (0, E.useState)(""), i = ww(), a = e.data ?? bM, o = t.data ?? [], s = a.status === "running", l = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], u = () => {
- l && c({
- title: `修复媒体库「${l.name}」`,
- body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
- confirmLabel: "修复媒体库",
- onConfirm: async () => AM(await _w(_M, {
- library: l.id,
- restart: !0
- }))
- });
- }, d = () => void i.run("stop", (e) => _w(_M, { stop: !0 }, "POST", e), AM), f = TM(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+//#region src/react/index/index-people.tsx
+function xP({ html: e, face: t, company: n, big: r }) {
+ let i = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
+ }, [t]), /* @__PURE__ */ (0, O.jsx)("span", {
+ ref: i,
+ "data-person-ring": "",
+ "data-fit-native": n ? "mark" : "portrait",
+ className: `relative inline-grid flex-none place-items-center self-center overflow-hidden bg-background-secondary-default text-title-1-regular text-text-secondary ${r ? n ? "aspect-square w-full rounded-2lg" : "aspect-3/4 w-full rounded-2lg" : "size-17.5 rounded-full"} [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:max-w-none [&_img]:object-cover [&_img]:object-(--face)`,
+ dangerouslySetInnerHTML: { __html: e }
+ });
+}
+var SP = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function CP({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ ...a,
+ "data-index-cell": "",
+ onClick: i,
+ className: _w({
+ radius: "plain",
+ padding: "none",
+ interactive: !0,
+ className: `${SP} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ }),
+ children: [
+ r,
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-index-name": "",
+ className: "text-body-medium break-all text-text-primary",
+ children: e
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-index-readout": "",
+ className: "text-caption-1-regular text-text-secondary",
+ children: t
+ })
+ ]
+ });
+}
+function wP({ kind: e, items: t, layout: n, props: r }) {
+ let i = eP[e], a = aP(e), o = n === "big";
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-index-grid": "",
+ "data-layout": n,
+ "data-cells": a ? "company" : "people",
+ className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
+ children: t.map((t) => {
+ let n = r.personAvatar(t, i, o);
+ return /* @__PURE__ */ (0, O.jsx)(CP, {
+ "data-k": t.k,
+ "data-kind": i,
+ name: t.k,
+ readout: hP(e, t),
+ big: o,
+ onPress: () => r.openEntity(i, t.k),
+ children: /* @__PURE__ */ (0, O.jsx)(xP, {
+ html: n.html,
+ face: n.face,
+ company: a,
+ big: o
+ })
+ }, t.k);
+ })
+ });
+}
+function TP({ items: e, layout: t, props: n }) {
+ let r = t === "big";
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-index-grid": "",
+ "data-layout": t,
+ "data-cells": "people",
+ className: "index-grid-person gap-3",
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(CP, {
+ "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, O.jsx)(xP, {
+ html: n.authorAvatar(e),
+ company: !1,
+ big: r
+ })
+ }, e.key))
+ });
+}
+//#endregion
+//#region src/react/index/index-tags.tsx
+var EP = () => /* @__PURE__ */ (0, O.jsx)("span", {
+ "aria-hidden": !0,
+ "data-tag-dot": "",
+ className: "size-1.75 flex-none rounded-full"
+});
+function DP({ tag: e, actions: t }) {
+ let n = t.picked.has(e.k);
+ return /* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ "data-alpha-tag": "",
+ "data-k": e.k,
+ "data-tag-cat": mP(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, O.jsx)(EP, {}),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "min-w-0 flex-1 truncate",
+ children: e.label
+ }),
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "flex-none text-caption-1-regular text-text-secondary",
+ children: e.n.toLocaleString()
+ })
+ ]
+ });
+}
+function OP({ groups: e, actions: t }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-alphabet": "",
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, D.jsxs)("section", {
- "aria-label": "媒体修复",
- "data-geist-fieldset": !0,
- "data-cleanup-task": !0,
- "data-cleanup-processing": !0,
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
- "data-geist-fieldset-content": !0,
- children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
- className: "text-title-2-medium text-text-primary",
- children: "媒体修复"
- }),
- /* @__PURE__ */ (0, D.jsx)("p", {
- className: "text-body-2-regular text-text-secondary",
- children: OM
- }),
- s && a.total ? /* @__PURE__ */ (0, D.jsx)(Cw, {
- label: "修复进度",
- value: a.checked,
- max: a.total
- }) : null,
- f ? /* @__PURE__ */ (0, D.jsx)("p", {
- role: "status",
+ children: e.map(([e, n], r) => /* @__PURE__ */ (0, O.jsxs)("section", {
+ "data-alpha-group": r,
+ className: _w({
+ radius: "plain",
+ padding: "none",
+ className: "px-5 pt-4 pb-3"
+ }),
+ children: [/* @__PURE__ */ (0, O.jsxs)("h3", {
+ className: "mb-2 flex items-center text-title-2-medium text-text-primary",
+ children: [e, /* @__PURE__ */ (0, O.jsx)(vP, { value: n.length })]
+ }), /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "index-tag-list gap-x-4 gap-y-0.5",
+ children: n.map((e) => /* @__PURE__ */ (0, O.jsx)(DP, {
+ tag: e,
+ actions: t
+ }, e.k))
+ })]
+ }, e))
+ });
+}
+var kP = "\xA0";
+function AP({ tags: e, actions: t }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-tag-cloud": "",
+ className: "flex flex-wrap gap-1.75",
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ "data-tag-chip": "",
+ "data-k": e.k,
+ "data-tag-cat": mP(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 + kP, /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-tag-n": "",
+ className: "text-caption-1-regular opacity-60",
+ children: e.n.toLocaleString()
+ })]
+ }, e.k))
+ });
+}
+var jP = [[
+ "cloud",
+ "标签云",
+ "tags"
+], [
+ "alphabet",
+ "字母表",
+ "text-aa"
+]];
+function MP({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, O.jsx)(jj, {
+ label: "标签筛选",
+ topLabel: "标签类型",
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, O.jsxs)(Nj, {
+ "data-tag-pill": "",
+ "data-tag-cat": e === "all" ? "all" : mP(n, e),
+ pressed: t === e,
+ onPress: () => o(e),
+ children: [/* @__PURE__ */ (0, O.jsx)(EP, {}), r]
+ }, e)),
+ bottom: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-index-readout": "",
+ className: "flex-none text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
+ children: r
+ }),
+ i.length > 1 ? /* @__PURE__ */ (0, O.jsx)("nav", {
+ "aria-label": "按首字跳转",
+ "data-alpha-jump": "",
+ className: "flex min-w-0 gap-0.5 overflow-x-auto overscroll-x-contain",
+ children: i.map((e, t) => /* @__PURE__ */ (0, O.jsx)("button", {
+ type: "button",
+ onClick: () => s(t),
+ className: "h-7.5 min-w-7.5 flex-none cursor-pointer rounded-glass-key px-1.5 text-caption-1-regular leading-5 text-(--glass-text)/60 outline-none hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring",
+ children: e
+ }, e))
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)(lD, {
+ "aria-label": "标签视图",
+ orientation: "horizontal",
+ value: a,
+ onChange: (e) => c(e),
+ className: `ml-auto ${Ooe}`,
+ children: jP.map(([e, t, n]) => {
+ let r = nA(n);
+ return /* @__PURE__ */ (0, O.jsx)(uD, {
+ value: e,
+ "aria-label": t,
+ "data-glass-segment": "",
+ className: koe,
+ children: /* @__PURE__ */ (0, O.jsx)("span", {
+ title: t,
+ className: "contents",
+ children: /* @__PURE__ */ (0, O.jsx)(r, { className: "size-4" })
+ })
+ }, e);
+ })
+ })
+ ] })
+ });
+}
+function NP({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, O.jsxs)(jN, {
+ label: "所选标签操作",
+ count: `已选 ${e} 个标签`,
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(GA, {
+ isSelected: t === "any",
+ onChange: (e) => n(e ? "any" : "all"),
+ children: /* @__PURE__ */ (0, O.jsxs)("span", {
+ className: "flex flex-col",
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
+ className: "text-body-medium",
+ children: "广泛匹配"
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: f
- }) : null
- ]
- }), /* @__PURE__ */ (0, D.jsxs)("footer", {
- "data-geist-fieldset-footer": !0,
- children: [/* @__PURE__ */ (0, D.jsx)(Bj, {
- "aria-label": "媒体库",
- className: "w-48",
- selectedKey: l?.id ?? null,
- isDisabled: s || !o.length,
- onSelectionChange: (e) => {
- e !== null && r(String(e));
- },
- children: o.map((e) => /* @__PURE__ */ (0, D.jsxs)(Vj, {
- id: e.id,
- textValue: e.name,
- children: [/* @__PURE__ */ (0, D.jsx)(vA, { mark: kM(e.icon) }), e.name]
- }, e.id))
- }), s ? /* @__PURE__ */ (0, D.jsx)(G, {
- onClick: d,
- ...J(i.busy === "stop"),
- children: "停止"
- }) : /* @__PURE__ */ (0, D.jsx)(G, {
- onClick: u,
- disabled: !l,
- children: "开始修复"
- })]
- })]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
- "aria-live": "polite",
- className: "flex flex-col gap-4 empty:hidden",
- children: [
- p && !a.repaired && !a.failed ? /* @__PURE__ */ (0, D.jsx)(q, {
- tone: "info",
- title: "没有要修的",
- children: "这个库里的片子都能直接播。"
- }) : null,
- p && a.missing_tool ? /* @__PURE__ */ (0, D.jsx)(q, {
- tone: "warning",
- title: "缺少 untrunc",
- children: EM(a)
- }) : null,
- m ? /* @__PURE__ */ (0, D.jsx)(q, {
- tone: "error",
- children: m
- }) : null
- ]
- })]
+ children: "开启后匹配任一所选标签;关闭后必须同时包含全部标签。"
+ })]
+ })
+ }),
+ /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ size: "small",
+ onClick: r,
+ children: "清空"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "primary",
+ size: "small",
+ disabled: !e,
+ onClick: i,
+ children: "显示结果"
+ })
+ ]
});
}
//#endregion
-//#region src/react/library-processing/use-library-processing.ts
-function MM({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = ft({
- queryKey: nM,
- queryFn: ({ signal: e }) => rM(e),
- refetchInterval: (e) => cM(e.state.data, r)
- }), [a, o] = (0, E.useState)(null), s = (0, E.useRef)(void 0), c = i.data;
- return (0, E.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") && gM(c, e, r);
- }, [
- c,
- t,
- e
- ]), {
- job: i,
- settled: a,
- forget: () => o(null)
- };
+//#region src/react/index/index-page.tsx
+var PP = [{
+ value: "studios",
+ label: "厂牌",
+ symbol: "clapperboard"
+}, {
+ value: "agencies",
+ label: "事务所",
+ symbol: "briefcase"
+}], FP = [{
+ value: "local",
+ label: "本地",
+ symbol: "hard-drive"
+}, {
+ value: "online",
+ label: "在线",
+ symbol: "rss"
+}], IP = {
+ people: [[
+ "big",
+ "大图 · 竖幅头像",
+ "maximize"
+ ], [
+ "compact",
+ "紧凑 · 圆形头像",
+ "layout-grid"
+ ]],
+ company: [[
+ "big",
+ "大图 · 完整标识",
+ "maximize"
+ ], [
+ "compact",
+ "紧凑 · 圆形标识",
+ "layout-grid"
+ ]]
+};
+function LP({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, O.jsx)(lD, {
+ "aria-label": `${$N[e]}索引版式`,
+ orientation: "horizontal",
+ value: t,
+ onChange: (e) => n(e),
+ "data-index-layout": "",
+ className: `flex-none max-board-narrow:order-3 ${kM}`,
+ children: IP[aP(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = nA(n);
+ return /* @__PURE__ */ (0, O.jsx)(uD, {
+ value: e,
+ "aria-label": t,
+ className: Doe,
+ children: /* @__PURE__ */ (0, O.jsx)("span", {
+ title: t,
+ className: "contents",
+ children: /* @__PURE__ */ (0, O.jsx)(r, { className: "size-4" })
+ })
+ }, e);
+ })
+ });
}
-//#endregion
-//#region src/react/library-processing/library-processing-card.tsx
-var NM = [
- {
- label: "扫描并补全资料",
- icon: SS,
- command: {}
- },
- {
- label: "只扫描",
- icon: ES,
- command: { stage: "scan" }
- },
- {
- label: "只采集",
- icon: yte,
- command: { stage: "collect" }
- }
-], PM = lw(Qk, $k, "text-body-2-medium"), FM = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", IM = (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(",")}。`;
-}, LM = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + IM(e);
-function RM({ busy: e, onRun: t }) {
- let n = (0, E.useRef)(null), [r, i] = (0, E.useState)(!1), a = (n) => {
- e || (i(!1), t(n));
+var RP = nA("search");
+function zP({ label: e, value: t, onQuery: n }) {
+ let [r, i] = (0, D.useState)(t), a = (0, D.useRef)(!1), o = (0, D.useRef)(void 0);
+ (0, D.useEffect)(() => () => clearTimeout(o.current), []);
+ let s = (e) => {
+ clearTimeout(o.current), o.current = setTimeout(() => n(e.trim()), 300);
};
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {
- "data-button-group": !0,
- "data-split-button": !0,
- "data-variant": "primary",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
- leadingIcon: SS,
- onClick: () => a({}),
- ...J(e),
- children: "扫描并补全资料"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
- ref: n,
- iconOnly: !0,
- leadingIcon: hS,
- "aria-label": "更多扫描与采集方式",
- "aria-haspopup": "dialog",
- "aria-expanded": r,
- ...J(e),
- onClick: () => {
- e || i(!0);
- }
- })]
- }), /* @__PURE__ */ (0, D.jsx)(IE, {
- triggerRef: n,
- isOpen: r,
- onOpenChange: i,
- placement: "bottom end",
- offset: 4,
- className: Zk,
- children: /* @__PURE__ */ (0, D.jsx)(BE, {
- "aria-label": "更多扫描与采集方式",
- className: "flex w-52 flex-col gap-1 outline-none",
- children: NM.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, D.jsxs)("button", {
- type: "button",
- className: PM,
- onClick: () => a(n),
- children: [/* @__PURE__ */ (0, D.jsx)(t, {
- "aria-hidden": !0,
- className: "size-4 shrink-0"
- }), e]
- }, e))
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-index-search": "",
+ className: "ml-auto min-w-35 max-w-80 flex-1 max-board-narrow:order-1 max-board-narrow:basis-40",
+ onCompositionStart: () => {
+ a.current = !0;
+ },
+ onCompositionEnd: (e) => {
+ a.current = !1, s(e.target.value);
+ },
+ children: /* @__PURE__ */ (0, O.jsx)(GD, {
+ "aria-label": e,
+ value: r,
+ onChange: (e) => {
+ i(e), a.current || s(e);
+ },
+ children: /* @__PURE__ */ (0, O.jsx)(qD, {
+ type: "search",
+ leadingIcon: RP,
+ spellCheck: !1,
+ autoComplete: "off",
+ onKeyDown: (e) => {
+ e.key !== "Enter" || a.current || e.nativeEvent.isComposing || (e.preventDefault(), clearTimeout(o.current), n(r.trim()));
+ }
+ })
})
- })] });
+ });
}
-function zM({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = pM(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = dM(e.notes || {}), c = KO();
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- "aria-live": "polite",
- className: "flex flex-col gap-4 empty:hidden",
+function BP(e) {
+ let [t, n] = (0, D.useState)(() => oP({
+ kind: e.kind,
+ q: e.q,
+ scope: e.scope,
+ view: e.view,
+ category: e.category
+ })), [r, a] = (0, D.useState)(e.layout), [o, s] = (0, D.useState)(/* @__PURE__ */ new Set()), [c, u] = (0, D.useState)("any"), d = (0, D.useRef)(null), { kind: f, q: p, scope: m, view: h, category: g } = t, _ = $N[f], v = f === "tags" && m === "online", y = f === "performers" && m === "online";
+ (0, D.useEffect)(() => {
+ e.selectMode || s(/* @__PURE__ */ new Set());
+ }, [e.selectMode]);
+ let [b, x] = (0, D.useState)(!1), S = (r, i = !1) => {
+ let a = {
+ ...t,
+ ...r
+ };
+ x(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
+ }, C = uP(sP(t)), w = _t({
+ queryKey: C.queryKey,
+ queryFn: ({ pageParam: e, signal: t }) => C.queryFn({
+ pageParam: e,
+ signal: t
+ }),
+ initialPageParam: 0,
+ getNextPageParam: C.getNextPageParam,
+ placeholderData: b ? me : void 0
+ }), T = fP(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, k = pP(T.length, !!w.hasNextPage);
+ (0, D.useEffect)(() => {
+ d.current && e.refitImages(d.current);
+ }, [r]);
+ let A = (0, D.useMemo)(() => f === "tags" ? T.map((t) => ({
+ ...t,
+ label: e.tagLabel(t.k)
+ })) : [], [T, f]), j = (0, D.useMemo)(() => f === "tags" && h === "alphabet" ? _P(A, (t) => e.tagLabel(t)) : [], [
+ A,
+ h,
+ f
+ ]), M = (t) => {
+ a(t), e.savePreference({ layout: t });
+ }, N = f === "tags" ? /* @__PURE__ */ (0, O.jsx)(bP, {
+ tabs: FP,
+ value: m,
+ label: "词表",
+ onChange: (e) => {
+ s(/* @__PURE__ */ new Set()), S({
+ scope: e,
+ category: "all",
+ view: e === "online" ? "alphabet" : h
+ });
+ }
+ }) : f === "performers" ? /* @__PURE__ */ (0, O.jsx)(bP, {
+ tabs: FP,
+ value: m,
+ label: "名册",
+ onChange: (t) => {
+ t === "online" && e.exitSelectMode(), S({ scope: t });
+ }
+ }) : aP(f) ? /* @__PURE__ */ (0, O.jsx)(bP, {
+ tabs: PP,
+ value: f,
+ label: "公司类型",
+ onChange: (e) => S({ kind: e })
+ }) : null, P = (t) => {
+ if (v) {
+ e.openFollowTag(t);
+ return;
+ }
+ if (!e.selectMode) {
+ e.showTags([t], "all");
+ return;
+ }
+ s((e) => {
+ let n = new Set(e);
+ return n.delete(t) || n.add(t), n;
+ });
+ }, F = (v ? nP : tP).filter(([e]) => e === "all" || Number(w.data?.pages[0]?.categories?.[e] || 0) > 0);
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ ref: d,
+ "data-index-page": f,
+ className: "flex min-w-0 flex-col",
children: [
- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, D.jsx)(q, {
- tone: "warning",
- title: "处理较慢",
- children: FM
- }) : null,
- t || e.status === "failed" ? /* @__PURE__ */ (0, D.jsx)(q, {
- tone: "error",
- action: o ? /* @__PURE__ */ (0, D.jsx)(G, {
- variant: "primary",
- size: "small",
- onClick: r,
- children: "重试未完成项"
- }) : null,
- extra: a ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, D.jsxs)(_A, {
- summary: a.label,
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
- className: "relative",
- children: /* @__PURE__ */ (0, D.jsx)("ul", {
- ref: c,
- className: "max-h-96 overflow-y-auto pr-3",
- children: a.items.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {
- className: "flex flex-col gap-0.5 border-b border-current/15 py-2 first:pt-1 last:border-b-0 last:pb-1",
- children: [
- e.href ? /* @__PURE__ */ (0, D.jsx)("a", {
- href: e.href,
- className: "text-body-2-medium underline-offset-4 hover:underline",
- children: e.label
- }) : /* @__PURE__ */ (0, D.jsx)("span", {
- className: "text-body-2-medium",
- children: e.label
- }),
- /* @__PURE__ */ (0, D.jsx)("span", {
- className: "text-caption-1-regular",
- children: e.note
- }),
- e.hint ? /* @__PURE__ */ (0, D.jsx)("code", {
- className: "text-caption-1-regular break-all",
- children: e.hint
- }) : null
- ]
- }, e.key))
- })
- }), a.log ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, D.jsx)(kA, {
- path: a.log,
- prefix: "完整记录:",
- className: "text-caption-1-regular",
- onRevealed: i
- })
- }) : null]
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ "data-index-head": "",
+ className: "mb-5 flex min-w-0 flex-wrap items-center gap-3 p-1",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)("h2", {
+ "data-index-title": "",
+ className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
+ children: _
+ }),
+ iP(f) ? /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-index-count": "",
+ className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
+ children: w.isPending ? "" : k
+ }) : null,
+ iP(f) ? /* @__PURE__ */ (0, O.jsx)(LP, {
+ kind: f,
+ layout: r,
+ onChange: M
+ }) : null,
+ /* @__PURE__ */ (0, O.jsx)("span", {
+ "aria-hidden": !0,
+ className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(zP, {
+ label: `过滤${_}`,
+ value: p,
+ onQuery: (e) => {
+ e !== p && S({ q: e }, !!e);
+ }
})
- }) : null,
- children: t || e.error || "处理未完成,请重试"
+ ]
+ }),
+ N,
+ f === "tags" ? /* @__PURE__ */ (0, O.jsx)(MP, {
+ categories: F,
+ category: g,
+ online: v,
+ readout: k,
+ letters: j.map(([e]) => e),
+ view: h,
+ onCategory: (e) => S({ category: e }),
+ onView: (e) => S({ view: e }),
+ onJump: (e) => d.current?.querySelector(`[data-alpha-group="${e}"]`)?.scrollIntoView({
+ block: "start",
+ behavior: "smooth"
+ })
}) : null,
- n?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(q, {
- tone: "success",
- title: "处理完成",
- children: LM(n)
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-index-body": "",
+ children: (() => {
+ if (w.isPending) return /* @__PURE__ */ (0, O.jsx)("div", {
+ "aria-busy": "true",
+ dangerouslySetInnerHTML: { __html: l({
+ kind: f,
+ layout: r,
+ mode: h
+ }) }
+ });
+ if (w.isError) return /* @__PURE__ */ (0, O.jsx)(yw, {
+ icon: nA("search"),
+ title: `没能读取${_}`,
+ actions: /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ onClick: () => void w.refetch(),
+ children: "重试"
+ }),
+ children: i(w.error)
+ });
+ if (!T.length) return /* @__PURE__ */ (0, O.jsx)(HP, {
+ kind: f,
+ filtered: !!p || f === "tags" && g !== "all",
+ online: v || y,
+ configurable: e.configurable
+ });
+ if (y) return /* @__PURE__ */ (0, O.jsx)(TP, {
+ items: T,
+ layout: r,
+ props: e
+ });
+ if (iP(f)) return /* @__PURE__ */ (0, O.jsx)(wP, {
+ kind: f,
+ items: T,
+ layout: r,
+ props: e
+ });
+ let t = {
+ online: v,
+ picked: o,
+ press: P
+ };
+ return h === "alphabet" ? /* @__PURE__ */ (0, O.jsx)(OP, {
+ groups: j,
+ actions: t
+ }) : /* @__PURE__ */ (0, O.jsx)(AP, {
+ tags: A,
+ actions: t
+ });
+ })()
+ }),
+ E ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mt-5 flex justify-center",
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ "data-index-more": "",
+ className: "min-w-31",
+ disabled: w.isFetchingNextPage,
+ "aria-busy": w.isFetchingNextPage || void 0,
+ onClick: () => void w.fetchNextPage(),
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, O.jsx)(bw, {
+ inline: !0,
+ label: "继续载入中…"
+ }) : "载入更多"
+ })
}) : null,
- e.status !== "running" && s ? /* @__PURE__ */ (0, D.jsx)(q, {
- tone: "neutral",
- extra: e.issues_log ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, D.jsx)(kA, {
- path: e.issues_log,
- prefix: "完整记录:",
- className: "text-caption-1-regular",
- onRevealed: i
- })
- }) : null,
- children: s
+ f === "tags" && !v && e.selectMode && o.size ? /* @__PURE__ */ (0, O.jsx)(NP, {
+ count: o.size,
+ match: c,
+ onMatch: u,
+ onClear: () => s(/* @__PURE__ */ new Set()),
+ onApply: () => {
+ let t = [...o];
+ s(/* @__PURE__ */ new Set()), e.showTags(t, c);
+ }
}) : null
]
});
}
-function BM(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = MM(e), o = pt({
- mutationFn: (e) => _w(tM, e),
- onSuccess: (e) => {
- a(), Tw.setQueryData(nM, e), Tw.invalidateQueries({ queryKey: nM });
- }
+var VP = {
+ tags: "标签",
+ performers: "艺人",
+ creators: "创作者",
+ studios: "厂牌",
+ agencies: "事务所"
+};
+function HP({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, O.jsx)(yw, {
+ icon: nA("search"),
+ title: "没有符合条件的内容",
+ actions: /* @__PURE__ */ (0, O.jsx)(ow, {
+ variant: "primary",
+ href: "/?loc=&thumb=0",
+ children: "查看全部内容"
+ }),
+ children: "清除筛选或搜索条件后查看全部内容。"
});
- (0, E.useEffect)(() => {
- i && n?.();
- }, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? K(o.error) : r.isError ? r.data ? sM : K(r.error) : "", l = o.isPending || s.status === "running", u = fM(s), d = (e) => {
- l || (o.reset(), o.mutate(e));
- };
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, D.jsxs)("section", {
- "aria-label": "扫描与采集",
- "data-geist-fieldset": !0,
- "data-cleanup-task": !0,
- "data-cleanup-processing": !0,
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
- "data-geist-fieldset-content": !0,
- children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
- className: "text-title-2-medium text-text-primary",
- children: "扫描与采集"
- }),
- /* @__PURE__ */ (0, D.jsx)("p", {
- className: "text-body-2-regular text-text-secondary",
- children: DM
- }),
- s.status === "running" ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: "flex flex-col gap-1.5",
- children: s.total ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Cw, {
- label: u,
- value: s.checked || 0,
- max: s.total
- }), /* @__PURE__ */ (0, D.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: [
- u,
- " · ",
- s.checked || 0,
- " / ",
- s.total,
- " 个视频"
- ]
- })] }) : /* @__PURE__ */ (0, D.jsx)(bw, { label: u })
- }) : null
- ]
- }), /* @__PURE__ */ (0, D.jsxs)("footer", {
- "data-geist-fieldset-footer": !0,
- children: [
- /* @__PURE__ */ (0, D.jsx)(oA, {
- href: "/scraping",
- size: "small",
- trailingIcon: gS,
- children: "来源和凭证"
- }),
- s.candidates ? /* @__PURE__ */ (0, D.jsx)(oA, {
- href: "/review",
- size: "small",
- trailingIcon: gS,
- children: "复核资料"
- }) : null,
- /* @__PURE__ */ (0, D.jsx)(RM, {
- busy: l,
- onRun: d
- })
- ]
- })]
- }), /* @__PURE__ */ (0, D.jsx)(zM, {
- state: s,
- problem: c,
- settled: i,
- onRetry: () => {
- !s.job_id || !s.retryable_asset_ids?.length || d({
- job_id: s.job_id,
- retry: s.retryable_asset_ids
- });
- },
- toast: t
- })]
+ let i = n && e === "performers" ? "创作者" : VP[e], a = /* @__PURE__ */ (0, O.jsx)(ow, {
+ variant: !r || n ? "primary" : "secondary",
+ href: "/follow-manage?tab=add",
+ children: "添加关注"
+ });
+ return /* @__PURE__ */ (0, O.jsx)(yw, {
+ icon: nA(e === "tags" ? "tags" : "user-round"),
+ title: `还没有${i}`,
+ actions: n ? a : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [r ? /* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "primary",
+ "data-empty-settings": "",
+ children: "添加内容"
+ }) : null, a] }),
+ children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var VM = "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", HM = {
- gray: `${VM} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${VM} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${VM} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var UP = "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", WP = {
+ gray: `${UP} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${UP} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${UP} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function UM({ value: e, max: t }) {
+function GP({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
- return /* @__PURE__ */ (0, D.jsxs)("svg", {
+ return /* @__PURE__ */ (0, O.jsxs)("svg", {
role: "progressbar",
"aria-label": "任务完成率",
"aria-valuemin": 0,
@@ -35967,13 +38558,13 @@ function UM({ value: e, max: t }) {
viewBox: "0 0 32 32",
fill: "none",
className: "size-8 shrink-0 -rotate-90 stroke-current",
- children: [/* @__PURE__ */ (0, D.jsx)("circle", {
+ children: [/* @__PURE__ */ (0, O.jsx)("circle", {
cx: "16",
cy: "16",
r: "13",
strokeWidth: "4",
className: "opacity-25"
- }), /* @__PURE__ */ (0, D.jsx)("circle", {
+ }), /* @__PURE__ */ (0, O.jsx)("circle", {
cx: "16",
cy: "16",
r: "13",
@@ -35984,77 +38575,543 @@ function UM({ value: e, max: t }) {
})]
});
}
-function WM(e) {
- let { job: t } = MM(e), n = t.data, r = t.isError ? n ? sM : K(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function KP(e) {
+ let { job: t } = PA(e), n = t.data, r = t.isError ? n ? kO : 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 ? "扫描与资料采集未完成" : fM(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Ste : _te;
- return /* @__PURE__ */ (0, D.jsxs)("aside", {
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : jO(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? zte : Pte;
+ return /* @__PURE__ */ (0, O.jsxs)("aside", {
role: a ? "alert" : "status",
- className: HM[s],
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ className: WP[s],
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, D.jsx)(UM, {
+ children: [o && l ? /* @__PURE__ */ (0, O.jsx)(GP, {
value: c,
max: l
- }) : /* @__PURE__ */ (0, D.jsx)(d, {
+ }) : /* @__PURE__ */ (0, O.jsx)(d, {
"aria-hidden": !0,
className: "size-4 shrink-0"
- }), /* @__PURE__ */ (0, D.jsx)("p", {
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, D.jsx)(oA, {
+ }), /* @__PURE__ */ (0, O.jsx)(lA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: gS,
+ trailingIcon: iS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
-//#region src/react/quality-goals/quality-goals.ts
-var GM = "/api/quality-goals?limit=200", KM = ["quality-goals"], qM = (e) => gw(GM, e);
-async function JM(e) {
- await Tw.fetchQuery({
- queryKey: KM,
- queryFn: () => qM(e)
+//#region src/react/playlists/playlists.ts
+var qP = "/api/playlists", JP = "/api/playlist", YP = ["playlists"], XP = (e) => lw(qP, e);
+async function ZP(e) {
+ await X.fetchQuery({
+ queryKey: YP,
+ queryFn: () => XP(e),
+ staleTime: 0
+ });
+}
+var QP = () => X.invalidateQueries({
+ queryKey: YP,
+ exact: !0
+}), $P = (e) => e.current_asset_id || e.preview_asset_id || null, eF = (e) => `/poster?id=${e}&c=4`, tF = (e) => q(JP, {
+ action: "create",
+ name: e,
+ asset_ids: []
+}), nF = (e, t) => q(JP, {
+ action: "rename",
+ id: e,
+ name: t
+}), rF = (e) => q(JP, {
+ action: "delete",
+ id: e
+}), iF = (e) => lw(`${JP}?id=${e}`).catch(() => null);
+function aF(e) {
+ let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
+ return q(JP, {
+ action: "create",
+ name: e.name,
+ asset_ids: t,
+ source_kind: e.source_kind,
+ source_seed_asset_id: n !== null && t.includes(n) ? n : null
+ });
+}
+//#endregion
+//#region src/react/components/use-stack-flip.ts
+var oF = 1100, sF = 340, cF = 5e3;
+function lF(e, t) {
+ return new Promise((n) => {
+ let r = new Image(), i = !1, a = (e) => {
+ i || (i = !0, clearTimeout(s), r.onload = null, r.onerror = null, t.cancels.delete(o), n(e));
+ }, o = () => a(!1), s = setTimeout(o, cF);
+ t.cancels.add(o), r.onerror = o, r.onload = () => {
+ if (!r.naturalWidth) {
+ a(!1);
+ return;
+ }
+ typeof r.decode == "function" ? r.decode().then(() => a(!0), o) : a(!0);
+ }, r.src = e;
+ });
+}
+function uF({ load: e, canFlip: t }) {
+ let [n, r] = (0, D.useState)([]), [i, a] = (0, D.useState)(0), [o, s] = (0, D.useState)(null), c = (0, D.useRef)({
+ live: !1,
+ generation: 0,
+ timers: /* @__PURE__ */ new Set(),
+ cycle: null,
+ cancels: /* @__PURE__ */ new Set(),
+ armed: null,
+ count: 0,
+ at: 0
+ }), l = (0, D.useRef)({
+ load: e,
+ canFlip: t
+ });
+ l.current = {
+ load: e,
+ canFlip: t
+ };
+ let u = (0, D.useCallback)(() => {
+ let e = c.current;
+ e.live = !1, e.generation += 1, e.timers.forEach(clearTimeout), e.timers.clear(), e.armed = null, e.cycle !== null && clearInterval(e.cycle), e.cycle = null, e.cancels.forEach((e) => e()), e.count = 0, e.at = 0;
+ }, []), d = (e, t) => {
+ let n = setTimeout(() => {
+ c.current.timers.delete(n), t();
+ }, e);
+ return c.current.timers.add(n), n;
+ }, f = () => {
+ let e = c.current;
+ if (!e.live || e.count < 2) return;
+ let t = e.at;
+ e.at = (t + 1) % e.count, s(t), a(e.at), d(980, () => s((e) => e === t ? null : e));
+ }, p = async () => {
+ let e = c.current;
+ if (e.live || !l.current.canFlip()) return;
+ e.live = !0;
+ let t = ++e.generation, n = () => e.live && t === e.generation, i = [];
+ try {
+ i = (await l.current.load()).slice(0, 9);
+ } catch {
+ return;
+ }
+ if (!n() || !l.current.canFlip() || i.length < 2) return;
+ let o = await Promise.all(i.map((t) => lF(t, e)));
+ if (!n() || !l.current.canFlip()) return;
+ let u = i.filter((e, t) => o[t]);
+ u.length < 2 || (e.count = u.length, e.at = 0, r(u), a(0), s(null), d(420, () => {
+ f(), e.cycle = setInterval(f, oF);
+ }));
+ };
+ return (0, D.useEffect)(() => u, [u]), {
+ faces: n,
+ current: i,
+ leaving: o,
+ onPointerEnter: () => {
+ let e = c.current;
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(sF, () => {
+ e.armed = null, p();
+ });
+ },
+ onPointerLeave: () => {
+ u(), r([]), a(0), s(null);
+ }
+ };
+}
+//#endregion
+//#region src/react/components/mix-card.tsx
+var dF = nA("play");
+function fF({ src: e }) {
+ let [t, n] = (0, D.useState)(!1);
+ return t ? null : /* @__PURE__ */ (0, O.jsx)("img", {
+ "data-mix-poster": "",
+ src: e,
+ alt: "",
+ loading: "lazy",
+ onError: () => n(!0),
+ className: "absolute inset-0 block size-full object-contain"
+ });
+}
+var pF = "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 mF({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-mix-avatars": "",
+ children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, O.jsx)("button", {
+ type: "button",
+ title: `打开资料页:${e.name}`,
+ "aria-label": `打开资料页:${e.name}`,
+ onClick: () => r(e.kind, e.name),
+ className: `${pF} cursor-pointer outline-none`,
+ dangerouslySetInnerHTML: { __html: n(e) }
+ }, `${e.kind}:${e.id}`))
+ }) : /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-mix-initial": "",
+ "aria-hidden": !0,
+ className: `${pF} mt-0.5`,
+ children: t
+ });
+}
+function hF({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ...f }) {
+ let p = uF({
+ load: i,
+ canFlip: a
+ });
+ return /* @__PURE__ */ (0, O.jsxs)("article", {
+ ...f,
+ "data-mix-card": "",
+ onMouseEnter: p.onPointerEnter,
+ onMouseLeave: p.onPointerLeave,
+ className: "relative flex min-w-0 cursor-pointer flex-col gap-2",
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
+ "data-mix-stack": "",
+ className: "relative isolate rounded-surface",
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
+ "data-mix-cover": "",
+ className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden rounded-surface",
+ children: [
+ r ? /* @__PURE__ */ (0, O.jsx)(fF, { src: r }, r) : /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
+ children: "无预览"
+ }),
+ /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-mix-faces": "",
+ hidden: !p.faces.length,
+ children: p.faces.map((e, t) => /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-mix-face": t === p.current ? "on" : t === p.leaving ? "off" : "",
+ children: /* @__PURE__ */ (0, O.jsx)("img", {
+ src: e,
+ alt: "",
+ loading: "eager"
+ })
+ }, e))
+ }),
+ /* @__PURE__ */ (0, O.jsx)("button", {
+ type: "button",
+ "data-mix-open": "",
+ "aria-label": u,
+ disabled: !l,
+ onClick: l,
+ className: "absolute inset-0 z-1 cursor-pointer rounded-surface outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring disabled:cursor-default"
+ }),
+ /* @__PURE__ */ (0, O.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, O.jsx)(dF, {
+ "aria-hidden": !0,
+ className: "size-3.75"
+ }), `${n} 个视频`]
+ })
+ ]
+ })
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex min-w-0 items-start gap-2.25",
+ children: [
+ /* @__PURE__ */ (0, O.jsx)(mF, {
+ faces: o,
+ fallback: e.slice(0, 1),
+ faceAvatar: s,
+ onOpenEntity: c
+ }),
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex min-w-0 flex-1 flex-col",
+ children: [/* @__PURE__ */ (0, O.jsx)("b", {
+ className: "truncate text-body-bold text-text-primary",
+ children: e
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
+ className: "mt-0.5 truncate text-caption-1-regular text-text-secondary",
+ children: t
+ })]
+ }),
+ d
+ ]
+ })]
+ });
+}
+//#endregion
+//#region src/react/playlists/playlists-page.tsx
+var gF = nA("ellipsis"), _F = nA("pencil"), vF = nA("trash"), yF = nA("playlist"), bF = tw(dA, fA, "text-body-2-medium"), xF = "播放列表名称不能为空", SF = (e) => async () => {
+ try {
+ await e();
+ } finally {
+ QP();
+ }
+};
+function CF({ toast: e }) {
+ let [t, n] = (0, D.useState)(""), [r, i] = (0, D.useState)(""), a = gt({
+ mutationFn: (e) => tF(e),
+ onSuccess: (t) => {
+ n(""), i(""), QP(), e("已新建播放列表", { undo: SF(() => rF(t.playlist.id)) });
+ },
+ onError: (e) => i(K(e) || "新建失败")
+ });
+ return /* @__PURE__ */ (0, O.jsxs)("form", {
+ "data-playlist-create": "",
+ "aria-label": "新建播放列表",
+ onSubmit: (e) => {
+ if (e.preventDefault(), !a.isPending) {
+ if (!t.trim()) {
+ i(xF);
+ return;
+ }
+ a.mutate(t);
+ }
+ },
+ className: "flex flex-wrap items-end gap-2",
+ children: [/* @__PURE__ */ (0, O.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, O.jsx)(JD, {
+ label: "新播放列表",
+ placeholder: "输入名称",
+ maxLength: 80,
+ value: t,
+ onChange: (e) => {
+ n(e), i("");
+ },
+ validationBehavior: "aria",
+ isInvalid: !!r,
+ hint: r || void 0
+ })
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
+ type: "submit",
+ ...Y(a.isPending),
+ children: "新建"
+ })]
+ });
+}
+function wF({ target: e, close: t, toast: n }) {
+ let [r, i] = (0, D.useState)(""), [a, o] = (0, D.useState)(""), s = (0, D.useRef)(null);
+ (0, D.useEffect)(() => {
+ if (!e) return;
+ i(e.name), o("");
+ let t = requestAnimationFrame(() => {
+ s.current?.focus(), s.current?.select();
+ });
+ return () => cancelAnimationFrame(t);
+ }, [e]);
+ let c = gt({
+ mutationFn: ({ row: e, value: t }) => nF(e.id, t),
+ onSuccess: (e, { row: r }) => {
+ t(), QP(), n("已重命名播放列表", { undo: SF(() => nF(r.id, r.name)) });
+ },
+ onError: (e) => o(K(e))
+ });
+ return /* @__PURE__ */ (0, O.jsx)(rO, {
+ isOpen: !!e,
+ onOpenChange: (e) => {
+ e || t();
+ },
+ width: "form",
+ children: /* @__PURE__ */ (0, O.jsxs)("form", {
+ "data-playlist-rename": "",
+ onSubmit: (t) => {
+ if (t.preventDefault(), !e || c.isPending) return;
+ let n = r.trim();
+ if (!n) {
+ o(xF);
+ return;
+ }
+ c.mutate({
+ row: e,
+ value: n
+ });
+ },
+ className: "flex min-h-0 flex-col",
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex flex-col gap-4 p-5",
+ children: [/* @__PURE__ */ (0, O.jsx)(kT, {
+ slot: "title",
+ className: "text-title-2-semibold text-text-primary",
+ children: "编辑名称"
+ }), /* @__PURE__ */ (0, O.jsx)(JD, {
+ ref: s,
+ label: "名称",
+ placeholder: "输入名称",
+ maxLength: 80,
+ value: r,
+ onChange: (e) => {
+ i(e), o("");
+ },
+ validationBehavior: "aria",
+ isInvalid: !!a,
+ hint: a || void 0
+ })]
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "flex justify-between gap-4 p-3",
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
+ variant: "secondary",
+ onClick: t,
+ children: "取消"
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
+ type: "submit",
+ ...Y(c.isPending),
+ children: "保存名称"
+ })]
+ })]
+ })
+ });
+}
+function TF({ name: e, onRename: t, onDelete: n }) {
+ let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(!1), o = (e) => {
+ a(!1), e();
+ };
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("button", {
+ ref: r,
+ type: "button",
+ title: "更多操作",
+ "aria-label": `播放列表操作:${e}`,
+ "aria-haspopup": "dialog",
+ "aria-expanded": i,
+ "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, O.jsx)(gF, {
+ "aria-hidden": !0,
+ className: "size-4.5"
+ })
+ }), /* @__PURE__ */ (0, O.jsx)(eD, {
+ triggerRef: r,
+ isOpen: i,
+ onOpenChange: a,
+ placement: "bottom end",
+ offset: 4,
+ className: uA,
+ children: /* @__PURE__ */ (0, O.jsxs)(nD, {
+ "aria-label": `播放列表操作:${e}`,
+ className: "flex w-37.5 flex-col gap-0.5 outline-none",
+ children: [/* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ className: bF,
+ onClick: () => o(t),
+ children: [/* @__PURE__ */ (0, O.jsx)(_F, {
+ "aria-hidden": !0,
+ className: "size-4 shrink-0"
+ }), "编辑名称"]
+ }), /* @__PURE__ */ (0, O.jsxs)("button", {
+ type: "button",
+ className: bF,
+ onClick: () => o(n),
+ children: [/* @__PURE__ */ (0, O.jsx)(vF, {
+ "aria-hidden": !0,
+ className: "size-4 shrink-0"
+ }), "删除播放列表"]
+ })]
+ })
+ })] });
+}
+function EF({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+ let o = ht({
+ queryKey: YP,
+ queryFn: ({ signal: e }) => XP(e)
+ }), [s, l] = (0, D.useState)(null), u = (0, D.useRef)(a);
+ (0, D.useEffect)(() => {
+ u.current !== a && (u.current = a, QP());
+ }, [a]);
+ let d = o.data;
+ if (!d) return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "mx-auto w-full max-w-board",
+ children: /* @__PURE__ */ (0, O.jsx)(J, {
+ tone: "error",
+ title: "读取失败",
+ children: o.error ? K(o.error) : "读取播放列表失败"
+ })
+ });
+ let f = d.items ?? [], p = (e) => {
+ c({
+ title: "删除播放列表",
+ body: "这个播放列表将被删除,视频文件保留。",
+ confirmLabel: "删除播放列表",
+ danger: !0,
+ onConfirm: async () => {
+ let t = await iF(e.id);
+ await rF(e.id), QP(), i("已删除播放列表", t ? { undo: SF(() => aF(t)) } : void 0);
+ }
+ });
+ };
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: "mx-auto w-full max-w-board pt-1 pb-10.5",
+ children: [
+ /* @__PURE__ */ (0, O.jsxs)("header", {
+ className: "mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch",
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", { children: [/* @__PURE__ */ (0, O.jsx)("h2", {
+ className: "mb-1 text-display-4-medium! text-text-primary",
+ children: "播放列表"
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: "保存 Mix,按自己的顺序继续播放。"
+ })] }), /* @__PURE__ */ (0, O.jsx)(CF, { toast: i })]
+ }),
+ f.length ? /* @__PURE__ */ (0, O.jsx)("div", {
+ "data-playlist-grid": "",
+ className: "card-grid-cover gap-4.5",
+ children: f.map((i) => {
+ let a = $P(i);
+ return /* @__PURE__ */ (0, O.jsx)(hF, {
+ "data-playlist-card": String(i.id),
+ name: i.name,
+ caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
+ count: i.item_count,
+ poster: i.preview_asset_id ? eF(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(eF),
+ canFlip: r,
+ faces: i.faces || [],
+ faceAvatar: n,
+ onOpenEntity: t,
+ ...a ? { onOpen: () => e(i.id, a) } : {},
+ openLabel: `打开播放列表 ${i.name}`,
+ menu: /* @__PURE__ */ (0, O.jsx)(TF, {
+ name: i.name,
+ onRename: () => l(i),
+ onDelete: () => p(i)
+ })
+ }, i.id);
+ })
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
+ icon: yF,
+ title: "还没有播放列表",
+ children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
+ }),
+ /* @__PURE__ */ (0, O.jsx)(wF, {
+ target: s,
+ close: () => l(null),
+ toast: i
+ })
+ ]
});
}
-var YM = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function XM({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
+function DF({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
let c = () => i(r.id);
- return /* @__PURE__ */ (0, D.jsxs)("li", {
+ return /* @__PURE__ */ (0, O.jsxs)("li", {
"data-goal-id": r.id,
- className: vw({
+ className: _w({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
}),
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 gap-4",
- children: [/* @__PURE__ */ (0, D.jsxs)("button", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
onClick: c,
"aria-label": `打开 ${o(r)}`,
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
- }), /* @__PURE__ */ (0, D.jsx)("img", {
- src: YM(r),
+ }), /* @__PURE__ */ (0, O.jsx)("img", {
+ src: Tie(r),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
className: "absolute inset-0 size-full object-contain"
})]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1.5",
children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
+ /* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-headline-medium text-text-primary",
- children: /* @__PURE__ */ (0, D.jsx)("button", {
+ children: /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-middle-truncate": !0,
onClick: c,
@@ -36062,27 +39119,27 @@ function XM({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge
dangerouslySetInnerHTML: { __html: a(r) }
})
}),
- /* @__PURE__ */ (0, D.jsxs)("p", {
+ /* @__PURE__ */ (0, O.jsxs)("p", {
className: "flex flex-wrap items-center gap-2 text-body-2-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: s(r.location, r.cost) }
}),
- /* @__PURE__ */ (0, D.jsx)("span", { children: e[r.location] ?? r.location }),
- /* @__PURE__ */ (0, D.jsx)("span", { children: t(r.duration) }),
- /* @__PURE__ */ (0, D.jsx)("span", { children: n(r.size ?? 0) })
+ /* @__PURE__ */ (0, O.jsx)("span", { children: e[r.location] ?? r.location }),
+ /* @__PURE__ */ (0, O.jsx)("span", { children: t(r.duration) }),
+ /* @__PURE__ */ (0, O.jsx)("span", { children: n(r.size ?? 0) })
]
}),
- r.reason ? /* @__PURE__ */ (0, D.jsx)("p", {
+ r.reason ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "border-t border-separator-border pt-3 text-body-2-regular text-text-secondary",
children: r.reason
}) : null
]
})]
- }), /* @__PURE__ */ (0, D.jsx)("footer", {
+ }), /* @__PURE__ */ (0, O.jsx)("footer", {
className: "flex justify-end",
- children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
onClick: c,
@@ -36091,215 +39148,84 @@ function XM({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge
})]
});
}
-function ZM(e) {
- let t = ft({
- queryKey: KM,
- queryFn: ({ signal: e }) => qM(e)
+function OF(e) {
+ let t = ht({
+ queryKey: zO,
+ queryFn: ({ signal: e }) => BO(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, D.jsx)(xw, { children: /* @__PURE__ */ (0, D.jsx)(q, {
+ if (!n) return /* @__PURE__ */ (0, O.jsx)(xw, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取高清版目标失败"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, D.jsxs)(xw, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {
- className: vw({
+ return r.length ? /* @__PURE__ */ (0, O.jsxs)(xw, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
+ className: _w({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "待升级"
- }), /* @__PURE__ */ (0, D.jsx)("b", {
+ }), /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: `${n.total} 部作品`
})]
- }), /* @__PURE__ */ (0, D.jsx)("ul", {
+ }), /* @__PURE__ */ (0, O.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, D.jsx)(XM, {
+ children: r.map((t) => /* @__PURE__ */ (0, O.jsx)(DF, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, D.jsx)(xw, { children: /* @__PURE__ */ (0, D.jsx)(yw, {
+ })] }) : /* @__PURE__ */ (0, O.jsx)(xw, { children: /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: Ate,
+ icon: qte,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
-//#region src/selection.ts
-function QM(e, t, n, r, i, a = i || !e.has(r)) {
- let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
- return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
-}
-//#endregion
-//#region src/react/review/review.ts
-var $M = "/api/review", eN = "/api/review/decision", tN = "/api/review/genre", nN = ["review"], rN = {
- metadata_fields: "元数据字段",
- creator_tags: "创作者标签",
- studio_logos: "厂牌 Logo",
- performer_avatars: "女优头像",
- western_identity: "西方身份回配",
- code_creators: "番号目录存疑",
- fc2_markings: "FC2 评论标记",
- fc2_similarity: "FC2 跨号相似",
- video_endcards: "片尾/出处证据",
- media_failure: "无法识别"
-}, iN = Object.keys(rN), aN = "metadata_fields", oN = (e) => typeof e == "string" && Object.hasOwn(rN, e), sN = {
- creator_tags: "creator",
- western_identity: "creator"
-};
-function cN(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 lN(e, t) {
- let n = /* @__PURE__ */ new Map();
- for (let r of e) {
- let e, i;
- if (t === "field") e = r.field || "__unspecified_field", i = r.field_label || r.field || "未标注字段";
- else if (t === "source") {
- let t = [...new Set((r.candidates?.map((e) => e.source || "") || [r.source || ""]).filter(Boolean))].sort();
- e = JSON.stringify(t), i = t.join(" / ") || "未标注来源";
- } else e = r.candidates ? r.candidates.length === 1 ? "single" : "multiple" : "pending", i = e === "single" ? "单一候选" : e === "multiple" ? "需选择来源" : "待复核";
- n.has(e) || n.set(e, {
- key: e,
- title: i,
- rows: []
- }), n.get(e).rows.push(r);
- }
- return [...n.values()];
-}
-function uN(e, t, n) {
- return n && lN(e, t).find((e) => e.key === n)?.rows || e;
-}
-function dN(e, t) {
- let n = ck(e.length, 20), r = lk(t, n);
- return {
- page: r,
- pages: n,
- rows: e.slice((r - 1) * 20, r * 20)
- };
-}
-function fN(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 pN(e, t, n, r, i, a) {
- return QM(e, t, n, r, i, a);
-}
-function mN(e, t) {
- return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
-}
-function hN(e, t) {
- return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
-}
-var gN = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function _N(e, t) {
- let n = hN(e, t), r = gN(e, t);
- return r ? `${n} · ${r}` : n;
-}
-var vN = (e) => e.reason || e.evidence || e.note || e.decision_note || "", yN = (e) => String(e.tags || "").split("|").filter(Boolean), bN = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function xN(e) {
- let t = e.candidates || [];
- return {
- candidateKey: t.length === 1 ? t[0].candidate_key : "",
- assets: (e.preview_assets || []).map((e) => e.id)
- };
-}
-function SN(e, t, n, r) {
- let i = !!t.asset_path && t.asset_mutation_revision != null;
- return {
- category: e,
- item_key: t.item_key,
- status: n,
- candidate_key: r.candidateKey,
- creator: t.creator,
- tags: t.tags,
- studio: t.studio,
- entity_id: t.entity_id,
- avatar_url: t.avatar_url,
- selected_ids: r.assets,
- ...i ? { expected_revision: t.asset_mutation_revision } : {}
- };
-}
-var CN = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", wN = (e) => gw($M, e), TN = (e) => _w(eN, e), EN = (e, t) => _w(tN, {
- genre: e,
- tag: t
-});
-async function DN(e) {
- await Tw.fetchQuery({
- queryKey: nN,
- queryFn: () => wN(e)
- });
-}
-function ON(e, t) {
- let n = new Set(t);
- n.size && Tw.setQueryData(nN, (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 : {
- ...t,
- sections: {
- ...t.sections,
- [e]: i
- },
- counts: {
- ...t.counts,
- [e]: Math.max(0, (t.counts[e] ?? r.length) - (r.length - i.length))
- }
- };
- });
-}
-var kN = () => Tw.invalidateQueries({
- queryKey: nN,
- exact: !0
-});
-function AN(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${uk(e.fetched_at)} 的缓存` : e?.error || t;
-}
-//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function jN(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 = fN(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+function kF(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 = Mie(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
"data-review-filter": !0,
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(Bj, {
+ /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, D.jsxs)(Bj, {
+ i.length > 1 ? /* @__PURE__ */ (0, O.jsxs)(LA, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: [/* @__PURE__ */ (0, O.jsx)(RA, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ }), i.map((e) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
}) : null,
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: yS,
+ leadingIcon: sS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -36310,11 +39236,11 @@ function jN(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), c.size ? /* @__PURE__ */ (0, D.jsxs)(Hj, {
+ }), c.size ? /* @__PURE__ */ (0, O.jsxs)(jN, {
label: "复核所选项目",
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, D.jsxs)(Bj, {
+ b ? /* @__PURE__ */ (0, O.jsxs)(LA, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -36322,36 +39248,36 @@ function jN(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: [/* @__PURE__ */ (0, O.jsx)(RA, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ }), y.map((e) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: e
}, e))]
}) : null,
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
size: "small",
disabled: p || !c.size || !f,
onClick: () => g("approved"),
children: "通过所选"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "danger",
size: "small",
disabled: p || !c.size,
onClick: () => g("rejected"),
children: "拒绝所选"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
disabled: p,
onClick: () => l(/* @__PURE__ */ new Set()),
children: "取消选择"
}),
- m ? /* @__PURE__ */ (0, D.jsx)("p", {
+ m ? /* @__PURE__ */ (0, O.jsx)("p", {
role: "status",
className: "w-full text-body-2-regular text-text-secondary",
children: m
@@ -36361,7 +39287,7 @@ function jN(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var MN = {
+var AF = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -36371,21 +39297,21 @@ var MN = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, NN = "reviewgenretags";
-function PN({ tags: e }) {
- return e.length ? /* @__PURE__ */ (0, D.jsx)("datalist", {
- id: NN,
- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)("option", { value: e }, e))
+}, jF = "reviewgenretags";
+function MF({ tags: e }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)("datalist", {
+ id: jF,
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)("option", { value: e }, e))
}) : null;
}
-function FN({ candidate: e, selectable: t = !1 }) {
+function NF({ 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, D.jsxs)("span", {
+ return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
- children: [/* @__PURE__ */ (0, D.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("span", {
className: "relative flex min-w-0 flex-col gap-0.5 px-4 py-3 group-hover:bg-background-primary-hover group-data-selected:bg-background-primary-hover",
children: [
- /* @__PURE__ */ (0, D.jsxs)("b", {
+ /* @__PURE__ */ (0, O.jsxs)("b", {
className: "text-body-2-medium text-text-secondary",
children: [
e.source,
@@ -36393,35 +39319,35 @@ function FN({ candidate: e, selectable: t = !1 }) {
r ? ` · ID ${r}` : ""
]
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-medium break-words text-text-primary",
children: e.display_value || ""
}),
- (e.warnings || []).map((e) => /* @__PURE__ */ (0, D.jsx)("i", {
+ (e.warnings || []).map((e) => /* @__PURE__ */ (0, O.jsx)("i", {
className: "text-body-2-regular text-status-yellow-text",
children: e
}, e)),
- t ? /* @__PURE__ */ (0, D.jsx)("span", {
+ t ? /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": "true",
"data-candidate-choice": !0,
className: "absolute top-4 right-4 inline-grid size-4 place-items-center rounded-full border border-border-checkbox-default bg-background-primary-default group-hover:border-border-checkbox-hover group-data-selected:border-border-focus-ring group-data-selected:bg-accent-600",
- children: /* @__PURE__ */ (0, D.jsx)("span", { className: "size-1.5 rounded-full bg-text-white opacity-0 group-data-selected:opacity-100" })
+ children: /* @__PURE__ */ (0, O.jsx)("span", { className: "size-1.5 rounded-full bg-text-white opacity-0 group-data-selected:opacity-100" })
}) : null
]
- }), n.length ? /* @__PURE__ */ (0, D.jsx)("dl", {
+ }), n.length ? /* @__PURE__ */ (0, O.jsx)("dl", {
className: "flex flex-col gap-1 border-t border-separator-border bg-background-primary-default px-4 py-2.5",
- children: n.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: n.map(([e, t]) => /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-wrap gap-x-2",
children: [
- /* @__PURE__ */ (0, D.jsx)("dt", {
+ /* @__PURE__ */ (0, O.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: MN[e] || e
+ children: AF[e] || e
}),
- /* @__PURE__ */ (0, D.jsx)("dd", {
+ /* @__PURE__ */ (0, O.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
children: t.display_value
}),
- (t.warnings || []).map((e) => /* @__PURE__ */ (0, D.jsx)("small", {
+ (t.warnings || []).map((e) => /* @__PURE__ */ (0, O.jsx)("small", {
className: "w-full text-caption-1-regular text-status-yellow-text",
children: e
}, e))
@@ -36430,36 +39356,36 @@ function FN({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function IN({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function PF({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
- return a.length ? a.length === 1 ? /* @__PURE__ */ (0, D.jsx)("div", {
+ return a.length ? a.length === 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, D.jsx)(FN, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, D.jsx)(rD, {
+ children: /* @__PURE__ */ (0, O.jsx)(NF, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, O.jsx)(lD, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, D.jsx)(iD, {
+ children: a.map((e) => /* @__PURE__ */ (0, O.jsx)(uD, {
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, D.jsx)(FN, {
+ children: /* @__PURE__ */ (0, O.jsx)(NF, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function LN({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), c = pt({
- mutationFn: (t) => EN(e, t),
+function FF({ genre: e, tags: t, locked: n, toast: r }) {
+ let [i, a] = (0, D.useState)(""), [o, s] = (0, D.useState)(""), c = gt({
+ mutationFn: (t) => Bie(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await kN();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await ok();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -36470,24 +39396,24 @@ function LN({ genre: e, tags: t, locked: n, toast: r }) {
}
s(""), c.mutate(e);
};
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
lang: "ja",
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, D.jsx)(PO, {
+ /* @__PURE__ */ (0, O.jsx)(GD, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, D.jsx)(IO, {
+ children: /* @__PURE__ */ (0, O.jsx)(qD, {
size: "small",
- list: t.length ? NN : void 0,
+ list: t.length ? jF : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -36495,14 +39421,14 @@ function LN({ genre: e, tags: t, locked: n, toast: r }) {
}
})
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: n || c.isPending,
onClick: l,
children: "收录"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: n || c.isPending,
@@ -36511,7 +39437,7 @@ function LN({ genre: e, tags: t, locked: n, toast: r }) {
},
children: "不是内容"
}),
- o ? /* @__PURE__ */ (0, D.jsx)("p", {
+ o ? /* @__PURE__ */ (0, O.jsx)("p", {
role: "status",
className: "w-full text-body-2-regular text-text-error-primary",
children: o
@@ -36519,16 +39445,16 @@ function LN({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function RN({ row: e, tags: t, locked: n, toast: r }) {
- let i = bN(e);
- return i.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
+function IF({ row: e, tags: t, locked: n, toast: r }) {
+ let i = Lie(e);
+ return i.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
className: "flex flex-col gap-2 rounded-surface border border-separator-border bg-background-primary-default px-4 py-3",
- children: [/* @__PURE__ */ (0, D.jsx)("h5", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, D.jsx)(LN, {
+ }), i.map((e) => /* @__PURE__ */ (0, O.jsx)(FF, {
genre: e,
tags: t,
locked: n,
@@ -36537,142 +39463,142 @@ function RN({ row: e, tags: t, locked: n, toast: r }) {
}) : null;
}
//#endregion
-//#region src/react/review/review-evidence.tsx
-var zN = (e = "") => /^https?:\/\//i.test(e) ? e : "", BN = (e = "") => zN(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function VN({ url: e }) {
- let t = BN(e || ""), [n, r] = (0, E.useState)(!1);
- return /* @__PURE__ */ (0, D.jsx)("div", {
+//#region src/react/components/legacy-avatar.ts
+var LF = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", RF = (e = "") => /^https?:\/\//i.test(e) ? e : "", zF = (e = "") => RF(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function BF({ url: e }) {
+ let t = zF(e || ""), [n, r] = (0, D.useState)(!1);
+ return /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
- children: t && !n ? /* @__PURE__ */ (0, D.jsx)("img", {
+ children: t && !n ? /* @__PURE__ */ (0, O.jsx)("img", {
src: t,
alt: "来源候选图片",
loading: "lazy",
className: "size-full object-contain",
onError: () => r(!0)
- }) : /* @__PURE__ */ (0, D.jsx)("span", {
+ }) : /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "未取得来源图片"
})
});
}
-function HN({ asset: e, openItem: t }) {
+function VF({ asset: e, openItem: t }) {
let n = e.name || "";
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
- children: [/* @__PURE__ */ (0, D.jsxs)("button", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
onClick: () => t(e.id),
className: "flex aspect-card-cover w-review-cover-narrow shrink-0 review-tight:w-review-cover cursor-pointer items-center justify-center overflow-hidden rounded-2lg bg-background-tertiary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.preview_url ? /* @__PURE__ */ (0, D.jsx)("img", {
+ children: [e.preview_url ? /* @__PURE__ */ (0, O.jsx)("img", {
src: e.preview_url,
alt: "",
loading: "lazy",
className: "size-full object-cover"
- }) : /* @__PURE__ */ (0, D.jsx)("span", {
+ }) : /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, D.jsx)(M_, { children: `打开原视频 ${n}` })]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsx)(G_, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
- children: [/* @__PURE__ */ (0, D.jsx)("b", {
+ children: [/* @__PURE__ */ (0, O.jsx)("b", {
title: n,
className: "w-full truncate text-body-medium text-text-primary",
children: e.code || n || "原视频"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: Tte,
+ leadingIcon: Hte,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function UN({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function HF({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [/* @__PURE__ */ (0, D.jsx)("button", {
+ children: [/* @__PURE__ */ (0, O.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 [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",
+ 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 ${LF}`,
dangerouslySetInnerHTML: { __html: r }
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
- children: [/* @__PURE__ */ (0, D.jsx)("button", {
+ children: [/* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
onClick: () => i(e, t),
className: "max-w-full cursor-pointer truncate text-body-medium text-text-primary underline-offset-2 outline-none hover:underline focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: t
- }), n ? /* @__PURE__ */ (0, D.jsx)("small", {
+ }), n ? /* @__PURE__ */ (0, O.jsx)("small", {
className: "tabular-nums text-body-2-regular text-text-secondary",
children: `${n.toLocaleString()} 部作品`
}) : null]
})]
});
}
-function WN({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = zN(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
- return /* @__PURE__ */ (0, D.jsxs)("section", {
+function UF({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = RF(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, D.jsx)("h5", {
+ /* @__PURE__ */ (0, O.jsx)("h5", {
className: "text-body-medium text-text-primary",
children: `候选身份:${e.babepedia_name || "未标注"}`
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, D.jsx)(Ite, {
+ children: [o ? /* @__PURE__ */ (0, O.jsx)(ow, {
variant: "secondary",
size: "small",
- trailingIcon: wS,
+ trailingIcon: fS,
href: o,
target: "_blank",
rel: "noopener noreferrer",
children: "来源资料"
- }) : null, /* @__PURE__ */ (0, D.jsx)(G, {
+ }) : null, /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
onClick: () => n("creator", e.creator || ""),
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, D.jsx)(VN, { url: e.preview_url }),
- /* @__PURE__ */ (0, D.jsx)("p", {
+ /* @__PURE__ */ (0, O.jsx)(BF, { url: e.preview_url }),
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
}),
- s.length ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("h5", {
+ s.length ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("h5", {
className: "text-body-medium text-text-primary",
children: "本地作品样本"
- }), /* @__PURE__ */ (0, D.jsx)("ul", {
+ }), /* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex flex-col gap-1",
- children: s.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {
+ children: s.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
className: "min-w-0",
onClick: () => t(e.id),
- children: /* @__PURE__ */ (0, D.jsx)("span", {
+ children: /* @__PURE__ */ (0, O.jsx)("span", {
title: e.name,
className: "block max-w-full truncate",
children: e.name
})
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
"aria-label": `打开 ${e.name} 的文件位置`,
- ...J(i === e.id),
+ ...Y(i === e.id),
onClick: () => r(e.id),
children: "文件位置"
})]
}, e.id))
- })] }) : /* @__PURE__ */ (0, D.jsx)("p", {
+ })] }) : /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "暂无本地作品样本,打开全部作品核对。"
}),
- a ? /* @__PURE__ */ (0, D.jsx)("p", {
+ a ? /* @__PURE__ */ (0, O.jsx)("p", {
role: "status",
className: "text-body-2-regular text-text-error-primary",
children: a
@@ -36680,8 +39606,8 @@ function WN({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not
]
});
}
-function GN({ assets: e, picked: t, onPicked: n, locked: r }) {
- let [i, a] = (0, E.useState)(null), o = new Set(t), s = (t, s) => {
+function WF({ assets: e, picked: t, onPicked: n, locked: r }) {
+ let [i, a] = (0, D.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
if (s && i !== null) {
@@ -36693,23 +39619,23 @@ function GN({ assets: e, picked: t, onPicked: n, locked: r }) {
}
a(t), n(e.filter((e) => c.has(e.id)).map((e) => e.id));
};
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "tabular-nums text-body-2-regular text-text-secondary",
children: `已选 ${o.size} / ${e.length}`
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
disabled: r,
onClick: () => n(e.map((e) => e.id)),
children: "全选"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
disabled: r,
@@ -36717,26 +39643,26 @@ function GN({ assets: e, picked: t, onPicked: n, locked: r }) {
children: "清空"
})
]
- }), /* @__PURE__ */ (0, D.jsx)("div", {
+ }), /* @__PURE__ */ (0, O.jsx)("div", {
className: "review-asset-grid gap-1.5",
children: e.map((e, t) => {
let n = o.has(e.id);
- return /* @__PURE__ */ (0, D.jsxs)("button", {
+ return /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"aria-pressed": n,
title: e.name,
onClick: (e) => s(t, e.shiftKey),
className: `relative aspect-card-cover cursor-pointer overflow-hidden rounded-surface bg-background-tertiary-default outline-none transition-opacity focus-visible:ring-2 focus-visible:ring-border-focus-ring ${n ? "opacity-100 ring-2 ring-border-button-active ring-inset" : "opacity-50"}`,
children: [
- /* @__PURE__ */ (0, D.jsx)("img", {
+ /* @__PURE__ */ (0, O.jsx)("img", {
src: `/poster?id=${e.id}&c=4`,
alt: "",
loading: "lazy",
className: "size-full object-cover"
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, D.jsx)(Yk, {
+ children: /* @__PURE__ */ (0, O.jsx)(WA, {
size: "sm",
state: {
isSelected: n,
@@ -36747,7 +39673,7 @@ function GN({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, D.jsx)(M_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, O.jsx)(G_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -36756,19 +39682,19 @@ function GN({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var KN = vw({
+var GF = _w({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), qN = "flex min-h-6 min-w-0 items-center", JN = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function YN(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, E.useRef)(!1), m = KO(), h = KO(), g = t === "metadata_fields", _ = sN[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = _N(t, n), x = gN(t, n), S = hN(t, n), C = vN(n), w = yN(n), T = mN(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, D.jsx)("div", {
+}), KF = "flex min-h-6 min-w-0 items-center", qF = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function JF(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, D.useRef)(!1), m = aO(), h = aO(), g = t === "metadata_fields", _ = YO[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Pie(t, n), x = tk(t, n), S = ek(t, n), C = Fie(n), w = Iie(n), T = $O(t, n), E = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = E.length > 1 ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-3",
- children: O.map((e) => /* @__PURE__ */ (0, D.jsx)(HN, {
+ children: E.map((e) => /* @__PURE__ */ (0, O.jsx)(VF, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, D.jsx)(UN, {
+ }) : y ? /* @__PURE__ */ (0, O.jsx)(HF, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -36778,14 +39704,14 @@ function YN(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, D.jsx)(HN, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, O.jsx)(VF, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, D.jsx)(IN, {
+ }) : null, M = g ? /* @__PURE__ */ (0, O.jsx)(PF, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -36794,7 +39720,7 @@ function YN(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, D.jsx)(GN, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, O.jsx)(WF, {
assets: k,
picked: r.assets,
locked: s,
@@ -36802,113 +39728,113 @@ function YN(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "inset",
- icon: bte,
+ icon: Lte,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, D.jsx)(WN, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, O.jsx)(UF, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, D.jsx)(VN, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, D.jsxs)("h4", {
- className: `${qN} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, D.jsx)(fw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(BF, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, O.jsxs)("h4", {
+ className: `${KF} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: "blue",
children: x
- }), /* @__PURE__ */ (0, D.jsx)("span", {
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
title: S,
className: "min-w-0 truncate text-body-medium text-text-primary",
children: S
})]
- }) : /* @__PURE__ */ (0, D.jsx)("h4", {
- className: qN,
- children: /* @__PURE__ */ (0, D.jsx)("span", {
+ }) : /* @__PURE__ */ (0, O.jsx)("h4", {
+ className: KF,
+ children: /* @__PURE__ */ (0, O.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
children: b
})
});
- return /* @__PURE__ */ (0, D.jsxs)("section", {
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${KN} ${JN(t)} overflow-hidden`,
+ className: `${GF} ${qF(t)} overflow-hidden`,
children: [
- /* @__PURE__ */ (0, D.jsxs)("header", {
+ /* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
- s ? null : /* @__PURE__ */ (0, D.jsx)("span", {
- className: `${qN} shrink-0`,
+ s ? null : /* @__PURE__ */ (0, O.jsx)("span", {
+ className: `${KF} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, D.jsx)(Xk, {
+ children: /* @__PURE__ */ (0, O.jsx)(GA, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
})
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 flex-1",
children: N
}),
- A ? /* @__PURE__ */ (0, D.jsx)(fw, {
+ A ? /* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: "neutral",
children: n.decision
}) : null
]
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
className: "relative flex min-w-0 min-h-0 flex-1 flex-col",
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
ref: m,
className: "flex min-w-0 min-h-0 flex-1 flex-col gap-3 overflow-y-auto",
children: [
- n.source_name ? /* @__PURE__ */ (0, D.jsx)("p", {
+ n.source_name ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: `来源写法:${n.source_name}`
}) : null,
- !y && (n.board || n.assets) ? /* @__PURE__ */ (0, D.jsx)("p", {
+ !y && (n.board || n.assets) ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: `样本/资产:${n.video_count || n.assets || ""}`
}) : null,
!y && j ? j : null,
- w.length || t === "creator_tags" ? /* @__PURE__ */ (0, D.jsx)("div", {
+ w.length || t === "creator_tags" ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, D.jsx)(fw, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, O.jsx)(iw, {
variant: "caption",
color: "soft",
children: e
- }, e)) : /* @__PURE__ */ (0, D.jsx)("small", {
+ }, e)) : /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-body-2-regular text-text-secondary",
children: "暂无候选标签"
})
}) : null,
M,
- /* @__PURE__ */ (0, D.jsx)(RN, {
+ /* @__PURE__ */ (0, O.jsx)(IF, {
row: n,
tags: u,
locked: s,
toast: f.toast
}),
- !g && C ? /* @__PURE__ */ (0, D.jsx)("p", {
+ !g && C ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: C
}) : null
]
})
}),
- g && C ? /* @__PURE__ */ (0, D.jsx)("div", {
+ g && C ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "relative -mx-5 shrink-0",
- children: /* @__PURE__ */ (0, D.jsx)("p", {
+ children: /* @__PURE__ */ (0, O.jsx)("p", {
ref: h,
role: "region",
"aria-label": "当前信息",
@@ -36916,34 +39842,34 @@ function YN(e) {
children: C
})
}) : null,
- /* @__PURE__ */ (0, D.jsxs)("footer", {
+ /* @__PURE__ */ (0, O.jsxs)("footer", {
className: "-mx-5 flex min-h-14 shrink-0 flex-wrap items-center justify-end gap-2 rounded-b-surface border-t border-separator-border bg-background-secondary-default py-3 pr-3 pl-5",
children: [
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "danger",
size: "small",
disabled: s,
- ...J(c),
+ ...Y(c),
onClick: () => d("rejected"),
children: "拒绝"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: s,
- ...J(c),
+ ...Y(c),
onClick: () => d("skipped"),
children: "跳过"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "primary",
size: "small",
disabled: s || !T,
- ...J(c),
+ ...Y(c),
onClick: () => d("approved"),
children: T ? "通过" : "已跳过"
}),
- l ? /* @__PURE__ */ (0, D.jsx)("p", {
+ l ? /* @__PURE__ */ (0, O.jsx)("p", {
role: "status",
className: "w-full text-body-2-regular text-text-error-primary",
children: l
@@ -36955,26 +39881,26 @@ function YN(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var XN = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
-function ZN({ page: e, pages: t, onPage: n }) {
- return t <= 1 ? null : /* @__PURE__ */ (0, D.jsxs)("nav", {
+var YF = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
+function XF({ page: e, pages: t, onPage: n }) {
+ return t <= 1 ? null : /* @__PURE__ */ (0, O.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: e <= 1,
onClick: () => n(e - 1),
children: "上一页"
}),
- /* @__PURE__ */ (0, D.jsx)("ul", {
+ /* @__PURE__ */ (0, O.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: sk(e, t).map((t, r) => /* @__PURE__ */ (0, D.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, D.jsx)("span", {
+ children: VO(e, t).map((t, r) => /* @__PURE__ */ (0, O.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
- }) : /* @__PURE__ */ (0, D.jsx)(G, {
+ }) : /* @__PURE__ */ (0, O.jsx)(G, {
variant: t === e ? "secondary" : "ghost",
size: "small",
"aria-label": `第 ${t} 页`,
@@ -36983,7 +39909,7 @@ function ZN({ page: e, pages: t, onPage: n }) {
children: t
}) }, t === "…" ? `dots-${r}` : t))
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
disabled: e >= t,
@@ -36993,43 +39919,43 @@ function ZN({ page: e, pages: t, onPage: n }) {
]
});
}
-function QN(e) {
- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, E.useState)(oN(e.category) ? e.category : aN), [f, p] = (0, E.useState)("candidates"), [m, h] = (0, E.useState)(""), [g, _] = (0, E.useState)(1), [v, y] = (0, E.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, E.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, E.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, E.useState)(""), O = (0, E.useRef)(null), [k, A] = (0, E.useState)(0), [j, M] = (0, E.useState)(""), N = (0, E.useRef)(!0);
- (0, E.useEffect)(() => () => {
+function ZF(e) {
+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, D.useState)(JO(e.category) ? e.category : Aie), [f, p] = (0, D.useState)("candidates"), [m, h] = (0, D.useState)(""), [g, _] = (0, D.useState)(1), [v, y] = (0, D.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, D.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, D.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, D.useState)(""), E = (0, D.useRef)(null), [k, A] = (0, D.useState)(0), [j, M] = (0, D.useState)(""), N = (0, D.useRef)(!0);
+ (0, D.useEffect)(() => () => {
N.current = !1;
}, []);
- let P = ft({
- queryKey: nN,
- queryFn: ({ signal: e }) => wN(e)
+ let P = ht({
+ queryKey: KO,
+ queryFn: ({ signal: e }) => rk(e)
}).data || {
sections: {},
counts: {}
- }, F = P.sections[u] || [], I = u === "metadata_fields", ee = s, te = cN(F, I), L = te.some(([e]) => e === f) ? f : "candidates", ne = lN(F, L), re = ne.some((e) => e.key === m) ? m : "", ie = dN(uN(F, L, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = ne.map((e) => ({
+ }, F = P.sections[u] || [], I = u === "metadata_fields", ee = s, te = XO(F, I), ne = te.some(([e]) => e === f) ? f : "candidates", L = ZO(F, ne), re = L.some((e) => e.key === m) ? m : "", ie = jie(QO(F, ne, re), g), ae = ie.rows.map((e) => e.item_key), oe = new Set(ae), se = L.map((e) => ({
...e,
rows: e.rows.filter((e) => oe.has(e.item_key))
- })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || xN(e), le = F.filter((e) => v.has(e.item_key)), ue = (e) => {
+ })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || Rie(e), le = F.filter((e) => v.has(e.item_key)), ue = (e) => {
let t = new Set(e);
y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e))));
- }, R = (e, t) => C((n) => new Map(n).set(e, t)), de = (e) => {
- d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), O.current = null, t({ category: e === "metadata_fields" ? "" : e });
- }, fe = pt({
- mutationFn: ({ row: e, status: t }) => TN(SN(u, e, t, ce(e))),
+ }, R = (e, t) => C((n) => new Map(n).set(e, t)), z = (e) => {
+ d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), C(/* @__PURE__ */ new Map()), T(""), E.current = null, t({ category: e === "metadata_fields" ? "" : e });
+ }, de = gt({
+ mutationFn: ({ row: e, status: t }) => ik(nk(u, e, t, ce(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- ON(u, [t.item_key]), ue([t.item_key]), o(CN(n));
+ ak(u, [t.item_key]), ue([t.item_key]), o(zie(n));
},
onError: (e, { row: t }) => R(t.item_key, K(e))
- }), pe = pt({
+ }), fe = gt({
mutationFn: async (e) => {
let t = le, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!N.current) break;
T(`正在处理 ${i} / ${t.length}`);
try {
- let t = await TN(SN(u, a, e, ce(a)));
+ let t = await ik(nk(u, a, e, ce(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -37043,20 +39969,20 @@ function QN(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- ON(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ ak(u, t), ue(t), n.forEach(([e, t]) => R(e, t)), T(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
T(K(e));
}
- }), me = (e) => {
- if (!(pe.isPending || !le.length)) {
+ }), pe = (e) => {
+ if (!(fe.isPending || !le.length)) {
if (e === "approved" && I && le.some((e) => !ce(e).candidateKey)) {
T("先为所选的多来源候选选择来源。");
return;
}
- T(""), pe.mutate(e);
+ T(""), fe.mutate(e);
}
- }, he = (e) => {
+ }, me = (e) => {
x((t) => {
let n = new Map(t);
for (let t of le) {
@@ -37068,76 +39994,76 @@ function QN(e) {
}
return n;
}), T(`已选择 ${e},点击通过所选采用。`);
- }, ge = async (e) => {
+ }, he = async (e) => {
if (k) return;
A(e), M("");
let t = await i(e);
N.current && (A(0), M(t));
- }, _e = AN(P.mirror, c), ve = P.genre_tags || [], ye = {
+ }, ge = sk(P.mirror, c), _e = P.genre_tags || [], ve = {
openItem: n,
openEntity: r,
- onReveal: ge,
+ onReveal: he,
revealing: k,
revealNote: j,
avatarInner: a,
toast: o
};
- return /* @__PURE__ */ (0, D.jsx)(xw, { children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsx)(xw, { children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
- ee ? /* @__PURE__ */ (0, D.jsx)(q, {
+ ee ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
- extra: l ? /* @__PURE__ */ (0, D.jsx)("p", {
+ extra: l ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular",
- children: /* @__PURE__ */ (0, D.jsx)("a", {
+ children: /* @__PURE__ */ (0, O.jsx)("a", {
href: l,
className: "text-text-primary underline underline-offset-2",
children: "前往写入端复核"
})
}) : void 0,
- children: _e
+ children: ge
}) : null,
- /* @__PURE__ */ (0, D.jsx)(PN, { tags: ve }),
- /* @__PURE__ */ (0, D.jsxs)(bO, {
+ /* @__PURE__ */ (0, O.jsx)(MF, { tags: _e }),
+ /* @__PURE__ */ (0, O.jsxs)(RD, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- oN(t) && de(t);
+ JO(t) && z(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "w-full rounded-surface bg-background-primary-default px-2 py-4 review-split:sticky review-split:top-topbar review-split:w-review-tabs review-split:shrink-0",
- children: [/* @__PURE__ */ (0, D.jsx)("h2", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h2", {
id: "reviewcategories",
className: "px-3 pb-3 text-caption-1-regular text-text-secondary",
children: "复核分类"
- }), /* @__PURE__ */ (0, D.jsx)(SO, {
+ }), /* @__PURE__ */ (0, O.jsx)(zD, {
"aria-labelledby": "reviewcategories",
className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",
- children: iN.map((e) => {
+ children: kie.map((e) => {
let t = Number(P.counts[e] || 0);
- return /* @__PURE__ */ (0, D.jsxs)(wO, {
+ return /* @__PURE__ */ (0, O.jsxs)(BD, {
id: e,
- className: XN,
- children: [rN[e], t ? /* @__PURE__ */ (0, D.jsx)("span", {
+ className: YF,
+ children: [qO[e], t ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, D.jsxs)(TO, {
+ }), /* @__PURE__ */ (0, O.jsxs)(VD, {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- F.length && !ee ? /* @__PURE__ */ (0, D.jsx)(jN, {
+ F.length && !ee ? /* @__PURE__ */ (0, O.jsx)(kF, {
groupOptions: te,
- groupBy: L,
+ groupBy: ne,
onGroupBy: (e) => {
p(e), h(""), _(1);
},
- groups: ne,
+ groups: L,
filter: re,
onFilter: (e) => {
h(e), _(1);
@@ -37147,20 +40073,20 @@ function QN(e) {
onSelected: y,
selectedRows: le,
metadata: I,
- approvable: le.every((e) => mN(u, e)),
- busy: pe.isPending,
+ approvable: le.every((e) => $O(u, e)),
+ busy: fe.isPending,
feedback: w,
- onUnifySource: he,
- onRun: me
+ onUnifySource: me,
+ onRun: pe
}) : null,
- ie.rows.length ? se.map((e) => /* @__PURE__ */ (0, D.jsxs)("section", {
+ ie.rows.length ? se.map((e) => /* @__PURE__ */ (0, O.jsxs)("section", {
className: "flex flex-col gap-3",
- children: [se.length > 1 || L !== "candidates" ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [se.length > 1 || ne !== "candidates" ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-body-medium text-text-primary",
children: `${e.title} · ${e.rows.length}`
- }), ee ? null : /* @__PURE__ */ (0, D.jsx)(G, {
+ }), ee ? null : /* @__PURE__ */ (0, O.jsx)(G, {
variant: "ghost",
size: "small",
onClick: () => {
@@ -37170,9 +40096,9 @@ function QN(e) {
},
children: e.rows.every((e) => v.has(e.item_key)) ? "清空本组" : "全选本组"
})]
- }) : null, /* @__PURE__ */ (0, D.jsx)("div", {
+ }) : null, /* @__PURE__ */ (0, O.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, D.jsx)(YN, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, O.jsx)(JF, {
category: u,
row: e,
choice: ce(e),
@@ -37180,27 +40106,27 @@ function QN(e) {
selected: v.has(e.item_key),
onSelect: (t, n) => y((r) => {
let i = new Set(r);
- return O.current = pN(i, ae, O.current, e.item_key, t, n), i;
+ return E.current = Nie(i, ae, E.current, e.item_key, t, n), i;
}),
locked: ee,
- busy: fe.isPending && fe.variables?.row.item_key === e.item_key,
+ busy: de.isPending && de.variables?.row.item_key === e.item_key,
problem: S.get(e.item_key) || "",
- genreTags: ve,
+ genreTags: _e,
onDecide: (t) => {
- fe.isPending || pe.isPending || (C((t) => new Map([...t].filter(([t]) => t !== e.item_key))), fe.mutate({
+ de.isPending || fe.isPending || (C((t) => new Map([...t].filter(([t]) => t !== e.item_key))), de.mutate({
row: e,
status: t
}));
},
- handlers: ye
+ handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, D.jsx)(yw, {
- icon: gte,
+ }, e.key)) : /* @__PURE__ */ (0, O.jsx)(yw, {
+ icon: Nte,
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
- /* @__PURE__ */ (0, D.jsx)(ZN, {
+ /* @__PURE__ */ (0, O.jsx)(XF, {
page: ie.page,
pages: ie.pages,
onPage: _
@@ -37213,31 +40139,31 @@ function QN(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var $N = "/api/scraping", eP = "/api/scraping/settings", tP = "/api/scraping/check", nP = "/api/scraping/cover", rP = "/api/scraping/amane-bridge", iP = "/api/scraping/amane-bridge/check", aP = "/api/scraping/amane-bridge/rebuild", oP = ["scraping"], sP = ["scraping", "cover"], cP = ["scraping", "amane-bridge"], lP = (e) => gw($N, e), uP = (e) => gw(nP, e), dP = (e) => gw(rP, e);
-async function fP(e) {
+var QF = "/api/scraping", $F = "/api/scraping/settings", eI = "/api/scraping/check", tI = "/api/scraping/cover", nI = "/api/scraping/amane-bridge", rI = "/api/scraping/amane-bridge/check", iI = "/api/scraping/amane-bridge/rebuild", aI = ["scraping"], oI = ["scraping", "cover"], sI = ["scraping", "amane-bridge"], cI = (e) => lw(QF, e), lI = (e) => lw(tI, e), uI = (e) => lw(nI, e);
+async function dI(e) {
await Promise.all([
- Tw.fetchQuery({
- queryKey: oP,
- queryFn: () => lP(e)
+ X.fetchQuery({
+ queryKey: aI,
+ queryFn: () => cI(e)
}),
- Tw.fetchQuery({
- queryKey: sP,
- queryFn: () => uP(e)
+ X.fetchQuery({
+ queryKey: oI,
+ queryFn: () => lI(e)
}),
- Tw.fetchQuery({
- queryKey: cP,
- queryFn: () => dP(e)
+ X.fetchQuery({
+ queryKey: sI,
+ queryFn: () => uI(e)
})
]);
}
-function pP(e, t) {
+function fI(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 mP = [["peach", "Peach 代理"], ["direct", "直接连接"]], hP = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function gP({ source: e }) {
- return /* @__PURE__ */ (0, D.jsx)("img", {
+var pI = [["peach", "Peach 代理"], ["direct", "直接连接"]], mI = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function hI({ source: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("img", {
src: a({ source: e }),
alt: "",
width: 16,
@@ -37247,13 +40173,13 @@ function gP({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function _P({ source: e, toast: t }) {
- let [n, r] = (0, E.useState)(e.network), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(hP[0][0]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), m = (0, E.useRef)(null);
+function gI({ source: e, toast: t }) {
+ let [n, r] = (0, D.useState)(e.network), [i, a] = (0, D.useState)(""), [o, s] = (0, D.useState)(""), [c, l] = (0, D.useState)(mI[0][0]), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(""), m = (0, D.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
- let g = pt({
- mutationFn: (t) => _w(eP, {
+ let g = gt({
+ mutationFn: (t) => q($F, {
source: e.source,
network: n,
cookie: i,
@@ -37261,12 +40187,12 @@ function _P({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- Tw.setQueryData(oP, (t) => t && {
+ X.setQueryData(aI, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = pt({ mutationFn: () => _w(tP, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = gt({ mutationFn: () => q(eI, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -37291,87 +40217,87 @@ function _P({ 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, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: e.label,
onSubmit: y,
- aside: /* @__PURE__ */ (0, D.jsxs)("span", {
+ aside: /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, D.jsx)(gP, { source: e.source }), /* @__PURE__ */ (0, D.jsx)(mA, {
+ children: [/* @__PURE__ */ (0, O.jsx)(hI, { source: e.source }), /* @__PURE__ */ (0, O.jsx)(kA, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(CA, { children: /* @__PURE__ */ (0, O.jsx)(xA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, D.jsx)(Bj, {
+ children: /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: mP.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: pI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, D.jsxs)(lA, {
+ T ? /* @__PURE__ */ (0, O.jsxs)(wA, {
divided: !0,
children: [
- n === "peach" ? /* @__PURE__ */ (0, D.jsx)("span", {
+ n === "peach" ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, D.jsx)(oA, {
+ children: /* @__PURE__ */ (0, O.jsx)(lA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: gS,
+ trailingIcon: iS,
children: "配置 Peach 代理"
})
}) : null,
- e.browser ? /* @__PURE__ */ (0, D.jsx)("p", {
+ e.browser ? /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "人机验证由本机浏览器自动完成;需要点击时窗口会弹出。这台机器上不需要 Cookie。"
}) : null,
- e.accepts_cookie && !e.browser ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsx)("p", {
+ e.accepts_cookie && !e.browser ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, D.jsx)(rD, {
+ /* @__PURE__ */ (0, O.jsx)(lD, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: Uk,
- children: hP.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(iD, {
+ className: kM,
+ children: mI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(uD, {
value: e,
- className: Wk,
+ className: AM,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, D.jsx)(LO, {
+ c === "paste" ? /* @__PURE__ */ (0, O.jsx)(JD, {
type: "password",
label: "Cookie",
autoComplete: "off",
value: i,
onChange: a
- }) : /* @__PURE__ */ (0, D.jsxs)("div", {
+ }) : /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(pA, { children: "Netscape Cookie 文件(.txt)" }),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsx)(OA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
onClick: () => m.current?.click(),
children: "选择文件"
- }), /* @__PURE__ */ (0, D.jsx)("span", {
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 text-body-2-regular break-all text-text-secondary",
children: u || "未选择文件"
})]
}),
- /* @__PURE__ */ (0, D.jsx)("input", {
+ /* @__PURE__ */ (0, O.jsx)("input", {
ref: m,
type: "file",
accept: ".txt",
@@ -37385,55 +40311,55 @@ function _P({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, D.jsx)(fA, { children: C }) : null,
- w.map((t) => /* @__PURE__ */ (0, D.jsx)(q, {
+ C ? /* @__PURE__ */ (0, O.jsx)(DA, { children: C }) : null,
+ w.map((t) => /* @__PURE__ */ (0, O.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: pP(t, e.label)
+ children: fI(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, D.jsxs)(uA, { children: [
- e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsxs)(TA, { children: [
+ e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
onClick: b,
- ...J(v),
+ ...Y(v),
children: "撤销 Cookie"
}) : null,
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
onClick: x,
- ...J(v),
+ ...Y(v),
children: "检查连接"
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
- ...J(v),
+ ...Y(v),
children: "保存"
})
] })
]
});
}
-function vP({ toast: e }) {
- let [t, n] = (0, E.useState)(""), { running: r, outcome: i, start: a } = tA({
- queryKey: sP,
- queryFn: ({ signal: e }) => uP(e),
- start: () => _w(nP, { code: t }),
+function _I({ toast: e }) {
+ let [t, n] = (0, D.useState)(""), { running: r, outcome: i, start: a } = BA({
+ queryKey: oI,
+ queryFn: ({ signal: e }) => lI(e),
+ start: () => q(tI, { 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, D.jsx)(sA, {
+ return /* @__PURE__ */ (0, O.jsx)(SA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, D.jsxs)(lA, { children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsxs)(wA, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, D.jsx)(LO, {
+ children: /* @__PURE__ */ (0, O.jsx)(JD, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -37441,30 +40367,30 @@ function vP({ toast: e }) {
onChange: n,
placeholder: "输入馆藏番号,如 ABW-232"
})
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
disabled: !t.trim(),
- ...J(r || a.isPending),
+ ...Y(r || a.isPending),
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, D.jsx)(bw, { label: "正在抓取封面" }) : null,
- s ? /* @__PURE__ */ (0, D.jsx)(q, {
+ r ? /* @__PURE__ */ (0, O.jsx)(bw, { label: "正在抓取封面" }) : null,
+ s ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: s
}) : null,
- i?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(q, {
+ i?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "success",
children: i.result || "封面采集完成"
}) : null
] })
});
}
-function yP({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = tA({
- queryKey: cP,
- queryFn: ({ signal: e }) => dP(e),
- start: () => _w(aP, {}),
+function vI({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = BA({
+ queryKey: sI,
+ queryFn: ({ signal: e }) => uI(e),
+ start: () => q(iI, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -37473,93 +40399,93 @@ function yP({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = pt({ mutationFn: () => _w(iP, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, D.jsx)(sA, {
+ }), a = gt({ mutationFn: () => q(rI, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, O.jsx)(SA, {
title: "amane 桥",
- children: /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {
+ children: /* @__PURE__ */ (0, O.jsx)(wA, { children: /* @__PURE__ */ (0, O.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, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "amane 桥",
- aside: /* @__PURE__ */ (0, D.jsx)(mA, {
+ aside: /* @__PURE__ */ (0, O.jsx)(kA, {
href: o.repository,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, D.jsxs)(hA, { children: [
- /* @__PURE__ */ (0, D.jsxs)(gA, {
+ /* @__PURE__ */ (0, O.jsxs)(AA, { children: [
+ /* @__PURE__ */ (0, O.jsxs)(jA, {
term: "钉住的版本",
children: [o.version ? `${o.version} · ` : "", o.revision.slice(0, 12)]
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "开放的站",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, D.jsxs)(lA, {
+ /* @__PURE__ */ (0, O.jsxs)(wA, {
divided: !0,
children: [
- /* @__PURE__ */ (0, D.jsxs)(dA, { children: [
+ /* @__PURE__ */ (0, O.jsxs)(EA, { children: [
"这几站由 amane(",
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, D.jsx)(bw, { label: "正在重建运行环境" }) : null,
- c ? /* @__PURE__ */ (0, D.jsx)(q, {
+ n ? /* @__PURE__ */ (0, O.jsx)(bw, { label: "正在重建运行环境" }) : null,
+ c ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: c
}) : null,
- r?.status === "complete" ? /* @__PURE__ */ (0, D.jsx)(q, {
+ r?.status === "complete" ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "success",
children: r.result || "amane 桥已重建"
}) : null
]
}),
- /* @__PURE__ */ (0, D.jsxs)(uA, { children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsxs)(TA, { children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
onClick: () => {
s || a.mutate();
},
- ...J(a.isPending),
+ ...Y(a.isPending),
children: "检查上游版本"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
onClick: () => {
s || i.mutate();
},
- ...J(n || i.isPending),
+ ...Y(n || i.isPending),
children: o.installed ? "重新安装" : "安装"
})] })
]
});
}
-function bP({ toast: e }) {
- let t = ft({
- queryKey: oP,
- queryFn: ({ signal: e }) => lP(e)
+function yI({ toast: e }) {
+ let t = ht({
+ queryKey: aI,
+ queryFn: ({ signal: e }) => cI(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, D.jsxs)(xw, { children: [
- /* @__PURE__ */ (0, D.jsx)("p", {
+ return n ? /* @__PURE__ */ (0, O.jsxs)(xw, { children: [
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, D.jsx)(vP, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, D.jsx)(_P, {
+ /* @__PURE__ */ (0, O.jsx)(_I, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, O.jsx)(gI, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, D.jsx)(yP, { toast: e })
- ] }) : /* @__PURE__ */ (0, D.jsx)(xw, { children: /* @__PURE__ */ (0, D.jsx)(q, {
+ /* @__PURE__ */ (0, O.jsx)(vI, { toast: e })
+ ] }) : /* @__PURE__ */ (0, O.jsx)(xw, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -37567,32 +40493,32 @@ function bP({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var xP = "/api/configuration", SP = "/api/pick-folder", CP = ["configuration"], wP = (e) => gw(xP, e);
-async function TP(e) {
- await Tw.fetchQuery({
- queryKey: CP,
- queryFn: () => wP(e)
+var bI = "/api/configuration", xI = "/api/pick-folder", SI = ["configuration"], CI = (e) => lw(bI, e);
+async function wI(e) {
+ await X.fetchQuery({
+ queryKey: SI,
+ queryFn: () => CI(e)
});
}
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function EP({ initial: e, receipt: t }) {
- let [n, r] = (0, E.useState)(e.sites), i = ww(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function TI({ initial: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(e.sites), i = Tw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
let a = { sites: Object.fromEntries(n.map((e) => [e.key, { host: e.host }])) };
- i.run("save", (e) => _w("/api/configuration/entry-links", a, "POST", e), (e) => {
+ i.run("save", (e) => q("/api/configuration/entry-links", a, "POST", e), (e) => {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, D.jsxs)(lA, { children: [
- /* @__PURE__ */ (0, D.jsx)(dA, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
- n.map((e) => /* @__PURE__ */ (0, D.jsx)(LO, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(wA, { children: [
+ /* @__PURE__ */ (0, O.jsx)(EA, { children: "账本里没有这个站点 id 的人物不显示它那一枚入口,地址不会退回站内搜索。 JavDB 与 MISSAV 只收 JAV 女优,这两枚还要账本里有哪个 JAV 目录站给过她 id 才出现; FC2 个人摄那类创作者没有这种 id,资料页上也就没有这一行。 这两站的主域名连不上时,把能打开的那个镜像域名填在下面,后面的路径由 Peach 自己拼。" }),
+ n.map((e) => /* @__PURE__ */ (0, O.jsx)(JD, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -37603,64 +40529,64 @@ function EP({ initial: e, receipt: t }) {
validationBehavior: "aria",
hint: "只写域名本身,留空就是默认"
}, e.key)),
- i.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ i.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, O.jsx)(TA, { children: /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
- ...J(i.busy === "save"),
+ ...Y(i.busy === "save"),
children: "保存配置"
}) })]
});
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function DP({ data: e, receipt: t }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function EI({ data: e, receipt: t }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, D.jsx)(OP, {
+ children: [e.startup ? /* @__PURE__ */ (0, O.jsx)(DI, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, D.jsx)(EP, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, O.jsx)(TI, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function OP({ startup: e, receipt: t }) {
- let [n, r] = (0, E.useState)(e.enabled), [i, a] = (0, E.useState)(e.silent), [o, s] = (0, E.useState)(e.desktop), c = ww(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+function DI({ startup: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(e.enabled), [i, a] = (0, D.useState)(e.silent), [o, s] = (0, D.useState)(e.desktop), c = Tw(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "开机自启",
onSubmit: (r) => {
- r.preventDefault(), e.available && c.run("save", (e) => _w("/api/configuration/startup", {
+ r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
enabled: n,
silent: i,
desktop: o
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, D.jsxs)(cA, { children: [
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsxs)(CA, { children: [
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -37668,14 +40594,14 @@ function OP({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, D.jsxs)(lA, {
+ e.message || c.error ? /* @__PURE__ */ (0, O.jsxs)(wA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, D.jsx)(dA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, O.jsx)(EA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(TA, { children: /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
disabled: !e.available,
- ...J(c.busy === "save"),
+ ...Y(c.busy === "save"),
children: "保存配置"
}) })
]
@@ -37683,28 +40609,28 @@ function OP({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var kP = /* @__PURE__ */ new Set([
+var OI = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), AP = [
+]), kI = [
65,
67,
90
-], jP = 120;
-function MP({ initial: e, initialJob: t }) {
- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(t || {
+], AI = 120;
+function jI({ initial: e, initialJob: t }) {
+ let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, E.useState)(""), l = ww(), u = (0, E.useRef)(!1), d = (0, E.useRef)(!0), f = kP.has(i.state);
- (0, E.useEffect)(() => (d.current = !0, () => {
+ }), [o, s] = (0, D.useState)(""), l = Tw(), u = (0, D.useRef)(!1), d = (0, D.useRef)(!0), f = OI.has(i.state);
+ (0, D.useEffect)(() => (d.current = !0, () => {
d.current = !1;
}), []);
let p = async () => {
- let e = await _w("/api/configuration/update-restart", {});
+ let e = await q("/api/configuration/update-restart", {});
d.current && a(e);
}, m = () => void c({
title: "更新已准备好",
@@ -37713,12 +40639,12 @@ function MP({ initial: e, initialJob: t }) {
cancelLabel: "稍后",
onConfirm: p
});
- (0, E.useEffect)(() => {
+ (0, D.useEffect)(() => {
i.state !== "ready" || u.current || (u.current = !0, m());
- }, [i.state]), (0, E.useEffect)(() => {
- let e = new AbortController(), t = kP.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ }, [i.state]), (0, D.useEffect)(() => {
+ let e = new AbortController(), t = OI.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await gw("/api/configuration/update-status", e.signal);
+ let t = await lw("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -37726,93 +40652,93 @@ function MP({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await gw("/api/configuration/automatic-updates", e.signal);
+ let n = await lw("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= jP && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= AI && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < jP && (n = setTimeout(c, t));
+ !e.signal.aborted && o < AI && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
};
}, [i.state]);
let h = () => {
- f || (u.current = !1, s(""), l.run("download", (e) => _w("/api/configuration/update", {}, "POST", e), a));
- }, g = () => void l.run("check", (e) => gw("/api/configuration/updates", e), r, (t) => {
+ f || (u.current = !1, s(""), l.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
+ }, g = () => void l.run("check", (e) => lw("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
}), l.setError(K(t));
}), _ = l.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, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, D.jsxs)(hA, { children: [
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsxs)(AA, { children: [
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, D.jsxs)(lA, {
+ /* @__PURE__ */ (0, O.jsxs)(wA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, D.jsxs)(dA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
- n.state === "available" && !_ ? /* @__PURE__ */ (0, D.jsx)(q, {
+ n.checked_at ? /* @__PURE__ */ (0, O.jsxs)(EA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.state === "available" && !_ ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, D.jsx)(fA, { children: _ || n.message }) : /* @__PURE__ */ (0, D.jsx)(dA, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, O.jsx)(DA, { children: _ || n.message }) : /* @__PURE__ */ (0, O.jsx)(EA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, D.jsx)(fA, { children: i.message }) : null,
- i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ i.state === "error" ? /* @__PURE__ */ (0, O.jsx)(DA, { children: i.message }) : null,
+ i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, O.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(Cw, {
+ /* @__PURE__ */ (0, O.jsx)(ww, {
label: "更新准备进度",
value: i.progress,
- stops: AP
+ stops: kI
}),
- /* @__PURE__ */ (0, D.jsxs)(dA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, D.jsx)(dA, { children: v })
+ /* @__PURE__ */ (0, O.jsxs)(EA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, O.jsx)(EA, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, D.jsxs)(uA, {
- status: /* @__PURE__ */ (0, D.jsx)(mA, {
+ /* @__PURE__ */ (0, O.jsxs)(TA, {
+ status: /* @__PURE__ */ (0, O.jsx)(kA, {
href: n.release_url,
children: "查看发布页"
}),
children: [
- i.state === "ready" ? /* @__PURE__ */ (0, D.jsx)(G, {
+ i.state === "ready" ? /* @__PURE__ */ (0, O.jsx)(G, {
onClick: m,
children: "重启安装"
}) : null,
- n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, D.jsx)(G, {
+ n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, O.jsx)(G, {
onClick: h,
- ...J(f || l.busy === "download"),
+ ...Y(f || l.busy === "download"),
children: "下载并安装"
}) : null,
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
disabled: f,
onClick: g,
- ...J(l.busy === "check"),
+ ...Y(l.busy === "check"),
children: "检查更新"
})
]
@@ -37822,157 +40748,157 @@ function MP({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var NP = [
+var MI = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function PP({ data: e, receipt: t, reopenTutorial: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function NI({ data: e, receipt: t, reopenTutorial: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, D.jsx)(IP, {
+ e.automatic_updates ? /* @__PURE__ */ (0, O.jsx)(FI, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, D.jsx)(MP, {
+ e.updates ? /* @__PURE__ */ (0, O.jsx)(jI, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, D.jsx)(LP, { facts: e.facts }),
- /* @__PURE__ */ (0, D.jsx)(FP, {
+ /* @__PURE__ */ (0, O.jsx)(II, { facts: e.facts }),
+ /* @__PURE__ */ (0, O.jsx)(PI, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, D.jsx)(RP, {
+ e.uninstall ? /* @__PURE__ */ (0, O.jsx)(LI, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function FP({ receipt: e, reopenTutorial: t }) {
- let n = ww();
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+function PI({ receipt: e, reopenTutorial: t }) {
+ let n = Tw();
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, D.jsxs)(lA, { children: [/* @__PURE__ */ (0, D.jsx)(dA, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: n.error }) : null] }), /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(wA, { children: [/* @__PURE__ */ (0, O.jsx)(EA, { children: "关掉的安装教程从这里叫回来:跳过的项目会重新出现,做完的仍然算完成。" }), n.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: n.error }) : null] }), /* @__PURE__ */ (0, O.jsx)(TA, { children: /* @__PURE__ */ (0, O.jsx)(G, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
- ...J(n.busy === "reopen"),
+ ...Y(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function IP({ initial: e, receipt: t }) {
- let [n, r] = (0, E.useState)(e.mode), [i, a] = (0, E.useState)(e.interval_hours), o = ww(e.error), s = (r) => {
- r.preventDefault(), e.available && o.run("save", (e) => _w("/api/configuration/automatic-updates", {
+function FI({ initial: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(e.mode), [i, a] = (0, D.useState)(e.interval_hours), o = Tw(e.error), s = (r) => {
+ r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, D.jsxs)(cA, { children: [
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsxs)(CA, { children: [
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, D.jsx)(Bj, {
+ children: /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: NP.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: MI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, D.jsx)(lA, {
+ o.error ? /* @__PURE__ */ (0, O.jsx)(wA, {
divided: !0,
- children: /* @__PURE__ */ (0, D.jsx)(fA, { children: o.error })
+ children: /* @__PURE__ */ (0, O.jsx)(DA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(TA, { children: /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
disabled: !e.available,
- ...J(o.busy === "save"),
+ ...Y(o.busy === "save"),
children: "保存配置"
}) })
]
});
}
-function LP({ facts: e }) {
- return /* @__PURE__ */ (0, D.jsx)(sA, {
+function II({ facts: e }) {
+ return /* @__PURE__ */ (0, O.jsx)(SA, {
title: "运行信息",
- children: /* @__PURE__ */ (0, D.jsx)(hA, { children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)(gA, {
+ children: /* @__PURE__ */ (0, O.jsx)(AA, { children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)(jA, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, D.jsx)(mA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, O.jsx)(kA, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function RP({ uninstall: e, receipt: t }) {
- let [n, r] = (0, E.useState)(!1), [i, a] = (0, E.useState)(""), o = () => void c({
+function LI({ uninstall: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(!1), [i, a] = (0, D.useState)(""), o = () => void c({
title: "卸载 Peach",
danger: !0,
body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",
confirmLabel: "卸载 Peach",
onConfirm: async () => {
- let e = await _w("/api/configuration/uninstall", {
+ let e = await q("/api/configuration/uninstall", {
delete_data: n,
confirmation: "卸载 Peach"
});
a(e.message);
}
}), s = i || e.message, l = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, D.jsxs)(lA, { children: [
- e.available ? /* @__PURE__ */ (0, D.jsx)(dA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, D.jsx)(Xk, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(wA, { children: [
+ e.available ? /* @__PURE__ */ (0, O.jsx)(EA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, O.jsx)(GA, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, D.jsx)(_A, {
+ /* @__PURE__ */ (0, O.jsx)(MA, {
summary: "数据目录",
- children: l.map((e) => /* @__PURE__ */ (0, D.jsx)(kA, {
+ children: l.map((e) => /* @__PURE__ */ (0, O.jsx)(vA, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, D.jsx)(uA, {
- status: s ? /* @__PURE__ */ (0, D.jsx)("p", {
+ ] }), /* @__PURE__ */ (0, O.jsx)(TA, {
+ status: s ? /* @__PURE__ */ (0, O.jsx)("p", {
role: i ? "status" : void 0,
children: s
}) : null,
- children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
variant: "danger",
disabled: !e.available || !!i,
onClick: o,
@@ -37983,7 +40909,7 @@ function RP({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var zP = [
+var RI = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -38002,37 +40928,37 @@ var zP = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], BP = [
+], zI = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function VP() {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function BI() {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, D.jsxs)(dA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, D.jsx)(mA, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(EA, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, O.jsx)(kA, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, D.jsxs)(_A, {
+ })] }), /* @__PURE__ */ (0, O.jsxs)(MA, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, D.jsx)(dA, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
- /* @__PURE__ */ (0, D.jsx)("ul", {
+ /* @__PURE__ */ (0, O.jsx)(EA, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,按实际播放表现再调。" }),
+ /* @__PURE__ */ (0, O.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: zP.map((e) => /* @__PURE__ */ (0, D.jsxs)("li", {
+ children: RI.map((e) => /* @__PURE__ */ (0, O.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
- children: [/* @__PURE__ */ (0, D.jsx)("p", {
+ children: [/* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
- }), /* @__PURE__ */ (0, D.jsx)("dl", {
+ }), /* @__PURE__ */ (0, O.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: BP.map(([t, n]) => /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: zI.map(([t, n]) => /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col",
- children: [/* @__PURE__ */ (0, D.jsx)("dt", {
+ children: [/* @__PURE__ */ (0, O.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
children: n
- }), /* @__PURE__ */ (0, D.jsx)("dd", {
+ }), /* @__PURE__ */ (0, O.jsx)("dd", {
className: "text-body-regular text-text-primary",
children: e[t]
})]
@@ -38040,17 +40966,17 @@ function VP() {
})]
}, e.name))
}),
- /* @__PURE__ */ (0, D.jsxs)("ul", {
+ /* @__PURE__ */ (0, O.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, D.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),
- /* @__PURE__ */ (0, D.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),
- /* @__PURE__ */ (0, D.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
+ /* @__PURE__ */ (0, O.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),
+ /* @__PURE__ */ (0, O.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),
+ /* @__PURE__ */ (0, O.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, D.jsxs)(dA, { children: [
+ /* @__PURE__ */ (0, O.jsxs)(EA, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, D.jsx)(mA, {
+ /* @__PURE__ */ (0, O.jsx)(kA, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -38062,7 +40988,7 @@ function VP() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var HP = [
+var VI = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -38106,14 +41032,14 @@ var HP = [
["star", "收藏"],
["tags", "主题"]
];
-function UP(e) {
+function HI(e) {
let t = e === "local" ? "" : o[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var WP = "auto";
-function GP({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(e), [l, u] = UP(n);
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(G, {
+var UI = "auto";
+function WI({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(e), [l, u] = HI(n);
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(G, {
ref: i,
variant: "secondary",
className: "self-start",
@@ -38123,46 +41049,46 @@ function GP({ value: e, label: t, kind: n = "local", onChange: r }) {
onClick: () => {
c(e), o(!0);
},
- children: /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: /* @__PURE__ */ (0, O.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, D.jsx)(vA, { mark: e || l }), ((e) => e && HP.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, O.jsx)(NA, { mark: e || l }), ((e) => e && VI.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, D.jsx)(IE, {
+ }), /* @__PURE__ */ (0, O.jsx)(eD, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: Zk,
- children: /* @__PURE__ */ (0, D.jsxs)(BE, {
+ className: uA,
+ children: /* @__PURE__ */ (0, O.jsxs)(nD, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, D.jsx)(rT, {
+ /* @__PURE__ */ (0, O.jsx)(kT, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, D.jsx)(rD, {
+ /* @__PURE__ */ (0, O.jsx)(lD, {
"aria-label": "候选图标",
- value: s || WP,
- onChange: (e) => c(e === WP ? "" : e),
+ value: s || UI,
+ onChange: (e) => c(e === UI ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: HP.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(iD, {
- value: e || WP,
+ children: VI.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(uD, {
+ value: e || UI,
"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, D.jsx)(vA, { mark: e || l })
- }, e || WP))
+ children: /* @__PURE__ */ (0, O.jsx)(NA, { mark: e || l })
+ }, e || UI))
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
onClick: () => o(!1),
children: "取消"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
disabled: s === e,
onClick: () => {
r(s), o(!1);
@@ -38176,15 +41102,15 @@ function GP({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var KP = "/api/configuration/push-discovery", qP = "/api/configuration/push-discovery/secret";
-function JP({ initial: e, receipt: t }) {
- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.prefixes), [o, s] = (0, E.useState)(""), c = ww(), l = KO(), u = n.media_roots, [d, f] = (0, E.useState)(e), p = (e, n) => {
+var GI = "/api/configuration/push-discovery", KI = "/api/configuration/push-discovery/secret";
+function qI({ initial: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(e.prefixes), [o, s] = (0, D.useState)(""), c = Tw(), l = aO(), u = n.media_roots, [d, f] = (0, D.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, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -38194,14 +41120,14 @@ function JP({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => _w(KP, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(GI, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
- /* @__PURE__ */ (0, D.jsxs)(cA, { children: [
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsxs)(CA, { children: [
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -38211,10 +41137,10 @@ function JP({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -38224,10 +41150,10 @@ function JP({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(xA, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, D.jsx)(tk, {
+ children: /* @__PURE__ */ (0, O.jsx)(mO, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -38238,59 +41164,59 @@ function JP({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, D.jsx)(lA, {
+ d.enabled ? /* @__PURE__ */ (0, O.jsx)(wA, {
divided: !0,
- children: /* @__PURE__ */ (0, D.jsxs)(hA, { children: [d.watch_local ? /* @__PURE__ */ (0, D.jsx)(gA, {
+ children: /* @__PURE__ */ (0, O.jsxs)(AA, { children: [d.watch_local ? /* @__PURE__ */ (0, O.jsx)(jA, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, D.jsx)(gA, {
+ }) : null, /* @__PURE__ */ (0, O.jsx)(jA, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, D.jsx)(lA, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, O.jsx)(wA, {
divided: !0,
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(pA, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, D.jsx)(dA, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
- d.config_toml ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(OA, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, O.jsx)(EA, { children: "在 CloudDrive2 的「设置 → Webhooks」里添加一条,把这段配置贴进去保存。 地址、端点和密钥都已经填好了;换过密钥之后要重新贴一次。 Webhook 是 CloudDrive2 的会员功能:不是会员时列表照样显示有效,但一条都不会发出来。 Windows 桌面版的编辑框会把换行存坏,列表里标「无效」:那就把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ d.config_toml ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("div", { children: /* @__PURE__ */ (0, O.jsx)(G, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, D.jsx)(_A, {
+ }) }), /* @__PURE__ */ (0, O.jsx)(MA, {
summary: "查看这段配置",
- children: /* @__PURE__ */ (0, D.jsx)("div", {
+ children: /* @__PURE__ */ (0, O.jsx)("div", {
className: "relative",
- children: /* @__PURE__ */ (0, D.jsx)("pre", {
+ children: /* @__PURE__ */ (0, O.jsx)("pre", {
ref: l,
tabIndex: 0,
className: "overflow-x-auto rounded-2xl bg-background-tertiary-default p-3 text-caption-1-regular whitespace-pre text-text-primary",
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, D.jsx)(dA, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
+ })] }) : /* @__PURE__ */ (0, O.jsx)(EA, { children: d.origin ? "还没有生成共享密钥,保存一次配置就会有。" : "这台机器还没有对外的 HTTPS 地址,配置里的地址填不出来。CloudDrive2 只能推到 HTTPS:80 口那条服务对写请求回的是 426,不会替它转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, D.jsx)(lA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, O.jsx)(wA, {
divided: !0,
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(pA, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, D.jsx)(dA, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)(OA, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, O.jsx)(EA, { children: "左边填 CloudDrive2 里看到的那一层目录,右边选它对应哪个媒体根。 CloudDrive2 给的是它自己的路径,Peach 按这张表换算成账本里的盘符路径。" }),
+ /* @__PURE__ */ (0, O.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
className: "flex flex-col gap-3",
- children: i.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: i.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(LO, {
+ /* @__PURE__ */ (0, O.jsx)(JD, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -38299,26 +41225,26 @@ function JP({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, D.jsx)(Bj, {
+ /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: u.map((e) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, D.jsx)(jO, {
- icon: bS,
+ /* @__PURE__ */ (0, O.jsx)(UD, {
+ icon: cS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
]
}, t))
}),
- /* @__PURE__ */ (0, D.jsx)("div", { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)("div", { children: /* @__PURE__ */ (0, O.jsx)(G, {
size: "small",
onClick: () => a((e) => [...e, {
prefix: "",
@@ -38329,23 +41255,23 @@ function JP({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, D.jsx)(lA, {
+ o || c.error ? /* @__PURE__ */ (0, O.jsx)(wA, {
divided: !0,
- children: /* @__PURE__ */ (0, D.jsx)(fA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, O.jsx)(DA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, D.jsxs)(uA, {
+ /* @__PURE__ */ (0, O.jsxs)(TA, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
- children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, D.jsx)(G, {
+ children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, O.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => _w(qP, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(KI, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
- ...J(c.busy === "secret"),
+ ...Y(c.busy === "secret"),
children: "更换密钥"
- }) : null, /* @__PURE__ */ (0, D.jsx)(G, {
+ }) : null, /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
disabled: !n.available,
- ...J(c.busy === "save"),
+ ...Y(c.busy === "save"),
children: "保存配置"
})]
})
@@ -38354,9 +41280,9 @@ function JP({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var YP = 8e3;
-function XP({ className: e }) {
- return /* @__PURE__ */ (0, D.jsx)("svg", {
+var JI = 8e3;
+function YI({ className: e }) {
+ return /* @__PURE__ */ (0, O.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
fill: "none",
@@ -38365,58 +41291,58 @@ function XP({ className: e }) {
strokeLinecap: "round",
strokeLinejoin: "round",
className: e,
- children: /* @__PURE__ */ (0, D.jsx)("use", { href: "#i-folder-search" })
+ children: /* @__PURE__ */ (0, O.jsx)("use", { href: "#i-folder-search" })
});
}
-var ZP = [
+var XI = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], QP = (e) => ZP.find(([t]) => t === e)?.[1] ?? e, $P = (e) => o[e] || "database", eF = (e = "") => ({
+], ZI = (e) => XI.find(([t]) => t === e)?.[1] ?? e, QI = (e) => o[e] || "database", $I = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function tF(e) {
- let t = e.media_sources?.filter((e) => ZP.some(([t]) => t === e.location));
+function eL(e) {
+ let t = e.media_sources?.filter((e) => XI.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) => eF(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => $I(e));
}
-var nF = (e) => !(e instanceof mw) || e.status !== 400 ? null : e.body?.errors ?? null;
-function rF({ data: e, receipt: t }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+var tL = (e) => !(e instanceof sw) || e.status !== 400 ? null : e.body?.errors ?? null;
+function nL({ data: e, receipt: t }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, D.jsx)(iF, {
+ e.editable ? /* @__PURE__ */ (0, O.jsx)(rL, {
data: e,
receipt: t
- }) : /* @__PURE__ */ (0, D.jsx)(q, {
+ }) : /* @__PURE__ */ (0, O.jsx)(J, {
tone: "neutral",
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, D.jsx)(oF, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, D.jsx)(JP, {
+ /* @__PURE__ */ (0, O.jsx)(aL, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, O.jsx)(qI, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function iF({ data: e, receipt: t }) {
- let [n, r] = (0, E.useState)(() => tF(e)), [i, a] = (0, E.useState)(String(e.port)), [o, s] = (0, E.useState)(!1), [c, l] = (0, E.useState)([]), [u, d] = (0, E.useState)(""), [f, p] = (0, E.useState)(""), [m, h] = (0, E.useState)(null), [g, _] = (0, E.useState)(null), [v, y] = (0, E.useState)(null), b = (0, E.useRef)(!1), x = (0, E.useRef)(e.revision), S = (0, E.useRef)([]), C = ww();
- (0, E.useLayoutEffect)(() => {
+function rL({ data: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(() => eL(e)), [i, a] = (0, D.useState)(String(e.port)), [o, s] = (0, D.useState)(!1), [c, l] = (0, D.useState)([]), [u, d] = (0, D.useState)(""), [f, p] = (0, D.useState)(""), [m, h] = (0, D.useState)(null), [g, _] = (0, D.useState)(null), [v, y] = (0, D.useState)(null), b = (0, D.useRef)(!1), x = (0, D.useRef)(e.revision), S = (0, D.useRef)([]), C = Tw();
+ (0, D.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
- }, [g]), (0, E.useEffect)(() => {
+ }, [g]), (0, D.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), YP);
+ let e = setTimeout(() => location.assign(m.url), JI);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -38426,15 +41352,15 @@ function iF({ data: e, receipt: t }) {
let r = [...n];
for (; r.length <= e;) r.push("");
return r[e] = t, r;
- }), O = () => {
- _(n.length), r((e) => [...e, eF()]);
+ }), E = () => {
+ _(n.length), r((e) => [...e, $I()]);
}, k = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, A = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await _w(SP, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(xI, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -38443,7 +41369,7 @@ function iF({ data: e, receipt: t }) {
}
}
}, j = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => _w(xP, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(bI, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -38452,18 +41378,18 @@ function iF({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = nF(e);
+ let t = tL(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
- if (m) return /* @__PURE__ */ (0, D.jsx)(sA, {
+ if (m) return /* @__PURE__ */ (0, O.jsx)(SA, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsxs)(q, {
+ children: /* @__PURE__ */ (0, O.jsx)(wA, { children: /* @__PURE__ */ (0, O.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, D.jsx)(oA, {
+ /* @__PURE__ */ (0, O.jsx)(lA, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -38473,25 +41399,25 @@ function iF({ data: e, receipt: t }) {
}) })
});
let M = n.some((e) => e.location === "115" || e.location === "pikpak"), N = M ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "这台电脑",
onSubmit: j,
- children: [/* @__PURE__ */ (0, D.jsxs)(lA, { children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)(wA, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(pA, { children: "媒体文件夹" }),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)(OA, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, O.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, r) => /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: n.map((t, r) => /* @__PURE__ */ (0, O.jsxs)("div", {
"data-folder-row": !0,
className: "@container flex flex-col gap-3 rounded-2lg border border-separator-border bg-background-primary-default p-3",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(LO, {
+ /* @__PURE__ */ (0, O.jsx)(JD, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -38504,53 +41430,53 @@ function iF({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, D.jsx)(jO, {
- icon: XP,
+ /* @__PURE__ */ (0, O.jsx)(UD, {
+ icon: YI,
"aria-label": "选择文件夹",
onClick: () => void A(r),
- ...J(v === r)
+ ...Y(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, D.jsx)(jO, {
- icon: bS,
+ n.length > 1 ? /* @__PURE__ */ (0, O.jsx)(UD, {
+ icon: cS,
"aria-label": "移除这个文件夹",
onClick: () => k(r)
}) : null
]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(LO, {
+ /* @__PURE__ */ (0, O.jsx)(JD, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
value: t.library,
onChange: (e) => w(r, { library: e })
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, D.jsx)(pA, { children: "媒体库图标" }), /* @__PURE__ */ (0, D.jsx)(GP, {
+ children: [/* @__PURE__ */ (0, O.jsx)(OA, { children: "媒体库图标" }), /* @__PURE__ */ (0, O.jsx)(WI, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => w(r, { library_icon: e })
})]
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, D.jsx)(pA, { children: "媒体来源" }), /* @__PURE__ */ (0, D.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, O.jsx)(OA, { children: "媒体来源" }), /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: ZP.map(([e, t]) => /* @__PURE__ */ (0, D.jsxs)(Vj, {
+ children: XI.map(([e, t]) => /* @__PURE__ */ (0, O.jsxs)(RA, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, D.jsx)(vA, { mark: $P(e) }), t]
+ children: [/* @__PURE__ */ (0, O.jsx)(NA, { mark: QI(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, D.jsx)(LO, {
+ e.windows === !1 ? /* @__PURE__ */ (0, O.jsx)(JD, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -38560,25 +41486,25 @@ function iF({ data: e, receipt: t }) {
})]
}, r))
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
className: "self-start",
- onClick: O,
+ onClick: E,
children: "添加文件夹"
})
]
}),
- M ? /* @__PURE__ */ (0, D.jsx)(VP, {}) : null,
- N.map((e) => /* @__PURE__ */ (0, D.jsxs)(dA, { children: [
+ M ? /* @__PURE__ */ (0, O.jsx)(BI, {}) : null,
+ N.map((e) => /* @__PURE__ */ (0, O.jsxs)(EA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, D.jsxs)(mA, {
+ /* @__PURE__ */ (0, O.jsxs)(kA, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, D.jsx)(dA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, D.jsx)(LO, {
+ e.windows === !1 ? /* @__PURE__ */ (0, O.jsx)(EA, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, O.jsx)(JD, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -38588,66 +41514,66 @@ function iF({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, D.jsx)(Xk, {
+ /* @__PURE__ */ (0, O.jsx)(GA, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
}),
- f ? /* @__PURE__ */ (0, D.jsx)(q, {
+ f ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, D.jsx)(uA, {
+ ] }), /* @__PURE__ */ (0, O.jsx)(TA, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
- children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
- ...J(C.busy === "save"),
+ ...Y(C.busy === "save"),
children: "保存配置"
})
})]
});
}
-function aF({ online: e }) {
- return e === !0 ? /* @__PURE__ */ (0, D.jsxs)("span", {
+function iL({ online: e }) {
+ return e === !0 ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
className: "size-1.5 rounded-full bg-current"
}), "在线"]
- }) : e === !1 ? /* @__PURE__ */ (0, D.jsxs)("span", {
+ }) : e === !1 ? /* @__PURE__ */ (0, O.jsxs)("span", {
"data-mount": "offline",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-error-primary",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
className: "size-1.5 rounded-full bg-current"
}), "离线"]
- }) : /* @__PURE__ */ (0, D.jsxs)("span", {
+ }) : /* @__PURE__ */ (0, O.jsxs)("span", {
"data-mount": "unknown",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
"aria-hidden": !0,
className: "size-1.5 rounded-full bg-current"
}), "未检测"]
});
}
-function oF({ data: e }) {
- let t = e.media_sources, n = ww();
- return t ? /* @__PURE__ */ (0, D.jsxs)(sA, {
+function aL({ data: e }) {
+ let t = e.media_sources, n = Tw();
+ return t ? /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, D.jsx)(hA, { children: t.map((e, t) => /* @__PURE__ */ (0, D.jsxs)(gA, {
- term: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(vA, { mark: $P(e.location) }), QP(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, D.jsx)(aF, { online: e.online })]
+ /* @__PURE__ */ (0, O.jsx)(AA, { children: t.map((e, t) => /* @__PURE__ */ (0, O.jsxs)(jA, {
+ term: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(NA, { mark: QI(e.location) }), ZI(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, O.jsx)(iL, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, D.jsx)(lA, {
+ n.error ? /* @__PURE__ */ (0, O.jsx)(wA, {
divided: !0,
- children: /* @__PURE__ */ (0, D.jsx)(fA, { children: n.error })
+ children: /* @__PURE__ */ (0, O.jsx)(DA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => wP(e), (e) => Tw.setQueryData(CP, e)),
- ...J(n.busy === "refresh"),
+ /* @__PURE__ */ (0, O.jsx)(TA, { children: /* @__PURE__ */ (0, O.jsx)(G, {
+ onClick: () => void n.run("refresh", (e) => CI(e), (e) => X.setQueryData(SI, e)),
+ ...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
]
@@ -38655,20 +41581,20 @@ function oF({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var sF = {
+var oL = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function cF({ initial: e, receipt: t }) {
- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(""), [o, s] = (0, E.useState)(""), [c, l] = (0, E.useState)(""), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)({}), m = (0, E.useRef)(null), h = ww(), g = (e) => {
+function sL({ initial: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(""), [o, s] = (0, D.useState)(""), [c, l] = (0, D.useState)(""), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)({}), m = (0, D.useRef)(null), h = Tw(), g = (e) => {
e.preventDefault();
let f = {};
if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {
requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus());
return;
}
- h.run("save", (e) => _w("/api/configuration/access", {
+ h.run("save", (e) => q("/api/configuration/access", {
revision: n.revision,
action: u ? "disable" : "set",
confirm_disable: u,
@@ -38678,28 +41604,28 @@ function cF({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof mw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof sw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = sF[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+ }, _ = oL[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "访问密码",
onSubmit: g,
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, D.jsxs)(lA, { children: [
- _ ? /* @__PURE__ */ (0, D.jsx)(dA, { children: _ }) : null,
- n.mode === "open" ? /* @__PURE__ */ (0, D.jsx)(q, {
+ children: /* @__PURE__ */ (0, O.jsxs)(wA, { children: [
+ _ ? /* @__PURE__ */ (0, O.jsx)(EA, { children: _ }) : null,
+ n.mode === "open" ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, D.jsx)(Xk, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, O.jsx)(GA, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, D.jsx)(LO, {
+ n.mode === "password" ? /* @__PURE__ */ (0, O.jsx)(JD, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -38712,7 +41638,7 @@ function cF({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(LO, {
+ v ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(JD, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -38725,7 +41651,7 @@ function cF({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, D.jsx)(LO, {
+ }), /* @__PURE__ */ (0, O.jsx)(JD, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -38739,18 +41665,18 @@ function cF({ initial: e, receipt: t }) {
isInvalid: !u && !!f.confirmation,
hint: u ? void 0 : f.confirmation
})] }) : null,
- u ? /* @__PURE__ */ (0, D.jsx)(q, {
+ u ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, D.jsx)(uA, {
+ }), v ? /* @__PURE__ */ (0, O.jsx)(TA, {
status: "保存后立即生效。",
- children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
- ...J(h.busy === "save"),
+ ...Y(h.busy === "save"),
children: "保存配置"
})
}) : null]
@@ -38758,25 +41684,25 @@ function cF({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var lF = 2e3, uF = [["quick", "临时链接"], ["named", "命名隧道"]], dF = {
+var cL = 2e3, lL = [["quick", "临时链接"], ["named", "命名隧道"]], uL = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function fF({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, E.useState)(t), [a, o] = (0, E.useState)(e), [s, c] = (0, E.useState)(t.mode), [l, u] = (0, E.useState)(t.hostname), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)({}), h = ww(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
- (0, E.useEffect)(() => {
+function dL({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, D.useState)(t), [a, o] = (0, D.useState)(e), [s, c] = (0, D.useState)(t.mode), [l, u] = (0, D.useState)(t.hostname), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)({}), h = Tw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+ (0, D.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- wP(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (Tw.setQueryData(CP, t), i(t.tunnel), o(t.revision));
+ CI(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(SI, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, lF);
+ }, cL);
return () => {
e.abort(), window.clearInterval(t);
};
}, [r.state]);
let v = (e, t, n) => {
- m({}), h.run(e, (e) => _w("/api/configuration/tunnel", {
+ m({}), h.run(e, (e) => q("/api/configuration/tunnel", {
revision: a,
enabled: t,
mode: s,
@@ -38785,30 +41711,30 @@ function fF({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof mw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof sw ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, D.jsxs)(lA, { children: [
- r.named_available ? /* @__PURE__ */ (0, D.jsx)(rD, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(wA, { children: [
+ r.named_available ? /* @__PURE__ */ (0, O.jsx)(lD, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: Uk,
- children: uF.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(iD, {
+ className: kM,
+ children: lL.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(uD, {
value: e,
- className: Wk,
+ className: AM,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, D.jsx)(dA, { children: dF[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(LO, {
+ /* @__PURE__ */ (0, O.jsx)(EA, { children: uL[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(JD, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -38819,7 +41745,7 @@ function fF({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, D.jsx)(LO, {
+ }), /* @__PURE__ */ (0, O.jsx)(JD, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -38831,35 +41757,35 @@ function fF({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
hint: r.token_set ? "已保存。留空表示沿用已保存的令牌。" : "在 Cloudflare Zero Trust 的隧道详情页复制。"
})] }) : null,
- r.available ? null : /* @__PURE__ */ (0, D.jsx)(q, {
+ r.available ? null : /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
title: "找不到 cloudflared",
children: "安装官方 cloudflared,或用设置文件的 tunnel.binary 与 PEACH_CLOUDFLARED 指定路径。"
}),
- r.state === "running" && r.url ? /* @__PURE__ */ (0, D.jsx)(q, {
+ r.state === "running" && r.url ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, D.jsx)(mA, {
+ children: /* @__PURE__ */ (0, O.jsx)(kA, {
href: r.url,
children: r.url
})
}) : null,
- r.state === "starting" ? /* @__PURE__ */ (0, D.jsx)(q, {
+ r.state === "starting" ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "info",
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, D.jsxs)(uA, {
+ r.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, O.jsxs)(TA, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
- ...J(h.busy === "toggle"),
+ ...Y(h.busy === "toggle"),
children: g ? "停止公网入口" : "启动公网入口"
- }), r.named_available ? /* @__PURE__ */ (0, D.jsx)(G, {
+ }), r.named_available ? /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
- ...J(h.busy === "save"),
+ ...Y(h.busy === "save"),
children: "保存配置"
}) : null]
})]
@@ -38867,24 +41793,24 @@ function fF({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var pF = [
+var fL = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function mF({ data: e, receipt: t }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function pL({ data: e, receipt: t }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, D.jsx)(hF, {
+ e.peach_proxy ? /* @__PURE__ */ (0, O.jsx)(mL, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, D.jsx)(cF, {
+ e.access ? /* @__PURE__ */ (0, O.jsx)(sL, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, D.jsx)(fF, {
+ e.tunnel ? /* @__PURE__ */ (0, O.jsx)(dL, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -38892,13 +41818,13 @@ function mF({ data: e, receipt: t }) {
]
});
}
-function hF({ initial: e, receipt: t }) {
- let [n, r] = (0, E.useState)(e), [i, a] = (0, E.useState)(e.mode), [o, s] = (0, E.useState)(""), c = ww();
- return /* @__PURE__ */ (0, D.jsxs)(sA, {
+function mL({ initial: e, receipt: t }) {
+ let [n, r] = (0, D.useState)(e), [i, a] = (0, D.useState)(e.mode), [o, s] = (0, D.useState)(""), c = Tw();
+ return /* @__PURE__ */ (0, O.jsxs)(SA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
- e.preventDefault(), c.run("save", (e) => _w("/api/configuration/peach-proxy", {
+ e.preventDefault(), c.run("save", (e) => q("/api/configuration/peach-proxy", {
mode: i,
proxy: o
}, "POST", e), (e) => {
@@ -38906,25 +41832,25 @@ function hF({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, D.jsx)(cA, { children: /* @__PURE__ */ (0, D.jsx)(iA, {
+ /* @__PURE__ */ (0, O.jsx)(CA, { children: /* @__PURE__ */ (0, O.jsx)(xA, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, D.jsx)(Bj, {
+ children: /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: pF.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: fL.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, D.jsxs)(lA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, O.jsxs)(wA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, D.jsx)(LO, {
+ i === "proxy" ? /* @__PURE__ */ (0, O.jsx)(JD, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -38933,17 +41859,17 @@ function hF({ initial: e, receipt: t }) {
onChange: s,
placeholder: n.proxy_saved ? "已保存,留空保留" : "http://127.0.0.1:7890"
}) : null,
- n.needs_selection ? /* @__PURE__ */ (0, D.jsx)(q, {
+ n.needs_selection ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "warning",
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, D.jsx)(fA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, O.jsx)(DA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, D.jsx)(uA, { children: /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(TA, { children: /* @__PURE__ */ (0, O.jsx)(G, {
type: "submit",
- ...J(c.busy === "save"),
+ ...Y(c.busy === "save"),
children: "保存配置"
}) })
]
@@ -38951,14 +41877,14 @@ function hF({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function gF({ receipt: e, reopenTutorial: t }) {
- let n = ft({
- queryKey: CP,
- queryFn: ({ signal: e }) => wP(e)
+function hL({ receipt: e, reopenTutorial: t }) {
+ let n = ht({
+ queryKey: SI,
+ queryFn: ({ signal: e }) => CI(e)
}), r = n.data;
- if (!r) return /* @__PURE__ */ (0, D.jsx)("div", {
+ if (!r) return /* @__PURE__ */ (0, O.jsx)("div", {
className: "configpage",
- children: /* @__PURE__ */ (0, D.jsx)(q, {
+ children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "打不开配置",
children: n.error ? K(n.error) : "没有读到配置"
@@ -38968,29 +41894,29 @@ function gF({ receipt: e, reopenTutorial: t }) {
data: r,
receipt: e
}, a = !!(r.startup || r.entry_links), o = !!(r.peach_proxy || r.access || r.tunnel);
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "configpage",
children: [
- a ? /* @__PURE__ */ (0, D.jsx)("h2", {
+ a ? /* @__PURE__ */ (0, O.jsx)("h2", {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, D.jsx)(DP, { ...i }) : null,
- /* @__PURE__ */ (0, D.jsx)("h2", {
+ a ? /* @__PURE__ */ (0, O.jsx)(EI, { ...i }) : null,
+ /* @__PURE__ */ (0, O.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, D.jsx)(rF, { ...i }),
- o ? /* @__PURE__ */ (0, D.jsx)("h2", {
+ /* @__PURE__ */ (0, O.jsx)(nL, { ...i }),
+ o ? /* @__PURE__ */ (0, O.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, D.jsx)(mF, { ...i }) : null,
- /* @__PURE__ */ (0, D.jsx)("h2", {
+ o ? /* @__PURE__ */ (0, O.jsx)(pL, { ...i }) : null,
+ /* @__PURE__ */ (0, O.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, D.jsx)(PP, {
+ /* @__PURE__ */ (0, O.jsx)(NI, {
...i,
reopenTutorial: t
})
@@ -38999,37 +41925,37 @@ function gF({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var _F = (e) => {
+var gL = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function vF({ openConfiguration: e }) {
- let t = ft({
- queryKey: CP,
- queryFn: ({ signal: e }) => wP(e)
+function _L({ openConfiguration: e }) {
+ let t = ht({
+ queryKey: SI,
+ queryFn: ({ signal: e }) => CI(e)
}), n = t.data;
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, D.jsxs)(hA, { children: [
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ children: [n ? /* @__PURE__ */ (0, O.jsxs)(AA, { children: [
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, D.jsx)(gA, {
+ /* @__PURE__ */ (0, O.jsx)(jA, {
term: "更新",
- children: _F(n)
+ children: gL(n)
})
- ] }) : /* @__PURE__ */ (0, D.jsx)(lA, { children: /* @__PURE__ */ (0, D.jsx)(q, {
+ ] }) : /* @__PURE__ */ (0, O.jsx)(wA, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "打不开配置",
children: t.error ? K(t.error) : "没有读到配置"
- }) }), /* @__PURE__ */ (0, D.jsx)(uA, {
+ }) }), /* @__PURE__ */ (0, O.jsx)(TA, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
- children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
onClick: e,
children: "打开配置页"
})
@@ -39038,14 +41964,14 @@ function vF({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var yF = "/api/stats", bF = ["stats"], xF = (e) => gw(yF, e);
-async function SF(e) {
- await Tw.fetchQuery({
- queryKey: bF,
- queryFn: () => xF(e)
+var vL = "/api/stats", yL = ["stats"], bL = (e) => lw(vL, e);
+async function xL(e) {
+ await X.fetchQuery({
+ queryKey: yL,
+ queryFn: () => bL(e)
});
}
-var CF = (e, t) => t ? Math.round(e / t * 100) : 0, wF = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, TF = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, EF = (e) => (e.max_reached || 0) * 100, DF = (e) => e.kind === "online" ? "在线直接观看" : TF(e) < EF(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", OF = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, kF = (e) => Math.max(1, ...e) * 1.1, AF = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), jF = {
+var SL = (e, t) => t ? Math.round(e / t * 100) : 0, CL = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, wL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, TL = (e) => (e.max_reached || 0) * 100, EL = (e) => e.kind === "online" ? "在线直接观看" : wL(e) < TL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", DL = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Nse = (e) => Math.max(1, ...e) * 1.1, Pse = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Fse = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -39053,18 +41979,18 @@ var CF = (e, t) => t ? Math.round(e / t * 100) : 0, wF = (e) => e >= 3600 ? `${(
audio: "音频",
account: "账号",
other: "其它文件"
-}, MF = (e) => e.map((e) => ({
- name: jF[e.k] ?? e.k,
+}, Ise = (e) => e.map((e) => ({
+ name: Fse[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), NF = {
+})).sort((e, t) => t.value - e.value), Lse = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, PF = (e, t = {}) => e.map((e) => ({
+}, OL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), FF = (e) => PF(e, NF), IF = [
+})), Rse = (e) => OL(e, Lse), zse = [
[
1,
1,
@@ -39100,49 +42026,49 @@ var CF = (e, t) => t ? Math.round(e / t * 100) : 0, wF = (e) => e >= 3600 ? `${(
Infinity,
"≥10 次"
]
-], LF = (e) => IF.map(([t, n, r]) => ({
+], Bse = (e) => zse.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), RF = /* @__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 zF(e) {
- return typeof e == "string" && RF.includes(e);
+})), Vse = /* @__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 kL(e) {
+ return typeof e == "string" && Vse.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var BF = /* @__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 VF(e) {
- return typeof e == "string" && BF.has(e);
+var Hse = /* @__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 AL(e) {
+ return typeof e == "string" && Hse.has(e);
}
-function HF(e) {
+function jL(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function UF(e) {
+function ML(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (VF(n) || HF(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (AL(n) || jL(n)) && (t[n] = e[n]);
return t;
}
-function WF(e) {
+function NL(e) {
if (e == null) return null;
- if (/*#__PURE__*/ (0, E.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
+ if (/*#__PURE__*/ (0, D.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return UF(t);
+ return ML(t);
}
- return typeof e == "object" && !Array.isArray(e) ? UF(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? ML(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function GF(e) {
+function PL(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (VF(n) || HF(n) || zF(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (AL(n) || jL(n) || kL(n)) && (t[n] = e[n]);
return t;
}
-function KF(e) {
- return e == null ? null : /*#__PURE__*/ (0, E.isValidElement)(e) ? GF(e.props) : typeof e == "object" && !Array.isArray(e) ? GF(e) : null;
+function Use(e) {
+ return e == null ? null : /*#__PURE__*/ (0, D.isValidElement)(e) ? PL(e.props) : typeof e == "object" && !Array.isArray(e) ? PL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var qF = [
+var Wse = [
"children",
"width",
"height",
@@ -39152,25 +42078,25 @@ var qF = [
"title",
"desc"
];
-function JF() {
- return JF = Object.assign ? Object.assign.bind() : function(e) {
+function FL() {
+ return FL = 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;
- }, JF.apply(null, arguments);
+ }, FL.apply(null, arguments);
}
-function YF(e, t) {
+function Gse(e, t) {
if (e == null) return {};
- var n, r, i = XF(e, t);
+ var n, r, i = Kse(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 XF(e, t) {
+function Kse(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -39179,41 +42105,41 @@ function XF(e, t) {
}
return n;
}
-var ZF = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = YF(e, qF), d = a || {
+var IL = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Gse(e, Wse), d = a || {
width: r,
height: i,
x: 0,
y: 0
- }, f = Sm("recharts-surface", o);
- return /*#__PURE__*/ E.createElement("svg", JF({}, GF(u), {
+ }, f = Dm("recharts-surface", o);
+ return /*#__PURE__*/ D.createElement("svg", FL({}, PL(u), {
className: f,
width: r,
height: i,
style: s,
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
- }), /*#__PURE__*/ E.createElement("title", null, c), /*#__PURE__*/ E.createElement("desc", null, l), n);
-}), QF = ["children", "className"];
-function $F() {
- return $F = Object.assign ? Object.assign.bind() : function(e) {
+ }), /*#__PURE__*/ D.createElement("title", null, c), /*#__PURE__*/ D.createElement("desc", null, l), n);
+}), qse = ["children", "className"];
+function LL() {
+ return LL = 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;
- }, $F.apply(null, arguments);
+ }, LL.apply(null, arguments);
}
-function eI(e, t) {
+function Jse(e, t) {
if (e == null) return {};
- var n, r, i = tI(e, t);
+ var n, r, i = Yse(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 tI(e, t) {
+function Yse(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -39222,39 +42148,39 @@ function tI(e, t) {
}
return n;
}
-var nI = /*#__PURE__*/ E.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = eI(e, QF), a = Sm("recharts-layer", r);
- return /*#__PURE__*/ E.createElement("g", $F({ className: a }, GF(i), { ref: t }), n);
-}), rI = /*#__PURE__*/ (0, E.createContext)(null), iI = () => (0, E.useContext)(rI);
+var RL = /*#__PURE__*/ D.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Jse(e, qse), a = Dm("recharts-layer", r);
+ return /*#__PURE__*/ D.createElement("g", LL({ className: a }, PL(i), { ref: t }), n);
+}), zL = /*#__PURE__*/ (0, D.createContext)(null), Xse = () => (0, D.useContext)(zL);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function aI(e) {
+function BL(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var oI = Math.cos, sI = Math.sin, cI = Math.sqrt, lI = Math.PI;
-lI / 2;
-var uI = 2 * lI, dI = Math.PI, fI = 2 * dI, pI = 1e-6, mI = fI - pI;
-function hI(e) {
+var VL = Math.cos, HL = Math.sin, UL = Math.sqrt, WL = Math.PI;
+WL / 2;
+var GL = 2 * WL, KL = Math.PI, qL = 2 * KL, JL = 1e-6, Zse = qL - JL;
+function YL(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function gI(e) {
+function Qse(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return hI;
+ if (t > 15) return YL;
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 _I = class {
+var XL = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? hI : gI(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? YL : Qse(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -39275,18 +42201,18 @@ var _I = 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 > pI) {
- if (!(Math.abs(u * s - c * l) > pI) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > JL) {
+ if (!(Math.abs(u * s - c * l) > JL) || !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((dI - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > pI && 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((KL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > JL && 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) > pI || Math.abs(this._y1 - l) > pI) && this._append`L${c},${l}`, n && (d < 0 && (d = d % fI + fI), d > mI ? 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 > pI && this._append`A${n},${n},0,${+(d >= dI)},${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) > JL || Math.abs(this._y1 - l) > JL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % qL + qL), d > Zse ? 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 > JL && this._append`A${n},${n},0,${+(d >= KL)},${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`;
@@ -39295,10 +42221,10 @@ var _I = class {
return this._;
}
};
-_I.prototype;
+XL.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function vI(e) {
+function ZL(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -39309,18 +42235,18 @@ function vI(e) {
t = e;
}
return e;
- }, () => new _I(t);
+ }, () => new XL(t);
}
Array.prototype.slice;
-function yI(e) {
+function QL(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 bI(e) {
+function $L(e) {
this._context = e;
}
-bI.prototype = {
+$L.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -39343,33 +42269,33 @@ bI.prototype = {
}
}
};
-function xI(e) {
- return new bI(e);
+function eR(e) {
+ return new $L(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function SI(e) {
+function tR(e) {
return e[0];
}
-function CI(e) {
+function nR(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function wI(e, t) {
- var n = aI(!0), r = null, i = xI, a = null, o = vI(s);
- e = typeof e == "function" ? e : e === void 0 ? SI : aI(e), t = typeof t == "function" ? t : t === void 0 ? CI : aI(t);
+function rR(e, t) {
+ var n = BL(!0), r = null, i = eR, a = null, o = ZL(s);
+ e = typeof e == "function" ? e : e === void 0 ? tR : BL(e), t = typeof t == "function" ? t : t === void 0 ? nR : BL(t);
function s(s) {
- var c, l = (s = yI(s)).length, u, d = !1, f;
+ var c, l = (s = QL(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 : aI(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : BL(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : aI(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : BL(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : aI(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : BL(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -39378,11 +42304,11 @@ function wI(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function TI(e, t, n) {
- var r = null, i = aI(!0), a = null, o = xI, s = null, c = vI(l);
- e = typeof e == "function" ? e : e === void 0 ? SI : aI(+e), t = typeof t == "function" ? t : aI(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? CI : aI(+n);
+function iR(e, t, n) {
+ var r = null, i = BL(!0), a = null, o = eR, s = null, c = ZL(l);
+ e = typeof e == "function" ? e : e === void 0 ? tR : BL(+e), t = typeof t == "function" ? t : BL(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? nR : BL(+n);
function l(l) {
- var u, d, f, p = (l = yI(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = QL(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();
@@ -39396,20 +42322,20 @@ function TI(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return wI().defined(i).curve(o).context(a);
+ return rR().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : aI(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : BL(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : aI(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : BL(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : aI(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : BL(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : aI(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : BL(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : aI(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : BL(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : aI(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : BL(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -39417,7 +42343,7 @@ function TI(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : aI(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : BL(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -39426,7 +42352,7 @@ function TI(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var EI = class {
+var aR = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -39453,70 +42379,70 @@ var EI = class {
this._x0 = e, this._y0 = t;
}
};
-function DI(e) {
- return new EI(e, !0);
+function $se(e) {
+ return new aR(e, !0);
}
-function OI(e) {
- return new EI(e, !1);
+function ece(e) {
+ return new aR(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var kI = { draw(e, t) {
- let n = cI(t / lI);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, uI);
-} }, AI = { draw(e, t) {
- let n = cI(t / 5) / 2;
+var oR = { draw(e, t) {
+ let n = UL(t / WL);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, GL);
+} }, tce = { draw(e, t) {
+ let n = UL(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();
-} }, jI = cI(1 / 3), MI = jI * 2, NI = { draw(e, t) {
- let n = cI(t / MI), r = n * jI;
+} }, sR = UL(1 / 3), nce = sR * 2, rce = { draw(e, t) {
+ let n = UL(t / nce), r = n * sR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, PI = { draw(e, t) {
- let n = cI(t), r = -n / 2;
+} }, ice = { draw(e, t) {
+ let n = UL(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, FI = .8908130915292852, II = sI(lI / 10) / sI(7 * lI / 10), LI = sI(uI / 10) * II, RI = -oI(uI / 10) * II, zI = { draw(e, t) {
- let n = cI(t * FI), r = LI * n, i = RI * n;
+} }, ace = .8908130915292852, cR = HL(WL / 10) / HL(7 * WL / 10), oce = HL(GL / 10) * cR, sce = -VL(GL / 10) * cR, cce = { draw(e, t) {
+ let n = UL(t * ace), r = oce * n, i = sce * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = uI * t / 5, o = oI(a), s = sI(a);
+ let a = GL * t / 5, o = VL(a), s = HL(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, BI = cI(3), VI = { draw(e, t) {
- let n = -cI(t / (BI * 3));
- e.moveTo(0, n * 2), e.lineTo(-BI * n, -n), e.lineTo(BI * n, -n), e.closePath();
-} }, HI = -.5, UI = cI(3) / 2, WI = 1 / cI(12), GI = (WI / 2 + 1) * 3, KI = { draw(e, t) {
- let n = cI(t / GI), r = n / 2, i = n * WI, a = r, o = n * WI + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(HI * r - UI * i, UI * r + HI * i), e.lineTo(HI * a - UI * o, UI * a + HI * o), e.lineTo(HI * s - UI * c, UI * s + HI * c), e.lineTo(HI * r + UI * i, HI * i - UI * r), e.lineTo(HI * a + UI * o, HI * o - UI * a), e.lineTo(HI * s + UI * c, HI * c - UI * s), e.closePath();
+} }, lR = UL(3), lce = { draw(e, t) {
+ let n = -UL(t / (lR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-lR * n, -n), e.lineTo(lR * n, -n), e.closePath();
+} }, uR = -.5, dR = UL(3) / 2, fR = 1 / UL(12), uce = (fR / 2 + 1) * 3, dce = { draw(e, t) {
+ let n = UL(t / uce), r = n / 2, i = n * fR, a = r, o = n * fR + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(uR * r - dR * i, dR * r + uR * i), e.lineTo(uR * a - dR * o, dR * a + uR * o), e.lineTo(uR * s - dR * c, dR * s + uR * c), e.lineTo(uR * r + dR * i, uR * i - dR * r), e.lineTo(uR * a + dR * o, uR * o - dR * a), e.lineTo(uR * s + dR * c, uR * c - dR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function qI(e, t) {
- let n = null, r = vI(i);
- e = typeof e == "function" ? e : aI(e || kI), t = typeof t == "function" ? t : aI(t === void 0 ? 64 : +t);
+function fce(e, t) {
+ let n = null, r = ZL(i);
+ e = typeof e == "function" ? e : BL(e || oR), t = typeof t == "function" ? t : BL(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 : aI(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : BL(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : aI(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : BL(+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 JI() {}
+function pR() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function YI(e, t, n) {
+function mR(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 XI(e) {
+function hR(e) {
this._context = e;
}
-XI.prototype = {
+hR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -39528,7 +42454,7 @@ XI.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: YI(this, this._x1, this._y1);
+ case 3: mR(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;
@@ -39542,22 +42468,22 @@ XI.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: YI(this, e, t);
+ default: mR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function ZI(e) {
- return new XI(e);
+function pce(e) {
+ return new hR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function QI(e) {
+function gR(e) {
this._context = e;
}
-QI.prototype = {
- areaStart: JI,
- areaEnd: JI,
+gR.prototype = {
+ areaStart: pR,
+ areaEnd: pR,
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;
},
@@ -39583,20 +42509,20 @@ QI.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: YI(this, e, t);
+ default: mR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function $I(e) {
- return new QI(e);
+function mce(e) {
+ return new gR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function eL(e) {
+function _R(e) {
this._context = e;
}
-eL.prototype = {
+_R.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -39623,22 +42549,22 @@ eL.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: YI(this, e, t);
+ default: mR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function tL(e) {
- return new eL(e);
+function hce(e) {
+ return new _R(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function nL(e) {
+function vR(e) {
this._context = e;
}
-nL.prototype = {
- areaStart: JI,
- areaEnd: JI,
+vR.prototype = {
+ areaStart: pR,
+ areaEnd: pR,
lineStart: function() {
this._point = 0;
},
@@ -39649,30 +42575,30 @@ nL.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function rL(e) {
- return new nL(e);
+function gce(e) {
+ return new vR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function iL(e) {
+function yR(e) {
return e < 0 ? -1 : 1;
}
-function aL(e, t, n) {
+function bR(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 (iL(a) + iL(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (yR(a) + yR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function oL(e, t) {
+function xR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function sL(e, t, n) {
+function SR(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 cL(e) {
+function CR(e) {
this._context = e;
}
-cL.prototype = {
+CR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -39687,7 +42613,7 @@ cL.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: sL(this, this._t0, oL(this, this._t0));
+ case 3: SR(this, this._t0, xR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -39702,24 +42628,24 @@ cL.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, sL(this, oL(this, n = aL(this, e, t)), n);
+ this._point = 3, SR(this, xR(this, n = bR(this, e, t)), n);
break;
- default: sL(this, this._t0, n = aL(this, e, t));
+ default: SR(this, this._t0, n = bR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function lL(e) {
- this._context = new uL(e);
+function wR(e) {
+ this._context = new TR(e);
}
-(lL.prototype = Object.create(cL.prototype)).point = function(e, t) {
- cL.prototype.point.call(this, t, e);
+(wR.prototype = Object.create(CR.prototype)).point = function(e, t) {
+ CR.prototype.point.call(this, t, e);
};
-function uL(e) {
+function TR(e) {
this._context = e;
}
-uL.prototype = {
+TR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -39733,18 +42659,18 @@ uL.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function dL(e) {
- return new cL(e);
+function _ce(e) {
+ return new CR(e);
}
-function fL(e) {
- return new lL(e);
+function vce(e) {
+ return new wR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function pL(e) {
+function ER(e) {
this._context = e;
}
-pL.prototype = {
+ER.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -39758,7 +42684,7 @@ pL.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 = mL(e), i = mL(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 = DR(e), i = DR(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;
},
@@ -39766,7 +42692,7 @@ pL.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function mL(e) {
+function DR(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];
@@ -39774,15 +42700,15 @@ function mL(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function hL(e) {
- return new pL(e);
+function yce(e) {
+ return new ER(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function gL(e, t) {
+function OR(e, t) {
this._context = e, this._t = t;
}
-gL.prototype = {
+OR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -39810,78 +42736,78 @@ gL.prototype = {
this._x = e, this._y = t;
}
};
-function _L(e) {
- return new gL(e, .5);
+function bce(e) {
+ return new OR(e, .5);
}
-function vL(e) {
- return new gL(e, 0);
+function xce(e) {
+ return new OR(e, 0);
}
-function yL(e) {
- return new gL(e, 1);
+function Sce(e) {
+ return new OR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function bL(e, t) {
+function kR(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 xL(e) {
+function AR(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function SL(e, t) {
+function Cce(e, t) {
return e[t];
}
-function CL(e) {
+function wce(e) {
let t = [];
return t.key = e, t;
}
-function wL() {
- var e = aI([]), t = xL, n = bL, r = SL;
+function Tce() {
+ var e = BL([]), t = AR, n = kR, r = Cce;
function i(i) {
- var a = Array.from(e.apply(this, arguments), CL), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), wce), 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 = yI(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = QL(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 : aI(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : BL(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : aI(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : BL(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? xL : typeof e == "function" ? e : aI(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? AR : typeof e == "function" ? e : BL(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? bL, i) : n;
+ return arguments.length ? (n = e ?? kR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function TL(e, t) {
+function Ece(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- bL(e, t);
+ kR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function EL(e, t) {
+function Dce(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- bL(e, t);
+ kR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function DL(e, t) {
+function Oce(e, t) {
if (!(!((o = e.length) > 0) || !((a = (i = e[t[0]]).length) > 0))) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -39893,53 +42819,53 @@ function DL(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, bL(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, kR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function OL(e) {
+function jR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var kL = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function AL(e) {
+var kce = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function MR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : kL.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : kce.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function jL(e) {
+function NR(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 ML(e) {
+function PR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function NL(e) {
- return e == null ? "" : PL(e);
+function Ace(e) {
+ return e == null ? "" : FR(e);
}
-function PL(e) {
+function FR(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(PL).join(",");
- if (ML(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(FR).join(",");
+ if (PR(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 FL(e) {
- if (Array.isArray(e)) return e.map(jL);
+function IR(e) {
+ if (Array.isArray(e)) return e.map(NR);
if (typeof e == "symbol") return [e];
- e = NL(e);
+ e = Ace(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -39967,100 +42893,100 @@ function FL(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function IL(e, t, n) {
+function LR(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (OL(t)) return n;
+ if (jR(t)) return n;
let r = e[t];
- return r === void 0 ? AL(t) && !Object.hasOwn(e, t) ? IL(e, FL(t), n) : n : r;
+ return r === void 0 ? MR(t) && !Object.hasOwn(e, t) ? LR(e, IR(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = jL(t));
+ typeof t == "number" && (t = NR(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return LL(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), OL(t)) return n;
+ if (Array.isArray(t)) return jce(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), jR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function LL(e, t, n) {
+function jce(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || OL(t[e])) return n;
+ if (r == null || jR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var RL = 4;
-function zL(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : RL), n = Math.round(e * t) / t;
+var Mce = 4;
+function RR(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Mce), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function BL(e) {
+function zR(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 + zL(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + RR(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var VL = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, HL = (e) => typeof e == "number" && e != +e, UL = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !HL(e), WL = (e) => Z(e) || typeof e == "string", GL = 0, KL = (e) => {
- var t = ++GL;
+var BR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, VR = (e) => typeof e == "number" && e != +e, HR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !VR(e), UR = (e) => Z(e) || typeof e == "string", Nce = 0, WR = (e) => {
+ var t = ++Nce;
return `${e || ""}${t}`;
-}, qL = function(e, t) {
+}, GR = 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 (UL(e)) {
+ if (HR(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return HL(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, JL = (e) => {
+ return VR(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, KR = (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 YL(e, t, n) {
- return Z(e) && Z(t) ? zL(e + n * (t - e)) : t;
+function qR(e, t, n) {
+ return Z(e) && Z(t) ? RR(e + n * (t - e)) : t;
}
-function XL(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : IL(e, t)) === n);
+function JR(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : LR(e, t)) === n);
}
-var ZL = (e) => e == null, QL = (e) => ZL(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function $L(e) {
+var YR = (e) => e == null, XR = (e) => YR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function ZR(e) {
return e != null;
}
-function eR() {}
+function QR() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var Yie = [
+var Pce = [
"type",
"size",
"sizeType"
];
-function tR() {
- return tR = Object.assign ? Object.assign.bind() : function(e) {
+function $R() {
+ return $R = 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;
- }, tR.apply(null, arguments);
+ }, $R.apply(null, arguments);
}
-function nR(e, t) {
+function ez(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -40070,30 +42996,30 @@ function nR(e, t) {
}
return n;
}
-function rR(e) {
+function tz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nR(Object(n), !0).forEach(function(t) {
- Xie(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nR(Object(n)).forEach(function(t) {
+ t % 2 ? ez(Object(n), !0).forEach(function(t) {
+ Fce(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ez(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xie(e, t, n) {
- return (t = Zie(t)) in e ? Object.defineProperty(e, t, {
+function Fce(e, t, n) {
+ return (t = Ice(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zie(e) {
- var t = Qie(e, "string");
+function Ice(e) {
+ var t = Lce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qie(e, t) {
+function Lce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -40103,16 +43029,16 @@ function Qie(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $ie(e, t) {
+function Rce(e, t) {
if (e == null) return {};
- var n, r, i = eae(e, t);
+ var n, r, i = zce(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 eae(e, t) {
+function zce(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -40121,68 +43047,68 @@ function eae(e, t) {
}
return n;
}
-var iR = {
- symbolCircle: kI,
- symbolCross: AI,
- symbolDiamond: NI,
- symbolSquare: PI,
- symbolStar: zI,
- symbolTriangle: VI,
- symbolWye: KI
-}, tae = Math.PI / 180, nae = (e) => iR[`symbol${QL(e)}`] || kI, rae = (e, t, n) => {
+var nz = {
+ symbolCircle: oR,
+ symbolCross: tce,
+ symbolDiamond: rce,
+ symbolSquare: ice,
+ symbolStar: cce,
+ symbolTriangle: lce,
+ symbolWye: dce
+}, Bce = Math.PI / 180, Vce = (e) => nz[`symbol${XR(e)}`] || oR, Hce = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * tae;
+ var r = 18 * Bce;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, iae = (e, t) => {
- iR[`symbol${QL(e)}`] = t;
-}, aR = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = rR(rR({}, $ie(e, Yie)), {}, {
+}, Uce = (e, t) => {
+ nz[`symbol${XR(e)}`] = t;
+}, rz = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = tz(tz({}, Rce(e, Pce)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = nae(a), t = qI().type(e).size(rae(n, r, a))();
+ var e = Vce(a), t = fce().type(e).size(Hce(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = GF(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ E.createElement("path", tR({}, u, {
- className: Sm("recharts-symbols", s),
+ }, { className: s, cx: c, cy: l } = i, u = PL(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ D.createElement("path", $R({}, u, {
+ className: Dm("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-aR.registerSymbol = iae;
+rz.registerSymbol = Uce;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var oR = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, sR = (e, t) => {
+var iz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, az = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
- if (/*#__PURE__*/ (0, E.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
+ if (/*#__PURE__*/ (0, D.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- zF(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ kL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, aae = (e, t, n) => (r) => (e(t, n, r), null), cR = (e, t, n) => {
+}, Wce = (e, t, n) => (r) => (e(t, n, r), null), oz = (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];
- zF(i) && typeof a == "function" && (r ||= {}, r[i] = aae(a, t, n));
+ kL(i) && typeof a == "function" && (r ||= {}, r[i] = Wce(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function lR(e, t) {
+function sz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -40192,30 +43118,30 @@ function lR(e, t) {
}
return n;
}
-function oae(e) {
+function Gce(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? lR(Object(n), !0).forEach(function(t) {
- sae(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lR(Object(n)).forEach(function(t) {
+ t % 2 ? sz(Object(n), !0).forEach(function(t) {
+ Kce(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sae(e, t, n) {
- return (t = cae(t)) in e ? Object.defineProperty(e, t, {
+function Kce(e, t, n) {
+ return (t = qce(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cae(e) {
- var t = lae(e, "string");
+function qce(e) {
+ var t = Jce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lae(e, t) {
+function Jce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -40225,22 +43151,22 @@ function lae(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uR(e, t) {
- var n = oae({}, e), r = t;
+function cz(e, t) {
+ var n = Gce({}, 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 dR() {
- return dR = 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;
- }, dR.apply(null, arguments);
+ }, lz.apply(null, arguments);
}
-function fR(e, t) {
+function uz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -40250,30 +43176,30 @@ function fR(e, t) {
}
return n;
}
-function pR(e) {
+function dz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fR(Object(n), !0).forEach(function(t) {
- uae(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fR(Object(n)).forEach(function(t) {
+ t % 2 ? uz(Object(n), !0).forEach(function(t) {
+ Yce(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uae(e, t, n) {
- return (t = dae(t)) in e ? Object.defineProperty(e, t, {
+function Yce(e, t, n) {
+ return (t = Xce(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dae(e) {
- var t = fae(e, "string");
+function Xce(e) {
+ var t = Zce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fae(e, t) {
+function Zce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -40283,7 +43209,7 @@ function fae(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mR = 32, pae = {
+var fz = 32, Qce = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -40291,58 +43217,58 @@ var mR = 32, pae = {
verticalAlign: "middle",
labelStyle: {}
};
-function mae(e) {
+function $ce(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function hae(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = mR / 2, a = mR / 6, o = mR / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function ele(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = fz / 2, a = fz / 6, o = fz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
- if (c === "plainline") return /*#__PURE__*/ E.createElement("line", {
+ if (c === "plainline") return /*#__PURE__*/ D.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: mae(t.payload),
+ strokeDasharray: $ce(t.payload),
x1: 0,
y1: i,
- x2: mR,
+ x2: fz,
y2: i,
className: "recharts-legend-icon"
});
- if (c === "line") return /*#__PURE__*/ E.createElement("path", {
+ if (c === "line") return /*#__PURE__*/ D.createElement("path", {
strokeWidth: 4,
fill: "none",
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${mR}M${2 * o},${i}
+ H${fz}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
- if (c === "rect") return /*#__PURE__*/ E.createElement("path", {
+ if (c === "rect") return /*#__PURE__*/ D.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${mR / 8}h${mR}v${mR * 3 / 4}h${-mR}z`,
+ d: `M0,${fz / 8}h${fz}v${fz * 3 / 4}h${-fz}z`,
className: "recharts-legend-icon"
});
- if (/*#__PURE__*/ E.isValidElement(t.legendIcon)) {
- var l = pR({}, t);
- return delete l.legendIcon, /*#__PURE__*/ E.cloneElement(t.legendIcon, l);
+ if (/*#__PURE__*/ D.isValidElement(t.legendIcon)) {
+ var l = dz({}, t);
+ return delete l.legendIcon, /*#__PURE__*/ D.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ E.createElement(aR, {
+ return /*#__PURE__*/ D.createElement(rz, {
fill: s,
cx: i,
cy: i,
- size: mR,
+ size: fz,
sizeType: "diameter",
type: c
});
}
-function gae(e) {
+function tle(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: mR,
- height: mR
+ width: fz,
+ height: fz
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -40352,51 +43278,51 @@ function gae(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = Sm({
+ var d = t.formatter || i, f = Dm({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? pR({}, s) : {};
+ var p = typeof s == "object" ? dz({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ E.createElement("li", dR({
+ return /*#__PURE__*/ D.createElement("li", lz({
className: f,
style: l,
key: `legend-item-${r}`
- }, cR(e, t, r)), /*#__PURE__*/ E.createElement(ZF, {
+ }, oz(e, t, r)), /*#__PURE__*/ D.createElement(IL, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ E.createElement(hae, {
+ }, /*#__PURE__*/ D.createElement(ele, {
data: t,
iconType: o,
inactiveColor: a
- })), /*#__PURE__*/ E.createElement("span", {
+ })), /*#__PURE__*/ D.createElement("span", {
className: "recharts-legend-item-text",
style: p
}, m));
});
}
-var _ae = (e) => {
- var t = uR(e, pae), { payload: n, layout: r, align: i } = t;
+var nle = (e) => {
+ var t = cz(e, Qce), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
margin: 0,
textAlign: r === "horizontal" ? i : "left"
};
- return /*#__PURE__*/ E.createElement("ul", {
+ return /*#__PURE__*/ D.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ E.createElement(gae, dR({}, t, { payload: n })));
+ }, /*#__PURE__*/ D.createElement(tle, lz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function vae(e, t) {
+function rle(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -40406,77 +43332,77 @@ function vae(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function yae(e, t) {
+function ile(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function hR(e) {
+function pz(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function bae(e) {
+function ale(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function gR(e) {
- return e != null && typeof e != "function" && bae(e.length);
+function mz(e) {
+ return e != null && typeof e != "function" && ale(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function xae(e) {
+function ole(e) {
return function(t) {
- return IL(t, e);
+ return LR(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function _R(e) {
+function hz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Sae(e) {
+function sle(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Cae(e) {
+function cle(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function vR(e) {
+function gz(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 wae = "[object RegExp]", yR = "[object String]", bR = "[object Number]", xR = "[object Boolean]", SR = "[object Arguments]", Tae = "[object Symbol]", Eae = "[object Date]", Dae = "[object Map]", Oae = "[object Set]", kae = "[object Array]", Aae = "[object ArrayBuffer]", jae = "[object Object]", Mae = "[object DataView]", Nae = "[object Uint8Array]", Pae = "[object Uint8ClampedArray]", Fae = "[object Uint16Array]", Iae = "[object Uint32Array]", Lae = "[object Int8Array]", Rae = "[object Int16Array]", zae = "[object Int32Array]", Bae = "[object Float32Array]", Vae = "[object Float64Array]", CR = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var lle = "[object RegExp]", _z = "[object String]", vz = "[object Number]", yz = "[object Boolean]", bz = "[object Arguments]", ule = "[object Symbol]", dle = "[object Date]", fle = "[object Map]", ple = "[object Set]", mle = "[object Array]", hle = "[object ArrayBuffer]", gle = "[object Object]", _le = "[object DataView]", vle = "[object Uint8Array]", yle = "[object Uint8ClampedArray]", ble = "[object Uint16Array]", xle = "[object Uint32Array]", Sle = "[object Int8Array]", Cle = "[object Int16Array]", wle = "[object Int32Array]", Tle = "[object Float32Array]", Ele = "[object Float64Array]", xz = 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 Hae(e) {
- return CR.Buffer !== void 0 && CR.Buffer.isBuffer(e);
+function Dle(e) {
+ return xz.Buffer !== void 0 && xz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Uae(e, t) {
- return wR(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function Ole(e, t) {
+ return Sz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function wR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function Sz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (_R(e)) return e;
+ if (hz(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] = wR(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Sz(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());
@@ -40487,132 +43413,132 @@ function wR(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, wR(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, Sz(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(wR(a, void 0, n, r, i));
+ for (let a of e) t.add(Sz(a, void 0, n, r, i));
return t;
}
- if (Hae(e)) return e.subarray();
- if (Sae(e)) {
+ if (Dle(e)) return e.subarray();
+ if (sle(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = wR(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Sz(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), TR(t, e, n, r, i), t;
+ return r.set(e, t), Cz(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), TR(t, e, n, r, i), t;
+ return r.set(e, t), Cz(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), TR(t, e, n, r, i), t;
+ return r.set(e, t), Cz(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, TR(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, Cz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), TR(t, e, n, r, i), t;
+ return r.set(e, t), Cz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), TR(t, e, n, r, i), t;
+ return r.set(e, t), Cz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), TR(t, e, n, r, i), t;
+ return r.set(e, t), Cz(t, e, n, r, i), t;
}
- if (typeof e == "object" && Wae(e)) {
+ if (typeof e == "object" && kle(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), TR(t, e, n, r, i), t;
+ return r.set(e, t), Cz(t, e, n, r, i), t;
}
return e;
}
-function TR(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Cae(t)];
+function Cz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...cle(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = wR(t[s], s, n, r, i));
- }
-}
-function Wae(e) {
- switch (vR(e)) {
- case SR:
- case kae:
- case Aae:
- case Mae:
- case xR:
- case Eae:
- case Bae:
- case Vae:
- case Lae:
- case Rae:
- case zae:
- case Dae:
- case bR:
- case jae:
- case wae:
- case Oae:
- case yR:
- case Tae:
- case Nae:
- case Pae:
- case Fae:
- case Iae: return !0;
+ (c == null || c.writable) && (e[s] = Sz(t[s], s, n, r, i));
+ }
+}
+function kle(e) {
+ switch (gz(e)) {
+ case bz:
+ case mle:
+ case hle:
+ case _le:
+ case yz:
+ case dle:
+ case Tle:
+ case Ele:
+ case Sle:
+ case Cle:
+ case wle:
+ case fle:
+ case vz:
+ case gle:
+ case lle:
+ case ple:
+ case _z:
+ case ule:
+ case vle:
+ case yle:
+ case ble:
+ case xle: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Gae(e) {
- return wR(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function Ale(e) {
+ return Sz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function ER(e, t) {
+function wz(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function DR(e) {
+function Tz(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function OR(e, t, n) {
- return typeof n == "function" ? kR(e, t, function e(t, r, i, a, o, s) {
+function Ez(e, t, n) {
+ return typeof n == "function" ? Dz(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? kR(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : OR(e, t, () => void 0);
+ return c === void 0 ? Dz(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : Ez(e, t, () => void 0);
}
-function kR(e, t, n, r, i = !1) {
+function Dz(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return Kae(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? kR(e, { ...t }, n, r, i) : ER(e, t);
- default: return DR(e) && i ? typeof t != "string" || t === "" : ER(e, t);
+ case "object": return jle(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? Dz(e, { ...t }, n, r, i) : wz(e, t);
+ default: return Tz(e) && i ? typeof t != "string" || t === "" : wz(e, t);
}
}
-function Kae(e, t, n, r, i = !1) {
+function jle(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return AR(e, t, n, r);
- if (t instanceof Map) return qae(e, t, n, r);
- if (t instanceof Set) return Jae(e, t, n, r);
+ if (Array.isArray(t)) return Oz(e, t, n, r);
+ if (t instanceof Map) return Mle(e, t, n, r);
+ if (t instanceof Set) return Nle(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) _R(e) && (e = Object(e));
+ if (i) hz(e) && (e = Object(e));
else {
- let t = vR(e);
+ let t = gz(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -40628,13 +43554,13 @@ function Kae(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function qae(e, t, n, r) {
+function Mle(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function AR(e, t, n, r) {
+function Oz(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -40652,40 +43578,40 @@ function AR(e, t, n, r) {
}
return !0;
}
-function Jae(e, t, n, r) {
- return t.size === 0 || e instanceof Set && AR([...e], [...t], n, r);
+function Nle(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && Oz([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function jR(e, t) {
- return OR(e, t, () => void 0);
+function kz(e, t) {
+ return Ez(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function Yae(e) {
- return e = Gae(e), (t) => jR(t, e);
+function Ple(e) {
+ return e = Ale(e), (t) => kz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function Xae(e, t) {
- return Uae(e, (n, r, i, a) => {
+function Fle(e, t) {
+ return Ole(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (vR(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (gz(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), TR(t, e, i, a), t;
+ return a.set(e, t), Cz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case bR:
- case yR:
- case xR: {
+ case vz:
+ case _z:
+ case yz: {
let t = new e.constructor(e?.valueOf());
- return TR(t, e), t;
+ return Cz(t, e), t;
}
- case SR: {
+ case bz: {
let t = {};
- return TR(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Cz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -40694,80 +43620,80 @@ function Xae(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function Zae(e) {
- return Xae(e);
+function Ile(e) {
+ return Fle(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var Qae = /^(?:0|[1-9]\d*)$/;
-function MR(e, t = 2 ** 53 - 1) {
+var Lle = /^(?:0|[1-9]\d*)$/;
+function Az(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return Qae.test(e);
+ case "string": return Lle.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function $ae(e) {
- return typeof e == "object" && !!e && vR(e) === "[object Arguments]";
+function Rle(e) {
+ return typeof e == "object" && !!e && gz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function eoe(e, t) {
+function zle(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && AL(t) && !(t in Object(e)) ? FL(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && MR(t) && !(t in Object(e)) ? IR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = jL(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || $ae(r)) && MR(t) && Number(t) < r.length)) return !1;
+ let t = NR(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Rle(r)) && Az(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function toe(e, t) {
+function Ble(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = jL(e);
+ case "number": e = NR(e);
}
- return t = Zae(t), function(n) {
- let r = IL(n, e);
- return r === void 0 ? eoe(n, e) : t === void 0 ? r === void 0 : jR(r, t);
+ return t = Ile(t), function(n) {
+ let r = LR(n, e);
+ return r === void 0 ? zle(n, e) : t === void 0 ? r === void 0 : kz(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function NR(e) {
- if (e == null) return hR;
+function jz(e) {
+ if (e == null) return pz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? toe(e[0], e[1]) : Yae(e);
- default: return xae(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Ble(e[0], e[1]) : Ple(e);
+ default: return ole(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function noe(e) {
+function Vle(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function PR(e, t = hR) {
- return gR(e) ? vae(Array.from(e), yae(NR(t), 1)).map(noe) : [];
+function Mz(e, t = pz) {
+ return mz(e) ? rle(Array.from(e), ile(jz(t), 1)).map(Vle) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function FR(e, t, n) {
- return t === !0 ? PR(e, n) : typeof t == "function" ? PR(e, t) : e;
+function Nz(e, t, n) {
+ return t === !0 ? Mz(e, n) : typeof t == "function" ? Mz(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var roe = /* @__PURE__ */ _(((e) => {
- var t = C(), n = Xm();
+var Hle = /* @__PURE__ */ v(((e) => {
+ var t = w(), n = th();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -40811,60 +43737,60 @@ var roe = /* @__PURE__ */ _(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), ioe = /* @__PURE__ */ _(((e, t) => {
- t.exports = roe();
-})), IR = /*#__PURE__*/ (0, E.createContext)(null), aoe = ioe(), ooe = (e) => e, LR = () => {
- var e = (0, E.useContext)(IR);
- return e ? e.store.dispatch : ooe;
-}, RR = () => {}, soe = () => RR, coe = (e, t) => e === t;
+})), Ule = /* @__PURE__ */ v(((e, t) => {
+ t.exports = Hle();
+})), Pz = /*#__PURE__*/ (0, D.createContext)(null), Wle = Ule(), Gle = (e) => e, Fz = () => {
+ var e = (0, D.useContext)(Pz);
+ return e ? e.store.dispatch : Gle;
+}, Iz = () => {}, Kle = () => Iz, qle = (e, t) => e === t;
function Q(e) {
- var t = (0, E.useContext)(IR), n = (0, E.useMemo)(() => t ? (t) => {
+ var t = (0, D.useContext)(Pz), n = (0, D.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : RR, [t, e]);
- return (0, aoe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : soe, t ? t.store.getState : RR, t ? t.store.getState : RR, n, coe);
+ } : Iz, [t, e]);
+ return (0, Wle.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Kle, t ? t.store.getState : Iz, t ? t.store.getState : Iz, n, qle);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function loe(e, t = `expected a function, instead received ${typeof e}`) {
+function Jle(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function uoe(e, t = `expected an object, instead received ${typeof e}`) {
+function Yle(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function doe(e, t = "expected all items to be functions, instead received the following types: ") {
+function Xle(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 zR = (e) => Array.isArray(e) ? e : [e];
-function foe(e) {
+var Lz = (e) => Array.isArray(e) ? e : [e];
+function Zle(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return doe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return Xle(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function poe(e, t) {
+function Qle(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var moe = class {
+var $le = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, hoe = typeof WeakRef < "u" ? WeakRef : moe, goe = 0, BR = 1;
-function VR() {
+}, eue = typeof WeakRef < "u" ? WeakRef : $le, tue = 0, Rz = 1;
+function zz() {
return {
- s: goe,
+ s: tue,
v: void 0,
o: null,
p: null
};
}
-function HR(e, t = {}) {
- let n = VR(), { resultEqualityCheck: r } = t, i, a = 0;
+function Bz(e, t = {}) {
+ let n = zz(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -40873,43 +43799,43 @@ function HR(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = VR(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zz(), 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 = VR(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zz(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === BR) c = t.v;
+ if (t.s === Rz) 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 hoe(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new eue(c) : c;
}
- return s.s = BR, s.v = c, c;
+ return s.s = Rz, s.v = c, c;
}
return o.clearCache = () => {
- n = VR(), o.resetResultsCount();
+ n = zz(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function _oe(e, ...t) {
+function nue(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()), loe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = HR, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), Jle(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Bz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = zR(c), p = zR(u), m = foe(e), h = s(function() {
+ }, f = Lz(c), p = Lz(u), m = Zle(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = poe(m, arguments);
+ let e = Qle(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -40931,14 +43857,14 @@ function _oe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ _oe(HR), voe = Object.assign((e, t = $) => {
- uoe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ nue(Bz), rue = Object.assign((e, t = $) => {
+ Yle(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: () => voe });
+}, { withTypes: () => rue });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function yoe(e, t = 1) {
+function iue(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -40949,17 +43875,17 @@ function yoe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function UR(e, t, n) {
- return DR(n) && (typeof t == "number" && gR(n) && MR(t) && t < n.length || typeof t == "string" && t in n) ? ER(n[t], e) : !1;
+function Vz(e, t, n) {
+ return Tz(n) && (typeof t == "number" && mz(n) && Az(t) && t < n.length || typeof t == "string" && t in n) ? wz(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function WR(e) {
+function Hz(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var boe = (e, t, n) => {
+var aue = (e, t, n) => {
if (e !== t) {
- let r = WR(e), i = WR(t);
+ let r = Hz(e), i = Hz(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -40967,15 +43893,15 @@ var boe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, xoe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Soe = /^\w*$/;
-function Coe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || ML(e) ? !0 : typeof e == "string" && (Soe.test(e) || !xoe.test(e)) || t != null && Object.hasOwn(t, e);
+}, oue = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sue = /^\w*$/;
+function cue(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || PR(e) ? !0 : typeof e == "string" && (sue.test(e) || !oue.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function woe(e, t, n, r) {
+function lue(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = gR(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 = mz(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]];
@@ -40983,16 +43909,16 @@ function woe(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) || Coe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || cue(e) ? e : {
key: e,
- path: FL(e)
+ path: IR(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 = boe(e.criteria[r], t.criteria[r], n[r]);
+ let i = aue(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -41000,32 +43926,32 @@ function woe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function GR(e, ...t) {
+function Uz(e, ...t) {
let n = t.length;
- return n > 1 && UR(e, t[0], t[1]) ? t = [] : n > 2 && UR(t[0], t[1], t[2]) && (t = [t[0]]), woe(e, yoe(t), ["asc"]);
+ return n > 1 && Vz(e, t[0], t[1]) ? t = [] : n > 2 && Vz(t[0], t[1], t[2]) && (t = [t[0]]), lue(e, iue(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var KR = (e) => e.legend.settings, Toe = (e) => e.legend.size, Eoe = $([(e) => e.legend.payload, KR], (e, t) => {
+var Wz = (e) => e.legend.settings, uue = (e) => e.legend.size, due = $([(e) => e.legend.payload, Wz], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? GR(r, n) : r;
+ return n ? Uz(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function Doe() {
- return Q(Eoe);
+function fue() {
+ return Q(due);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var qR = 1;
-function JR() {
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, E.useState)({
+var Gz = 1;
+function Kz() {
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, D.useState)({
height: 0,
left: 0,
top: 0,
width: 0
});
- return [t, (0, E.useCallback)((e) => {
+ return [t, (0, D.useCallback)((e) => {
if (e != null) {
var r = e.getBoundingClientRect(), i = {
height: r.height,
@@ -41033,7 +43959,7 @@ function JR() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > qR || Math.abs(i.left - t.left) > qR || Math.abs(i.top - t.top) > qR || Math.abs(i.width - t.width) > qR) && n({
+ (Math.abs(i.height - t.height) > Gz || Math.abs(i.left - t.left) > Gz || Math.abs(i.top - t.top) > Gz || Math.abs(i.width - t.width) > Gz) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -41050,26 +43976,26 @@ function JR() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function YR(e) {
+function qz(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 XR = typeof Symbol == "function" && Symbol.observable || "@@observable", ZR = () => Math.random().toString(36).substring(7).split("").join("."), QR = {
- INIT: `@@redux/INIT${/* @__PURE__ */ ZR()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ ZR()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${ZR()}`
+var Jz = typeof Symbol == "function" && Symbol.observable || "@@observable", Yz = () => Math.random().toString(36).substring(7).split("").join("."), Xz = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ Yz()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Yz()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Yz()}`
};
-function $R(e) {
+function Zz(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 ez(e, t, n) {
- if (typeof e != "function") throw Error(YR(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(YR(0));
+function Qz(e, t, n) {
+ if (typeof e != "function") throw Error(qz(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(qz(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(YR(1));
- return n(ez)(e, t);
+ if (typeof n != "function") throw Error(qz(1));
+ return n(Qz)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -41078,27 +44004,27 @@ function ez(e, t, n) {
}));
}
function u() {
- if (c) throw Error(YR(3));
+ if (c) throw Error(qz(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(YR(4));
- if (c) throw Error(YR(5));
+ if (typeof e != "function") throw Error(qz(4));
+ if (c) throw Error(qz(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(YR(6));
+ if (c) throw Error(qz(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!$R(e)) throw Error(YR(7));
- if (e.type === void 0) throw Error(YR(8));
- if (typeof e.type != "string") throw Error(YR(17));
- if (c) throw Error(YR(9));
+ if (!Zz(e)) throw Error(qz(7));
+ if (e.type === void 0) throw Error(qz(8));
+ if (typeof e.type != "string") throw Error(qz(17));
+ if (c) throw Error(qz(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -41109,41 +44035,41 @@ function ez(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(YR(10));
- r = e, f({ type: QR.REPLACE });
+ if (typeof e != "function") throw Error(qz(10));
+ r = e, f({ type: Xz.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(YR(11));
+ if (typeof t != "object" || !t) throw Error(qz(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [XR]() {
+ [Jz]() {
return this;
}
};
}
- return f({ type: QR.INIT }), {
+ return f({ type: Xz.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [XR]: m
+ [Jz]: m
};
}
-function Ooe(e) {
+function pue(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: QR.INIT }) === void 0) throw Error(YR(12));
- if (n(void 0, { type: QR.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(YR(13));
+ if (n(void 0, { type: Xz.INIT }) === void 0) throw Error(qz(12));
+ if (n(void 0, { type: Xz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(qz(13));
});
}
-function tz(e) {
+function $z(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -41151,7 +44077,7 @@ function tz(e) {
}
let r = Object.keys(n), i;
try {
- Ooe(n);
+ pue(n);
} catch (e) {
i = e;
}
@@ -41160,124 +44086,124 @@ function tz(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(YR(14));
+ if (u === void 0) throw t && t.type, Error(qz(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function nz(...e) {
+function eB(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function koe(...e) {
+function mue(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(YR(15));
+ throw Error(qz(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = nz(...e.map((e) => e(o)))(i.dispatch), {
+ return a = eB(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function rz(e) {
- return $R(e) && "type" in e && typeof e.type == "string";
+function tB(e) {
+ return Zz(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var iz = Symbol.for("immer-nothing"), az = Symbol.for("immer-draftable"), oz = Symbol.for("immer-state");
-function sz(e, ...t) {
+var nB = Symbol.for("immer-nothing"), rB = Symbol.for("immer-draftable"), iB = Symbol.for("immer-state");
+function aB(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var cz = Object, lz = cz.getPrototypeOf, uz = "constructor", dz = "prototype", fz = "configurable", pz = "enumerable", mz = "writable", hz = "value", gz = (e) => !!e && !!e[oz];
-function _z(e) {
- return e ? yz(e) || Tz(e) || !!e[az] || !!e[uz]?.[az] || Ez(e) || Dz(e) : !1;
-}
-var Aoe = cz[dz][uz].toString(), vz = /* @__PURE__ */ new WeakMap();
-function yz(e) {
- if (!e || !Oz(e)) return !1;
- let t = lz(e);
- if (t === null || t === cz[dz]) return !0;
- let n = cz.hasOwnProperty.call(t, uz) && t[uz];
+var oB = Object, sB = oB.getPrototypeOf, cB = "constructor", lB = "prototype", uB = "configurable", dB = "enumerable", fB = "writable", pB = "value", mB = (e) => !!e && !!e[iB];
+function hB(e) {
+ return e ? _B(e) || CB(e) || !!e[rB] || !!e[cB]?.[rB] || wB(e) || TB(e) : !1;
+}
+var hue = oB[lB][cB].toString(), gB = /* @__PURE__ */ new WeakMap();
+function _B(e) {
+ if (!e || !EB(e)) return !1;
+ let t = sB(e);
+ if (t === null || t === oB[lB]) return !0;
+ let n = oB.hasOwnProperty.call(t, cB) && t[cB];
if (n === Object) return !0;
- if (!kz(n)) return !1;
- let r = vz.get(n);
- return r === void 0 && (r = Function.toString.call(n), vz.set(n, r)), r === Aoe;
+ if (!DB(n)) return !1;
+ let r = gB.get(n);
+ return r === void 0 && (r = Function.toString.call(n), gB.set(n, r)), r === hue;
}
-function bz(e, t, n = !0) {
- xz(e) === 0 ? (n ? Reflect.ownKeys(e) : cz.keys(e)).forEach((n) => {
+function vB(e, t, n = !0) {
+ yB(e) === 0 ? (n ? Reflect.ownKeys(e) : oB.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function xz(e) {
- let t = e[oz];
- return t ? t.type_ : Tz(e) ? 1 : Ez(e) ? 2 : Dz(e) ? 3 : 0;
+function yB(e) {
+ let t = e[iB];
+ return t ? t.type_ : CB(e) ? 1 : wB(e) ? 2 : TB(e) ? 3 : 0;
}
-var Sz = (e, t, n = xz(e)) => n === 2 ? e.has(t) : cz[dz].hasOwnProperty.call(e, t), Cz = (e, t, n = xz(e)) => n === 2 ? e.get(t) : e[t], wz = (e, t, n, r = xz(e)) => {
+var bB = (e, t, n = yB(e)) => n === 2 ? e.has(t) : oB[lB].hasOwnProperty.call(e, t), xB = (e, t, n = yB(e)) => n === 2 ? e.get(t) : e[t], SB = (e, t, n, r = yB(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function joe(e, t) {
+function gue(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var Tz = Array.isArray, Ez = (e) => e instanceof Map, Dz = (e) => e instanceof Set, Oz = (e) => typeof e == "object", kz = (e) => typeof e == "function", Az = (e) => typeof e == "boolean";
-function Moe(e) {
+var CB = Array.isArray, wB = (e) => e instanceof Map, TB = (e) => e instanceof Set, EB = (e) => typeof e == "object", DB = (e) => typeof e == "function", OB = (e) => typeof e == "boolean";
+function _ue(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var jz = (e) => e.copy_ || e.base_, Mz = (e) => e.modified_ ? e.copy_ : e.base_;
-function Nz(e, t) {
- if (Ez(e)) return new Map(e);
- if (Dz(e)) return new Set(e);
- if (Tz(e)) return Array[dz].slice.call(e);
- let n = yz(e);
+var kB = (e) => e.copy_ || e.base_, AB = (e) => e.modified_ ? e.copy_ : e.base_;
+function jB(e, t) {
+ if (wB(e)) return new Map(e);
+ if (TB(e)) return new Set(e);
+ if (CB(e)) return Array[lB].slice.call(e);
+ let n = _B(e);
if (t === !0 || t === "class_only" && !n) {
- let t = cz.getOwnPropertyDescriptors(e);
- delete t[oz];
+ let t = oB.getOwnPropertyDescriptors(e);
+ delete t[iB];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[mz] === !1 && (a[mz] = !0, a[fz] = !0), (a.get || a.set) && (t[i] = {
- [fz]: !0,
- [mz]: !0,
- [pz]: a[pz],
- [hz]: e[i]
+ a[fB] === !1 && (a[fB] = !0, a[uB] = !0), (a.get || a.set) && (t[i] = {
+ [uB]: !0,
+ [fB]: !0,
+ [dB]: a[dB],
+ [pB]: e[i]
});
}
- return cz.create(lz(e), t);
+ return oB.create(sB(e), t);
}
{
- let t = lz(e);
+ let t = sB(e);
if (t !== null && n) return { ...e };
- let r = cz.create(t);
- return cz.assign(r, e);
- }
-}
-function Pz(e, t = !1) {
- return Iz(e) || gz(e) || !_z(e) ? e : (xz(e) > 1 && cz.defineProperties(e, {
- set: Fz,
- add: Fz,
- clear: Fz,
- delete: Fz
- }), cz.freeze(e), t && bz(e, (e, t) => {
- Pz(t, !0);
+ let r = oB.create(t);
+ return oB.assign(r, e);
+ }
+}
+function MB(e, t = !1) {
+ return PB(e) || mB(e) || !hB(e) ? e : (yB(e) > 1 && oB.defineProperties(e, {
+ set: NB,
+ add: NB,
+ clear: NB,
+ delete: NB
+ }), oB.freeze(e), t && vB(e, (e, t) => {
+ MB(t, !0);
}, !1), e);
}
-function Noe() {
- sz(2);
+function vue() {
+ aB(2);
}
-var Fz = { [hz]: Noe };
-function Iz(e) {
- return e === null || !Oz(e) || cz.isFrozen(e);
+var NB = { [pB]: vue };
+function PB(e) {
+ return e === null || !EB(e) || oB.isFrozen(e);
}
-var Lz = "MapSet", Rz = "Patches", zz = "ArrayMethods", Bz = {};
-function Vz(e) {
- let t = Bz[e];
- return t || sz(0, e), t;
+var FB = "MapSet", IB = "Patches", LB = "ArrayMethods", RB = {};
+function zB(e) {
+ let t = RB[e];
+ return t || aB(0, e), t;
}
-var Hz = (e) => !!Bz[e], Uz, Wz = () => Uz, Poe = (e, t) => ({
+var BB = (e) => !!RB[e], VB, HB = () => VB, yue = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -41285,114 +44211,114 @@ var Hz = (e) => !!Bz[e], Uz, Wz = () => Uz, Poe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: Hz(Lz) ? Vz(Lz) : void 0,
- arrayMethodsPlugin_: Hz(zz) ? Vz(zz) : void 0
+ mapSetPlugin_: BB(FB) ? zB(FB) : void 0,
+ arrayMethodsPlugin_: BB(LB) ? zB(LB) : void 0
});
-function Gz(e, t) {
- t && (e.patchPlugin_ = Vz(Rz), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function UB(e, t) {
+ t && (e.patchPlugin_ = zB(IB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function Kz(e) {
- qz(e), e.drafts_.forEach(Foe), e.drafts_ = null;
+function WB(e) {
+ GB(e), e.drafts_.forEach(bue), e.drafts_ = null;
}
-function qz(e) {
- e === Uz && (Uz = e.parent_);
+function GB(e) {
+ e === VB && (VB = e.parent_);
}
-var Jz = (e) => Uz = Poe(Uz, e);
-function Foe(e) {
- let t = e[oz];
+var KB = (e) => VB = yue(VB, e);
+function bue(e) {
+ let t = e[iB];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function Yz(e, t) {
+function qB(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[oz].modified_ && (Kz(t), sz(4)), _z(e) && (e = Xz(t, e));
+ n[iB].modified_ && (WB(t), aB(4)), hB(e) && (e = JB(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[oz].base_, e, t);
- } else e = Xz(t, n);
- return Ioe(t, e, !0), Kz(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === iz ? void 0 : e;
-}
-function Xz(e, t) {
- if (Iz(t)) return t;
- let n = t[oz];
- if (!n) return tB(t, e.handledSet_, e);
- if (!Qz(n, e)) return t;
+ r && r.generateReplacementPatches_(n[iB].base_, e, t);
+ } else e = JB(t, n);
+ return xue(t, e, !0), WB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === nB ? void 0 : e;
+}
+function JB(e, t) {
+ if (PB(t)) return t;
+ let n = t[iB];
+ if (!n) return $B(t, e.handledSet_, e);
+ if (!XB(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);
- eB(n, e);
+ QB(n, e);
}
return n.copy_;
}
-function Ioe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Pz(t, n);
+function xue(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && MB(t, n);
}
-function Zz(e) {
+function YB(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var Qz = (e, t) => e.scope_ === t, Loe = [];
-function $z(e, t, n, r) {
- let i = jz(e), a = e.type_;
- if (r !== void 0 && Cz(i, r, a) === t) {
- wz(i, r, n, a);
+var XB = (e, t) => e.scope_ === t, Sue = [];
+function ZB(e, t, n, r) {
+ let i = kB(e), a = e.type_;
+ if (r !== void 0 && xB(i, r, a) === t) {
+ SB(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- bz(i, (e, n) => {
- if (gz(n)) {
+ vB(i, (e, n) => {
+ if (mB(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? Loe;
- for (let e of o) wz(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? Sue;
+ for (let e of o) SB(i, e, n, a);
}
-function Roe(e, t, n) {
+function Cue(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !Qz(i, r)) return;
+ if (!i || !XB(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = Mz(i);
- $z(e, i.draft_ ?? i, a, n), eB(i, r);
+ let a = AB(i);
+ ZB(e, i.draft_ ?? i, a, n), QB(i, r);
});
}
-function eB(e, t) {
+function QB(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);
}
- Zz(e);
+ YB(e);
}
}
-function zoe(e, t, n) {
+function wue(e, t, n) {
let { scope_: r } = e;
- if (gz(n)) {
- let i = n[oz];
- Qz(i, r) && i.callbacks_.push(function() {
- sB(e), $z(e, n, Mz(i), t);
+ if (mB(n)) {
+ let i = n[iB];
+ XB(i, r) && i.callbacks_.push(function() {
+ aV(e), ZB(e, n, AB(i), t);
});
- } else _z(n) && e.callbacks_.push(function() {
- let i = jz(e);
- e.type_ === 3 ? i.has(n) && tB(n, r.handledSet_, r) : Cz(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && tB(Cz(e.copy_, t, e.type_), r.handledSet_, r);
+ } else hB(n) && e.callbacks_.push(function() {
+ let i = kB(e);
+ e.type_ === 3 ? i.has(n) && $B(n, r.handledSet_, r) : xB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && $B(xB(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function tB(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || gz(e) || t.has(e) || !_z(e) || Iz(e) ? e : (t.add(e), bz(e, (r, i) => {
- if (gz(i)) {
- let t = i[oz];
- Qz(t, n) && (wz(e, r, Mz(t), e.type_), Zz(t));
- } else _z(i) && tB(i, t, n);
+function $B(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || mB(e) || t.has(e) || !hB(e) || PB(e) ? e : (t.add(e), vB(e, (r, i) => {
+ if (mB(i)) {
+ let t = i[iB];
+ XB(t, n) && (SB(e, r, AB(t), e.type_), YB(t));
+ } else hB(i) && $B(i, t, n);
}), e);
}
-function Boe(e, t) {
- let n = Tz(e), r = {
+function Tue(e, t) {
+ let n = CB(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : Wz(),
+ scope_: t ? t.scope_ : HB(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -41403,108 +44329,108 @@ function Boe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = nB;
- n && (i = [r], a = rB);
+ }, i = r, a = eV;
+ n && (i = [r], a = tV);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var nB = {
+var eV = {
get(e, t) {
- if (t === oz) return e;
+ if (t === iB) 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 = jz(e);
- if (!Sz(i, t, e.type_)) return Hoe(e, i, t);
+ let i = kB(e);
+ if (!bB(i, t, e.type_)) return Due(e, i, t);
let a = i[t];
- if (e.finalized_ || !_z(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Moe(t)) return a;
- if (a === iB(e.base_, t) || Voe(e, t, a)) {
- sB(e);
- let n = e.type_ === 1 ? +t : t, r = cB(e.scope_, a, e, n);
+ if (e.finalized_ || !hB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && _ue(t)) return a;
+ if (a === nV(e.base_, t) || Eue(e, t, a)) {
+ aV(e);
+ let n = e.type_ === 1 ? +t : t, r = oV(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in jz(e);
+ return t in kB(e);
},
ownKeys(e) {
- return Reflect.ownKeys(jz(e));
+ return Reflect.ownKeys(kB(e));
},
set(e, t, n) {
- let r = aB(jz(e), t);
+ let r = rV(kB(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = iB(jz(e), t), i = r?.[oz];
+ let r = nV(kB(e), t), i = r?.[iB];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (joe(n, r) && (n !== void 0 || Sz(e.base_, t, e.type_))) return !0;
- sB(e), oB(e);
+ if (gue(n, r) && (n !== void 0 || bB(e.base_, t, e.type_))) return !0;
+ aV(e), iV(e);
}
- return e.copy_[t] === n && (n !== void 0 || Sz(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), zoe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || bB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), wue(e, t, n), !0);
},
deleteProperty(e, t) {
- return sB(e), iB(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), oB(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return aV(e), nV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), iV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = jz(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = kB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [mz]: !0,
- [fz]: e.type_ !== 1 || t !== "length",
- [pz]: r[pz],
- [hz]: n[t]
+ [fB]: !0,
+ [uB]: e.type_ !== 1 || t !== "length",
+ [dB]: r[dB],
+ [pB]: n[t]
};
},
defineProperty() {
- sz(11);
+ aB(11);
},
getPrototypeOf(e) {
- return lz(e.base_);
+ return sB(e.base_);
},
setPrototypeOf() {
- sz(12);
+ aB(12);
}
-}, rB = {};
-for (let e in nB) {
- let t = nB[e];
- rB[e] = function() {
+}, tV = {};
+for (let e in eV) {
+ let t = eV[e];
+ tV[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-rB.deleteProperty = function(e, t) {
- return rB.set.call(this, e, t, void 0);
-}, rB.set = function(e, t, n) {
- return nB.set.call(this, e[0], t, n, e[0]);
+tV.deleteProperty = function(e, t) {
+ return tV.set.call(this, e, t, void 0);
+}, tV.set = function(e, t, n) {
+ return eV.set.call(this, e[0], t, n, e[0]);
};
-function iB(e, t) {
- let n = e[oz];
- return (n ? jz(n) : e)[t];
+function nV(e, t) {
+ let n = e[iB];
+ return (n ? kB(n) : e)[t];
}
-function Voe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !_z(n) || n[oz] ? !1 : e.baseRefs_.has(n);
+function Eue(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !hB(n) || n[iB] ? !1 : e.baseRefs_.has(n);
}
-function Hoe(e, t, n) {
- let r = aB(t, n);
- return r ? hz in r ? r[hz] : r.get?.call(e.draft_) : void 0;
+function Due(e, t, n) {
+ let r = rV(t, n);
+ return r ? pB in r ? r[pB] : r.get?.call(e.draft_) : void 0;
}
-function aB(e, t) {
+function rV(e, t) {
if (!(t in e)) return;
- let n = lz(e);
+ let n = sB(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = lz(n);
+ n = sB(n);
}
}
-function oB(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && oB(e.parent_));
+function iV(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && iV(e.parent_));
}
-function sB(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), Nz(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function aV(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), jB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var Uoe = class {
+var Oue = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (kz(e) && !kz(t)) {
+ if (DB(e) && !DB(t)) {
let n = t;
t = e;
let r = this;
@@ -41512,30 +44438,30 @@ var Uoe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- kz(t) || sz(6), n !== void 0 && !kz(n) && sz(7);
+ DB(t) || aB(6), n !== void 0 && !DB(n) && aB(7);
let r;
- if (_z(e)) {
- let i = Jz(this), a = cB(i, e, void 0), o = !0;
+ if (hB(e)) {
+ let i = KB(this), a = oV(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? Kz(i) : qz(i);
+ o ? WB(i) : GB(i);
}
- return Gz(i, n), Yz(r, i);
+ return UB(i, n), qB(r, i);
}
- if (!e || !Oz(e)) {
- if (r = t(e), r === void 0 && (r = e), r === iz && (r = void 0), this.autoFreeze_ && Pz(r, !0), n) {
+ if (!e || !EB(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === nB && (r = void 0), this.autoFreeze_ && MB(r, !0), n) {
let t = [], i = [];
- Vz(Rz).generateReplacementPatches_(e, r, {
+ zB(IB).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- sz(1, e);
+ aB(1, e);
}, this.produceWithPatches = (e, t) => {
- if (kz(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (DB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -41544,18 +44470,18 @@ var Uoe = class {
n,
r
];
- }, Az(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Az(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Az(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, OB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), OB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), OB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- _z(e) || sz(8), gz(e) && (e = lB(e));
- let t = Jz(this), n = cB(t, e, void 0);
- return n[oz].isManual_ = !0, qz(t), n;
+ hB(e) || aB(8), mB(e) && (e = sV(e));
+ let t = KB(this), n = oV(t, e, void 0);
+ return n[iB].isManual_ = !0, GB(t), n;
}
finishDraft(e, t) {
- let n = e && e[oz];
- (!n || !n.isManual_) && sz(9);
+ let n = e && e[iB];
+ (!n || !n.isManual_) && aB(9);
let { scope_: r } = n;
- return Gz(r, t), Yz(void 0, r);
+ return UB(r, t), qB(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -41579,48 +44505,48 @@ var Uoe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = Vz(Rz).applyPatches_;
- return gz(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = zB(IB).applyPatches_;
+ return mB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function cB(e, t, n, r) {
- let [i, a] = Ez(t) ? Vz(Lz).proxyMap_(t, n) : Dz(t) ? Vz(Lz).proxySet_(t, n) : Boe(t, n);
- return (n?.scope_ ?? Wz()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Roe(n, a, r) : a.callbacks_.push(function(e) {
+function oV(e, t, n, r) {
+ let [i, a] = wB(t) ? zB(FB).proxyMap_(t, n) : TB(t) ? zB(FB).proxySet_(t, n) : Tue(t, n);
+ return (n?.scope_ ?? HB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Cue(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 lB(e) {
- return gz(e) || sz(10, e), uB(e);
+function sV(e) {
+ return mB(e) || aB(10, e), cV(e);
}
-function uB(e) {
- if (!_z(e) || Iz(e)) return e;
- let t = e[oz], n, r = !0;
+function cV(e) {
+ if (!hB(e) || PB(e)) return e;
+ let t = e[iB], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = Nz(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = Nz(e, !0);
- return bz(n, (e, t) => {
- wz(n, e, uB(t));
+ t.finalized_ = !0, n = jB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = jB(e, !0);
+ return vB(n, (e, t) => {
+ SB(n, e, cV(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var dB = new Uoe().produce;
+var lV = new Oue().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function fB(e) {
+function uV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var Woe = fB(), Goe = fB, Koe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? nz : nz.apply(null, arguments);
+var kue = uV(), Aue = uV, jue = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? eB : eB.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function pB(e, t) {
+function dV(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(JB(0));
+ if (!r) throw Error(KV(0));
return {
type: e,
payload: r.payload,
@@ -41633,9 +44559,9 @@ function pB(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => rz(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => tB(t) && t.type === e, n;
}
-var mB = class e extends Array {
+var fV = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -41649,29 +44575,29 @@ var mB = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function hB(e) {
- return _z(e) ? dB(e, () => {}) : e;
+function pV(e) {
+ return hB(e) ? lV(e, () => {}) : e;
}
-function gB(e, t, n) {
+function mV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function qoe(e) {
+function Mue(e) {
return typeof e == "boolean";
}
-var Joe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new mB();
- return t && (qoe(t) ? a.push(Woe) : a.push(Goe(t.extraArgument))), a;
-}, _B = "RTK_autoBatch", vB = () => (e) => ({
+var Nue = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new fV();
+ return t && (Mue(t) ? a.push(kue) : a.push(Aue(t.extraArgument))), a;
+}, hV = "RTK_autoBatch", gV = () => (e) => ({
payload: e,
- meta: { [_B]: !0 }
-}), yB = (e) => (t) => {
+ meta: { [hV]: !0 }
+}), _V = (e) => (t) => {
setTimeout(t, e);
-}, Yoe = (e, t) => (n) => {
+}, Pue = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, bB = (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 ? Yoe(window.requestAnimationFrame, 100) : yB(10) : e.type === "callback" ? e.queueNotification : yB(e.timeout), l = () => {
+}, vV = (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 ? Pue(window.requestAnimationFrame, 100) : _V(10) : e.type === "callback" ? e.queueNotification : _V(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -41683,37 +44609,37 @@ var Joe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[_B], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[hV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, Xoe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new mB(e);
- return n && r.push(bB(typeof n == "object" ? n : void 0)), r;
+}, Fue = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new fV(e);
+ return n && r.push(vV(typeof n == "object" ? n : void 0)), r;
};
-function Zoe(e) {
- let t = Joe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function Iue(e) {
+ let t = Nue(), { 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 ($R(n)) c = tz(n);
- else throw Error(JB(1));
+ else if (Zz(n)) c = $z(n);
+ else throw Error(KV(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = nz;
- i && (u = Koe({
+ let u = eB;
+ i && (u = jue({
trace: !1,
...typeof i == "object" && i
}));
- let d = Xoe(koe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return ez(c, o, p);
+ let d = Fue(mue(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return Qz(c, o, p);
}
-function xB(e) {
+function yV(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(JB(28));
- if (r in t) throw Error(JB(29));
+ if (!r) throw Error(KV(28));
+ if (r in t) throw Error(KV(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -41738,25 +44664,25 @@ function xB(e) {
r
];
}
-function Qoe(e) {
+function Lue(e) {
return typeof e == "function";
}
-function $oe(e, t) {
- let [n, r, i] = xB(t), a;
- if (Qoe(e)) a = () => hB(e());
+function Rue(e, t) {
+ let [n, r, i] = yV(t), a;
+ if (Lue(e)) a = () => pV(e());
else {
- let t = hB(e);
+ let t = pV(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 (gz(e)) {
+ if (mB(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (_z(e)) return dB(e, (e) => n(e, t));
+ if (hB(e)) return lV(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -41771,20 +44697,20 @@ function $oe(e, t) {
}
return o.getInitialState = a, o;
}
-var ese = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", tse = (e = 21) => {
+var zue = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Bue = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += ese[Math.random() * 64 | 0];
+ for (; n--;) t += zue[Math.random() * 64 | 0];
return t;
-}, nse = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function rse(e, t) {
+}, Vue = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function Hue(e, t) {
return `${e}/${t}`;
}
-function ise({ creators: e } = {}) {
- let t = e?.asyncThunk?.[nse];
+function Uue({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[Vue];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(JB(11));
- let i = (typeof e.reducers == "function" ? e.reducers(ose()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(KV(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(Gue()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -41792,8 +44718,8 @@ function ise({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(JB(12));
- if (n in o.sliceCaseReducersByType) throw Error(JB(13));
+ if (!n) throw Error(KV(12));
+ if (n in o.sliceCaseReducersByType) throw Error(KV(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -41812,17 +44738,17 @@ function ise({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: rse(n, r),
+ type: Hue(n, r),
createNotation: typeof e.reducers == "function"
};
- cse(a) ? use(o, a, s, t) : sse(o, a, s);
+ que(a) ? Yue(o, a, s, t) : Kue(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? xB(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? yV(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return $oe(e.initialState, (e) => {
+ return Rue(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);
@@ -41839,12 +44765,12 @@ function ise({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = gB(d, r, m)), i;
+ return i === void 0 && n && (i = mV(d, r, m)), i;
}
function i(t = l) {
- return gB(gB(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return mV(mV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = ase(a, t, () => gB(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Wue(a, t, () => mV(d, t, m), n);
return r;
});
}
@@ -41878,15 +44804,15 @@ function ise({ creators: e } = {}) {
return g;
};
}
-function ase(e, t, n, r) {
+function Wue(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 SB = /* @__PURE__ */ ise();
-function ose() {
+var bV = /* @__PURE__ */ Uue();
+function Gue() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -41910,57 +44836,57 @@ function ose() {
asyncThunk: e
};
}
-function sse({ type: e, reducerName: t, createNotation: n }, r, i) {
+function Kue({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !lse(r)) throw Error(JB(17));
+ if (n && !Jue(r)) throw Error(KV(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? pB(e, o) : pB(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? dV(e, o) : dV(e));
}
-function cse(e) {
+function que(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function lse(e) {
+function Jue(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function use({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(JB(18));
+function Yue({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(KV(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 || CB,
- pending: s || CB,
- rejected: c || CB,
- settled: l || CB
+ fulfilled: o || xV,
+ pending: s || xV,
+ rejected: c || xV,
+ settled: l || xV
});
}
-function CB() {}
-var dse = "task", wB = "listener", TB = "completed", EB = "cancelled", fse = `task-${EB}`, pse = `task-${TB}`, DB = `${wB}-${EB}`, mse = `${wB}-${TB}`, OB = class {
+function xV() {}
+var Xue = "task", SV = "listener", CV = "completed", wV = "cancelled", Zue = `task-${wV}`, Que = `task-${CV}`, TV = `${SV}-${wV}`, $ue = `${SV}-${CV}`, EV = class {
constructor(e) {
- this.code = e, this.message = `${dse} ${EB} (reason: ${e})`;
+ this.code = e, this.message = `${Xue} ${wV} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, kB = (e, t) => {
- if (typeof e != "function") throw TypeError(JB(32));
-}, AB = () => {}, jB = (e, t = AB) => (e.catch(t), e), MB = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), NB = (e) => {
- if (e.aborted) throw new OB(e.reason);
+}, DV = (e, t) => {
+ if (typeof e != "function") throw TypeError(KV(32));
+}, OV = () => {}, kV = (e, t = OV) => (e.catch(t), e), AV = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), jV = (e) => {
+ if (e.aborted) throw new EV(e.reason);
};
-function PB(e, t) {
- let n = AB;
+function MV(e, t) {
+ let n = OV;
return new Promise((r, i) => {
- let a = () => i(new OB(e.reason));
+ let a = () => i(new EV(e.reason));
if (e.aborted) {
a();
return;
}
- n = MB(e, a), t.finally(() => n()).then(r, i);
+ n = AV(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = AB;
+ n = OV;
});
}
-var hse = async (e, t) => {
+var ede = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -41968,40 +44894,40 @@ var hse = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof OB ? "cancelled" : "rejected",
+ status: e instanceof EV ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, FB = (e) => (t) => jB(PB(e, t).then((t) => (NB(e), t))), IB = (e) => {
- let t = FB(e);
+}, NV = (e) => (t) => kV(MV(e, t).then((t) => (jV(e), t))), PV = (e) => {
+ let t = NV(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: LB } = Object, RB = {}, zB = "listenerMiddleware", gse = (e, t) => {
- let n = (t) => MB(e, () => t.abort(e.reason));
+}, { assign: FV } = Object, IV = {}, LV = "listenerMiddleware", tde = (e, t) => {
+ let n = (t) => AV(e, () => t.abort(e.reason));
return (r, i) => {
- kB(r, "taskExecutor");
+ DV(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = hse(async () => {
- NB(e), NB(a.signal);
+ let o = ede(async () => {
+ jV(e), jV(a.signal);
let t = await r({
- pause: FB(a.signal),
- delay: IB(a.signal),
+ pause: NV(a.signal),
+ delay: PV(a.signal),
signal: a.signal
});
- return NB(a.signal), t;
- }, () => a.abort(pse));
- return i?.autoJoin && t.push(o.catch(AB)), {
- result: FB(e)(o),
+ return jV(a.signal), t;
+ }, () => a.abort(Que));
+ return i?.autoJoin && t.push(o.catch(OV)), {
+ result: NV(e)(o),
cancel() {
- a.abort(fse);
+ a.abort(Zue);
}
};
};
-}, _se = (e, t) => {
+}, nde = (e, t) => {
let n = async (n, r) => {
- NB(t);
+ jV(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -42019,47 +44945,47 @@ var hse = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await PB(t, Promise.race(a));
- return NB(t), e;
+ let e = await MV(t, Promise.race(a));
+ return jV(t), e;
} finally {
i();
}
};
- return ((e, t) => jB(n(e, t)));
-}, BB = (e) => {
+ return ((e, t) => kV(n(e, t)));
+}, RV = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = pB(t).match;
+ if (t) i = dV(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(JB(21));
- return kB(a, "options.listener"), {
+ else if (!i) throw Error(KV(21));
+ return DV(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, VB = /* @__PURE__ */ LB((e) => {
- let { type: t, predicate: n, effect: r } = BB(e);
+}, zV = /* @__PURE__ */ FV((e) => {
+ let { type: t, predicate: n, effect: r } = RV(e);
return {
- id: tse(),
+ id: Bue(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(JB(22));
+ throw Error(KV(22));
}
};
-}, { withTypes: () => VB }), HB = (e, t) => {
- let { type: n, effect: r, predicate: i } = BB(t);
+}, { withTypes: () => zV }), BV = (e, t) => {
+ let { type: n, effect: r, predicate: i } = RV(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, UB = (e) => {
+}, VV = (e) => {
e.pending.forEach((e) => {
- e.abort(DB);
+ e.abort(TV);
});
-}, vse = (e, t) => () => {
- for (let e of t.keys()) UB(e);
+}, rde = (e, t) => () => {
+ for (let e of t.keys()) VV(e);
e.clear();
-}, WB = (e, t, n) => {
+}, HV = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -42067,74 +44993,74 @@ var hse = async (e, t) => {
throw e;
}, 0);
}
-}, GB = /* @__PURE__ */ LB(/* @__PURE__ */ pB(`${zB}/add`), { withTypes: () => GB }), yse = /* @__PURE__ */ pB(`${zB}/removeAll`), KB = /* @__PURE__ */ LB(/* @__PURE__ */ pB(`${zB}/remove`), { withTypes: () => KB }), bse = (...e) => {
- console.error(`${zB}/error`, ...e);
-}, qB = (e = {}) => {
+}, UV = /* @__PURE__ */ FV(/* @__PURE__ */ dV(`${LV}/add`), { withTypes: () => UV }), ide = /* @__PURE__ */ dV(`${LV}/removeAll`), WV = /* @__PURE__ */ FV(/* @__PURE__ */ dV(`${LV}/remove`), { withTypes: () => WV }), ade = (...e) => {
+ console.error(`${LV}/error`, ...e);
+}, GV = (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 = bse } = e;
- kB(o, "onError");
+ }, { extra: a, onError: o = ade } = e;
+ DV(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && UB(e);
+ e.unsubscribe(), t?.cancelActive && VV(e);
}), c = ((e) => {
- let n = HB(t, e) ?? VB(e);
+ let n = BV(t, e) ?? zV(e);
return s(n);
});
- LB(c, { withTypes: () => c });
+ FV(c, { withTypes: () => c });
let l = (e) => {
- let n = HB(t, e);
- return n && (n.unsubscribe(), e.cancelActive && UB(n)), !!n;
+ let n = BV(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && VV(n)), !!n;
};
- LB(l, { withTypes: () => l });
+ FV(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = _se(c, u.signal), f = [];
+ let u = new AbortController(), d = nde(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, LB({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, FV({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: IB(u.signal),
- pause: FB(u.signal),
+ delay: PV(u.signal),
+ pause: NV(u.signal),
extra: a,
signal: u.signal,
- fork: gse(u.signal, f),
+ fork: tde(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(DB), n.delete(e));
+ e !== u && (e.abort(TV), n.delete(e));
});
},
cancel: () => {
- u.abort(DB), e.pending.delete(u);
+ u.abort(TV), e.pending.delete(u);
},
throwIfCancelled: () => {
- NB(u.signal);
+ jV(u.signal);
}
})));
} catch (e) {
- e instanceof OB || WB(o, e, { raisedBy: "effect" });
+ e instanceof EV || HV(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(mse), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort($ue), i(e), e.pending.delete(u);
}
- }, d = vse(t, n);
+ }, d = rde(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!rz(r)) return n(r);
- if (GB.match(r)) return c(r.payload);
- if (yse.match(r)) {
+ if (!tB(r)) return n(r);
+ if (UV.match(r)) return c(r.payload);
+ if (ide.match(r)) {
d();
return;
}
- if (KB.match(r)) return l(r.payload);
+ if (WV.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === RB) throw Error(JB(23));
+ if (i === IV) throw Error(KV(23));
return i;
}, s;
try {
@@ -42145,13 +45071,13 @@ var hse = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, WB(o, e, { raisedBy: "predicate" });
+ s = !1, HV(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = RB;
+ i = IV;
}
return s;
},
@@ -42160,12 +45086,12 @@ var hse = async (e, t) => {
clearListeners: d
};
};
-function JB(e) {
+function KV(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 YB = SB({
+var qV = bV({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -42193,23 +45119,23 @@ var YB = SB({
e.scale = t.payload;
}
}
-}), { setMargin: xse, setLayout: Sse, setChartSize: Cse, setScale: wse } = YB.actions, Tse = YB.reducer;
+}), { setMargin: ode, setLayout: sde, setChartSize: cde, setScale: lde } = qV.actions, ude = qV.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function XB(e, t, n) {
+function JV(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 ZB(e) {
+function YV(e) {
return Number.isFinite(e);
}
-function QB(e) {
+function XV(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function $B(e, t) {
+function ZV(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -42219,30 +45145,30 @@ function $B(e, t) {
}
return n;
}
-function eV(e) {
+function QV(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $B(Object(n), !0).forEach(function(t) {
- Ese(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $B(Object(n)).forEach(function(t) {
+ t % 2 ? ZV(Object(n), !0).forEach(function(t) {
+ dde(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZV(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ese(e, t, n) {
- return (t = Dse(t)) in e ? Object.defineProperty(e, t, {
+function dde(e, t, n) {
+ return (t = fde(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dse(e) {
- var t = Ose(e, "string");
+function fde(e) {
+ var t = pde(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ose(e, t) {
+function pde(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -42252,63 +45178,63 @@ function Ose(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function tV(e, t, n) {
- return ZL(e) || ZL(t) ? n : WL(t) ? IL(e, t, n) : typeof t == "function" ? t(e) : n;
+function $V(e, t, n) {
+ return YR(e) || YR(t) ? n : UR(t) ? LR(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var kse = (e, t, n) => {
+var mde = (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 eV(eV({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return eV(eV({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return QV(QV({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return QV(QV({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, nV = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", rV = (e, t, n, r) => {
+}, eH = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", tH = (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;
-}, iV = (e, t, n) => {
+}, nH = (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 ? VL(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? BR(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 ZB(i) ? {
+ return YV(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter($L) : c && l ? l.map((e, t) => {
+ }).filter(ZR) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter($L) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(ZR) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter($L) : o.domain().map((e, t) => {
+ }).filter(ZR) : o.domain().map((e, t) => {
var n = o.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter($L);
-}, aV = (e, t) => {
+ }).filter(ZR);
+}, rH = (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;
-}, Ase = {
+}, hde = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -42316,16 +45242,16 @@ var kse = (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 = HL(c) ? l : c;
+ var c = s[1], l = s[0], u = VR(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: TL,
- none: bL,
- silhouette: EL,
- wiggle: DL,
+ expand: Ece,
+ none: kR,
+ silhouette: Dce,
+ wiggle: Oce,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -42333,70 +45259,70 @@ var kse = (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 = HL(o[1]) ? o[0] : o[1];
+ var s = VR(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, jse = (e, t, n) => {
- var r = Ase[n] ?? bL, i = wL().keys(t).value((e, t) => Number(tV(e, t, 0))).order(xL).offset(r)(e);
+}, gde = (e, t, n) => {
+ var r = hde[n] ?? kR, i = Tce().keys(t).value((e, t) => Number($V(e, t, 0))).order(AR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = tV(e[i], t[r], 0);
+ var a = $V(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 oV(e) {
+function iH(e) {
return e == null ? void 0 : String(e);
}
-function sV(e) {
+function aH(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !ZL(i[t.dataKey])) {
- var s = XL(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !YR(i[t.dataKey])) {
+ var s = JR(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 = tV(i, ZL(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = $V(i, YR(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var cV = (e) => {
+var oH = (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 = tV(a, t.dataKey, t.scale.domain()[o]);
- if (ZL(s)) return null;
+ var s = $V(a, t.dataKey, t.scale.domain()[o]);
+ if (YR(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, lV = (e) => {
+}, sH = (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];
-}, Mse = (e) => {
+}, _de = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, Nse = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], Pse = (e, t, n) => {
- if (e != null) return Nse(Object.keys(e).reduce((r, i) => {
+}, vde = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], yde = (e, t, n) => {
+ if (e != null) return vde(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 = Mse(XB(r, t, n));
- return !ZB(i[0]) || !ZB(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = _de(JV(r, t, n));
+ return !YV(i[0]) || !YV(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]));
-}, uV = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, dV = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, fV = (e, t, n) => {
+}, cH = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, lH = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, uH = (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 = GR(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = Uz(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);
}
@@ -42404,26 +45330,26 @@ var cV = (e) => {
}
return n ? void 0 : 0;
};
-function pV(e) {
+function dH(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return eV(eV({}, t), {}, {
+ return QV(QV({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function mV(e, t) {
+function fH(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var Fse = (e, t) => {
+var bde = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, Ise = (e, t) => t === "centric" ? e.angle : e.radius, hV = (e) => e.layout.width, gV = (e) => e.layout.height, Lse = (e) => e.layout.scale, _V = (e) => e.layout.margin, vV = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), yV = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), Rse = "data-recharts-item-index";
+}, xde = (e, t) => t === "centric" ? e.angle : e.radius, pH = (e) => e.layout.width, mH = (e) => e.layout.height, hH = (e) => e.layout.scale, gH = (e) => e.layout.margin, _H = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), vH = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), yH = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function bV(e, t) {
+function bH(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -42433,30 +45359,30 @@ function bV(e, t) {
}
return n;
}
-function xV(e) {
+function xH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? bV(Object(n), !0).forEach(function(t) {
- zse(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bV(Object(n)).forEach(function(t) {
+ t % 2 ? bH(Object(n), !0).forEach(function(t) {
+ SH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bH(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zse(e, t, n) {
- return (t = Bse(t)) in e ? Object.defineProperty(e, t, {
+function SH(e, t, n) {
+ return (t = CH(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bse(e) {
- var t = Vse(e, "string");
+function CH(e) {
+ var t = wH(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vse(e, t) {
+function wH(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -42466,58 +45392,58 @@ function Vse(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Hse = (e) => e.brush.height;
-function Use(e) {
- return yV(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function Wse(e) {
- return yV(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function Gse(e) {
- return vV(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
-}
-function Kse(e) {
- return vV(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
-}
-var SV = $([
- hV,
- gV,
- _V,
- Hse,
- Use,
- Wse,
- Gse,
- Kse,
- KR,
- Toe
+var TH = (e) => e.brush.height;
+function EH(e) {
+ return vH(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function DH(e) {
+ return vH(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function OH(e) {
+ return _H(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+function kH(e) {
+ return _H(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+var AH = $([
+ pH,
+ mH,
+ gH,
+ TH,
+ EH,
+ DH,
+ OH,
+ kH,
+ Wz,
+ uue
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = xV(xV({}, {
+ }, d = xH(xH({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = kse(d, c, l);
+ d.bottom += r, d = mde(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return xV(xV({ brushBottom: f }, d), {}, {
+ return xH(xH({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), qse = $(SV, (e) => ({
+}), jH = $(AH, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), CV = $(hV, gV, (e, t) => ({
+})), MH = $(pH, mH, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), Jse = /*#__PURE__*/ (0, E.createContext)(null), wV = () => (0, E.useContext)(Jse) != null, TV = (e) => e.brush, EV = $([
- TV,
- SV,
- _V
+})), NH = /*#__PURE__*/ (0, D.createContext)(null), PH = () => (0, D.useContext)(NH) != null, FH = (e) => e.brush, IH = $([
+ FH,
+ AH,
+ gH
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -42526,7 +45452,7 @@ var SV = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function Yse(e, t, { signal: n, edges: r } = {}) {
+function LH(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 = () => {
@@ -42551,11 +45477,11 @@ function Yse(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function Xse(e, t = 0, n = {}) {
+function RH(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 = Yse(function(...t) {
+ let s, c = null, l = LH(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);
@@ -42564,9 +45490,9 @@ function Xse(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function Zse(e, t = 0, n = {}) {
+function zH(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return Xse(e, t, {
+ return RH(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -42574,7 +45500,7 @@ function Zse(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var DV = function(e, t) {
+var BH = 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.");
@@ -42583,7 +45509,7 @@ var DV = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, OV = {
+}, VH = {
width: "100%",
height: "100%",
debounce: 0,
@@ -42592,45 +45518,45 @@ var DV = function(e, t) {
width: -1,
height: -1
}
-}, kV = (e, t, n) => {
- var { width: r = OV.width, height: i = OV.height, aspect: a, maxHeight: o } = n, s = UL(r) ? e : Number(r), c = UL(i) ? t : Number(i);
+}, HH = (e, t, n) => {
+ var { width: r = VH.width, height: i = VH.height, aspect: a, maxHeight: o } = n, s = HR(r) ? e : Number(r), c = HR(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
};
-}, Qse = {
+}, UH = {
width: 0,
height: 0,
overflow: "visible"
-}, $se = {
+}, WH = {
width: 0,
overflowX: "visible"
-}, ece = {
+}, GH = {
height: 0,
overflowY: "visible"
-}, tce = {}, nce = (e) => {
- var { width: t, height: n } = e, r = UL(t), i = UL(n);
- return r && i ? Qse : r ? $se : i ? ece : tce;
+}, KH = {}, qH = (e) => {
+ var { width: t, height: n } = e, r = HR(t), i = HR(n);
+ return r && i ? UH : r ? WH : i ? GH : KH;
};
-function rce(e) {
+function JH(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = OV.width, a = OV.height) : i === void 0 ? i = r && r > 0 ? void 0 : OV.width : a === void 0 && (a = r && r > 0 ? void 0 : OV.height), {
+ return i === void 0 && a === void 0 ? (i = VH.width, a = VH.height) : i === void 0 ? i = r && r > 0 ? void 0 : VH.width : a === void 0 && (a = r && r > 0 ? void 0 : VH.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function AV() {
- return AV = Object.assign ? Object.assign.bind() : function(e) {
+function YH() {
+ return YH = 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;
- }, AV.apply(null, arguments);
+ }, YH.apply(null, arguments);
}
-function jV(e, t) {
+function XH(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -42640,30 +45566,30 @@ function jV(e, t) {
}
return n;
}
-function MV(e) {
+function ZH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jV(Object(n), !0).forEach(function(t) {
- ice(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jV(Object(n)).forEach(function(t) {
+ t % 2 ? XH(Object(n), !0).forEach(function(t) {
+ QH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XH(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ice(e, t, n) {
- return (t = ace(t)) in e ? Object.defineProperty(e, t, {
+function QH(e, t, n) {
+ return (t = $H(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ace(e) {
- var t = oce(e, "string");
+function $H(e) {
+ var t = eU(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oce(e, t) {
+function eU(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -42673,24 +45599,24 @@ function oce(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var NV = /*#__PURE__*/ (0, E.createContext)(OV.initialDimension);
-function sce(e) {
- return QB(e.width) && QB(e.height);
+var tU = /*#__PURE__*/ (0, D.createContext)(VH.initialDimension);
+function nU(e) {
+ return XV(e.width) && XV(e.height);
}
-function PV(e) {
- var { children: t, width: n, height: r } = e, i = (0, E.useMemo)(() => ({
+function rU(e) {
+ var { children: t, width: n, height: r } = e, i = (0, D.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return sce(i) ? /*#__PURE__*/ E.createElement(NV.Provider, { value: i }, t) : null;
+ return nU(i) ? /*#__PURE__*/ D.createElement(tU.Provider, { value: i }, t) : null;
}
-var FV = () => (0, E.useContext)(NV), cce = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = OV.initialDimension, width: i, height: a, minWidth: o = OV.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = OV.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, E.useRef)(null), g = (0, E.useRef)();
- g.current = p, (0, E.useImperativeHandle)(t, () => h.current);
- var [_, v] = (0, E.useState)({
+var iU = () => (0, D.useContext)(tU), aU = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = VH.initialDimension, width: i, height: a, minWidth: o = VH.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = VH.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, D.useRef)(null), g = (0, D.useRef)();
+ g.current = p, (0, D.useImperativeHandle)(t, () => h.current);
+ var [_, v] = (0, D.useState)({
containerWidth: r.width,
containerHeight: r.height
- }), y = (0, E.useCallback)((e, t) => {
+ }), y = (0, D.useCallback)((e, t) => {
v((n) => {
var r = Math.round(e), i = Math.round(t);
return n.containerWidth === r && n.containerHeight === i ? n : {
@@ -42699,8 +45625,8 @@ var FV = () => (0, E.useContext)(NV), cce = /*#__PURE__*/ (0, E.forwardRef)((e,
};
});
}, []);
- (0, E.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return eR;
+ (0, D.useEffect)(() => {
+ if (h.current == null || typeof ResizeObserver > "u") return QR;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -42708,7 +45634,7 @@ var FV = () => (0, E.useContext)(NV), cce = /*#__PURE__*/ (0, E.forwardRef)((e,
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = Zse(e, u, {
+ u > 0 && (e = zH(e, u, {
trailing: !0,
leading: !1
}));
@@ -42718,17 +45644,17 @@ var FV = () => (0, E.useContext)(NV), cce = /*#__PURE__*/ (0, E.forwardRef)((e,
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- DV(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = kV(b, x, {
+ BH(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = HH(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return DV(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__*/ E.createElement("div", {
+ return BH(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__*/ D.createElement("div", {
id: d ? `${d}` : void 0,
- className: Sm("recharts-responsive-container", f),
- style: MV(MV({}, m), {}, {
+ className: Dm("recharts-responsive-container", f),
+ style: ZH(ZH({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -42736,30 +45662,30 @@ var FV = () => (0, E.useContext)(NV), cce = /*#__PURE__*/ (0, E.forwardRef)((e,
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ E.createElement("div", { style: nce({
+ }, /*#__PURE__*/ D.createElement("div", { style: qH({
width: i,
height: a
- }) }, /*#__PURE__*/ E.createElement(PV, {
+ }) }, /*#__PURE__*/ D.createElement(rU, {
width: S,
height: C
}, l)));
-}), IV = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var n = FV();
- if (QB(n.width) && QB(n.height)) return e.children;
- var { width: r, height: i } = rce({
+}), oU = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var n = iU();
+ if (XV(n.width) && XV(n.height)) return e.children;
+ var { width: r, height: i } = JH({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = kV(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = HH(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ E.createElement(PV, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ D.createElement(rU, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ E.createElement(cce, AV({}, e, {
+ }, e.children) : /*#__PURE__*/ D.createElement(aU, YH({}, e, {
width: r,
height: i,
ref: t
@@ -42767,7 +45693,7 @@ var FV = () => (0, E.useContext)(NV), cce = /*#__PURE__*/ (0, E.forwardRef)((e,
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function LV(e) {
+function sU(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -42777,15 +45703,15 @@ function LV(e) {
height: e.height
};
}
-var RV = () => {
- var e = wV(), t = Q(qse), n = Q(EV), r = Q(TV)?.padding;
+var cU = () => {
+ var e = PH(), t = Q(jH), n = Q(IH), r = Q(FH)?.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
};
-}, lce = {
+}, lU = {
top: 0,
bottom: 0,
left: 0,
@@ -42793,16 +45719,16 @@ var RV = () => {
width: 0,
height: 0,
brushBottom: 0
-}, zV = () => Q(SV) ?? lce, BV = () => Q(hV), VV = () => Q(gV), uce = () => Q((e) => e.layout.margin), HV = (e) => e.layout.layoutType, UV = () => Q(HV), WV = () => {
- var e = UV();
+}, uU = () => Q(AH) ?? lU, dU = () => Q(pH), fU = () => Q(mH), pU = () => Q((e) => e.layout.margin), mU = (e) => e.layout.layoutType, hU = () => Q(mU), gU = () => {
+ var e = hU();
if (e === "horizontal" || e === "vertical") return e;
-}, GV = (e) => {
+}, _U = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, KV = () => Q(GV), dce = () => UV() !== void 0, qV = (e) => {
- var t = LR(), n = wV(), { width: r, height: i } = e, a = FV(), o = r, s = i;
- return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, E.useEffect)(() => {
- !n && QB(o) && QB(s) && t(Cse({
+}, vU = () => Q(_U), yU = () => hU() !== void 0, bU = (e) => {
+ var t = Fz(), n = PH(), { width: r, height: i } = e, a = iU(), o = r, s = i;
+ return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, D.useEffect)(() => {
+ !n && XV(o) && XV(s) && t(cde({
width: o,
height: s
}));
@@ -42812,64 +45738,64 @@ var RV = () => {
o,
s
]), null;
-}, JV = Symbol.for("immer-nothing"), YV = Symbol.for("immer-draftable"), XV = Symbol.for("immer-state");
-function ZV(e, ...t) {
+}, xU = Symbol.for("immer-nothing"), SU = Symbol.for("immer-draftable"), CU = Symbol.for("immer-state");
+function wU(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var QV = Object.getPrototypeOf;
-function $V(e) {
- return !!e && !!e[XV];
+var TU = Object.getPrototypeOf;
+function EU(e) {
+ return !!e && !!e[CU];
}
-function eH(e) {
- return e ? nH(e) || Array.isArray(e) || !!e[YV] || !!e.constructor?.[YV] || sH(e) || cH(e) : !1;
+function DU(e) {
+ return e ? AU(e) || Array.isArray(e) || !!e[SU] || !!e.constructor?.[SU] || IU(e) || LU(e) : !1;
}
-var fce = Object.prototype.constructor.toString(), tH = /* @__PURE__ */ new WeakMap();
-function nH(e) {
+var OU = Object.prototype.constructor.toString(), kU = /* @__PURE__ */ new WeakMap();
+function AU(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 = tH.get(n);
- return r === void 0 && (r = Function.toString.call(n), tH.set(n, r)), r === fce;
+ let r = kU.get(n);
+ return r === void 0 && (r = Function.toString.call(n), kU.set(n, r)), r === OU;
}
-function rH(e, t, n = !0) {
- iH(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function jU(e, t, n = !0) {
+ MU(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 iH(e) {
- let t = e[XV];
- return t ? t.type_ : Array.isArray(e) ? 1 : sH(e) ? 2 : cH(e) ? 3 : 0;
+function MU(e) {
+ let t = e[CU];
+ return t ? t.type_ : Array.isArray(e) ? 1 : IU(e) ? 2 : LU(e) ? 3 : 0;
}
-function aH(e, t) {
- return iH(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function NU(e, t) {
+ return MU(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function oH(e, t, n) {
- let r = iH(e);
+function PU(e, t, n) {
+ let r = MU(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function pce(e, t) {
+function FU(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function sH(e) {
+function IU(e) {
return e instanceof Map;
}
-function cH(e) {
+function LU(e) {
return e instanceof Set;
}
-function lH(e) {
+function RU(e) {
return e.copy_ || e.base_;
}
-function uH(e, t) {
- if (sH(e)) return new Map(e);
- if (cH(e)) return new Set(e);
+function zU(e, t) {
+ if (IU(e)) return new Map(e);
+ if (LU(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = nH(e);
+ let n = AU(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[XV];
+ delete t[CU];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -42880,40 +45806,40 @@ function uH(e, t) {
value: e[i]
});
}
- return Object.create(QV(e), t);
+ return Object.create(TU(e), t);
}
{
- let t = QV(e);
+ let t = TU(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function dH(e, t = !1) {
- return pH(e) || $V(e) || !eH(e) ? e : (iH(e) > 1 && Object.defineProperties(e, {
- set: fH,
- add: fH,
- clear: fH,
- delete: fH
- }), Object.freeze(e), t && Object.values(e).forEach((e) => dH(e, !0)), e);
+function BU(e, t = !1) {
+ return UU(e) || EU(e) || !DU(e) ? e : (MU(e) > 1 && Object.defineProperties(e, {
+ set: HU,
+ add: HU,
+ clear: HU,
+ delete: HU
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => BU(e, !0)), e);
}
-function mce() {
- ZV(2);
+function VU() {
+ wU(2);
}
-var fH = { value: mce };
-function pH(e) {
+var HU = { value: VU };
+function UU(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var hce = {};
-function mH(e) {
- let t = hce[e];
- return t || ZV(0, e), t;
+var WU = {};
+function GU(e) {
+ let t = WU[e];
+ return t || wU(0, e), t;
}
-var hH;
-function gH() {
- return hH;
+var KU;
+function qU() {
+ return KU;
}
-function gce(e, t) {
+function JU(e, t) {
return {
drafts_: [],
parent_: e,
@@ -42922,62 +45848,62 @@ function gce(e, t) {
unfinalizedDrafts_: 0
};
}
-function _H(e, t) {
- t && (mH("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function YU(e, t) {
+ t && (GU("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function vH(e) {
- yH(e), e.drafts_.forEach(_ce), e.drafts_ = null;
+function XU(e) {
+ ZU(e), e.drafts_.forEach($U), e.drafts_ = null;
}
-function yH(e) {
- e === hH && (hH = e.parent_);
+function ZU(e) {
+ e === KU && (KU = e.parent_);
}
-function bH(e) {
- return hH = gce(hH, e);
+function QU(e) {
+ return KU = JU(KU, e);
}
-function _ce(e) {
- let t = e[XV];
+function $U(e) {
+ let t = e[CU];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function xH(e, t) {
+function eW(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[XV].modified_ && (vH(t), ZV(4)), eH(e) && (e = SH(t, e), t.parent_ || wH(t, e)), t.patches_ && mH("Patches").generateReplacementPatches_(n[XV].base_, e, t.patches_, t.inversePatches_)) : e = SH(t, n, []), vH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === JV ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[CU].modified_ && (XU(t), wU(4)), DU(e) && (e = tW(t, e), t.parent_ || rW(t, e)), t.patches_ && GU("Patches").generateReplacementPatches_(n[CU].base_, e, t.patches_, t.inversePatches_)) : e = tW(t, n, []), XU(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === xU ? void 0 : e;
}
-function SH(e, t, n) {
- if (pH(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[XV];
- if (!i) return rH(t, (r, a) => CH(e, i, t, r, a, n), r), t;
+function tW(e, t, n) {
+ if (UU(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[CU];
+ if (!i) return jU(t, (r, a) => nW(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return wH(e, i.base_, !0), i.base_;
+ if (!i.modified_) return rW(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), rH(a, (r, a) => CH(e, i, t, r, a, n, o), r), wH(e, t, !1), n && e.patches_ && mH("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), jU(a, (r, a) => nW(e, i, t, r, a, n, o), r), rW(e, t, !1), n && e.patches_ && GU("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function CH(e, t, n, r, i, a, o) {
+function nW(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = pH(i);
+ let s = UU(i);
if (!(s && !o)) {
- if ($V(i)) {
- let o = SH(e, i, a && t && t.type_ !== 3 && !aH(t.assigned_, r) ? a.concat(r) : void 0);
- if (oH(n, r, o), $V(o)) e.canAutoFreeze_ = !1;
+ if (EU(i)) {
+ let o = tW(e, i, a && t && t.type_ !== 3 && !NU(t.assigned_, r) ? a.concat(r) : void 0);
+ if (PU(n, r, o), EU(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (eH(i) && !s) {
+ if (DU(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- SH(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (sH(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && wH(e, i);
+ tW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (IU(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && rW(e, i);
}
}
}
-function wH(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && dH(t, n);
+function rW(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && BU(t, n);
}
-function vce(e, t) {
+function iW(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : gH(),
+ scope_: t ? t.scope_ : qU(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -42987,41 +45913,41 @@ function vce(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = TH;
- n && (i = [r], a = EH);
+ }, i = r, a = aW;
+ n && (i = [r], a = oW);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var TH = {
+var aW = {
get(e, t) {
- if (t === XV) return e;
- let n = lH(e);
- if (!aH(n, t)) return yce(e, n, t);
+ if (t === CU) return e;
+ let n = RU(e);
+ if (!NU(n, t)) return cW(e, n, t);
let r = n[t];
- return e.finalized_ || !eH(r) ? r : r === DH(e.base_, t) ? (AH(e), e.copy_[t] = jH(r, e)) : r;
+ return e.finalized_ || !DU(r) ? r : r === sW(e.base_, t) ? (dW(e), e.copy_[t] = pW(r, e)) : r;
},
has(e, t) {
- return t in lH(e);
+ return t in RU(e);
},
ownKeys(e) {
- return Reflect.ownKeys(lH(e));
+ return Reflect.ownKeys(RU(e));
},
set(e, t, n) {
- let r = OH(lH(e), t);
+ let r = lW(RU(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = DH(lH(e), t), i = r?.[XV];
+ let r = sW(RU(e), t), i = r?.[CU];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (pce(n, r) && (n !== void 0 || aH(e.base_, t))) return !0;
- AH(e), kH(e);
+ if (FU(n, r) && (n !== void 0 || NU(e.base_, t))) return !0;
+ dW(e), uW(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 DH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, AH(e), kH(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return sW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, dW(e), uW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = lH(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = RU(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -43030,48 +45956,48 @@ var TH = {
};
},
defineProperty() {
- ZV(11);
+ wU(11);
},
getPrototypeOf(e) {
- return QV(e.base_);
+ return TU(e.base_);
},
setPrototypeOf() {
- ZV(12);
+ wU(12);
}
-}, EH = {};
-rH(TH, (e, t) => {
- EH[e] = function() {
+}, oW = {};
+jU(aW, (e, t) => {
+ oW[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), EH.deleteProperty = function(e, t) {
- return EH.set.call(this, e, t, void 0);
-}, EH.set = function(e, t, n) {
- return TH.set.call(this, e[0], t, n, e[0]);
+}), oW.deleteProperty = function(e, t) {
+ return oW.set.call(this, e, t, void 0);
+}, oW.set = function(e, t, n) {
+ return aW.set.call(this, e[0], t, n, e[0]);
};
-function DH(e, t) {
- let n = e[XV];
- return (n ? lH(n) : e)[t];
+function sW(e, t) {
+ let n = e[CU];
+ return (n ? RU(n) : e)[t];
}
-function yce(e, t, n) {
- let r = OH(t, n);
+function cW(e, t, n) {
+ let r = lW(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function OH(e, t) {
+function lW(e, t) {
if (!(t in e)) return;
- let n = QV(e);
+ let n = TU(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = QV(n);
+ n = TU(n);
}
}
-function kH(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && kH(e.parent_));
+function uW(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && uW(e.parent_));
}
-function AH(e) {
- e.copy_ ||= uH(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function dW(e) {
+ e.copy_ ||= zU(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var bce = class {
+var fW = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -43082,25 +46008,25 @@ var bce = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && ZV(6), n !== void 0 && typeof n != "function" && ZV(7);
+ typeof t != "function" && wU(6), n !== void 0 && typeof n != "function" && wU(7);
let r;
- if (eH(e)) {
- let i = bH(this), a = jH(e, void 0), o = !0;
+ if (DU(e)) {
+ let i = QU(this), a = pW(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? vH(i) : yH(i);
+ o ? XU(i) : ZU(i);
}
- return _H(i, n), xH(r, i);
+ return YU(i, n), eW(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === JV && (r = void 0), this.autoFreeze_ && dH(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === xU && (r = void 0), this.autoFreeze_ && BU(r, !0), n) {
let t = [], i = [];
- mH("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ GU("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- ZV(1, e);
+ wU(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -43114,15 +46040,15 @@ var bce = 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) {
- eH(e) || ZV(8), $V(e) && (e = xce(e));
- let t = bH(this), n = jH(e, void 0);
- return n[XV].isManual_ = !0, yH(t), n;
+ DU(e) || wU(8), EU(e) && (e = mW(e));
+ let t = QU(this), n = pW(e, void 0);
+ return n[CU].isManual_ = !0, ZU(t), n;
}
finishDraft(e, t) {
- let n = e && e[XV];
- (!n || !n.isManual_) && ZV(9);
+ let n = e && e[CU];
+ (!n || !n.isManual_) && wU(9);
let { scope_: r } = n;
- return _H(r, t), xH(void 0, r);
+ return YU(r, t), eW(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -43146,35 +46072,35 @@ var bce = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = mH("Patches").applyPatches_;
- return $V(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = GU("Patches").applyPatches_;
+ return EU(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function jH(e, t) {
- let n = sH(e) ? mH("MapSet").proxyMap_(e, t) : cH(e) ? mH("MapSet").proxySet_(e, t) : vce(e, t);
- return (t ? t.scope_ : gH()).drafts_.push(n), n;
+function pW(e, t) {
+ let n = IU(e) ? GU("MapSet").proxyMap_(e, t) : LU(e) ? GU("MapSet").proxySet_(e, t) : iW(e, t);
+ return (t ? t.scope_ : qU()).drafts_.push(n), n;
}
-function xce(e) {
- return $V(e) || ZV(10, e), MH(e);
+function mW(e) {
+ return EU(e) || wU(10, e), hW(e);
}
-function MH(e) {
- if (!eH(e) || pH(e)) return e;
- let t = e[XV], n, r = !0;
+function hW(e) {
+ if (!DU(e) || UU(e)) return e;
+ let t = e[CU], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = uH(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = uH(e, !0);
- return rH(n, (e, t) => {
- oH(n, e, MH(t));
+ t.finalized_ = !0, n = zU(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = zU(e, !0);
+ return jU(n, (e, t) => {
+ PU(n, e, hW(t));
}, r), t && (t.finalized_ = !1), n;
}
-new bce().produce;
-function NH(e) {
+new fW().produce;
+function gW(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var PH = SB({
+var _W = bV({
name: "legend",
initialState: {
settings: {
@@ -43198,43 +46124,43 @@ var PH = SB({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(NH(t.payload));
+ e.payload.push(gW(t.payload));
},
- prepare: vB()
+ prepare: gV()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = lB(e).payload.indexOf(NH(n));
- i > -1 && (e.payload[i] = NH(r));
+ var { prev: n, next: r } = t.payload, i = sV(e).payload.indexOf(gW(n));
+ i > -1 && (e.payload[i] = gW(r));
},
- prepare: vB()
+ prepare: gV()
},
removeLegendPayload: {
reducer(e, t) {
- var n = lB(e).payload.indexOf(NH(t.payload));
+ var n = sV(e).payload.indexOf(gW(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: vB()
+ prepare: gV()
}
}
-}), { setLegendSize: FH, setLegendSettings: Sce, addLegendPayload: IH, replaceLegendPayload: LH, removeLegendPayload: RH } = PH.actions, Cce = PH.reducer, wce = /* @__PURE__ */ _(((e) => {
- var t = C();
+}), { setLegendSize: vW, setLegendSettings: yW, addLegendPayload: bW, replaceLegendPayload: xW, removeLegendPayload: SW } = _W.actions, CW = _W.reducer, wW = /* @__PURE__ */ v(((e) => {
+ var t = w();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
-(/* @__PURE__ */ _(((e, t) => {
- t.exports = wce();
+(/* @__PURE__ */ v(((e, t) => {
+ t.exports = wW();
})))();
-function Tce(e) {
+function TW(e) {
e();
}
-function Ece() {
+function EW() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- Tce(() => {
+ TW(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -43256,12 +46182,12 @@ function Ece() {
}
};
}
-var zH = {
+var DW = {
notify() {},
get: () => []
};
-function Dce(e, t) {
- let n, r = zH, i = 0, a = !1;
+function OW(e, t) {
+ let n, r = DW, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -43279,10 +46205,10 @@ function Dce(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Ece());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = EW());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = zH);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = DW);
}
function f() {
a || (a = !0, u());
@@ -43301,44 +46227,44 @@ function Dce(e, t) {
};
return m;
}
-var Oce = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, kce = typeof navigator < "u" && navigator.product === "ReactNative", Ace = Oce || kce ? E.useLayoutEffect : E.useEffect;
-function BH(e, t) {
+var kW = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, AW = typeof navigator < "u" && navigator.product === "ReactNative", jW = kW || AW ? D.useLayoutEffect : D.useEffect;
+function MW(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function jce(e, t) {
- if (BH(e, t)) return !0;
+function NW(e, t) {
+ if (MW(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]) || !BH(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !MW(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var Mce = /* @__PURE__ */ Symbol.for("react-redux-context"), Nce = typeof globalThis < "u" ? globalThis : {};
-function Pce() {
- if (!E.createContext) return {};
- let e = Nce[Mce] ??= /* @__PURE__ */ new Map(), t = e.get(E.createContext);
- return t || (t = E.createContext(null), e.set(E.createContext, t)), t;
+var PW = /* @__PURE__ */ Symbol.for("react-redux-context"), FW = typeof globalThis < "u" ? globalThis : {};
+function IW() {
+ if (!D.createContext) return {};
+ let e = FW[PW] ??= /* @__PURE__ */ new Map(), t = e.get(D.createContext);
+ return t || (t = D.createContext(null), e.set(D.createContext, t)), t;
}
-var Fce = /* @__PURE__ */ Pce();
-function Ice(e) {
- let { children: t, context: n, serverState: r, store: i } = e, a = E.useMemo(() => {
- let e = Dce(i);
+var LW = /* @__PURE__ */ IW();
+function RW(e) {
+ let { children: t, context: n, serverState: r, store: i } = e, a = D.useMemo(() => {
+ let e = OW(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
- }, [i, r]), o = E.useMemo(() => i.getState(), [i]);
- Ace(() => {
+ }, [i, r]), o = D.useMemo(() => i.getState(), [i]);
+ jW(() => {
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 || Fce;
- return /* @__PURE__ */ E.createElement(s.Provider, { value: a }, t);
+ let s = n || LW;
+ return /* @__PURE__ */ D.createElement(s.Provider, { value: a }, t);
}
-var Lce = Ice, Rce = /* @__PURE__ */ new Set([
+var zW = RW, BW = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -43361,29 +46287,29 @@ var Lce = Ice, Rce = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function zce(e, t) {
+function VW(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function VH(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Rce.has(n)) {
+function HW(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (BW.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!jce(e[n], t[n])) return !1;
- } else if (!zce(e[n], t[n])) return !1;
+ if (!NW(e[n], t[n])) return !1;
+ } else if (!VW(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var Bce = ["contextPayload"];
-function HH() {
- return HH = Object.assign ? Object.assign.bind() : function(e) {
+var UW = ["contextPayload"];
+function WW() {
+ return WW = 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;
- }, HH.apply(null, arguments);
+ }, WW.apply(null, arguments);
}
-function UH(e, t) {
+function GW(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -43393,30 +46319,30 @@ function UH(e, t) {
}
return n;
}
-function WH(e) {
+function KW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UH(Object(n), !0).forEach(function(t) {
- Vce(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UH(Object(n)).forEach(function(t) {
+ t % 2 ? GW(Object(n), !0).forEach(function(t) {
+ qW(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vce(e, t, n) {
- return (t = Hce(t)) in e ? Object.defineProperty(e, t, {
+function qW(e, t, n) {
+ return (t = JW(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hce(e) {
- var t = Uce(e, "string");
+function JW(e) {
+ var t = YW(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Uce(e, t) {
+function YW(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43426,16 +46352,16 @@ function Uce(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function GH(e, t) {
+function XW(e, t) {
if (e == null) return {};
- var n, r, i = KH(e, t);
+ var n, r, i = ZW(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 KH(e, t) {
+function ZW(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -43444,36 +46370,36 @@ function KH(e, t) {
}
return n;
}
-function qH(e) {
+function QW(e) {
return e.value;
}
-function JH(e) {
- var { contextPayload: t } = e, n = GH(e, Bce), r = FR(t, e.payloadUniqBy, qH), i = WH(WH({}, n), {}, { payload: r });
- return /*#__PURE__*/ E.isValidElement(e.content) ? /*#__PURE__*/ E.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ E.createElement(e.content, i) : /*#__PURE__*/ E.createElement(_ae, i);
+function $W(e) {
+ var { contextPayload: t } = e, n = XW(e, UW), r = Nz(t, e.payloadUniqBy, QW), i = KW(KW({}, n), {}, { payload: r });
+ return /*#__PURE__*/ D.isValidElement(e.content) ? /*#__PURE__*/ D.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ D.createElement(e.content, i) : /*#__PURE__*/ D.createElement(nle, i);
}
-function YH(e, t, n, r, i, a) {
+function eG(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 }), WH(WH({}, 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 }), KW(KW({}, l), u);
}
-function XH(e) {
- var t = LR();
- return (0, E.useEffect)(() => {
- t(Sce(e));
+function tG(e) {
+ var t = Fz();
+ return (0, D.useEffect)(() => {
+ t(yW(e));
}, [t, e]), null;
}
-function ZH(e) {
- var t = LR();
- return (0, E.useEffect)(() => (t(FH(e)), () => {
- t(FH({
+function nG(e) {
+ var t = Fz();
+ return (0, D.useEffect)(() => (t(vW(e)), () => {
+ t(vW({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function QH(e, t, n, r) {
+function rG(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var $H = {
+var iG = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -43481,49 +46407,49 @@ var $H = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function eU(e) {
- var t = uR(e, $H), n = Doe(), r = iI(), i = uce(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = JR([n]), d = BV(), f = VV();
+function aG(e) {
+ var t = cz(e, iG), n = fue(), r = Xse(), i = pU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Kz([n]), d = dU(), f = fU();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = QH(t.layout, o, a, p), h = c ? s : WH(WH({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = rG(t.layout, o, a, p), h = c ? s : KW(KW({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, YH(s, t, i, d, f, l)), s), g = c ?? r;
+ }, eG(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
- var _ = /*#__PURE__*/ E.createElement("div", {
+ var _ = /*#__PURE__*/ D.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ E.createElement(XH, {
+ }, /*#__PURE__*/ D.createElement(tG, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ E.createElement(ZH, {
+ }), !c && /*#__PURE__*/ D.createElement(nG, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ E.createElement(JH, HH({}, t, m, {
+ }), /*#__PURE__*/ D.createElement($W, WW({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
contextPayload: n
})));
- return /*#__PURE__*/ (0, Zm.createPortal)(_, g);
+ return /*#__PURE__*/ (0, nh.createPortal)(_, g);
}
-var tU = /*#__PURE__*/ E.memo(eU, VH);
-tU.displayName = "Legend";
+var oG = /*#__PURE__*/ D.memo(aG, HW);
+oG.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function nU() {
- return nU = Object.assign ? Object.assign.bind() : function(e) {
+function sG() {
+ return sG = 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;
- }, nU.apply(null, arguments);
+ }, sG.apply(null, arguments);
}
-function rU(e, t) {
+function cG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -43533,30 +46459,30 @@ function rU(e, t) {
}
return n;
}
-function iU(e) {
+function lG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? rU(Object(n), !0).forEach(function(t) {
- aU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rU(Object(n)).forEach(function(t) {
+ t % 2 ? cG(Object(n), !0).forEach(function(t) {
+ uG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aU(e, t, n) {
- return (t = oU(t)) in e ? Object.defineProperty(e, t, {
+function uG(e, t, n) {
+ return (t = dG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oU(e) {
- var t = sU(e, "string");
+function dG(e) {
+ var t = fG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sU(e, t) {
+function fG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43566,10 +46492,10 @@ function sU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cU(e) {
- return Array.isArray(e) && WL(e[0]) && WL(e[1]) ? e.join(" ~ ") : e;
+function pG(e) {
+ return Array.isArray(e) && UR(e[0]) && UR(e[1]) ? e.join(" ~ ") : e;
}
-var lU = {
+var mG = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -43587,61 +46513,61 @@ var lU = {
labelStyle: {},
accessibilityLayer: !1
};
-function uU(e, t) {
- return t == null ? e : GR(e, t);
+function hG(e, t) {
+ return t == null ? e : Uz(e, t);
}
-var dU = (e) => {
- var { separator: t = lU.separator, contentStyle: n, itemStyle: r, labelStyle: i = lU.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = lU.accessibilityLayer } = e, p = () => {
+var gG = (e) => {
+ var { separator: t = mG.separator, contentStyle: n, itemStyle: r, labelStyle: i = mG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = mG.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = uU(a, s).map((e, n) => {
+ }, n = hG(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || cU, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || pG, { 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 = iU(iU({}, lU.itemStyle), {}, { color: e.color || lU.itemStyle.color }, r);
- return /*#__PURE__*/ E.createElement("li", {
+ var f = lG(lG({}, mG.itemStyle), {}, { color: e.color || mG.itemStyle.color }, r);
+ return /*#__PURE__*/ D.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, WL(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, WL(u) ? /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ E.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, UR(u) ? /*#__PURE__*/ D.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, UR(u) ? /*#__PURE__*/ D.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ D.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ D.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
- return /*#__PURE__*/ E.createElement("ul", {
+ return /*#__PURE__*/ D.createElement("ul", {
className: "recharts-tooltip-item-list",
style: e
}, n);
}
return null;
- }, m = iU(iU({}, lU.contentStyle), n), h = iU({ margin: 0 }, i), g = !ZL(u), _ = g ? u : "", v = Sm("recharts-default-tooltip", c), y = Sm("recharts-tooltip-label", l);
+ }, m = lG(lG({}, mG.contentStyle), n), h = lG({ margin: 0 }, i), g = !YR(u), _ = g ? u : "", v = Dm("recharts-default-tooltip", c), y = Dm("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ E.createElement("div", nU({
+ return /*#__PURE__*/ D.createElement("div", sG({
className: v,
style: m
- }, b), /*#__PURE__*/ E.createElement("p", {
+ }, b), /*#__PURE__*/ D.createElement("p", {
className: y,
style: h
- }, /*#__PURE__*/ E.isValidElement(_) ? _ : `${_}`), p());
-}, fU = "recharts-tooltip-wrapper", pU = { visibility: "hidden" };
-function mU(e) {
+ }, /*#__PURE__*/ D.isValidElement(_) ? _ : `${_}`), p());
+}, _G = "recharts-tooltip-wrapper", vG = { visibility: "hidden" };
+function yG(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Sm(fU, {
- [`${fU}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${fU}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${fU}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${fU}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Dm(_G, {
+ [`${_G}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${_G}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${_G}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${_G}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function hU(e) {
+function bG(e) {
var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;
if (a && Z(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
@@ -43649,13 +46575,13 @@ function hU(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 gU(e) {
+function xG(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function _U(e) {
+function SG(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 = hU({
+ return s.height > 0 && s.width > 0 && n ? (d = bG({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -43665,7 +46591,7 @@ function _U(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = hU({
+ }), f = bG({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -43675,28 +46601,28 @@ function _U(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = gU({
+ }), u = xG({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = pU, {
+ })) : u = vG, {
cssProperties: u,
- cssClasses: mU({
+ cssClasses: yG({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var vU = {
+var CG = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function yU() {
- var [e, t] = (0, E.useState)(() => vU.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
- return (0, E.useEffect)(() => {
+function wG() {
+ var [e, t] = (0, D.useState)(() => CG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+ return (0, D.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
t(e.matches);
@@ -43709,7 +46635,7 @@ function yU() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function bU(e, t) {
+function TG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -43719,30 +46645,30 @@ function bU(e, t) {
}
return n;
}
-function xU(e) {
+function EG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? bU(Object(n), !0).forEach(function(t) {
- SU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bU(Object(n)).forEach(function(t) {
+ t % 2 ? TG(Object(n), !0).forEach(function(t) {
+ DG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SU(e, t, n) {
- return (t = CU(t)) in e ? Object.defineProperty(e, t, {
+function DG(e, t, n) {
+ return (t = OG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CU(e) {
- var t = wU(e, "string");
+function OG(e) {
+ var t = kG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wU(e, t) {
+function kG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43752,18 +46678,18 @@ function wU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function TU(e) {
+function AG(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function EU(e) {
- var t = yU(), [n, r] = E.useState(() => ({
+function jG(e) {
+ var t = wG(), [n, r] = D.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
y: 0
}
}));
- E.useEffect(() => {
+ D.useEffect(() => {
var t = (t) => {
t.key === "Escape" && r({
dismissed: !0,
@@ -43776,8 +46702,8 @@ function EU(e) {
return document.addEventListener("keydown", t), () => {
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(xU(xU({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = _U({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(EG(EG({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = SG({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -43790,7 +46716,7 @@ function EU(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = xU(xU({}, e.hasPortalFromProps ? {} : xU(xU({ transition: TU({
+ }), o = EG(EG({}, e.hasPortalFromProps ? {} : EG(EG({ transition: AG({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -43802,7 +46728,7 @@ function EU(e) {
top: 0,
left: 0
})), {}, { visibility: !n.dismissed && e.active && e.hasPayload ? "visible" : "hidden" }, e.wrapperStyle);
- return /*#__PURE__*/ E.createElement("div", {
+ return /*#__PURE__*/ D.createElement("div", {
xmlns: "http://www.w3.org/1999/xhtml",
tabIndex: -1,
className: i,
@@ -43810,19 +46736,19 @@ function EU(e) {
ref: e.innerRef
}, e.children);
}
-var DU = /*#__PURE__*/ E.memo(EU), OU = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var MG = /*#__PURE__*/ D.memo(jG), NG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function kU() {
- return kU = Object.assign ? Object.assign.bind() : function(e) {
+function PG() {
+ return PG = 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;
- }, kU.apply(null, arguments);
+ }, PG.apply(null, arguments);
}
-function AU(e, t) {
+function FG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -43832,30 +46758,30 @@ function AU(e, t) {
}
return n;
}
-function jU(e) {
+function IG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AU(Object(n), !0).forEach(function(t) {
- MU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AU(Object(n)).forEach(function(t) {
+ t % 2 ? FG(Object(n), !0).forEach(function(t) {
+ LG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MU(e, t, n) {
- return (t = NU(t)) in e ? Object.defineProperty(e, t, {
+function LG(e, t, n) {
+ return (t = RG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NU(e) {
- var t = PU(e, "string");
+function RG(e) {
+ var t = zG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PU(e, t) {
+function zG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43865,40 +46791,40 @@ function PU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var FU = {
- curveBasisClosed: $I,
- curveBasisOpen: tL,
- curveBasis: ZI,
- curveBumpX: DI,
- curveBumpY: OI,
- curveLinearClosed: rL,
- curveLinear: xI,
- curveMonotoneX: dL,
- curveMonotoneY: fL,
- curveNatural: hL,
- curveStep: _L,
- curveStepAfter: yL,
- curveStepBefore: vL
-}, IU = (e) => ZB(e.x) && ZB(e.y), LU = (e) => e.base != null && IU(e.base) && IU(e), RU = (e) => e.x, zU = (e) => e.y, BU = (e, t) => {
+var BG = {
+ curveBasisClosed: mce,
+ curveBasisOpen: hce,
+ curveBasis: pce,
+ curveBumpX: $se,
+ curveBumpY: ece,
+ curveLinearClosed: gce,
+ curveLinear: eR,
+ curveMonotoneX: _ce,
+ curveMonotoneY: vce,
+ curveNatural: yce,
+ curveStep: bce,
+ curveStepAfter: Sce,
+ curveStepBefore: xce
+}, VG = (e) => YV(e.x) && YV(e.y), HG = (e) => e.base != null && VG(e.base) && VG(e), UG = (e) => e.x, WG = (e) => e.y, GG = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${QL(e)}`;
+ var n = `curve${XR(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = FU[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = BG[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return FU[n] || xI;
-}, VU = {
+ return BG[n] || eR;
+}, KG = {
connectNulls: !1,
type: "linear"
-}, HU = (e) => {
- var { type: t = VU.type, points: n = [], baseLine: r, layout: i, connectNulls: a = VU.connectNulls } = e, o = BU(t, i), s = a ? n.filter(IU) : n;
+}, qG = (e) => {
+ var { type: t = KG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = KG.connectNulls } = e, o = GG(t, i), s = a ? n.filter(VG) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => jU(jU({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? TI().y(zU).x1(RU).x0((e) => e.base.x) : TI().x(RU).y1(zU).y0((e) => e.base.y), c.defined(LU).curve(o)(a ? l.filter(LU) : l);
+ var c, l = n.map((e, t) => IG(IG({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? iR().y(WG).x1(UG).x0((e) => e.base.x) : iR().x(UG).y1(WG).y0((e) => e.base.y), c.defined(HG).curve(o)(a ? l.filter(HG) : l);
}
- return (i === "vertical" && Z(r) ? TI().y(zU).x1(RU).x0(r) : Z(r) ? TI().x(RU).y1(zU).y0(r) : wI().x(RU).y(zU)).defined(IU).curve(o)(s);
-}, UU = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = UV();
+ return (i === "vertical" && Z(r) ? iR().y(WG).x1(UG).x0(r) : Z(r) ? iR().x(UG).y1(WG).y0(r) : rR().x(UG).y(WG)).defined(VG).curve(o)(s);
+}, JG = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = hU();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -43906,13 +46832,13 @@ var FU = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? HU(o) : r;
- return /*#__PURE__*/ E.createElement("path", kU({}, UF(e), sR(e), {
- className: Sm("recharts-curve", t),
+ }, s = n && n.length ? qG(o) : r;
+ return /*#__PURE__*/ D.createElement("path", PG({}, ML(e), az(e), {
+ className: Dm("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, WU = [
+}, YG = [
"x",
"y",
"top",
@@ -43921,16 +46847,16 @@ var FU = {
"height",
"className"
];
-function GU() {
- return GU = Object.assign ? Object.assign.bind() : function(e) {
+function XG() {
+ return XG = 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;
- }, GU.apply(null, arguments);
+ }, XG.apply(null, arguments);
}
-function KU(e, t) {
+function ZG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -43940,30 +46866,30 @@ function KU(e, t) {
}
return n;
}
-function qU(e) {
+function QG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? KU(Object(n), !0).forEach(function(t) {
- JU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KU(Object(n)).forEach(function(t) {
+ t % 2 ? ZG(Object(n), !0).forEach(function(t) {
+ $G(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JU(e, t, n) {
- return (t = YU(t)) in e ? Object.defineProperty(e, t, {
+function $G(e, t, n) {
+ return (t = eK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YU(e) {
- var t = XU(e, "string");
+function eK(e) {
+ var t = tK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XU(e, t) {
+function tK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43973,16 +46899,16 @@ function XU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ZU(e, t) {
+function nK(e, t) {
if (e == null) return {};
- var n, r, i = QU(e, t);
+ var n, r, i = rK(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 QU(e, t) {
+function rK(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -43991,8 +46917,8 @@ function QU(e, t) {
}
return n;
}
-var $U = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, eW = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = ZU(e, WU), l = qU({
+var iK = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, aK = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = nK(e, YG), l = QG({
x: t,
y: n,
top: r,
@@ -44000,14 +46926,14 @@ var $U = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, eW = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ E.createElement("path", GU({}, GF(l), {
- className: Sm("recharts-cross", s),
- d: $U(t, n, a, o, r, i)
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ D.createElement("path", XG({}, PL(l), {
+ className: Dm("recharts-cross", s),
+ d: iK(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function tW(e, t, n, r) {
+function oK(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -44020,7 +46946,7 @@ function tW(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function nW(e, t) {
+function sK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -44030,30 +46956,30 @@ function nW(e, t) {
}
return n;
}
-function rW(e) {
+function cK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nW(Object(n), !0).forEach(function(t) {
- iW(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nW(Object(n)).forEach(function(t) {
+ t % 2 ? sK(Object(n), !0).forEach(function(t) {
+ lK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iW(e, t, n) {
- return (t = aW(t)) in e ? Object.defineProperty(e, t, {
+function lK(e, t, n) {
+ return (t = uK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aW(e) {
- var t = oW(e, "string");
+function uK(e) {
+ var t = dK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oW(e, t) {
+function dK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44063,10 +46989,10 @@ function oW(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var sW = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), cW = (e, t, n) => e.map((e) => `${sW(e)} ${t}ms ${n}`).join(","), lW = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), uW = (e, t) => Object.keys(t).reduce((n, r) => rW(rW({}, n), {}, { [r]: e(r, t[r]) }), {});
+var fK = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), pK = (e, t, n) => e.map((e) => `${fK(e)} ${t}ms ${n}`).join(","), mK = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), hK = (e, t) => Object.keys(t).reduce((n, r) => cK(cK({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function dW(e, t) {
+function gK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -44076,30 +47002,30 @@ function dW(e, t) {
}
return n;
}
-function fW(e) {
+function _K(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dW(Object(n), !0).forEach(function(t) {
- pW(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dW(Object(n)).forEach(function(t) {
+ t % 2 ? gK(Object(n), !0).forEach(function(t) {
+ vK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pW(e, t, n) {
- return (t = mW(t)) in e ? Object.defineProperty(e, t, {
+function vK(e, t, n) {
+ return (t = yK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mW(e) {
- var t = hW(e, "string");
+function yK(e) {
+ var t = bK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hW(e, t) {
+function bK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44109,51 +47035,51 @@ function hW(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gW = (e, t, n) => e + (t - e) * n, _W = (e) => {
+var xK = (e, t, n) => e + (t - e) * n, SK = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, vW = (e, t, n) => {
- var r = uW((t, n) => {
- if (_W(n)) {
+}, CK = (e, t, n) => {
+ var r = hK((t, n) => {
+ if (SK(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return fW(fW({}, n), {}, {
+ return _K(_K({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? uW((e, t) => _W(t) && r[e] != null ? fW(fW({}, t), {}, {
- velocity: gW(t.velocity, r[e].velocity, n),
- from: gW(t.from, r[e].from, n)
- }) : t, t) : vW(e, r, n - 1);
+ return n < 1 ? hK((e, t) => SK(t) && r[e] != null ? _K(_K({}, t), {}, {
+ velocity: xK(t.velocity, r[e].velocity, n),
+ from: xK(t.from, r[e].from, n)
+ }) : t, t) : CK(e, r, n - 1);
};
-function yW(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => fW(fW({}, n), {}, { [r]: {
+function wK(e, t, n, r, i, a) {
+ var o, s = r.reduce((n, r) => _K(_K({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => uW((e, t) => t.from, s), l = () => !Object.values(s).filter(_W).length, u = null, d = (r) => {
+ } }), {}), c = () => hK((e, t) => t.from, s), l = () => !Object.values(s).filter(SK).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = vW(n, s, f), i(fW(fW(fW({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = CK(n, s, f), i(_K(_K(_K({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
(e = u) == null || e();
});
}
-function bW(e, t, n, r, i, a, o) {
+function TK(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 : fW(fW({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : _K(_K({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = uW((e, t) => gW(...t, n(d)), c);
- if (a(fW(fW(fW({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = hK((e, t) => xK(...t, n(d)), c);
+ if (a(_K(_K(_K({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = uW((e, t) => gW(...t, n(1)), c);
- a(fW(fW(fW({}, e), t), p));
+ var p = hK((e, t) => xK(...t, n(1)), c);
+ a(_K(_K(_K({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -44161,15 +47087,15 @@ function bW(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var xW = (e, t, n, r, i, a) => {
- var o = lW(e, t);
- return n == null ? () => (i(fW(fW({}, e), t)), () => {}) : n.isStepper === !0 ? yW(e, t, n, o, i, a) : bW(e, t, n, r, o, i, a);
-}, SW = (e, t) => [
+var EK = (e, t, n, r, i, a) => {
+ var o = mK(e, t);
+ return n == null ? () => (i(_K(_K({}, e), t)), () => {}) : n.isStepper === !0 ? wK(e, t, n, o, i, a) : TK(e, t, n, r, o, i, a);
+}, DK = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], CW = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), wW = (e, t) => (n) => CW(SW(e, t), n), TW = (e, t) => (n) => CW([...SW(e, t).map((e, t) => e * t).slice(1), 0], n), EW = (e) => {
+], OK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), kK = (e, t) => (n) => OK(DK(e, t), n), AK = (e, t) => (n) => OK([...DK(e, t).map((e, t) => e * t).slice(1), 0], n), jK = (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(",");
@@ -44181,7 +47107,7 @@ var xW = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, DW = function() {
+}, MK = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -44215,7 +47141,7 @@ var xW = (e, t, n, r, i, a) => {
1
];
default:
- var t = EW(e[0]);
+ var t = jK(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -44224,8 +47150,8 @@ var xW = (e, t, n, r, i, a) => {
1,
1
];
-}, OW = (e, t, n, r) => {
- var i = wW(e, n), a = wW(t, r), o = TW(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, NK = (e, t, n, r) => {
+ var i = kK(e, n), a = kK(t, r), o = AK(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);
@@ -44234,29 +47160,29 @@ var xW = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, kW = function() {
- return OW(...DW(...arguments));
-}, AW = function() {
+}, PK = function() {
+ return NK(...MK(...arguments));
+}, FK = 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;
-}, jW = (e) => {
+}, IK = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return kW(e);
- case "spring": return AW();
- default: if (e.split("(")[0] === "cubic-bezier") return kW(e);
+ case "linear": return PK(e);
+ case "spring": return FK();
+ default: if (e.split("(")[0] === "cubic-bezier") return PK(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function MW(e) {
+function LK(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -44287,7 +47213,7 @@ function MW(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var NW = class {
+var RK = 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));
@@ -44299,15 +47225,15 @@ var NW = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function PW() {
- return MW(new NW());
+function zK() {
+ return LK(new RK());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var FW = /*#__PURE__*/ (0, E.createContext)(PW);
-function IW(e, t) {
- var n = (0, E.useContext)(FW);
- return (0, E.useMemo)(() => t ?? n(e), [
+var BK = /*#__PURE__*/ (0, D.createContext)(zK);
+function VK(e, t) {
+ var n = (0, D.useContext)(BK);
+ return (0, D.useMemo)(() => t ?? n(e), [
e,
t,
n
@@ -44315,7 +47241,7 @@ function IW(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var LW = {
+var HK = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -44323,14 +47249,14 @@ var LW = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, RW = { t: 0 }, zW = { t: 1 };
-function BW(e) {
- var t = uR(e, LW), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = yU(), d = n === "auto" ? !vU.isSsr && !u : n, f = IW(t.animationId, t.animationManager), [p, m] = (0, E.useState)(d ? RW : zW), h = (0, E.useRef)(null);
- return (0, E.useEffect)(() => {
- d || m(zW);
- }, [d]), (0, E.useEffect)(() => {
- if (!d || !r) return eR;
- var e = xW(RW, zW, jW(a), i, m, f.getTimeoutController());
+}, UK = { t: 0 }, WK = { t: 1 };
+function GK(e) {
+ var t = cz(e, HK), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = wG(), d = n === "auto" ? !CG.isSsr && !u : n, f = VK(t.animationId, t.animationManager), [p, m] = (0, D.useState)(d ? UK : WK), h = (0, D.useRef)(null);
+ return (0, D.useEffect)(() => {
+ d || m(WK);
+ }, [d]), (0, D.useEffect)(() => {
+ if (!d || !r) return QR;
+ var e = EK(UK, WK, IK(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -44355,14 +47281,14 @@ function BW(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function VW(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, E.useRef)(KL(t)), r = (0, E.useRef)(e);
- return r.current !== e && (n.current = KL(t), r.current = e), n.current;
+function KK(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, D.useRef)(WR(t)), r = (0, D.useRef)(e);
+ return r.current !== e && (n.current = WR(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var HW = ["radius"], UW = ["radius"], WW, GW, KW, qW, JW, YW, XW, ZW, QW, $W;
-function eG(e, t) {
+var qK = ["radius"], JK = ["radius"], YK, XK, ZK, QK, $K, eq, tq, nq, rq, iq;
+function aq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -44372,30 +47298,30 @@ function eG(e, t) {
}
return n;
}
-function tG(e) {
+function oq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eG(Object(n), !0).forEach(function(t) {
- nG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eG(Object(n)).forEach(function(t) {
+ t % 2 ? aq(Object(n), !0).forEach(function(t) {
+ sq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nG(e, t, n) {
- return (t = rG(t)) in e ? Object.defineProperty(e, t, {
+function sq(e, t, n) {
+ return (t = cq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rG(e) {
- var t = iG(e, "string");
+function cq(e) {
+ var t = lq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iG(e, t) {
+function lq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44405,25 +47331,25 @@ function iG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function aG() {
- return aG = Object.assign ? Object.assign.bind() : function(e) {
+function uq() {
+ return uq = 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;
- }, aG.apply(null, arguments);
+ }, uq.apply(null, arguments);
}
-function oG(e, t) {
+function dq(e, t) {
if (e == null) return {};
- var n, r, i = sG(e, t);
+ var n, r, i = fq(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 sG(e, t) {
+function fq(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -44432,11 +47358,11 @@ function sG(e, t) {
}
return n;
}
-function cG(e, t) {
+function pq(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var lG = (e, t, n, r, i) => {
- var a = zL(n), o = zL(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 mq = (e, t, n, r, i) => {
+ var a = RR(n), o = RR(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,
@@ -44447,44 +47373,44 @@ var lG = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = BL(WW ||= cG([
+ d = zR(YK ||= pq([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += BL(GW ||= cG([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += zR(XK ||= pq([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += BL(KW ||= cG([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += zR(ZK ||= pq([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += BL(qW ||= cG([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += zR(QK ||= pq([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += BL(JW ||= cG([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += zR($K ||= pq([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += BL(YW ||= cG([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += zR(eq ||= pq([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += BL(XW ||= cG([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += zR(tq ||= pq([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += BL(ZW ||= cG([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += zR(nq ||= pq([
"A ",
",",
",0,0,",
@@ -44494,8 +47420,8 @@ var lG = (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 = BL(QW ||= cG(/* @__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 = BL($W ||= cG([
+ d = zR(rq ||= pq(/* @__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 = zR(iq ||= pq([
"M ",
",",
" h ",
@@ -44504,7 +47430,7 @@ var lG = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, uG = {
+}, hq = {
x: 0,
y: 0,
width: 0,
@@ -44515,15 +47441,15 @@ var lG = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, dG = (e) => {
- var t = uR(e, uG), n = (0, E.useRef)(null), [r, i] = (0, E.useState)(-1);
- (0, E.useEffect)(() => {
+}, gq = (e) => {
+ var t = cz(e, hq), n = (0, D.useRef)(null), [r, i] = (0, D.useState)(-1);
+ (0, D.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && i(e);
} catch {}
}, []);
- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, E.useRef)(s), _ = (0, E.useRef)(c), v = (0, E.useRef)(a), y = (0, E.useRef)(o), b = VW((0, E.useMemo)(() => ({
+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, D.useRef)(s), _ = (0, D.useRef)(c), v = (0, D.useRef)(a), y = (0, D.useRef)(o), b = KK((0, D.useMemo)(() => ({
x: a,
y: o,
width: s,
@@ -44537,21 +47463,21 @@ var lG = (e, t, n, r, i) => {
l
]), "rectangle-");
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
- var x = Sm("recharts-rectangle", u);
+ var x = Dm("recharts-rectangle", u);
if (!h) {
- var S = GF(t), { radius: C } = S, w = oG(S, HW);
- return /*#__PURE__*/ E.createElement("path", aG({}, w, {
- x: zL(a),
- y: zL(o),
- width: zL(s),
- height: zL(c),
+ var S = PL(t), { radius: C } = S, w = dq(S, qK);
+ return /*#__PURE__*/ D.createElement("path", uq({}, w, {
+ x: RR(a),
+ y: RR(o),
+ width: RR(s),
+ height: RR(c),
radius: typeof l == "number" ? l : void 0,
className: x,
- d: lG(a, o, s, c, l)
+ d: mq(a, o, s, c, l)
}));
}
- var T = g.current, D = _.current, O = v.current, k = y.current, A = `0px ${r === -1 ? 1 : r}px`, j = `${r}px ${r}px`, M = cW(["strokeDasharray"], f, typeof d == "string" ? d : uG.animationEasing);
- return /*#__PURE__*/ E.createElement(BW, {
+ var T = g.current, E = _.current, O = v.current, k = y.current, A = `0px ${r === -1 ? 1 : r}px`, j = `${r}px ${r}px`, M = pK(["strokeDasharray"], f, typeof d == "string" ? d : hq.animationEasing);
+ return /*#__PURE__*/ D.createElement(GK, {
animationId: b,
key: b,
canBegin: r > 0,
@@ -44560,24 +47486,24 @@ var lG = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = YL(T, s, e), i = YL(D, c, e), u = YL(O, a, e), d = YL(k, o, e);
+ var r = qR(T, s, e), i = qR(E, c, e), u = qR(O, a, e), d = qR(k, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: M,
strokeDasharray: j
- } : { strokeDasharray: A } : { strokeDasharray: j }, p = GF(t), { radius: h } = p, b = oG(p, UW);
- return /*#__PURE__*/ E.createElement("path", aG({}, b, {
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = PL(t), { radius: h } = p, b = dq(p, JK);
+ return /*#__PURE__*/ D.createElement("path", uq({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
- d: lG(u, d, r, i, l),
+ d: mq(u, d, r, i, l),
ref: n,
- style: tG(tG({}, f), t.style)
+ style: oq(oq({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function fG(e, t) {
+function _q(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -44587,30 +47513,30 @@ function fG(e, t) {
}
return n;
}
-function pG(e) {
+function vq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fG(Object(n), !0).forEach(function(t) {
- mG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fG(Object(n)).forEach(function(t) {
+ t % 2 ? _q(Object(n), !0).forEach(function(t) {
+ yq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _q(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mG(e, t, n) {
- return (t = hG(t)) in e ? Object.defineProperty(e, t, {
+function yq(e, t, n) {
+ return (t = bq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hG(e) {
- var t = gG(e, "string");
+function bq(e) {
+ var t = xq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gG(e, t) {
+function xq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44620,10 +47546,10 @@ function gG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _G = Math.PI / 180, vG = (e) => e * Math.PI / 180, yG = (e) => e * 180 / Math.PI, bG = (e, t, n, r) => ({
- x: e + Math.cos(-_G * r) * n,
- y: t + Math.sin(-_G * r) * n
-}), xG = function(e, t) {
+var Sq = Math.PI / 180, Cq = (e) => e * Math.PI / 180, wq = (e) => e * 180 / Math.PI, Tq = (e, t, n, r) => ({
+ x: e + Math.cos(-Sq * r) * n,
+ y: t + Math.sin(-Sq * r) * n
+}), Eq = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -44634,11 +47560,11 @@ var _G = Math.PI / 180, vG = (e) => e * Math.PI / 180, yG = (e) => e * 180 / Mat
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, SG = (e, t) => {
+}, Dq = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, CG = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = SG({
+}, Oq = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = Dq({
x: n,
y: r
}, {
@@ -44652,25 +47578,25 @@ var _G = Math.PI / 180, vG = (e) => e * Math.PI / 180, yG = (e) => e * 180 / Mat
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: yG(c),
+ angle: wq(c),
angleInRadian: c
};
-}, wG = (e) => {
+}, kq = (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
};
-}, TG = (e, t) => {
+}, Aq = (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;
-}, EG = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = CG({
+}, jq = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = Oq({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = wG(t), u = a, d;
+ var { startAngle: c, endAngle: l } = kq(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -44680,17 +47606,17 @@ var _G = Math.PI / 180, vG = (e) => e * Math.PI / 180, yG = (e) => e * 180 / Mat
for (; u < l;) u += 360;
d = u >= l && u <= c;
}
- return d ? pG(pG({}, t), {}, {
+ return d ? vq(vq({}, t), {}, {
radius: i,
- angle: TG(u, t)
+ angle: Aq(u, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function DG(e) {
+function Mq(e) {
var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;
return {
- points: [bG(t, n, r, i), bG(t, n, r, a)],
+ points: [Tq(t, n, r, i), Tq(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -44700,29 +47626,29 @@ function DG(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var OG, kG, AG, jG, MG, NG, PG;
-function FG() {
- return FG = Object.assign ? Object.assign.bind() : function(e) {
+var Nq, Pq, Fq, Iq, Lq, Rq, zq;
+function Bq() {
+ return Bq = 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;
- }, FG.apply(null, arguments);
+ }, Bq.apply(null, arguments);
}
-function IG(e, t) {
+function Vq(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (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) / _G, d = c ? i : i + a * u, f = bG(t, n, l, d), p = bG(t, n, r, d), m = c ? i - a * u : i;
+var Hq = (e, t) => BR(t - e) * Math.min(Math.abs(t - e), 359.999), Uq = (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) / Sq, d = c ? i : i + a * u, f = Tq(t, n, l, d), p = Tq(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: bG(t, n, l * Math.cos(u * _G), m),
+ lineTangency: Tq(t, n, l * Math.cos(u * Sq), m),
theta: u
};
-}, zG = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = LG(a, o), c = a + s, l = bG(t, n, i, a), u = bG(t, n, i, c), d = BL(OG ||= IG([
+}, Wq = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = Hq(a, o), c = a + s, l = Tq(t, n, i, a), u = Tq(t, n, i, c), d = zR(Nq ||= Vq([
"M ",
",",
"\n A ",
@@ -44734,8 +47660,8 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = bG(t, n, r, a), p = bG(t, n, r, c);
- d += BL(kG ||= IG([
+ var f = Tq(t, n, r, a), p = Tq(t, n, r, c);
+ d += zR(Pq ||= Vq([
"L ",
",",
"\n A ",
@@ -44746,14 +47672,14 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += BL(AG ||= IG([
+ } else d += zR(Fq ||= Vq([
"L ",
",",
" Z"
]), t, n);
return d;
-}, BG = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = VL(l - c), { circleTangency: d, lineTangency: f, theta: p } = RG({
+}, Gq = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = BR(l - c), { circleTangency: d, lineTangency: f, theta: p } = Uq({
cx: t,
cy: n,
radius: i,
@@ -44761,7 +47687,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: m, lineTangency: h, theta: g } = RG({
+ }), { circleTangency: m, lineTangency: h, theta: g } = Uq({
cx: t,
cy: n,
radius: i,
@@ -44770,7 +47696,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? BL(jG ||= IG([
+ if (_ < 0) return o ? zR(Iq ||= Vq([
"M ",
",",
"\n a",
@@ -44780,7 +47706,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
",",
",0,0,1,",
",0\n "
- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : zG({
+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : Wq({
cx: t,
cy: n,
innerRadius: r,
@@ -44788,7 +47714,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
startAngle: c,
endAngle: l
});
- var v = BL(MG ||= IG([
+ var v = zR(Lq ||= Vq([
"M ",
",",
"\n A",
@@ -44810,7 +47736,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
"\n "
]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);
if (r > 0) {
- var { circleTangency: y, lineTangency: b, theta: x } = RG({
+ var { circleTangency: y, lineTangency: b, theta: x } = Uq({
cx: t,
cy: n,
radius: r,
@@ -44819,7 +47745,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: S, lineTangency: C, theta: w } = RG({
+ }), { circleTangency: S, lineTangency: C, theta: w } = Uq({
cx: t,
cy: n,
radius: r,
@@ -44830,7 +47756,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (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 += BL(NG ||= IG([
+ v += zR(Rq ||= Vq([
"L",
",",
"\n A",
@@ -44851,13 +47777,13 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (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 += BL(PG ||= IG([
+ } else v += zR(zq ||= Vq([
"L",
",",
"Z"
]), t, n);
return v;
-}, VG = {
+}, Kq = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -44867,10 +47793,10 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, HG = (e) => {
- var t = uR(e, VG), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+}, qq = (e) => {
+ var t = cz(e, Kq), { 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 = Sm("recharts-sector", d), p = a - i, m = qL(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? BG({
+ var f = Dm("recharts-sector", d), p = a - i, m = GR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? Gq({
cx: n,
cy: r,
innerRadius: i,
@@ -44880,7 +47806,7 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : zG({
+ }) : Wq({
cx: n,
cy: r,
innerRadius: i,
@@ -44888,14 +47814,14 @@ var LG = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 359.999), RG = (e) => {
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ E.createElement("path", FG({}, GF(t), {
+ return /*#__PURE__*/ D.createElement("path", Bq({}, PL(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function UG(e, t, n) {
+function Jq(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -44910,9 +47836,9 @@ function UG(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (oR(t)) {
+ if (iz(t)) {
if (e === "centric") {
- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = bG(r, i, a, s), l = bG(r, i, o, s);
+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = Tq(r, i, a, s), l = Tq(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -44921,30 +47847,30 @@ function UG(e, t, n) {
y: l.y
}];
}
- return DG(t);
+ return Mq(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function WG(e) {
- return ML(e) ? NaN : Number(e);
+function Yq(e) {
+ return PR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function GG(e) {
- return e ? (e = WG(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function Xq(e) {
+ return e ? (e = Yq(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 KG(e, t, n) {
- n && typeof n != "number" && UR(e, t, n) && (t = n = void 0), e = GG(e), t === void 0 ? (t = e, e = 0) : t = GG(t), n = n === void 0 ? e < t ? 1 : -1 : GG(n);
+function Zq(e, t, n) {
+ n && typeof n != "number" && Vz(e, t, n) && (t = n = void 0), e = Xq(e), t === void 0 ? (t = e, e = 0) : t = Xq(t), n = n === void 0 ? e < t ? 1 : -1 : Xq(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;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var qG = (e) => e.chartData, JG = $([qG], (e) => {
+var Qq = (e) => e.chartData, $q = $([Qq], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -44952,35 +47878,35 @@ var qG = (e) => e.chartData, JG = $([qG], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), YG = (e, t, n, r) => r ? JG(e) : qG(e), XG = (e, t, n) => n ? JG(e) : qG(e);
+}), eJ = (e, t, n, r) => r ? $q(e) : Qq(e), tJ = (e, t, n) => n ? $q(e) : Qq(e);
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function ZG(e) {
+function nJ(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (ZB(t) && ZB(n)) return !0;
+ if (YV(t) && YV(n)) return !0;
}
return !1;
}
-function QG(e, t, n) {
+function rJ(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function $G(e, t) {
+function iJ(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (ZB(n)) i = n;
+ if (YV(n)) i = n;
else if (typeof n == "function") return;
- if (ZB(r)) a = r;
+ if (YV(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
- if (ZG(o)) return o;
+ if (nJ(o)) return o;
}
}
-function eK(e, t, n) {
+function aJ(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (ZG(r)) return QG(r, t, n);
+ if (nJ(r)) return rJ(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var [i, a] = e, o, s;
@@ -44989,8 +47915,8 @@ function eK(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && uV.test(i)) {
- var c = uV.exec(i);
+ else if (typeof i == "string" && cH.test(i)) {
+ var c = cH.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -45002,8 +47928,8 @@ function eK(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && dV.test(a)) {
- var u = dV.exec(a);
+ else if (typeof a == "string" && lH.test(a)) {
+ var u = lH.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -45011,13 +47937,13 @@ function eK(e, t, n) {
}
} else s = t?.[1];
var f = [o, s];
- if (ZG(f)) return t == null ? f : QG(f, t, n);
+ if (nJ(f)) return t == null ? f : rJ(f, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var tK = /* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {
+var oJ = /* @__PURE__ */ x((/* @__PURE__ */ v(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -45393,75 +48319,75 @@ var tK = /* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function nK(e) {
- return e === 0 ? 1 : Math.floor(new tK.default(e).abs().log(10).toNumber()) + 1;
+function sJ(e) {
+ return e === 0 ? 1 : Math.floor(new oJ.default(e).abs().log(10).toNumber()) + 1;
}
-function rK(e, t, n) {
- for (var r = new tK.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function cJ(e, t, n) {
+ for (var r = new oJ.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-var iK = (e) => {
+var lJ = (e) => {
var [t, n] = e, [r, i] = [t, n];
return t > n && ([r, i] = [n, t]), [r, i];
-}, aK = (e, t, n) => {
- if (e.lte(0)) return new tK.default(0);
- var r = nK(e.toNumber()), i = new tK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new tK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new tK.default(s.toNumber()) : new tK.default(Math.ceil(s.toNumber()));
-}, oK = (e, t, n) => {
- if (e.lte(0)) return new tK.default(0);
+}, uJ = (e, t, n) => {
+ if (e.lte(0)) return new oJ.default(0);
+ var r = sJ(e.toNumber()), i = new oJ.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new oJ.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new oJ.default(s.toNumber()) : new oJ.default(Math.ceil(s.toNumber()));
+}, dJ = (e, t, n) => {
+ if (e.lte(0)) return new oJ.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new tK.default(i).abs().log(10).toNumber()), o = new tK.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new oJ.default(i).abs().log(10).toNumber()), o = new oJ.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new tK.default(10).pow(l));
+ c %= r.length, o = o.mul(new oJ.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new tK.default(u).mul(o);
- return t ? d : new tK.default(Math.ceil(d.toNumber()));
-}, sK = (e, t, n) => {
- var r = new tK.default(1), i = new tK.default(e);
+ var u = r[c] ?? 1, d = new oJ.default(u).mul(o);
+ return t ? d : new oJ.default(Math.ceil(d.toNumber()));
+}, fJ = (e, t, n) => {
+ var r = new oJ.default(1), i = new oJ.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new tK.default(10).pow(nK(e) - 1), i = new tK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new tK.default(Math.floor(e)));
- } else e === 0 ? i = new tK.default(Math.floor((t - 1) / 2)) : n || (i = new tK.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new tK.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new oJ.default(10).pow(sJ(e) - 1), i = new oJ.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new oJ.default(Math.floor(e)));
+ } else e === 0 ? i = new oJ.default(Math.floor((t - 1) / 2)) : n || (i = new oJ.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new oJ.default(c - o).mul(r)).toNumber());
return s;
-}, cK = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : aK;
+}, pJ = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : uJ;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new tK.default(0),
- tickMin: new tK.default(0),
- tickMax: new tK.default(0)
- };
- var o = a(new tK.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new tK.default(0) : (s = new tK.default(e).add(t).div(2), s = s.sub(new tK.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new tK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? cK(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ step: new oJ.default(0),
+ tickMin: new oJ.default(0),
+ tickMax: new oJ.default(0)
+ };
+ var o = a(new oJ.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new oJ.default(0) : (s = new oJ.default(e).add(t).div(2), s = s.sub(new oJ.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new oJ.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? pJ(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new tK.default(c).mul(o)),
- tickMax: s.add(new tK.default(l).mul(o))
+ tickMin: s.sub(new oJ.default(c).mul(o)),
+ tickMax: s.add(new oJ.default(l).mul(o))
});
-}, lK = function(e) {
- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = iK([t, n]);
+}, mJ = function(e) {
+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = lJ([t, n]);
if (s === -Infinity || c === Infinity) {
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 sK(s, r, i);
- var { step: u, tickMin: d, tickMax: f } = cK(s, c, o, i, 0, a === "snap125" ? oK : aK), p = rK(d, f.add(new tK.default(.1).mul(u)), u);
+ if (s === c) return fJ(s, r, i);
+ var { step: u, tickMin: d, tickMax: f } = pJ(s, c, o, i, 0, a === "snap125" ? dJ : uJ), p = cJ(d, f.add(new oJ.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
-}, uK = function(e, t) {
- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = iK([n, r]);
+}, hJ = function(e, t) {
+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = lJ([n, r]);
if (o === -Infinity || s === Infinity) return [n, r];
if (o === s) return [o];
- var c = a === "snap125" ? oK : aK, l = Math.max(t, 2), u = c(new tK.default(s).sub(o).div(l - 1), i, 0), d = [...rK(new tK.default(o), new tK.default(s), u), s];
+ var c = a === "snap125" ? dJ : uJ, l = Math.max(t, 2), u = c(new oJ.default(s).sub(o).div(l - 1), i, 0), d = [...cJ(new oJ.default(o), new oJ.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, dK = (e) => e.rootProps.maxBarSize, fK = (e) => e.rootProps.barGap, pK = (e) => e.rootProps.barCategoryGap, mK = (e) => e.rootProps.barSize, hK = (e) => e.rootProps.stackOffset, gK = (e) => e.rootProps.reverseStackOrder, _K = (e) => e.options.chartName, vK = (e) => e.rootProps.syncId, yK = (e) => e.rootProps.syncMethod, bK = (e) => e.options.eventEmitter, xK = (e) => e.rootProps.baseValue, SK = {
+}, gJ = (e) => e.rootProps.maxBarSize, _J = (e) => e.rootProps.barGap, vJ = (e) => e.rootProps.barCategoryGap, yJ = (e) => e.rootProps.barSize, bJ = (e) => e.rootProps.stackOffset, xJ = (e) => e.rootProps.reverseStackOrder, SJ = (e) => e.options.chartName, CJ = (e) => e.rootProps.syncId, wJ = (e) => e.rootProps.syncMethod, TJ = (e) => e.options.eventEmitter, EJ = (e) => e.rootProps.baseValue, DJ = {
grid: -100,
barBackground: -50,
area: 100,
@@ -45474,7 +48400,7 @@ var iK = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, CK = {
+}, OJ = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -45495,8 +48421,8 @@ var iK = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: SK.axis
-}, wK = {
+ zIndex: DJ.axis
+}, kJ = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -45515,19 +48441,19 @@ var iK = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: SK.axis
-}, TK = (e, t) => {
+ zIndex: DJ.axis
+}, AJ = (e, t) => {
if (!(!e || !t)) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function EK(e, t, n) {
+function jJ(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return nV(e, t) ? "category" : "number";
+ if (e != null) return eH(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function DK(e, t) {
+function MJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -45537,30 +48463,30 @@ function DK(e, t) {
}
return n;
}
-function OK(e) {
+function NJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DK(Object(n), !0).forEach(function(t) {
- kK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DK(Object(n)).forEach(function(t) {
+ t % 2 ? MJ(Object(n), !0).forEach(function(t) {
+ PJ(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kK(e, t, n) {
- return (t = AK(t)) in e ? Object.defineProperty(e, t, {
+function PJ(e, t, n) {
+ return (t = FJ(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function AK(e) {
- var t = jK(e, "string");
+function FJ(e) {
+ var t = IJ(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jK(e, t) {
+function IJ(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -45570,81 +48496,81 @@ function jK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MK = {
- allowDataOverflow: CK.allowDataOverflow,
- allowDecimals: CK.allowDecimals,
+var LJ = {
+ allowDataOverflow: OJ.allowDataOverflow,
+ allowDecimals: OJ.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: CK.angleAxisId,
+ id: OJ.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: CK.reversed,
- scale: CK.scale,
- tick: CK.tick,
+ reversed: OJ.reversed,
+ scale: OJ.scale,
+ tick: OJ.tick,
tickCount: void 0,
ticks: void 0,
- type: CK.type,
+ type: OJ.type,
unit: void 0,
niceTicks: "auto"
-}, NK = {
- allowDataOverflow: wK.allowDataOverflow,
- allowDecimals: wK.allowDecimals,
- allowDuplicatedCategory: wK.allowDuplicatedCategory,
+}, RJ = {
+ allowDataOverflow: kJ.allowDataOverflow,
+ allowDecimals: kJ.allowDecimals,
+ allowDuplicatedCategory: kJ.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: wK.radiusAxisId,
- includeHidden: wK.includeHidden,
+ id: kJ.radiusAxisId,
+ includeHidden: kJ.includeHidden,
name: void 0,
- reversed: wK.reversed,
- scale: wK.scale,
- tick: wK.tick,
- tickCount: wK.tickCount,
+ reversed: kJ.reversed,
+ scale: kJ.scale,
+ tick: kJ.tick,
+ tickCount: kJ.tickCount,
ticks: void 0,
- type: wK.type,
+ type: kJ.type,
unit: void 0,
niceTicks: "auto"
-}, PK = $([(e, t) => {
+}, zJ = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, GV], (e, t) => {
+}, _U], (e, t) => {
if (e != null) return e;
- var n = EK(t, "angleAxis", MK.type) ?? "category";
- return OK(OK({}, MK), {}, { type: n });
-}), FK = $([(e, t) => e.polarAxis.radiusAxis[t], GV], (e, t) => {
+ var n = jJ(t, "angleAxis", LJ.type) ?? "category";
+ return NJ(NJ({}, LJ), {}, { type: n });
+}), BJ = $([(e, t) => e.polarAxis.radiusAxis[t], _U], (e, t) => {
if (e != null) return e;
- var n = EK(t, "radiusAxis", NK.type) ?? "category";
- return OK(OK({}, NK), {}, { type: n });
-}), IK = (e) => e.polarOptions, LK = $([
- hV,
- gV,
- SV
-], xG), RK = $([IK, LK], (e, t) => {
- if (e != null) return qL(e.innerRadius, t, 0);
-}), zK = $([IK, LK], (e, t) => {
- if (e != null) return qL(e.outerRadius, t, t * .8);
-}), BK = $([IK], (e) => {
+ var n = jJ(t, "radiusAxis", RJ.type) ?? "category";
+ return NJ(NJ({}, RJ), {}, { type: n });
+}), VJ = (e) => e.polarOptions, HJ = $([
+ pH,
+ mH,
+ AH
+], Eq), UJ = $([VJ, HJ], (e, t) => {
+ if (e != null) return GR(e.innerRadius, t, 0);
+}), WJ = $([VJ, HJ], (e, t) => {
+ if (e != null) return GR(e.outerRadius, t, t * .8);
+}), GJ = $([VJ], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), VK = $([PK, BK], TK), HK = $([
- LK,
- RK,
- zK
+}), KJ = $([zJ, GJ], AJ), qJ = $([
+ HJ,
+ UJ,
+ WJ
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), UK = $([FK, HK], TK), WK = $([
- HV,
- IK,
- RK,
- zK,
- hV,
- gV
+}), JJ = $([BJ, qJ], AJ), YJ = $([
+ mU,
+ VJ,
+ UJ,
+ WJ,
+ pH,
+ mH
], (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: qL(o, i, i / 2),
- cy: qL(s, a, a / 2),
+ cx: GR(o, i, i / 2),
+ cy: GR(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -45652,22 +48578,22 @@ var MK = {
clockWise: !1
};
}
-}), GK = (e, t) => t, KK = (e, t, n) => n;
+}), XJ = (e, t) => t, ZJ = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function qK(e) {
+function QJ(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function JK(e, t, n) {
+function $J(e, t, n) {
var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? r;
if (t != null && t.length !== 0) {
- var n = qK(e);
+ var n = QJ(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(tV(t, a, null)), c = tV(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String($V(t, a, null)), c = $V(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -45675,18 +48601,18 @@ function JK(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function YK(e) {
+function eY(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var XK = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var tY = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function ZK(e, t) {
+function nY(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function QK(e, t) {
+function rY(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -45695,13 +48621,13 @@ function QK(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var $K = (e) => {
- var t = HV(e);
+var iY = (e) => {
+ var t = mU(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, eq = (e) => e.tooltip.settings.axisId;
+}, aY = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function tq(e) {
+function oY(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -45742,13 +48668,13 @@ function tq(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var nq = (e, t) => {
+var sY = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!ZG(t)) {
+ if (!nJ(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- ZB(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ YV(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;
}
@@ -45758,14 +48684,14 @@ var nq = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function rq(e, t) {
+function cY(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function iq(e) {
+function lY(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = aq(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = uY(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -45791,15 +48717,15 @@ function iq(e) {
right: i
};
}
-function aq(e) {
- return (t, n) => rq(e(t), n);
+function uY(e) {
+ return (t, n) => cY(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function oq(e) {
+function dY(e) {
return e === null ? NaN : +e;
}
-function* sq(e, t) {
+function* fY(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -45808,52 +48734,52 @@ function* sq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var cq = iq(rq), lq = cq.right;
-cq.left, iq(oq).center;
+var pY = lY(cY), mY = pY.right;
+pY.left, lY(dY).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var uq = class extends Map {
- constructor(e, t = mq) {
+var hY = class extends Map {
+ constructor(e, t = yY) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(dq(this, e));
+ return super.get(gY(this, e));
}
has(e) {
- return super.has(dq(this, e));
+ return super.has(gY(this, e));
}
set(e, t) {
- return super.set(fq(this, e), t);
+ return super.set(_Y(this, e), t);
}
delete(e) {
- return super.delete(pq(this, e));
+ return super.delete(vY(this, e));
}
};
-function dq({ _intern: e, _key: t }, n) {
+function gY({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function fq({ _intern: e, _key: t }, n) {
+function _Y({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function pq({ _intern: e, _key: t }, n) {
+function vY({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function mq(e) {
+function yY(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var hq = Math.sqrt(50), gq = Math.sqrt(10), _q = Math.sqrt(2);
-function vq(e, t, n) {
+var bY = Math.sqrt(50), xY = Math.sqrt(10), SY = Math.sqrt(2);
+function CY(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = yq(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = wY(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -45864,17 +48790,17 @@ function vq(e, t, n) {
}
return r && o.reverse(), o;
}
-function yq(e, t, n) {
+function wY(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= hq ? 10 : a >= gq ? 5 : a >= _q ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= hq ? 10 : a >= gq ? 5 : a >= _q ? 2 : 1);
+ return i >= 0 ? (a >= bY ? 10 : a >= xY ? 5 : a >= SY ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= bY ? 10 : a >= xY ? 5 : a >= SY ? 2 : 1);
}
-function bq(e, t, n) {
+function TY(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= hq ? i *= 10 : a >= gq ? i *= 5 : a >= _q && (i *= 2), t < e ? -i : i;
+ return a >= bY ? i *= 10 : a >= xY ? i *= 5 : a >= SY && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function xq(e, t) {
+function EY(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -45885,7 +48811,7 @@ function xq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function Sq(e, t) {
+function DY(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -45896,36 +48822,36 @@ function Sq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function Cq(e, t, n = 0, r = e.length - 1, i = rq) {
+function OY(e, t, n = 0, r = e.length - 1, i = cY) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- Cq(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ OY(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (wq(e, n, t), i(e[r], a) > 0 && wq(e, n, r); o < s;) {
- for (wq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (kY(e, n, t), i(e[r], a) > 0 && kY(e, n, r); o < s;) {
+ for (kY(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? wq(e, n, s) : (++s, wq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? kY(e, n, s) : (++s, kY(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function wq(e, t, n) {
+function kY(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function Tq(e, t, n) {
- if (e = Float64Array.from(sq(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return Sq(e);
- if (t >= 1) return xq(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = xq(Cq(e, a).subarray(0, a + 1));
- return o + (Sq(e.subarray(a + 1)) - o) * (i - a);
+function AY(e, t, n) {
+ if (e = Float64Array.from(fY(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return DY(e);
+ if (t >= 1) return EY(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = EY(OY(e, a).subarray(0, a + 1));
+ return o + (DY(e.subarray(a + 1)) - o) * (i - a);
}
}
-function Eq(e, t, n = oq) {
+function jY(e, t, n = dY) {
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);
@@ -45935,14 +48861,14 @@ function Eq(e, t, n = oq) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function Dq(e, t, n) {
+function MY(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;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function Oq(e, t) {
+function NY(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -45953,7 +48879,7 @@ function Oq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function kq(e, t) {
+function PY(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -45963,7 +48889,7 @@ function kq(e, t) {
}
return this;
}
-function Aq(e, t) {
+function FY(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -45975,20 +48901,20 @@ function Aq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var jq = Symbol("implicit");
-function Mq() {
- var e = new uq(), t = [], n = [], r = jq;
+var IY = Symbol("implicit");
+function LY() {
+ var e = new hY(), t = [], n = [], r = IY;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== jq) return r;
+ if (r !== IY) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new uq();
+ t = [], e = new hY();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -45996,18 +48922,18 @@ function Mq() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return Mq(t, n).unknown(r);
- }, kq.apply(i, arguments), i;
+ return LY(t, n).unknown(r);
+ }, PY.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function Nq() {
- var e = Mq().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function RY() {
+ var e = LY().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
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 = Dq(e).map(function(e) {
+ var m = MY(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -46033,32 +48959,32 @@ function Nq() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return Nq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, kq.apply(d(), arguments);
+ return RY(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, PY.apply(d(), arguments);
}
-function Pq(e) {
+function zY(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return Pq(t());
+ return zY(t());
}, e;
}
-function Fq() {
- return Pq(Nq.apply(null, arguments).paddingInner(1));
+function BY() {
+ return zY(RY.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function Iq(e, t, n) {
+function VY(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function Lq(e, t) {
+function HY(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function Rq() {}
-var zq = .7, Bq = 1 / zq, Vq = "\\s*([+-]?\\d+)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Uq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Wq = /^#([0-9a-f]{3,8})$/, Gq = RegExp(`^rgb\\(${Vq},${Vq},${Vq}\\)$`), Kq = RegExp(`^rgb\\(${Uq},${Uq},${Uq}\\)$`), qq = RegExp(`^rgba\\(${Vq},${Vq},${Vq},${Hq}\\)$`), Jq = RegExp(`^rgba\\(${Uq},${Uq},${Uq},${Hq}\\)$`), Yq = RegExp(`^hsl\\(${Hq},${Uq},${Uq}\\)$`), Xq = RegExp(`^hsla\\(${Hq},${Uq},${Uq},${Hq}\\)$`), Zq = {
+function UY() {}
+var WY = .7, GY = 1 / WY, KY = "\\s*([+-]?\\d+)\\s*", qY = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", JY = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", YY = /^#([0-9a-f]{3,8})$/, XY = RegExp(`^rgb\\(${KY},${KY},${KY}\\)$`), ZY = RegExp(`^rgb\\(${JY},${JY},${JY}\\)$`), QY = RegExp(`^rgba\\(${KY},${KY},${KY},${qY}\\)$`), $Y = RegExp(`^rgba\\(${JY},${JY},${JY},${qY}\\)$`), eX = RegExp(`^hsl\\(${qY},${JY},${JY}\\)$`), tX = RegExp(`^hsla\\(${qY},${JY},${JY},${qY}\\)$`), nX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -46208,170 +49134,170 @@ var zq = .7, Bq = 1 / zq, Vq = "\\s*([+-]?\\d+)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-Iq(Rq, nJ, {
+VY(UY, sX, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: Qq,
- formatHex: Qq,
- formatHex8: $q,
- formatHsl: eJ,
- formatRgb: tJ,
- toString: tJ
+ hex: rX,
+ formatHex: rX,
+ formatHex8: iX,
+ formatHsl: aX,
+ formatRgb: oX,
+ toString: oX
});
-function Qq() {
+function rX() {
return this.rgb().formatHex();
}
-function $q() {
+function iX() {
return this.rgb().formatHex8();
}
-function eJ() {
- return hJ(this).formatHsl();
+function aX() {
+ return bX(this).formatHsl();
}
-function tJ() {
+function oX() {
return this.rgb().formatRgb();
}
-function nJ(e) {
+function sX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = Wq.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? rJ(t) : n === 3 ? new sJ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? iJ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? iJ(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 = Gq.exec(e)) ? new sJ(t[1], t[2], t[3], 1) : (t = Kq.exec(e)) ? new sJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = qq.exec(e)) ? iJ(t[1], t[2], t[3], t[4]) : (t = Jq.exec(e)) ? iJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Yq.exec(e)) ? mJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Xq.exec(e)) ? mJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Zq.hasOwnProperty(e) ? rJ(Zq[e]) : e === "transparent" ? new sJ(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = YY.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? cX(t) : n === 3 ? new fX(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? lX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? lX(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 = XY.exec(e)) ? new fX(t[1], t[2], t[3], 1) : (t = ZY.exec(e)) ? new fX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = QY.exec(e)) ? lX(t[1], t[2], t[3], t[4]) : (t = $Y.exec(e)) ? lX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = eX.exec(e)) ? yX(t[1], t[2] / 100, t[3] / 100, 1) : (t = tX.exec(e)) ? yX(t[1], t[2] / 100, t[3] / 100, t[4]) : nX.hasOwnProperty(e) ? cX(nX[e]) : e === "transparent" ? new fX(NaN, NaN, NaN, 0) : null;
}
-function rJ(e) {
- return new sJ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
+function cX(e) {
+ return new fX(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
-function iJ(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new sJ(e, t, n, r);
+function lX(e, t, n, r) {
+ return r <= 0 && (e = t = n = NaN), new fX(e, t, n, r);
}
-function aJ(e) {
- return e instanceof Rq || (e = nJ(e)), e ? (e = e.rgb(), new sJ(e.r, e.g, e.b, e.opacity)) : new sJ();
+function uX(e) {
+ return e instanceof UY || (e = sX(e)), e ? (e = e.rgb(), new fX(e.r, e.g, e.b, e.opacity)) : new fX();
}
-function oJ(e, t, n, r) {
- return arguments.length === 1 ? aJ(e) : new sJ(e, t, n, r ?? 1);
+function dX(e, t, n, r) {
+ return arguments.length === 1 ? uX(e) : new fX(e, t, n, r ?? 1);
}
-function sJ(e, t, n, r) {
+function fX(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-Iq(sJ, oJ, Lq(Rq, {
+VY(fX, dX, HY(UY, {
brighter(e) {
- return e = e == null ? Bq : Bq ** +e, new sJ(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? GY : GY ** +e, new fX(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? zq : zq ** +e, new sJ(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? WY : WY ** +e, new fX(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new sJ(fJ(this.r), fJ(this.g), fJ(this.b), dJ(this.opacity));
+ return new fX(_X(this.r), _X(this.g), _X(this.b), gX(this.opacity));
},
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: cJ,
- formatHex: cJ,
- formatHex8: lJ,
- formatRgb: uJ,
- toString: uJ
+ hex: pX,
+ formatHex: pX,
+ formatHex8: mX,
+ formatRgb: hX,
+ toString: hX
}));
-function cJ() {
- return `#${pJ(this.r)}${pJ(this.g)}${pJ(this.b)}`;
+function pX() {
+ return `#${vX(this.r)}${vX(this.g)}${vX(this.b)}`;
}
-function lJ() {
- return `#${pJ(this.r)}${pJ(this.g)}${pJ(this.b)}${pJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+function mX() {
+ return `#${vX(this.r)}${vX(this.g)}${vX(this.b)}${vX((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function uJ() {
- let e = dJ(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${fJ(this.r)}, ${fJ(this.g)}, ${fJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function hX() {
+ let e = gX(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${_X(this.r)}, ${_X(this.g)}, ${_X(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function dJ(e) {
+function gX(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function fJ(e) {
+function _X(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function pJ(e) {
- return e = fJ(e), (e < 16 ? "0" : "") + e.toString(16);
+function vX(e) {
+ return e = _X(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function mJ(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new _J(e, t, n, r);
+function yX(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new SX(e, t, n, r);
}
-function hJ(e) {
- if (e instanceof _J) return new _J(e.h, e.s, e.l, e.opacity);
- if (e instanceof Rq || (e = nJ(e)), !e) return new _J();
- if (e instanceof _J) return e;
+function bX(e) {
+ if (e instanceof SX) return new SX(e.h, e.s, e.l, e.opacity);
+ if (e instanceof UY || (e = sX(e)), !e) return new SX();
+ if (e instanceof SX) return e;
e = e.rgb();
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 _J(o, s, c, e.opacity);
+ 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 SX(o, s, c, e.opacity);
}
-function gJ(e, t, n, r) {
- return arguments.length === 1 ? hJ(e) : new _J(e, t, n, r ?? 1);
+function xX(e, t, n, r) {
+ return arguments.length === 1 ? bX(e) : new SX(e, t, n, r ?? 1);
}
-function _J(e, t, n, r) {
+function SX(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-Iq(_J, gJ, Lq(Rq, {
+VY(SX, xX, HY(UY, {
brighter(e) {
- return e = e == null ? Bq : Bq ** +e, new _J(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? GY : GY ** +e, new SX(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? zq : zq ** +e, new _J(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? WY : WY ** +e, new SX(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
- return new sJ(bJ(e >= 240 ? e - 240 : e + 120, i, r), bJ(e, i, r), bJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new fX(TX(e >= 240 ? e - 240 : e + 120, i, r), TX(e, i, r), TX(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new _J(vJ(this.h), yJ(this.s), yJ(this.l), dJ(this.opacity));
+ return new SX(CX(this.h), wX(this.s), wX(this.l), gX(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
- let e = dJ(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${vJ(this.h)}, ${yJ(this.s) * 100}%, ${yJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = gX(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${CX(this.h)}, ${wX(this.s) * 100}%, ${wX(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function vJ(e) {
+function CX(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function yJ(e) {
+function wX(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function bJ(e, t, n) {
+function TX(e, t, n) {
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
}
//#endregion
//#region node_modules/d3-interpolate/src/constant.js
-var xJ = (e) => () => e;
+var EX = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function SJ(e, t) {
+function DX(e, t) {
return function(n) {
return e + n * t;
};
}
-function CJ(e, t, n) {
+function OX(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function wJ(e) {
- return (e = +e) == 1 ? TJ : function(t, n) {
- return n - t ? CJ(t, n, e) : xJ(isNaN(t) ? n : t);
+function kX(e) {
+ return (e = +e) == 1 ? AX : function(t, n) {
+ return n - t ? OX(t, n, e) : EX(isNaN(t) ? n : t);
};
}
-function TJ(e, t) {
+function AX(e, t) {
var n = t - e;
- return n ? SJ(e, n) : xJ(isNaN(e) ? t : e);
+ return n ? DX(e, n) : EX(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var EJ = (function e(t) {
- var n = wJ(t);
+var jX = (function e(t) {
+ var n = kX(t);
function r(e, t) {
- var r = n((e = oJ(e)).r, (t = oJ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = TJ(e.opacity, t.opacity);
+ var r = n((e = dX(e)).r, (t = dX(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = AX(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -46380,7 +49306,7 @@ var EJ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function DJ(e, t) {
+function MX(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -46388,14 +49314,14 @@ function DJ(e, t) {
return r;
};
}
-function OJ(e) {
+function NX(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function kJ(e, t) {
+function PX(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] = RJ(e[o], t[o]);
+ for (o = 0; o < r; ++o) i[o] = UX(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
for (o = 0; o < r; ++o) a[o] = i[o](e);
@@ -46404,7 +49330,7 @@ function kJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function AJ(e, t) {
+function FX(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -46412,16 +49338,16 @@ function AJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function jJ(e, t) {
+function IX(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function MJ(e, t) {
+function LX(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] = RJ(e[i], t[i]) : r[i] = t[i];
+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = UX(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -46429,45 +49355,45 @@ function MJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var NJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, PJ = new RegExp(NJ.source, "g");
-function FJ(e) {
+var RX = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, zX = new RegExp(RX.source, "g");
+function BX(e) {
return function() {
return e;
};
}
-function IJ(e) {
+function VX(e) {
return function(t) {
return e(t) + "";
};
}
-function LJ(e, t) {
- var n = NJ.lastIndex = PJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = NJ.exec(e)) && (i = PJ.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({
+function HX(e, t) {
+ var n = RX.lastIndex = zX.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = RX.exec(e)) && (i = zX.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: jJ(r, i)
- })), n = PJ.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? IJ(c[0].x) : FJ(t) : (t = c.length, function(e) {
+ x: IX(r, i)
+ })), n = zX.lastIndex;
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? VX(c[0].x) : BX(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("");
});
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function RJ(e, t) {
+function UX(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? xJ(t) : (n === "number" ? jJ : n === "string" ? (r = nJ(t)) ? (t = r, EJ) : LJ : t instanceof nJ ? EJ : t instanceof Date ? AJ : OJ(t) ? DJ : Array.isArray(t) ? kJ : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? MJ : jJ)(e, t);
+ return t == null || n === "boolean" ? EX(t) : (n === "number" ? IX : n === "string" ? (r = sX(t)) ? (t = r, jX) : HX : t instanceof sX ? jX : t instanceof Date ? FX : NX(t) ? MX : Array.isArray(t) ? PX : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? LX : IX)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function zJ(e, t) {
+function WX(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function BJ(e, t) {
- t === void 0 && (t = e, e = RJ);
+function GX(e, t) {
+ t === void 0 && (t = e, e = UX);
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) {
var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));
@@ -46476,69 +49402,69 @@ function BJ(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function VJ(e) {
+function KX(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function HJ(e) {
+function qX(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var UJ = [0, 1];
-function WJ(e) {
+var JX = [0, 1];
+function YX(e) {
return e;
}
-function GJ(e, t) {
+function XX(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : VJ(isNaN(t) ? NaN : .5);
+ } : KX(isNaN(t) ? NaN : .5);
}
-function KJ(e, t) {
+function ZX(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function qJ(e, t, n) {
+function QX(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = GJ(i, r), a = n(o, a)) : (r = GJ(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = XX(i, r), a = n(o, a)) : (r = XX(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function JJ(e, t, n) {
+function $X(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] = GJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = XX(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = lq(e, t, 1, r) - 1;
+ var n = mY(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function YJ(e, t) {
+function eZ(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function XJ() {
- var e = UJ, t = UJ, n = RJ, r, i, a, o = WJ, s, c, l;
+function tZ() {
+ var e = JX, t = JX, n = UX, r, i, a, o = YX, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== WJ && (o = KJ(e[0], e[n - 1])), s = n > 2 ? JJ : qJ, c = l = null, d;
+ return o !== YX && (o = ZX(e[0], e[n - 1])), s = n > 2 ? $X : QX, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
}
return d.invert = function(n) {
- return o(i((l ||= s(t, e.map(r), jJ))(n)));
+ return o(i((l ||= s(t, e.map(r), IX))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, HJ), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, qX), u()) : e.slice();
}, d.range = function(e) {
return arguments.length ? (t = Array.from(e), u()) : t.slice();
}, d.rangeRound = function(e) {
- return t = Array.from(e), n = zJ, u();
+ return t = Array.from(e), n = WX, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : WJ, u()) : o !== WJ;
+ return arguments.length ? (o = e ? !0 : YX, u()) : o !== YX;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -46547,27 +49473,27 @@ function XJ() {
return r = e, i = t, u();
};
}
-function ZJ() {
- return XJ()(WJ, WJ);
+function nZ() {
+ return tZ()(YX, YX);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function QJ(e) {
+function rZ(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function $J(e, t) {
+function iZ(e, t) {
if (!isFinite(e) || e === 0) return null;
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
}
//#endregion
//#region node_modules/d3-format/src/exponent.js
-function eY(e) {
- return e = $J(Math.abs(e)), e ? e[1] : NaN;
+function aZ(e) {
+ return e = iZ(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function tY(e, t) {
+function oZ(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);
@@ -46575,7 +49501,7 @@ function tY(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function nY(e) {
+function sZ(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -46584,11 +49510,11 @@ function nY(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var rY = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function iY(e) {
- if (!(t = rY.exec(e))) throw Error("invalid format: " + e);
+var cZ = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+function lZ(e) {
+ if (!(t = cZ.exec(e))) throw Error("invalid format: " + e);
var t;
- return new aY({
+ return new uZ({
fill: t[1],
align: t[2],
sign: t[3],
@@ -46601,16 +49527,16 @@ function iY(e) {
type: t[10]
});
}
-iY.prototype = aY.prototype;
-function aY(e) {
+lZ.prototype = uZ.prototype;
+function uZ(e) {
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
}
-aY.prototype.toString = function() {
+uZ.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function oY(e) {
+function dZ(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -46626,46 +49552,46 @@ function oY(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var sY;
-function cY(e, t) {
- var n = $J(e, t);
- if (!n) return sY = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (sY = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + $J(e, Math.max(0, t + a - 1))[0];
+var fZ;
+function pZ(e, t) {
+ var n = iZ(e, t);
+ if (!n) return fZ = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (fZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + iZ(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function lY(e, t) {
- var n = $J(e, t);
+function mZ(e, t) {
+ var n = iZ(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var uY = {
+var hZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: QJ,
+ d: rZ,
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) => lY(e * 100, t),
- r: lY,
- s: cY,
+ p: (e, t) => mZ(e * 100, t),
+ r: mZ,
+ s: pZ,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function dY(e) {
+function gZ(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var fY = Array.prototype.map, pY = [
+var _Z = Array.prototype.map, vZ = [
"y",
"z",
"a",
@@ -46684,13 +49610,13 @@ var fY = Array.prototype.map, pY = [
"Z",
"Y"
];
-function mY(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? dY : tY(fY.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 ? dY : nY(fY.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 yZ(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? gZ : oZ(_Z.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 ? gZ : sZ(_Z.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 = iY(e);
+ e = lZ(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : uY[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = uY[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : hZ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = hZ[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -46698,7 +49624,7 @@ function mY(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = oY(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && sY !== void 0 ? pY[8 + sY / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = dZ(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && fZ !== void 0 ? vZ[8 + fZ / 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;
@@ -46726,7 +49652,7 @@ function mY(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(eY(t) / 3))) * 3, r = 10 ** -n, i = l((e = iY(e), e.type = "f", e), { suffix: pY[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(aZ(t) / 3))) * 3, r = 10 ** -n, i = l((e = lZ(e), e.type = "f", e), { suffix: vZ[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -46738,65 +49664,65 @@ function mY(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var hY, gY, _Y;
-vY({
+var bZ, xZ, SZ;
+CZ({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function vY(e) {
- return hY = mY(e), gY = hY.format, _Y = hY.formatPrefix, hY;
+function CZ(e) {
+ return bZ = yZ(e), xZ = bZ.format, SZ = bZ.formatPrefix, bZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function yY(e) {
- return Math.max(0, -eY(Math.abs(e)));
+function wZ(e) {
+ return Math.max(0, -aZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function bY(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(eY(t) / 3))) * 3 - eY(Math.abs(e)));
+function TZ(e, t) {
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(aZ(t) / 3))) * 3 - aZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function xY(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, eY(t) - eY(e)) + 1;
+function EZ(e, t) {
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, aZ(t) - aZ(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function SY(e, t, n, r) {
- var i = bq(e, t, n), a;
- switch (r = iY(r ?? ",f"), r.type) {
+function DZ(e, t, n, r) {
+ var i = TY(e, t, n), a;
+ switch (r = lZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = bY(i, o)) && (r.precision = a), _Y(r, o);
+ return r.precision == null && !isNaN(a = TZ(i, o)) && (r.precision = a), SZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = xY(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = EZ(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = yY(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = wZ(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return gY(r);
+ return xZ(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function CY(e) {
+function OZ(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return vq(n[0], n[n.length - 1], e ?? 10);
+ return CY(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return SY(r[0], r[r.length - 1], e ?? 10, n);
+ return DZ(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = yq(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = wY(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -46805,64 +49731,64 @@ function CY(e) {
return e;
}, e;
}
-function wY() {
- var e = ZJ();
+function kZ() {
+ var e = nZ();
return e.copy = function() {
- return YJ(e, wY());
- }, kq.apply(e, arguments), CY(e);
+ return eZ(e, kZ());
+ }, PY.apply(e, arguments), OZ(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function TY(e) {
+function AZ(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
}
return n.invert = n, n.domain = n.range = function(t) {
- return arguments.length ? (e = Array.from(t, HJ), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, qX), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return TY(e).unknown(t);
- }, e = arguments.length ? Array.from(e, HJ) : [0, 1], CY(n);
+ return AZ(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, qX) : [0, 1], OZ(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function EY(e, t) {
+function jZ(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function DY(e) {
+function MZ(e) {
return Math.log(e);
}
-function OY(e) {
+function NZ(e) {
return Math.exp(e);
}
-function kY(e) {
+function PZ(e) {
return -Math.log(-e);
}
-function AY(e) {
+function FZ(e) {
return -Math.exp(-e);
}
-function jY(e) {
+function IZ(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function MY(e) {
- return e === 10 ? jY : e === Math.E ? Math.exp : (t) => e ** +t;
+function LZ(e) {
+ return e === 10 ? IZ : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function NY(e) {
+function RZ(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 PY(e) {
+function zZ(e) {
return (t, n) => -e(-t, n);
}
-function FY(e) {
- let t = e(DY, OY), n = t.domain, r = 10, i, a;
+function BZ(e) {
+ let t = e(MZ, NZ), n = t.domain, r = 10, i, a;
function o() {
- return i = NY(r), a = MY(r), n()[0] < 0 ? (i = PY(i), a = PY(a), e(kY, AY)) : e(DY, OY), t;
+ return i = RZ(r), a = LZ(r), n()[0] < 0 ? (i = zZ(i), a = zZ(a), e(PZ, FZ)) : e(MZ, NZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -46882,100 +49808,100 @@ function FY(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = vq(o, s, p));
- } else m = vq(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = CY(o, s, p));
+ } else m = CY(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = iY(n)).precision == null && (n.trim = !0), n = gY(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = lZ(n)).precision == null && (n.trim = !0), n = xZ(n)), e === Infinity) return n;
let o = Math.max(1, r * e / t.ticks().length);
return (e) => {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(EY(n(), {
+ }, t.nice = () => n(jZ(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function IY() {
- let e = FY(XJ()).domain([1, 10]);
- return e.copy = () => YJ(e, IY()).base(e.base()), kq.apply(e, arguments), e;
+function VZ() {
+ let e = BZ(tZ()).domain([1, 10]);
+ return e.copy = () => eZ(e, VZ()).base(e.base()), PY.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function LY(e) {
+function HZ(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function RY(e) {
+function UZ(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
-function zY(e) {
- var t = 1, n = e(LY(t), RY(t));
+function WZ(e) {
+ var t = 1, n = e(HZ(t), UZ(t));
return n.constant = function(n) {
- return arguments.length ? e(LY(t = +n), RY(t)) : t;
- }, CY(n);
+ return arguments.length ? e(HZ(t = +n), UZ(t)) : t;
+ }, OZ(n);
}
-function BY() {
- var e = zY(XJ());
+function GZ() {
+ var e = WZ(tZ());
return e.copy = function() {
- return YJ(e, BY()).constant(e.constant());
- }, kq.apply(e, arguments);
+ return eZ(e, GZ()).constant(e.constant());
+ }, PY.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function VY(e) {
+function KZ(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function HY(e) {
+function qZ(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function UY(e) {
+function JZ(e) {
return e < 0 ? -e * e : e * e;
}
-function WY(e) {
- var t = e(WJ, WJ), n = 1;
+function YZ(e) {
+ var t = e(YX, YX), n = 1;
function r() {
- return n === 1 ? e(WJ, WJ) : n === .5 ? e(HY, UY) : e(VY(n), VY(1 / n));
+ return n === 1 ? e(YX, YX) : n === .5 ? e(qZ, JZ) : e(KZ(n), KZ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, CY(t);
+ }, OZ(t);
}
-function GY() {
- var e = WY(XJ());
+function XZ() {
+ var e = YZ(tZ());
return e.copy = function() {
- return YJ(e, GY()).exponent(e.exponent());
- }, kq.apply(e, arguments), e;
+ return eZ(e, XZ()).exponent(e.exponent());
+ }, PY.apply(e, arguments), e;
}
-function KY() {
- return GY.apply(null, arguments).exponent(.5);
+function ZZ() {
+ return XZ.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function qY(e) {
+function QZ(e) {
return Math.sign(e) * e * e;
}
-function JY(e) {
+function $Z(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function YY() {
- var e = ZJ(), t = [0, 1], n = !1, r;
+function eQ() {
+ var e = nZ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = JY(e(t));
+ var i = $Z(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(qY(t));
+ return e.invert(QZ(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, HJ)).map(qY)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, qX)).map(QZ)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -46985,20 +49911,20 @@ function YY() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return YY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, kq.apply(i, arguments), CY(i);
+ return eQ(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ }, PY.apply(i, arguments), OZ(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function XY() {
+function tQ() {
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] = Eq(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = jY(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[lq(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[mY(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -47007,7 +49933,7 @@ function XY() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(rq), i();
+ return e.sort(cY), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -47015,15 +49941,15 @@ function XY() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return XY().domain(e).range(t).unknown(r);
- }, kq.apply(a, arguments);
+ return tQ().domain(e).range(t).unknown(r);
+ }, PY.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function ZY() {
+function nQ() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[lq(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[mY(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -47042,15 +49968,15 @@ function ZY() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return ZY().domain([e, t]).range(i).unknown(a);
- }, kq.apply(CY(o), arguments);
+ return nQ().domain([e, t]).range(i).unknown(a);
+ }, PY.apply(OZ(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function QY() {
+function rQ() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[lq(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[mY(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -47062,13 +49988,13 @@ function QY() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return QY().domain(e).range(t).unknown(n);
- }, kq.apply(i, arguments);
+ return rQ().domain(e).range(t).unknown(n);
+ }, PY.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
-var $Y = /* @__PURE__ */ new Date(), eX = /* @__PURE__ */ new Date();
-function tX(e, t, n, r) {
+var iQ = /* @__PURE__ */ new Date(), aQ = /* @__PURE__ */ new Date();
+function oQ(e, t, n, r) {
function i(t) {
return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
}
@@ -47083,226 +50009,226 @@ function tX(e, t, n, r) {
o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
while (s < n && n < r);
return o;
- }, i.filter = (n) => tX((t) => {
+ }, i.filter = (n) => oQ((t) => {
if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
}, (e, r) => {
if (e >= e) {
if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
else for (; --r >= 0;) for (; t(e, 1), !n(e););
}
- }), n && (i.count = (t, r) => ($Y.setTime(+t), eX.setTime(+r), e($Y), e(eX), Math.floor(n($Y, eX))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
+ }), n && (i.count = (t, r) => (iQ.setTime(+t), aQ.setTime(+r), e(iQ), e(aQ), Math.floor(n(iQ, aQ))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
}
//#endregion
//#region node_modules/d3-time/src/millisecond.js
-var nX = tX(() => {}, (e, t) => {
+var sQ = oQ(() => {}, (e, t) => {
e.setTime(+e + t);
}, (e, t) => t - e);
-nX.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? tX((t) => {
+sQ.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? oQ((t) => {
t.setTime(Math.floor(t / e) * e);
}, (t, n) => {
t.setTime(+t + n * e);
-}, (t, n) => (n - t) / e) : nX), nX.range;
+}, (t, n) => (n - t) / e) : sQ), sQ.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var rX = 1e3, iX = rX * 60, aX = iX * 60, oX = aX * 24, sX = oX * 7, cX = oX * 30, lX = oX * 365, uX = tX((e) => {
+var cQ = 1e3, lQ = cQ * 60, uQ = lQ * 60, dQ = uQ * 24, fQ = dQ * 7, pQ = dQ * 30, mQ = dQ * 365, hQ = oQ((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
- e.setTime(+e + t * rX);
-}, (e, t) => (t - e) / rX, (e) => e.getUTCSeconds());
-uX.range;
+ e.setTime(+e + t * cQ);
+}, (e, t) => (t - e) / cQ, (e) => e.getUTCSeconds());
+hQ.range;
//#endregion
//#region node_modules/d3-time/src/minute.js
-var dX = tX((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * rX);
+var gQ = oQ((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * cQ);
}, (e, t) => {
- e.setTime(+e + t * iX);
-}, (e, t) => (t - e) / iX, (e) => e.getMinutes());
-dX.range;
-var fX = tX((e) => {
+ e.setTime(+e + t * lQ);
+}, (e, t) => (t - e) / lQ, (e) => e.getMinutes());
+gQ.range;
+var _Q = oQ((e) => {
e.setUTCSeconds(0, 0);
}, (e, t) => {
- e.setTime(+e + t * iX);
-}, (e, t) => (t - e) / iX, (e) => e.getUTCMinutes());
-fX.range;
+ e.setTime(+e + t * lQ);
+}, (e, t) => (t - e) / lQ, (e) => e.getUTCMinutes());
+_Q.range;
//#endregion
//#region node_modules/d3-time/src/hour.js
-var pX = tX((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * rX - e.getMinutes() * iX);
+var vQ = oQ((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * cQ - e.getMinutes() * lQ);
}, (e, t) => {
- e.setTime(+e + t * aX);
-}, (e, t) => (t - e) / aX, (e) => e.getHours());
-pX.range;
-var mX = tX((e) => {
+ e.setTime(+e + t * uQ);
+}, (e, t) => (t - e) / uQ, (e) => e.getHours());
+vQ.range;
+var yQ = oQ((e) => {
e.setUTCMinutes(0, 0, 0);
}, (e, t) => {
- e.setTime(+e + t * aX);
-}, (e, t) => (t - e) / aX, (e) => e.getUTCHours());
-mX.range;
+ e.setTime(+e + t * uQ);
+}, (e, t) => (t - e) / uQ, (e) => e.getUTCHours());
+yQ.range;
//#endregion
//#region node_modules/d3-time/src/day.js
-var hX = tX((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * iX) / oX, (e) => e.getDate() - 1);
-hX.range;
-var gX = tX((e) => {
+var bQ = oQ((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lQ) / dQ, (e) => e.getDate() - 1);
+bQ.range;
+var xQ = oQ((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / oX, (e) => e.getUTCDate() - 1);
-gX.range;
-var _X = tX((e) => {
+}, (e, t) => (t - e) / dQ, (e) => e.getUTCDate() - 1);
+xQ.range;
+var SQ = oQ((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / oX, (e) => Math.floor(e / oX));
-_X.range;
+}, (e, t) => (t - e) / dQ, (e) => Math.floor(e / dQ));
+SQ.range;
//#endregion
//#region node_modules/d3-time/src/week.js
-function vX(e) {
- return tX((t) => {
+function CQ(e) {
+ return oQ((t) => {
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setDate(e.getDate() + t * 7);
- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * iX) / sX);
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lQ) / fQ);
}
-var yX = vX(0), bX = vX(1), xX = vX(2), SX = vX(3), CX = vX(4), wX = vX(5), TX = vX(6);
-yX.range, bX.range, xX.range, SX.range, CX.range, wX.range, TX.range;
-function EX(e) {
- return tX((t) => {
+var wQ = CQ(0), TQ = CQ(1), EQ = CQ(2), DQ = CQ(3), OQ = CQ(4), kQ = CQ(5), AQ = CQ(6);
+wQ.range, TQ.range, EQ.range, DQ.range, OQ.range, kQ.range, AQ.range;
+function jQ(e) {
+ return oQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t * 7);
- }, (e, t) => (t - e) / sX);
+ }, (e, t) => (t - e) / fQ);
}
-var DX = EX(0), OX = EX(1), kX = EX(2), AX = EX(3), jX = EX(4), MX = EX(5), NX = EX(6);
-DX.range, OX.range, kX.range, AX.range, jX.range, MX.range, NX.range;
+var MQ = jQ(0), NQ = jQ(1), Sde = jQ(2), Cde = jQ(3), PQ = jQ(4), wde = jQ(5), Tde = jQ(6);
+MQ.range, NQ.range, Sde.range, Cde.range, PQ.range, wde.range, Tde.range;
//#endregion
//#region node_modules/d3-time/src/month.js
-var PX = tX((e) => {
+var FQ = oQ((e) => {
e.setDate(1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setMonth(e.getMonth() + t);
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
-PX.range;
-var FX = tX((e) => {
+FQ.range;
+var IQ = oQ((e) => {
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCMonth(e.getUTCMonth() + t);
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
-FX.range;
+IQ.range;
//#endregion
//#region node_modules/d3-time/src/year.js
-var IX = tX((e) => {
+var LQ = oQ((e) => {
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setFullYear(e.getFullYear() + t);
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
-IX.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : tX((t) => {
+LQ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : oQ((t) => {
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
}, (t, n) => {
t.setFullYear(t.getFullYear() + n * e);
-}), IX.range;
-var LX = tX((e) => {
+}), LQ.range;
+var RQ = oQ((e) => {
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCFullYear(e.getUTCFullYear() + t);
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
-LX.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : tX((t) => {
+RQ.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : oQ((t) => {
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
}, (t, n) => {
t.setUTCFullYear(t.getUTCFullYear() + n * e);
-}), LX.range;
+}), RQ.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function RX(e, t, n, r, i, a) {
+function zQ(e, t, n, r, i, a) {
let o = [
[
- uX,
+ hQ,
1,
- rX
+ cQ
],
[
- uX,
+ hQ,
5,
- 5 * rX
+ 5 * cQ
],
[
- uX,
+ hQ,
15,
- 15 * rX
+ 15 * cQ
],
[
- uX,
+ hQ,
30,
- 30 * rX
+ 30 * cQ
],
[
a,
1,
- iX
+ lQ
],
[
a,
5,
- 5 * iX
+ 5 * lQ
],
[
a,
15,
- 15 * iX
+ 15 * lQ
],
[
a,
30,
- 30 * iX
+ 30 * lQ
],
[
i,
1,
- aX
+ uQ
],
[
i,
3,
- 3 * aX
+ 3 * uQ
],
[
i,
6,
- 6 * aX
+ 6 * uQ
],
[
i,
12,
- 12 * aX
+ 12 * uQ
],
[
r,
1,
- oX
+ dQ
],
[
r,
2,
- 2 * oX
+ 2 * dQ
],
[
n,
1,
- sX
+ fQ
],
[
t,
1,
- cX
+ pQ
],
[
t,
3,
- 3 * cX
+ 3 * pQ
],
[
e,
1,
- lX
+ mQ
]
];
function s(e, t, n) {
@@ -47312,32 +50238,32 @@ function RX(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = iq(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(bq(t / lX, n / lX, r));
- if (a === 0) return nX.every(Math.max(bq(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = lY(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(TY(t / mQ, n / mQ, r));
+ if (a === 0) return sQ.every(Math.max(TY(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [zX, BX] = RX(LX, FX, DX, _X, mX, fX), [VX, HX] = RX(IX, PX, yX, hX, pX, dX);
+var [Ede, Dde] = zQ(RQ, IQ, MQ, SQ, yQ, _Q), [Ode, kde] = zQ(LQ, FQ, wQ, bQ, vQ, gQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
-function UX(e) {
+function BQ(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
return t.setFullYear(e.y), t;
}
return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
}
-function WX(e) {
+function VQ(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
return t.setUTCFullYear(e.y), t;
}
return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
}
-function GX(e, t, n) {
+function HQ(e, t, n) {
return {
y: e,
m: t,
@@ -47348,133 +50274,133 @@ function GX(e, t, n) {
L: 0
};
}
-function KX(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 = $X(i), u = eZ(i), d = $X(a), f = eZ(a), p = $X(o), m = eZ(o), h = $X(s), g = eZ(s), _ = $X(c), v = eZ(c), y = {
+function Ade(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: P,
b: F,
B: I,
c: null,
- d: xZ,
- e: xZ,
- f: EZ,
- g: LZ,
- G: zZ,
- H: SZ,
- I: CZ,
- j: wZ,
- L: TZ,
- m: DZ,
- M: OZ,
+ d: QQ,
+ e: QQ,
+ f: $de,
+ g: lfe,
+ G: dfe,
+ H: Xde,
+ I: Zde,
+ j: Qde,
+ L: $Q,
+ m: efe,
+ M: tfe,
p: ee,
q: te,
- Q: cQ,
- s: lQ,
- S: kZ,
- u: AZ,
- U: jZ,
- V: NZ,
- w: PZ,
- W: FZ,
+ Q: a$,
+ s: o$,
+ S: nfe,
+ u: rfe,
+ U: ife,
+ V: afe,
+ w: ofe,
+ W: sfe,
x: null,
X: null,
- y: IZ,
- Y: RZ,
- Z: BZ,
- "%": sQ
+ y: cfe,
+ Y: ufe,
+ Z: ffe,
+ "%": i$
}, b = {
- a: L,
- A: ne,
+ a: ne,
+ A: L,
b: re,
B: ie,
c: null,
- d: VZ,
- e: VZ,
- f: KZ,
- g: rQ,
- G: aQ,
- H: HZ,
- I: UZ,
- j: WZ,
- L: GZ,
- m: qZ,
- M: JZ,
+ d: t$,
+ e: t$,
+ f: gfe,
+ g: Efe,
+ G: Ofe,
+ H: pfe,
+ I: mfe,
+ j: hfe,
+ L: n$,
+ m: _fe,
+ M: vfe,
p: ae,
q: oe,
- Q: cQ,
- s: lQ,
- S: YZ,
- u: XZ,
- U: ZZ,
- V: $Z,
- w: eQ,
- W: tQ,
+ Q: a$,
+ s: o$,
+ S: yfe,
+ u: bfe,
+ U: xfe,
+ V: Sfe,
+ w: Cfe,
+ W: wfe,
x: null,
X: null,
- y: nQ,
- Y: iQ,
- Z: oQ,
- "%": sQ
+ y: Tfe,
+ Y: Dfe,
+ Z: kfe,
+ "%": i$
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: dZ,
- e: dZ,
- f: _Z,
- g: sZ,
- G: oZ,
- H: pZ,
- I: pZ,
- j: fZ,
- L: gZ,
- m: uZ,
- M: mZ,
+ d: XQ,
+ e: XQ,
+ f: Kde,
+ g: YQ,
+ G: JQ,
+ H: ZQ,
+ I: ZQ,
+ j: Hde,
+ L: Gde,
+ m: Vde,
+ M: Ude,
p: T,
- q: lZ,
- Q: yZ,
- s: bZ,
- S: hZ,
- u: nZ,
- U: rZ,
- V: iZ,
- w: tZ,
- W: aZ,
+ q: Bde,
+ Q: Jde,
+ s: Yde,
+ S: Wde,
+ u: Fde,
+ U: Ide,
+ V: Lde,
+ w: Pde,
+ W: Rde,
x: j,
X: M,
- y: sZ,
- Y: oZ,
- Z: cZ,
- "%": vZ
+ y: YQ,
+ Y: JQ,
+ Z: zde,
+ "%": qde
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = qX[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = UQ[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
function C(e, t) {
return function(n) {
- var r = GX(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
+ var r = HQ(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
if (i != n.length) return null;
if ("Q" in r) return new Date(r.Q);
if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
if (r.V < 1 || r.V > 53) return null;
- "w" in r || (r.w = 1), "Z" in r ? (a = WX(GX(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? OX.ceil(a) : OX(a), a = gX.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = UX(GX(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? bX.ceil(a) : bX(a), a = hX.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? WX(GX(r.y, 0, 1)).getUTCDay() : UX(GX(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, WX(r)) : UX(r);
+ "w" in r || (r.w = 1), "Z" in r ? (a = VQ(HQ(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? NQ.ceil(a) : NQ(a), a = xQ.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = BQ(HQ(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? TQ.ceil(a) : TQ(a), a = bQ.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? VQ(HQ(r.y, 0, 1)).getUTCDay() : BQ(HQ(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, VQ(r)) : BQ(r);
};
}
function w(e, t, n, r) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in qX ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in UQ ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -47526,10 +50452,10 @@ function KX(e) {
function te(e) {
return 1 + ~~(e.getMonth() / 3);
}
- function L(e) {
+ function ne(e) {
return o[e.getUTCDay()];
}
- function ne(e) {
+ function L(e) {
return a[e.getUTCDay()];
}
function re(e) {
@@ -47571,244 +50497,244 @@ function KX(e) {
}
};
}
-var qX = {
+var UQ = {
"-": "",
_: " ",
0: "0"
-}, JX = /^\s*\d+/, YX = /^%/, XX = /[\\^$*+?|[\]().{}]/g;
-function ZX(e, t, n) {
+}, WQ = /^\s*\d+/, jde = /^%/, Mde = /[\\^$*+?|[\]().{}]/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 QX(e) {
- return e.replace(XX, "\\$&");
+function Nde(e) {
+ return e.replace(Mde, "\\$&");
}
-function $X(e) {
- return RegExp("^(?:" + e.map(QX).join("|") + ")", "i");
+function KQ(e) {
+ return RegExp("^(?:" + e.map(Nde).join("|") + ")", "i");
}
-function eZ(e) {
+function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function tZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 1));
+function Pde(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function nZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 1));
+function Fde(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function rZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+function Ide(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function iZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+function Lde(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function aZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+function Rde(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function oZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 4));
+function JQ(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function sZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+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 cZ(e, t, n) {
+function zde(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 lZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 1));
+function Bde(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 uZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+function Vde(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function dZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+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 fZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 3));
+function Hde(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;
}
-function pZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+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 mZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+function Ude(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function hZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 2));
+function Wde(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function gZ(e, t, n) {
- var r = JX.exec(t.slice(n, n + 3));
+function Gde(e, t, n) {
+ var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function _Z(e, t, n) {
- var r = JX.exec(t.slice(n, n + 6));
+function Kde(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 vZ(e, t, n) {
- var r = YX.exec(t.slice(n, n + 1));
+function qde(e, t, n) {
+ var r = jde.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function yZ(e, t, n) {
- var r = JX.exec(t.slice(n));
+function Jde(e, t, n) {
+ var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function bZ(e, t, n) {
- var r = JX.exec(t.slice(n));
+function Yde(e, t, n) {
+ var r = WQ.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function xZ(e, t) {
- return ZX(e.getDate(), t, 2);
+function QQ(e, t) {
+ return GQ(e.getDate(), t, 2);
}
-function SZ(e, t) {
- return ZX(e.getHours(), t, 2);
+function Xde(e, t) {
+ return GQ(e.getHours(), t, 2);
}
-function CZ(e, t) {
- return ZX(e.getHours() % 12 || 12, t, 2);
+function Zde(e, t) {
+ return GQ(e.getHours() % 12 || 12, t, 2);
}
-function wZ(e, t) {
- return ZX(1 + hX.count(IX(e), e), t, 3);
+function Qde(e, t) {
+ return GQ(1 + bQ.count(LQ(e), e), t, 3);
}
-function TZ(e, t) {
- return ZX(e.getMilliseconds(), t, 3);
+function $Q(e, t) {
+ return GQ(e.getMilliseconds(), t, 3);
}
-function EZ(e, t) {
- return TZ(e, t) + "000";
+function $de(e, t) {
+ return $Q(e, t) + "000";
}
-function DZ(e, t) {
- return ZX(e.getMonth() + 1, t, 2);
+function efe(e, t) {
+ return GQ(e.getMonth() + 1, t, 2);
}
-function OZ(e, t) {
- return ZX(e.getMinutes(), t, 2);
+function tfe(e, t) {
+ return GQ(e.getMinutes(), t, 2);
}
-function kZ(e, t) {
- return ZX(e.getSeconds(), t, 2);
+function nfe(e, t) {
+ return GQ(e.getSeconds(), t, 2);
}
-function AZ(e) {
+function rfe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function jZ(e, t) {
- return ZX(yX.count(IX(e) - 1, e), t, 2);
+function ife(e, t) {
+ return GQ(wQ.count(LQ(e) - 1, e), t, 2);
}
-function MZ(e) {
+function e$(e) {
var t = e.getDay();
- return t >= 4 || t === 0 ? CX(e) : CX.ceil(e);
+ return t >= 4 || t === 0 ? OQ(e) : OQ.ceil(e);
}
-function NZ(e, t) {
- return e = MZ(e), ZX(CX.count(IX(e), e) + (IX(e).getDay() === 4), t, 2);
+function afe(e, t) {
+ return e = e$(e), GQ(OQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function PZ(e) {
+function ofe(e) {
return e.getDay();
}
-function FZ(e, t) {
- return ZX(bX.count(IX(e) - 1, e), t, 2);
+function sfe(e, t) {
+ return GQ(TQ.count(LQ(e) - 1, e), t, 2);
}
-function IZ(e, t) {
- return ZX(e.getFullYear() % 100, t, 2);
+function cfe(e, t) {
+ return GQ(e.getFullYear() % 100, t, 2);
}
-function LZ(e, t) {
- return e = MZ(e), ZX(e.getFullYear() % 100, t, 2);
+function lfe(e, t) {
+ return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function RZ(e, t) {
- return ZX(e.getFullYear() % 1e4, t, 4);
+function ufe(e, t) {
+ return GQ(e.getFullYear() % 1e4, t, 4);
}
-function zZ(e, t) {
+function dfe(e, t) {
var n = e.getDay();
- return e = n >= 4 || n === 0 ? CX(e) : CX.ceil(e), ZX(e.getFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? OQ(e) : OQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function BZ(e) {
+function ffe(e) {
var t = e.getTimezoneOffset();
- return (t > 0 ? "-" : (t *= -1, "+")) + ZX(t / 60 | 0, "0", 2) + ZX(t % 60, "0", 2);
+ return (t > 0 ? "-" : (t *= -1, "+")) + GQ(t / 60 | 0, "0", 2) + GQ(t % 60, "0", 2);
}
-function VZ(e, t) {
- return ZX(e.getUTCDate(), t, 2);
+function t$(e, t) {
+ return GQ(e.getUTCDate(), t, 2);
}
-function HZ(e, t) {
- return ZX(e.getUTCHours(), t, 2);
+function pfe(e, t) {
+ return GQ(e.getUTCHours(), t, 2);
}
-function UZ(e, t) {
- return ZX(e.getUTCHours() % 12 || 12, t, 2);
+function mfe(e, t) {
+ return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function WZ(e, t) {
- return ZX(1 + gX.count(LX(e), e), t, 3);
+function hfe(e, t) {
+ return GQ(1 + xQ.count(RQ(e), e), t, 3);
}
-function GZ(e, t) {
- return ZX(e.getUTCMilliseconds(), t, 3);
+function n$(e, t) {
+ return GQ(e.getUTCMilliseconds(), t, 3);
}
-function KZ(e, t) {
- return GZ(e, t) + "000";
+function gfe(e, t) {
+ return n$(e, t) + "000";
}
-function qZ(e, t) {
- return ZX(e.getUTCMonth() + 1, t, 2);
+function _fe(e, t) {
+ return GQ(e.getUTCMonth() + 1, t, 2);
}
-function JZ(e, t) {
- return ZX(e.getUTCMinutes(), t, 2);
+function vfe(e, t) {
+ return GQ(e.getUTCMinutes(), t, 2);
}
-function YZ(e, t) {
- return ZX(e.getUTCSeconds(), t, 2);
+function yfe(e, t) {
+ return GQ(e.getUTCSeconds(), t, 2);
}
-function XZ(e) {
+function bfe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function ZZ(e, t) {
- return ZX(DX.count(LX(e) - 1, e), t, 2);
+function xfe(e, t) {
+ return GQ(MQ.count(RQ(e) - 1, e), t, 2);
}
-function QZ(e) {
+function r$(e) {
var t = e.getUTCDay();
- return t >= 4 || t === 0 ? jX(e) : jX.ceil(e);
+ return t >= 4 || t === 0 ? PQ(e) : PQ.ceil(e);
}
-function $Z(e, t) {
- return e = QZ(e), ZX(jX.count(LX(e), e) + (LX(e).getUTCDay() === 4), t, 2);
+function Sfe(e, t) {
+ return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function eQ(e) {
+function Cfe(e) {
return e.getUTCDay();
}
-function tQ(e, t) {
- return ZX(OX.count(LX(e) - 1, e), t, 2);
+function wfe(e, t) {
+ return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function nQ(e, t) {
- return ZX(e.getUTCFullYear() % 100, t, 2);
+function Tfe(e, t) {
+ return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function rQ(e, t) {
- return e = QZ(e), ZX(e.getUTCFullYear() % 100, t, 2);
+function Efe(e, t) {
+ return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function iQ(e, t) {
- return ZX(e.getUTCFullYear() % 1e4, t, 4);
+function Dfe(e, t) {
+ return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function aQ(e, t) {
+function Ofe(e, t) {
var n = e.getUTCDay();
- return e = n >= 4 || n === 0 ? jX(e) : jX.ceil(e), ZX(e.getUTCFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function oQ() {
+function kfe() {
return "+0000";
}
-function sQ() {
+function i$() {
return "%";
}
-function cQ(e) {
+function a$(e) {
return +e;
}
-function lQ(e) {
+function o$(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var uQ, dQ, fQ;
-pQ({
+var s$, c$, l$;
+Afe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -47860,26 +50786,26 @@ pQ({
"Dec"
]
});
-function pQ(e) {
- return uQ = KX(e), dQ = uQ.format, uQ.parse, fQ = uQ.utcFormat, uQ.utcParse, uQ;
+function Afe(e) {
+ return s$ = Ade(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function mQ(e) {
+function jfe(e) {
return new Date(e);
}
-function hQ(e) {
+function Mfe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
-function gQ(e, t, n, r, i, a, o, s, c, l) {
- var u = ZJ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
+function u$(e, t, n, r, i, a, o, s, c, l) {
+ var u = nZ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
function x(e) {
return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
}
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, hQ)) : f().map(mQ);
+ return arguments.length ? f(Array.from(e, Mfe)) : f().map(jfe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -47887,23 +50813,23 @@ function gQ(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(EY(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(jZ(n, e)) : u;
}, u.copy = function() {
- return YJ(u, gQ(e, t, n, r, i, a, o, s, c, l));
+ return eZ(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function _Q() {
- return kq.apply(gQ(VX, HX, IX, PX, yX, hX, pX, dX, uX, dQ).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function Nfe() {
+ return PY.apply(u$(Ode, kde, LQ, FQ, wQ, bQ, vQ, gQ, hQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function vQ() {
- return kq.apply(gQ(zX, BX, LX, FX, DX, gX, mX, fX, uX, fQ).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function Pfe() {
+ return PY.apply(u$(Ede, Dde, RQ, IQ, MQ, xQ, yQ, _Q, hQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
-function yQ() {
- var e = 0, t = 1, n, r, i, a, o = WJ, s = !1, c;
+function d$() {
+ var e = 0, t = 1, n, r, i, a, o = YX, s = !1, c;
function l(e) {
return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));
}
@@ -47920,68 +50846,68 @@ function yQ() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(RJ), l.rangeRound = u(zJ), l.unknown = function(e) {
+ return l.range = u(UX), l.rangeRound = u(WX), l.unknown = function(e) {
return arguments.length ? (c = e, l) : c;
}, function(o) {
return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;
};
}
-function bQ(e, t) {
+function f$(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
-function xQ() {
- var e = CY(yQ()(WJ));
+function p$() {
+ var e = OZ(d$()(YX));
return e.copy = function() {
- return bQ(e, xQ());
- }, Aq.apply(e, arguments);
+ return f$(e, p$());
+ }, FY.apply(e, arguments);
}
-function SQ() {
- var e = FY(yQ()).domain([1, 10]);
+function m$() {
+ var e = BZ(d$()).domain([1, 10]);
return e.copy = function() {
- return bQ(e, SQ()).base(e.base());
- }, Aq.apply(e, arguments);
+ return f$(e, m$()).base(e.base());
+ }, FY.apply(e, arguments);
}
-function CQ() {
- var e = zY(yQ());
+function h$() {
+ var e = WZ(d$());
return e.copy = function() {
- return bQ(e, CQ()).constant(e.constant());
- }, Aq.apply(e, arguments);
+ return f$(e, h$()).constant(e.constant());
+ }, FY.apply(e, arguments);
}
-function wQ() {
- var e = WY(yQ());
+function g$() {
+ var e = YZ(d$());
return e.copy = function() {
- return bQ(e, wQ()).exponent(e.exponent());
- }, Aq.apply(e, arguments);
+ return f$(e, g$()).exponent(e.exponent());
+ }, FY.apply(e, arguments);
}
-function TQ() {
- return wQ.apply(null, arguments).exponent(.5);
+function Ffe() {
+ return g$.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function EQ() {
- var e = [], t = WJ;
+function _$() {
+ var e = [], t = YX;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((lq(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((mY(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(rq), n;
+ return e.sort(cY), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, 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) => Tq(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => AY(e, r / t));
}, n.copy = function() {
- return EQ(t).domain(e);
- }, Aq.apply(n, arguments);
+ return _$(t).domain(e);
+ }, FY.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
-function DQ() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = WJ, u, d = !1, f;
+function v$() {
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = YX, u, d = !1, f;
function p(e) {
return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));
}
@@ -47999,7 +50925,7 @@ function DQ() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = BJ(e, [
+ return arguments.length ? ([n, r, i] = t, l = GX(e, [
n,
r,
i
@@ -48010,121 +50936,121 @@ function DQ() {
];
};
}
- return p.range = m(RJ), p.rangeRound = m(zJ), p.unknown = function(e) {
+ return p.range = m(UX), p.rangeRound = m(WX), p.unknown = function(e) {
return arguments.length ? (f = e, p) : f;
}, function(l) {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function OQ() {
- var e = CY(DQ()(WJ));
+function y$() {
+ var e = OZ(v$()(YX));
return e.copy = function() {
- return bQ(e, OQ());
- }, Aq.apply(e, arguments);
+ return f$(e, y$());
+ }, FY.apply(e, arguments);
}
-function kQ() {
- var e = FY(DQ()).domain([
+function b$() {
+ var e = BZ(v$()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return bQ(e, kQ()).base(e.base());
- }, Aq.apply(e, arguments);
+ return f$(e, b$()).base(e.base());
+ }, FY.apply(e, arguments);
}
-function AQ() {
- var e = zY(DQ());
+function x$() {
+ var e = WZ(v$());
return e.copy = function() {
- return bQ(e, AQ()).constant(e.constant());
- }, Aq.apply(e, arguments);
+ return f$(e, x$()).constant(e.constant());
+ }, FY.apply(e, arguments);
}
-function jQ() {
- var e = WY(DQ());
+function S$() {
+ var e = YZ(v$());
return e.copy = function() {
- return bQ(e, jQ()).exponent(e.exponent());
- }, Aq.apply(e, arguments);
+ return f$(e, S$()).exponent(e.exponent());
+ }, FY.apply(e, arguments);
}
-function MQ() {
- return jQ.apply(null, arguments).exponent(.5);
+function Ife() {
+ return S$.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var NQ = /* @__PURE__ */ v({
- scaleBand: () => Nq,
- scaleDiverging: () => OQ,
- scaleDivergingLog: () => kQ,
- scaleDivergingPow: () => jQ,
- scaleDivergingSqrt: () => MQ,
- scaleDivergingSymlog: () => AQ,
- scaleIdentity: () => TY,
- scaleImplicit: () => jq,
- scaleLinear: () => wY,
- scaleLog: () => IY,
- scaleOrdinal: () => Mq,
- scalePoint: () => Fq,
- scalePow: () => GY,
- scaleQuantile: () => XY,
- scaleQuantize: () => ZY,
- scaleRadial: () => YY,
- scaleSequential: () => xQ,
- scaleSequentialLog: () => SQ,
- scaleSequentialPow: () => wQ,
- scaleSequentialQuantile: () => EQ,
- scaleSequentialSqrt: () => TQ,
- scaleSequentialSymlog: () => CQ,
- scaleSqrt: () => KY,
- scaleSymlog: () => BY,
- scaleThreshold: () => QY,
- scaleTime: () => _Q,
- scaleUtc: () => vQ,
- tickFormat: () => SY
+var C$ = /* @__PURE__ */ y({
+ scaleBand: () => RY,
+ scaleDiverging: () => y$,
+ scaleDivergingLog: () => b$,
+ scaleDivergingPow: () => S$,
+ scaleDivergingSqrt: () => Ife,
+ scaleDivergingSymlog: () => x$,
+ scaleIdentity: () => AZ,
+ scaleImplicit: () => IY,
+ scaleLinear: () => kZ,
+ scaleLog: () => VZ,
+ scaleOrdinal: () => LY,
+ scalePoint: () => BY,
+ scalePow: () => XZ,
+ scaleQuantile: () => tQ,
+ scaleQuantize: () => nQ,
+ scaleRadial: () => eQ,
+ scaleSequential: () => p$,
+ scaleSequentialLog: () => m$,
+ scaleSequentialPow: () => g$,
+ scaleSequentialQuantile: () => _$,
+ scaleSequentialSqrt: () => Ffe,
+ scaleSequentialSymlog: () => h$,
+ scaleSqrt: () => ZZ,
+ scaleSymlog: () => GZ,
+ scaleThreshold: () => rQ,
+ scaleTime: () => Nfe,
+ scaleUtc: () => Pfe,
+ tickFormat: () => DZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function PQ(e) {
- if (e in NQ) return NQ[e]();
- var t = `scale${QL(e)}`;
- if (t in NQ) return NQ[t]();
+function Lfe(e) {
+ if (e in C$) return C$[e]();
+ var t = `scale${XR(e)}`;
+ if (t in C$) return C$[t]();
}
-function FQ(e, t, n) {
+function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = PQ(e);
+ var r = Lfe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
-function IQ(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? FQ(e.scale, n, r) : FQ(t, n, r);
+function T$(e, t, n, r) {
+ if (n != null && r != null) return typeof e.scale == "function" ? w$(e.scale, n, r) : w$(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function LQ(e) {
- return `scale${QL(e)}`;
+function Rfe(e) {
+ return `scale${XR(e)}`;
}
-function RQ(e) {
- return LQ(e) in NQ;
+function zfe(e) {
+ return Rfe(e) in C$;
}
-var zQ = (e, t, n) => {
+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 RQ(r) ? r : "point";
+ if (typeof r == "string") return zfe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function BQ(e, t) {
+function Bfe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function VQ(e, t) {
+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 = BQ(r, e);
+ var t = Bfe(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;
@@ -48134,12 +51060,12 @@ function VQ(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function HQ(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : VQ(e, void 0);
+function Vfe(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function UQ(e, t) {
+function O$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48149,30 +51075,30 @@ function UQ(e, t) {
}
return n;
}
-function WQ(e) {
+function k$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UQ(Object(n), !0).forEach(function(t) {
- GQ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UQ(Object(n)).forEach(function(t) {
+ t % 2 ? O$(Object(n), !0).forEach(function(t) {
+ Hfe(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 GQ(e, t, n) {
- return (t = KQ(t)) in e ? Object.defineProperty(e, t, {
+function Hfe(e, t, n) {
+ return (t = Ufe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KQ(e) {
- var t = qQ(e, "string");
+function Ufe(e) {
+ var t = Wfe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qQ(e, t) {
+function Wfe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48182,7 +51108,7 @@ function qQ(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var JQ = [0, "auto"], YQ = {
+var A$ = [0, "auto"], j$ = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -48211,13 +51137,13 @@ var JQ = [0, "auto"], YQ = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, XQ = (e, t) => e.cartesianAxis.xAxis[t], ZQ = (e, t) => XQ(e, t) ?? YQ, QQ = {
+}, M$ = (e, t) => e.cartesianAxis.xAxis[t], N$ = (e, t) => M$(e, t) ?? j$, P$ = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
angle: 0,
dataKey: void 0,
- domain: JQ,
+ domain: A$,
hide: !0,
id: 0,
includeHidden: !1,
@@ -48240,7 +51166,7 @@ var JQ = [0, "auto"], YQ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, $Q = (e, t) => e.cartesianAxis.yAxis[t], e$ = (e, t) => $Q(e, t) ?? QQ, t$ = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Gfe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -48253,31 +51179,31 @@ var JQ = [0, "auto"], YQ = {
scale: "auto",
type: "number",
unit: ""
-}, n$ = (e, t) => e.cartesianAxis.zAxis[t] ?? t$, r$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Gfe, R$ = (e, t, n) => {
switch (t) {
- case "xAxis": return ZQ(e, n);
- case "yAxis": return e$(e, n);
- case "zAxis": return n$(e, n);
- case "angleAxis": return PK(e, n);
- case "radiusAxis": return FK(e, n);
+ case "xAxis": return N$(e, n);
+ case "yAxis": return I$(e, n);
+ case "zAxis": return L$(e, n);
+ case "angleAxis": return zJ(e, n);
+ case "radiusAxis": return BJ(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, i$ = (e, t, n) => {
+}, Kfe = (e, t, n) => {
switch (t) {
- case "xAxis": return ZQ(e, n);
- case "yAxis": return e$(e, n);
+ case "xAxis": return N$(e, n);
+ case "yAxis": return I$(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, a$ = (e, t, n) => {
+}, z$ = (e, t, n) => {
switch (t) {
- case "xAxis": return ZQ(e, n);
- case "yAxis": return e$(e, n);
- case "angleAxis": return PK(e, n);
- case "radiusAxis": return FK(e, n);
+ case "xAxis": return N$(e, n);
+ case "yAxis": return I$(e, n);
+ case "angleAxis": return zJ(e, n);
+ case "radiusAxis": return BJ(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, o$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
-function s$(e, t) {
+}, B$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+function V$(e, t) {
return (n) => {
switch (e) {
case "xAxis": return "xAxisId" in n && n.xAxisId === t;
@@ -48289,58 +51215,58 @@ function s$(e, t) {
}
};
}
-var c$ = (e) => e.graphicalItems.cartesianItems, l$ = $([GK, KK], s$), u$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), d$ = $([
- c$,
- r$,
- l$
-], u$, { memoizeOptions: { resultEqualityCheck: ZK } }), f$ = $([d$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(YK)), p$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), m$ = $([d$], p$), h$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), g$ = $([d$], h$, { memoizeOptions: { resultEqualityCheck: ZK } }), _$ = (e, t) => {
+var H$ = (e) => e.graphicalItems.cartesianItems, qfe = $([XJ, ZJ], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+ H$,
+ R$,
+ qfe
+], U$, { memoizeOptions: { resultEqualityCheck: nY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(eY)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Jfe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Yfe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: nY } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, v$ = $([g$, YG], _$), y$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: tV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: tV(e, t.dataKey) })), b$ = $([
- v$,
- r$,
- d$
-], y$);
-function x$(e) {
- if (WL(e) || e instanceof Date) {
+}, Y$ = $([Yfe, eJ], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: $V(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: $V(e, t.dataKey) })), Z$ = $([
+ Y$,
+ R$,
+ W$
+], X$);
+function Q$(e) {
+ if (UR(e) || e instanceof Date) {
var t = Number(e);
- if (ZB(t)) return t;
+ if (YV(t)) return t;
}
}
-function S$(e) {
+function $$(e) {
if (Array.isArray(e)) {
- var t = [x$(e[0]), x$(e[1])];
- return ZG(t) ? t : void 0;
+ var t = [Q$(e[0]), Q$(e[1])];
+ return nJ(t) ? t : void 0;
}
- var n = x$(e);
+ var n = Q$(e);
if (n != null) return [n, n];
}
-function C$(e) {
- return e.map(x$).filter($L);
+function e1(e) {
+ return e.map(Q$).filter(ZR);
}
-function w$(e, t) {
- var n = x$(e), r = x$(t);
+function Xfe(e, t) {
+ var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var T$ = $([b$], (e) => e?.map((e) => e.value).sort(w$));
-function E$(e, t) {
+var Zfe = $([Z$], (e) => e?.map((e) => e.value).sort(Xfe));
+function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function D$(e, t, n) {
- return !n || typeof t != "number" || HL(t) || !n.length ? [] : C$(n.flatMap((n) => {
- var r = tV(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!ZB(i) || !ZB(a))) return [t - i, t + a];
+function Qfe(e, t, n) {
+ return !n || typeof t != "number" || VR(t) || !n.length ? [] : e1(n.flatMap((n) => {
+ var r = $V(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!YV(i) || !YV(a))) return [t - i, t + a];
}));
}
-var O$ = (e) => a$(e, $K(e), eq(e)), k$ = $([O$], (e) => e?.dataKey), A$ = $([
- f$,
- YG,
- O$
-], JK), j$ = (e, t, n, r) => {
+var n1 = (e) => z$(e, iY(e), aY(e)), r1 = $([n1], (e) => e?.dataKey), $fe = $([
+ G$,
+ eJ,
+ n1
+], $J), i1 = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -48349,168 +51275,168 @@ var O$ = (e) => a$(e, $K(e), eq(e)), k$ = $([O$], (e) => e?.dataKey), A$ = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: jse(e, o.map(qK), n),
+ stackedData: gde(e, o.map(QJ), n),
graphicalItems: o
}];
}));
-}, M$ = $([
- A$,
- f$,
- hK,
- gK
-], j$), N$ = (e, t, n, r) => {
+}, a1 = $([
+ $fe,
+ G$,
+ bJ,
+ xJ
+], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = Pse(e, i, a);
+ var o = yde(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, P$ = $([r$], (e) => e.allowDataOverflow), F$ = (e) => {
- if (e == null || !("domain" in e)) return JQ;
+}, epe = $([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) {
if (e.type === "number") {
- var t = C$(e.ticks);
+ var t = e1(e.ticks);
return [Math.min(...t), Math.max(...t)];
}
if (e.type === "category") return e.ticks.map(String);
}
- return e?.domain ?? JQ;
-}, I$ = $([r$], F$), L$ = $([I$, P$], $G), R$ = $([
- M$,
- qG,
- GK,
- L$
-], N$, { memoizeOptions: { resultEqualityCheck: XK } }), z$ = (e) => e.errorBars, B$ = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => E$(n, e)), V$ = function() {
+ return e?.domain ?? A$;
+}, c1 = $([R$], s1), l1 = $([c1, epe], iJ), tpe = $([
+ a1,
+ Qq,
+ XJ,
+ l1
+], o1, { memoizeOptions: { resultEqualityCheck: tY } }), u1 = (e) => e.errorBars, npe = (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();
return [Math.min(...t), Math.max(...t)];
}
-}, H$ = (e, t, n, r, i) => {
+}, f1 = (e, t, n, r, i) => {
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => E$(i, e)), c = tV(e, t.dataKey ?? n.dataKey), l = D$(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = $V(e, t.dataKey ?? n.dataKey), l = Qfe(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);
}
- var f = S$(c);
+ var f = $$(c);
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 = S$(tV(e, t.dataKey));
+ var n = $$($V(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]));
- }), ZB(a) && ZB(o)) return [a, o];
-}, U$ = $([
- v$,
- r$,
- m$,
- z$,
- GK
-], H$, { memoizeOptions: { resultEqualityCheck: XK } });
-function W$(e) {
- var { value: t } = e;
- if (WL(t) || t instanceof Date) return t;
-}
-var G$ = (e, t, n) => {
- var r = e.map(W$).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && JL(r)) ? KG(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, K$ = (e) => e.referenceElements.dots, q$ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), J$ = $([
- K$,
- GK,
- KK
-], q$), Y$ = (e) => e.referenceElements.areas, X$ = $([
+ }), YV(a) && YV(o)) return [a, o];
+}, rpe = $([
Y$,
- GK,
- KK
-], q$), Z$ = (e) => e.referenceElements.lines, Q$ = $([
- Z$,
- GK,
- KK
-], q$), $$ = (e, t) => {
+ R$,
+ Jfe,
+ u1,
+ XJ
+], f1, { memoizeOptions: { resultEqualityCheck: tY } });
+function ipe(e) {
+ var { value: t } = e;
+ if (UR(t) || t instanceof Date) return t;
+}
+var ape = (e, t, n) => {
+ var r = e.map(ipe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && KR(r)) ? Zq(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), ope = $([
+ p1,
+ XJ,
+ ZJ
+], m1), h1 = (e) => e.referenceElements.areas, spe = $([
+ h1,
+ XJ,
+ ZJ
+], m1), g1 = (e) => e.referenceElements.lines, cpe = $([
+ g1,
+ XJ,
+ ZJ
+], m1), _1 = (e, t) => {
if (e != null) {
- var n = C$(e.map((e) => t === "xAxis" ? e.x : e.y));
+ var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, e1 = $(J$, GK, $$), t1 = (e, t) => {
+}, lpe = $(ope, XJ, _1), v1 = (e, t) => {
if (e != null) {
- var n = C$(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
+ 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)];
}
-}, n1 = $([X$, GK], t1);
-function r1(e) {
- if (e.x != null) return C$([e.x]);
+}, upe = $([spe, XJ], v1);
+function dpe(e) {
+ if (e.x != null) return e1([e.x]);
var t = e.segment?.map((e) => e.x);
- return t == null || t.length === 0 ? [] : C$(t);
+ return t == null || t.length === 0 ? [] : e1(t);
}
-function i1(e) {
- if (e.y != null) return C$([e.y]);
+function fpe(e) {
+ if (e.y != null) return e1([e.y]);
var t = e.segment?.map((e) => e.y);
- return t == null || t.length === 0 ? [] : C$(t);
+ return t == null || t.length === 0 ? [] : e1(t);
}
-var a1 = (e, t) => {
+var y1 = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? r1(e) : i1(e));
+ var n = e.flatMap((e) => t === "xAxis" ? dpe(e) : fpe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, o1 = $(e1, $([Q$, GK], a1), n1, (e, t, n) => V$(e, n, t)), s1 = (e, t, n, r, i, a, o, s) => n ?? eK(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? V$(r, a, i) : V$(a, i), e.allowDataOverflow), c1 = $([
- r$,
- I$,
- L$,
+}, ppe = $(lpe, $([cpe, XJ], y1), upe, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? aJ(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), mpe = $([
R$,
- U$,
- o1,
- HV,
- GK
-], s1, { memoizeOptions: { resultEqualityCheck: XK } }), l1 = [0, 1], u1 = (e, t, n, r, i, a, o) => {
+ c1,
+ l1,
+ tpe,
+ rpe,
+ ppe,
+ mU,
+ XJ
+], b1, { memoizeOptions: { resultEqualityCheck: tY } }), hpe = [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 = nV(t, a);
- return l && s == null ? KG(0, n?.length ?? 0) : c === "category" ? G$(r, e, l) : i === "expand" ? l1 : o;
- }
-}, d1 = $([
- r$,
- HV,
- v$,
- b$,
- hK,
- GK,
- c1
-], u1), f1 = $([
- r$,
- o$,
- _K
-], zQ), p1 = (e, t, n) => {
+ var { dataKey: s, type: c } = e, l = eH(t, a);
+ return l && s == null ? Zq(0, n?.length ?? 0) : c === "category" ? ape(r, e, l) : i === "expand" ? hpe : o;
+ }
+}, S1 = $([
+ R$,
+ mU,
+ Y$,
+ Z$,
+ bJ,
+ XJ,
+ mpe
+], x1), C1 = $([
+ R$,
+ B$,
+ SJ
+], E$), w1 = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
- var i = F$(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && ZG(e)) {
- if (a) return lK(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return uK(e, t.tickCount, t.allowDecimals, r);
+ var i = s1(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && nJ(e)) {
+ if (a) return mJ(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return hJ(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && ZG(e)) return lK(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && ZG(e)) return uK(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && nJ(e)) return mJ(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && nJ(e)) return hJ(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
-}, m1 = $([
- d1,
- a$,
- f1
-], p1), h1 = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && ZG(t) && Array.isArray(n) && n.length > 0) {
+}, T1 = $([
+ S1,
+ z$,
+ C1
+], w1), E1 = (e, t, n, r) => {
+ if (r !== "angleAxis" && e?.type === "number" && nJ(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, g1 = $([
- r$,
- d1,
- m1,
- GK
-], h1), _1 = $($(b$, r$, (e, t) => {
+}, gpe = $([
+ R$,
+ S1,
+ T1,
+ XJ
+], E1), D1 = $($(Z$, R$, (e, t) => {
if (!(!t || t.type !== "number")) {
- var n = Infinity, r = Array.from(C$(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
+ var n = Infinity, r = Array.from(e1(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
var o = a - i;
if (o === 0) return Infinity;
@@ -48523,22 +51449,22 @@ var a1 = (e, t) => {
}
return n / o;
}
-}), HV, pK, SV, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!ZB(e)) return 0;
+}), mU, vJ, AH, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!YV(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = qL(n, e * a), s = e * a / 2;
+ var o = GR(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), v1 = (e, t, n) => {
- var r = ZQ(e, t);
- return r == null || typeof r.padding != "string" ? 0 : _1(e, "xAxis", t, n, r.padding);
-}, y1 = (e, t, n) => {
- var r = e$(e, t);
- return r == null || typeof r.padding != "string" ? 0 : _1(e, "yAxis", t, n, r.padding);
-}, b1 = $(ZQ, v1, (e, t) => {
+}), _pe = (e, t, n) => {
+ var r = N$(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
+}, vpe = (e, t, n) => {
+ var r = I$(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
+}, ype = $(N$, _pe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -48551,7 +51477,7 @@ var a1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), x1 = $(e$, y1, (e, t) => {
+}), bpe = $(I$, vpe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -48564,98 +51490,98 @@ var a1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), S1 = $([
- SV,
- b1,
- EV,
- TV,
+}), xpe = $([
+ AH,
+ ype,
+ IH,
+ FH,
(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];
-}), C1 = $([
- SV,
- HV,
- x1,
- EV,
- TV,
+}), Spe = $([
+ AH,
+ mU,
+ bpe,
+ IH,
+ FH,
(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];
-}), w1 = (e, t, n, r) => {
+}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return S1(e, n, r);
- case "yAxis": return C1(e, n, r);
- case "zAxis": return n$(e, n)?.range;
- case "angleAxis": return BK(e);
- case "radiusAxis": return HK(e, n);
+ case "xAxis": return xpe(e, n, r);
+ case "yAxis": return Spe(e, n, r);
+ case "zAxis": return L$(e, n)?.range;
+ case "angleAxis": return GJ(e);
+ case "radiusAxis": return qJ(e, n);
default: return;
}
-}, T1 = $([r$, w1], TK), E1 = $([
- r$,
- f1,
- $([f1, g1], nq),
- T1
-], IQ), D1 = (e, t, n, r) => {
+}, k1 = $([R$, O1], AJ), A1 = $([
+ R$,
+ C1,
+ $([C1, gpe], sY),
+ k1
+], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (nV(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
- }
-}, O1 = $([
- HV,
- b$,
- a$,
- GK
-], D1), k1 = $([E1], tq);
-$([E1], HQ), $([E1, T$], VQ), $([
- d$,
+ if (eH(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ }
+}, M1 = $([
+ mU,
+ Z$,
z$,
- GK
-], B$);
-function A1(e, t) {
+ XJ
+], j1), N1 = $([A1], oY);
+$([A1], Vfe), $([A1, Zfe], D$), $([
+ W$,
+ u1,
+ XJ
+], npe);
+function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var j1 = (e, t) => t, M1 = (e, t, n) => n, N1 = $(vV, j1, M1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(A1)), P1 = $(yV, j1, M1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(A1)), F1 = (e, t) => ({
+var F1 = (e, t) => t, I1 = (e, t, n) => n, Cpe = $(_H, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), wpe = $(vH, 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
-}), I1 = (e, t) => ({
+}), Tpe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), L1 = $(SV, ZQ, F1), R1 = (e, t, n) => {
+}), R1 = $(AH, N$, L1), Epe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, z1 = (e, t, n) => {
+}, Dpe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, B1 = $(gV, SV, N1, j1, M1, (e, t, n, r, i) => {
+}, Ope = $(mH, AH, Cpe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = F1(t, n);
- o ??= R1(t, r, e);
+ var s = L1(t, n);
+ o ??= Epe(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;
-}), V1 = $(hV, SV, P1, j1, M1, (e, t, n, r, i) => {
+}), kpe = $(pH, AH, wpe, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = I1(t, n);
- o ??= z1(t, r, e);
+ var s = Tpe(t, n);
+ o ??= Dpe(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;
-}), H1 = $([
- SV,
- ZQ,
+}), Ape = $([
+ AH,
+ N$,
(e, t) => {
- var n = ZQ(e, t);
- if (n != null) return B1(e, n.orientation, n.mirror);
+ var n = N$(e, t);
+ if (n != null) return Ope(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -48669,12 +51595,12 @@ var j1 = (e, t) => t, M1 = (e, t, n) => n, N1 = $(vV, j1, M1, (e, t, n) => e.fil
y: i
};
}
-}), U1 = $([
- SV,
- e$,
+}), jpe = $([
+ AH,
+ I$,
(e, t) => {
- var n = e$(e, t);
- if (n != null) return V1(e, n.orientation, n.mirror);
+ var n = I$(e, t);
+ if (n != null) return kpe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -48688,38 +51614,38 @@ var j1 = (e, t) => t, M1 = (e, t, n) => n, N1 = $(vV, j1, M1, (e, t, n) => e.fil
y: e.top
};
}
-}), W1 = $(SV, e$, (e, t) => ({
+}), z1 = $(AH, I$, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), G1 = (e, t, n) => {
+})), B1 = (e, t, n) => {
switch (t) {
- case "xAxis": return L1(e, n).width;
- case "yAxis": return W1(e, n).height;
+ case "xAxis": return R1(e, n).width;
+ case "yAxis": return z1(e, n).height;
default: return;
}
-}, K1 = (e, t, n, r) => {
+}, V1 = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = nV(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && JL(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = eH(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && KR(c)) return c;
}
-}, q1 = $([
- HV,
- b$,
- r$,
- GK
-], K1), J1 = $([
- HV,
- i$,
- f1,
- k1,
- q1,
+}, H1 = $([
+ mU,
+ Z$,
+ R$,
+ XJ
+], V1), U1 = $([
+ mU,
+ Kfe,
+ C1,
+ N1,
+ H1,
+ M1,
O1,
- w1,
- m1,
- GK
+ T1,
+ XJ
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = nV(e, c);
+ var l = eH(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -48741,107 +51667,107 @@ var j1 = (e, t) => t, M1 = (e, t, n) => n, N1 = $(vV, j1, M1, (e, t, n) => e.fil
scale: r
};
}
-}), Y1 = (e, t, n, r, i, a, o, s, c) => {
+}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = nV(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 ? VL(a[0] - a[1]) * 2 * m : m;
+ var l = eH(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 ? BR(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 ZB(i) ? {
+ return YV(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter($L) : l && s ? s.map((e, t) => {
+ }).filter(ZR) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter($L) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(ZR) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter($L) : r.domain().map((e, t) => {
+ }).filter(ZR) : r.domain().map((e, t) => {
var n = r.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter($L);
- }
-}, X1 = $([
- HV,
- a$,
- f1,
- k1,
- m1,
- w1,
- q1,
+ }).filter(ZR);
+ }
+}, G1 = $([
+ mU,
+ z$,
+ C1,
+ N1,
+ T1,
O1,
- GK
-], Y1), Z1 = (e, t, n, r, i, a, o) => {
+ H1,
+ M1,
+ XJ
+], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = nV(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? VL(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = eH(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? BR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return ZB(r) ? {
+ return YV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter($L) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(ZR) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return ZB(r) ? {
+ return YV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter($L) : n.domain().map((e, t) => {
+ }).filter(ZR) : n.domain().map((e, t) => {
var r = n.map(e);
- return ZB(r) ? {
+ return YV(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter($L);
- }
-}, Q1 = $([
- HV,
- a$,
- k1,
- w1,
- q1,
+ }).filter(ZR);
+ }
+}, q1 = $([
+ mU,
+ z$,
+ N1,
O1,
- GK
-], Z1), $1 = $(r$, k1, (e, t) => {
- if (e != null && t != null) return WQ(WQ({}, e), {}, { scale: t });
+ H1,
+ M1,
+ XJ
+], K1), J1 = $(R$, N1, (e, t) => {
+ if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-$((e, t, n) => n$(e, n), $([$([
- r$,
- f1,
- d1,
- T1
-], IQ)], tq), (e, t) => {
- if (e != null && t != null) return WQ(WQ({}, e), {}, { scale: t });
+$((e, t, n) => L$(e, n), $([$([
+ R$,
+ C1,
+ S1,
+ k1
+], T$)], oY), (e, t) => {
+ if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var e0 = $([
- HV,
- vV,
- yV
+var Mpe = $([
+ mU,
+ _H,
+ vH
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -48863,41 +51789,41 @@ $([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var t0 = (e) => e.options.defaultTooltipEventType, n0 = (e) => e.options.validateTooltipEventTypes;
-function r0(e, t, n) {
+var Y1 = (e) => e.options.defaultTooltipEventType, X1 = (e) => e.options.validateTooltipEventTypes;
+function Z1(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
-function i0(e, t) {
- return r0(t, t0(e), n0(e));
+function Q1(e, t) {
+ return Z1(t, Y1(e), X1(e));
}
-function a0(e) {
- return Q((t) => i0(t, e));
+function Npe(e) {
+ return Q((t) => Q1(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var o0 = (e, t) => {
+var $1 = (e, t) => {
var n, r = Number(t);
- if (!(HL(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, s0 = (e) => e.tooltip.settings, c0 = {
+ if (!(VR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, Ppe = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, l0 = SB({
+}, t0 = bV({
name: "tooltip",
initialState: {
itemInteraction: {
- click: c0,
- hover: c0
+ click: e0,
+ hover: e0
},
axisInteraction: {
- click: c0,
- hover: c0
+ click: e0,
+ hover: e0
},
- keyboardInteraction: c0,
+ keyboardInteraction: e0,
syncInteraction: {
active: !1,
index: null,
@@ -48919,23 +51845,23 @@ var o0 = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(NH(t.payload));
+ e.tooltipItemPayloads.push(gW(t.payload));
},
- prepare: vB()
+ prepare: gV()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = lB(e).tooltipItemPayloads.indexOf(NH(n));
- i > -1 && (e.tooltipItemPayloads[i] = NH(r));
+ var { prev: n, next: r } = t.payload, i = sV(e).tooltipItemPayloads.indexOf(gW(n));
+ i > -1 && (e.tooltipItemPayloads[i] = gW(r));
},
- prepare: vB()
+ prepare: gV()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = lB(e).tooltipItemPayloads.indexOf(NH(t.payload));
+ var n = sV(e).tooltipItemPayloads.indexOf(gW(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: vB()
+ prepare: gV()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -48965,10 +51891,10 @@ var o0 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: u0, replaceTooltipEntrySettings: Wce, removeTooltipEntrySettings: Gce, setTooltipSettingsState: Kce, setActiveMouseOverItemIndex: d0, mouseLeaveItem: qce, mouseLeaveChart: f0, setActiveClickItemIndex: Jce, setMouseOverAxisIndex: p0, setMouseClickAxisIndex: Yce, setSyncInteraction: m0, setKeyboardInteraction: h0 } = l0.actions, Xce = l0.reducer;
+}), { addTooltipEntrySettings: Fpe, replaceTooltipEntrySettings: Ipe, removeTooltipEntrySettings: Lpe, setTooltipSettingsState: Rpe, setActiveMouseOverItemIndex: n0, mouseLeaveItem: zpe, mouseLeaveChart: r0, setActiveClickItemIndex: Bpe, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Vpe, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Hpe = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function g0(e, t) {
+function s0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48978,30 +51904,30 @@ function g0(e, t) {
}
return n;
}
-function _0(e) {
+function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g0(Object(n), !0).forEach(function(t) {
- Zce(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g0(Object(n)).forEach(function(t) {
+ t % 2 ? s0(Object(n), !0).forEach(function(t) {
+ Upe(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 Zce(e, t, n) {
- return (t = Qce(t)) in e ? Object.defineProperty(e, t, {
+function Upe(e, t, n) {
+ return (t = Wpe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qce(e) {
- var t = $ce(e, "string");
+function Wpe(e) {
+ var t = Gpe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $ce(e, t) {
+function Gpe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49011,22 +51937,22 @@ function $ce(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ele(e, t, n) {
+function Kpe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function tle(e) {
+function qpe(e) {
return e.index != null;
}
-var v0 = (e, t, n, r) => {
- if (t == null) return c0;
- var i = ele(e, t, n);
- if (i == null) return c0;
+var l0 = (e, t, n, r) => {
+ if (t == null) return e0;
+ var i = Kpe(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 (tle(i)) {
- if (a) return _0(_0({}, i), {}, { active: !0 });
+ if (qpe(i)) {
+ if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -49034,11 +51960,11 @@ var v0 = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return _0(_0({}, c0), {}, { coordinate: i.coordinate });
+ return c0(c0({}, e0), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function nle(e) {
+function Jpe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -49047,25 +51973,25 @@ function nle(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function rle(e, t) {
- var n = nle(e), r = t[0], i = t[1];
+function Ype(e, t) {
+ var n = Jpe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function ile(e, t, n) {
+function Xpe(e, t, n) {
if (n == null || t == null) return !0;
- var r = tV(e, t);
- return r == null || !ZG(n) || rle(r, n);
+ var r = $V(e, t);
+ return r == null || !nJ(n) || Ype(r, n);
}
-var y0 = (e, t, n, r) => {
+var u0 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!ZB(a)) return i;
+ if (!YV(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 || ile(l, n, r) ? String(c) : null;
-}, b0 = (e, t, n, r, i, a, o) => {
+ return l == null || Xpe(l, n, r) ? String(c) : null;
+}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -49081,7 +52007,7 @@ var y0 = (e, t, n, r) => {
};
}
}
-}, x0 = (e, t, n, r) => {
+}, f0 = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -49091,10 +52017,10 @@ var y0 = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, S0 = (e) => e.options.tooltipPayloadSearcher, C0 = (e) => e.tooltip;
+}, p0 = (e) => e.options.tooltipPayloadSearcher, m0 = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function w0(e, t) {
+function h0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49104,30 +52030,30 @@ function w0(e, t) {
}
return n;
}
-function T0(e) {
+function g0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? w0(Object(n), !0).forEach(function(t) {
- ale(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w0(Object(n)).forEach(function(t) {
+ t % 2 ? h0(Object(n), !0).forEach(function(t) {
+ Zpe(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 ale(e, t, n) {
- return (t = ole(t)) in e ? Object.defineProperty(e, t, {
+function Zpe(e, t, n) {
+ return (t = Qpe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ole(e) {
- var t = sle(e, "string");
+function Qpe(e) {
+ var t = _0(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sle(e, t) {
+function _0(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49137,222 +52063,222 @@ function sle(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cle(e) {
+function $pe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function lle(e) {
+function eme(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function ule(e) {
+function tme(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function E0(e) {
+function v0(e) {
if (typeof e == "string") return e;
}
-function dle(e) {
+function nme(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? cle(e.name) : void 0,
- unit: "unit" in e ? lle(e.unit) : void 0,
- dataKey: "dataKey" in e ? ule(e.dataKey) : void 0,
+ name: "name" in e ? $pe(e.name) : void 0,
+ unit: "unit" in e ? eme(e.unit) : void 0,
+ dataKey: "dataKey" in e ? tme(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? E0(e.color) : void 0,
- fill: "fill" in e ? E0(e.fill) : void 0
+ color: "color" in e ? v0(e.color) : void 0,
+ fill: "fill" in e ? v0(e.fill) : void 0
};
}
-function fle(e, t) {
+function rme(e, t) {
return e ?? t;
}
-var D0 = (e, t, n, r, i, a, o) => {
+var y0 = (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 = fle(d, s), m = Array.isArray(p) ? XB(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? XL(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = rme(d, s), m = Array.isArray(p) ? JV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? JR(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = dle(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = T0(T0({}, f), {}, {
+ var n = nme(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(pV({
+ e.push(dH({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: tV(a, i),
+ value: $V(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(pV({
+ }) : e.push(dH({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: tV(_, h),
- name: tV(_, g) ?? f?.name
+ value: $V(_, h),
+ name: $V(_, g) ?? f?.name
})), e;
}, []);
}
-}, O0 = $([
- O$,
- o$,
- _K
-], zQ), k0 = $([
+}, b0 = $([
+ n1,
+ B$,
+ SJ
+], E$), x0 = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
- O$,
- $([$K, eq], s$)
-], u$, { memoizeOptions: { resultEqualityCheck: ZK } }), ple = $([k0], (e) => e.filter(YK)), A0 = $([$([k0], h$, { memoizeOptions: { resultEqualityCheck: ZK } }), qG], _$), mle = $([
- ple,
- qG,
- O$
-], JK), j0 = $([
- A0,
- O$,
- k0
-], y$), M0 = $([O$], F$), N0 = $([M0, $([O$], (e) => e.allowDataOverflow)], $G), hle = $([
+ n1,
+ $([iY, aY], V$)
+], U$, { memoizeOptions: { resultEqualityCheck: nY } }), ime = $([x0], (e) => e.filter(eY)), S0 = $([$([x0], q$, { memoizeOptions: { resultEqualityCheck: nY } }), Qq], J$), ame = $([
+ ime,
+ Qq,
+ n1
+], $J), C0 = $([
+ S0,
+ n1,
+ x0
+], X$), w0 = $([n1], s1), T0 = $([w0, $([n1], (e) => e.allowDataOverflow)], iJ), ome = $([
$([
- mle,
- $([k0], (e) => e.filter(YK)),
- hK,
- gK
- ], j$),
- qG,
- $K,
- N0
-], N$), gle = $([
- A0,
- O$,
- $([k0], p$),
- z$,
- $K
-], H$, { memoizeOptions: { resultEqualityCheck: XK } }), _le = $([$([
- K$,
- $K,
- eq
-], q$), $K], $$), vle = $([$([
- Y$,
- $K,
- eq
-], q$), $K], t1), P0 = $([
- O$,
- HV,
- A0,
- j0,
- hK,
- $K,
+ ame,
+ $([x0], (e) => e.filter(eY)),
+ bJ,
+ xJ
+ ], i1),
+ Qq,
+ iY,
+ T0
+], o1), sme = $([
+ S0,
+ n1,
+ $([x0], K$),
+ u1,
+ iY
+], f1, { memoizeOptions: { resultEqualityCheck: tY } }), cme = $([$([
+ p1,
+ iY,
+ aY
+], m1), iY], _1), lme = $([$([
+ h1,
+ iY,
+ aY
+], m1), iY], v1), E0 = $([
+ n1,
+ mU,
+ S0,
+ C0,
+ bJ,
+ iY,
$([
- O$,
- M0,
- N0,
- hle,
- gle,
+ n1,
+ w0,
+ T0,
+ ome,
+ sme,
$([
- _le,
+ cme,
$([$([
- Z$,
- $K,
- eq
- ], q$), $K], a1),
- vle
- ], V$),
- HV,
- $K
- ], s1)
-], u1), yle = $([
- O$,
- P0,
+ g1,
+ iY,
+ aY
+ ], m1), iY], y1),
+ lme
+ ], d1),
+ mU,
+ iY
+ ], b1)
+], x1), ume = $([
+ n1,
+ E0,
$([
- P0,
- O$,
- O0
- ], p1),
- $K
-], h1), F0 = (e) => w1(e, $K(e), eq(e), !1), I0 = $([O$, F0], TK), L0 = $([$([
- O$,
- O0,
- yle,
- I0
-], IQ)], tq), R0 = $([
- HV,
- O$,
- O0,
- L0,
- F0,
+ E0,
+ n1,
+ b0
+ ], w1),
+ iY
+], E1), D0 = (e) => O1(e, iY(e), aY(e), !1), O0 = $([n1, D0], AJ), k0 = $([$([
+ n1,
+ b0,
+ ume,
+ O0
+], T$)], oY), A0 = $([
+ mU,
+ n1,
+ b0,
+ k0,
+ D0,
$([
- HV,
- j0,
- O$,
- $K
- ], K1),
+ mU,
+ C0,
+ n1,
+ iY
+ ], V1),
$([
- HV,
- j0,
- O$,
- $K
- ], D1),
- $K
+ mU,
+ C0,
+ n1,
+ iY
+ ], j1),
+ iY
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = nV(e, s);
+ var { type: c } = t, l = eH(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 ? VL(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? BR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter($L) : r.domain().map((e, t) => {
+ }).filter(ZR) : r.domain().map((e, t) => {
var n = r.map(e);
- return ZB(n) ? {
+ return YV(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter($L);
+ }).filter(ZR);
}
}
-}), z0 = $([
- t0,
- n0,
- s0
-], (e, t, n) => r0(n.shared, e, t)), B0 = (e) => e.tooltip.settings.trigger, V0 = (e) => e.tooltip.settings.defaultIndex, H0 = $([
- C0,
- z0,
- B0,
- V0
-], v0), U0 = $([
- H0,
- A0,
- k$,
- P0
-], y0), W0 = $([R0, U0], o0), G0 = $([H0], (e) => {
+}), j0 = $([
+ Y1,
+ X1,
+ Ppe
+], (e, t, n) => Z1(n.shared, e, t)), M0 = (e) => e.tooltip.settings.trigger, N0 = (e) => e.tooltip.settings.defaultIndex, P0 = $([
+ m0,
+ j0,
+ M0,
+ N0
+], l0), F0 = $([
+ P0,
+ S0,
+ r1,
+ E0
+], u0), I0 = $([A0, F0], $1), L0 = $([P0], (e) => {
if (e) return e.dataKey;
-}), ble = $([H0], (e) => {
+}), dme = $([P0], (e) => {
if (e) return e.graphicalItemId;
-}), K0 = $([
- C0,
- z0,
- B0,
- V0
-], x0), xle = $([H0, $([
- hV,
- gV,
- HV,
- SV,
+}), R0 = $([
+ m0,
+ j0,
+ M0,
+ N0
+], f0), fme = $([P0, $([
+ pH,
+ mH,
+ mU,
+ AH,
+ A0,
+ N0,
+ R0
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), pme = $([P0], (e) => e?.active ?? !1), mme = $([$([
R0,
- V0,
- K0
-], b0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), Sle = $([H0], (e) => e?.active ?? !1), Cle = $([$([
- K0,
- U0,
- qG,
- k$,
- W0,
- S0,
- z0
-], D0)], (e) => {
+ F0,
+ Qq,
+ r1,
+ I0,
+ p0,
+ j0
+], y0)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -49360,7 +52286,7 @@ var D0 = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function q0(e, t) {
+function z0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49370,30 +52296,30 @@ function q0(e, t) {
}
return n;
}
-function J0(e) {
+function B0(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) {
- wle(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q0(Object(n)).forEach(function(t) {
+ t % 2 ? z0(Object(n), !0).forEach(function(t) {
+ hme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wle(e, t, n) {
- return (t = Tle(t)) in e ? Object.defineProperty(e, t, {
+function hme(e, t, n) {
+ return (t = gme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Tle(e) {
- var t = Ele(e, "string");
+function gme(e) {
+ var t = _me(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ele(e, t) {
+function _me(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49403,13 +52329,13 @@ function Ele(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Dle = () => Q(O$), Ole = () => {
- var e = Dle(), t = Q(R0), n = Q(L0);
- return fV(!e || !n ? void 0 : J0(J0({}, e), {}, { scale: n }), t);
+var vme = () => Q(n1), yme = () => {
+ var e = vme(), t = Q(A0), n = Q(k0);
+ return uH(!e || !n ? void 0 : B0(B0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function Y0(e, t) {
+function V0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49419,30 +52345,30 @@ function Y0(e, t) {
}
return n;
}
-function X0(e) {
+function H0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Y0(Object(n), !0).forEach(function(t) {
- kle(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y0(Object(n)).forEach(function(t) {
+ t % 2 ? V0(Object(n), !0).forEach(function(t) {
+ bme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kle(e, t, n) {
- return (t = Ale(t)) in e ? Object.defineProperty(e, t, {
+function bme(e, t, n) {
+ return (t = xme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ale(e) {
- var t = jle(e, "string");
+function xme(e) {
+ var t = Sme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jle(e, t) {
+function Sme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49452,7 +52378,7 @@ function jle(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Mle = (e, t, n, r) => {
+var Cme = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -49468,18 +52394,18 @@ var Mle = (e, t, n, r) => {
x: 0,
y: 0
};
-}, Nle = (e, t, n, r) => {
+}, wme = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return X0(X0(X0({}, r), bG(r.cx, r.cy, o, a)), {}, {
+ return H0(H0(H0({}, r), Tq(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return X0(X0(X0({}, r), bG(r.cx, r.cy, s, c)), {}, {
+ return H0(H0(H0({}, r), Tq(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -49498,19 +52424,19 @@ var Mle = (e, t, n, r) => {
y: 0
};
};
-function Ple(e, t) {
+function Tme(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;
}
-var Z0 = (e, t, n, r, i) => {
+var U0 = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 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 (VL(c - s) !== VL(l - c)) {
+ if (BR(c - s) !== BR(l - c)) {
var d = [];
- if (VL(l - c) === VL(i[1] - i[0])) {
+ if (BR(l - c) === BR(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);
@@ -49535,78 +52461,78 @@ var Z0 = (e, t, n, r, i) => {
}
}
return -1;
-}, Q0 = () => Q(_K), $0 = (e, t) => t, e2 = (e, t, n) => n, t2 = (e, t, n, r) => r, Fle = $(R0, (e) => GR(e, (e) => e.coordinate)), n2 = $([
- C0,
- $0,
- e2,
- t2
-], v0), r2 = $([
- n2,
- A0,
- k$,
- P0
-], y0), Ile = (e, t, n) => {
+}, W0 = () => Q(SJ), G0 = (e, t) => t, K0 = (e, t, n) => n, q0 = (e, t, n, r) => r, Eme = $(A0, (e) => Uz(e, (e) => e.coordinate)), J0 = $([
+ m0,
+ G0,
+ K0,
+ q0
+], l0), Y0 = $([
+ J0,
+ S0,
+ r1,
+ E0
+], u0), Dme = (e, t, n) => {
if (t != null) {
- var r = C0(e);
+ 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;
}
-}, i2 = $([
- C0,
- $0,
- e2,
- t2
-], x0), a2 = $([
- hV,
- gV,
- HV,
- SV,
- R0,
- t2,
- i2
-], b0), Lle = $([n2, a2], (e, t) => e.coordinate ?? t), o2 = $([R0, r2], o0), Rle = $([
- i2,
- r2,
- qG,
- k$,
- o2,
- S0,
- $0
-], D0), zle = $([n2, r2], (e, t) => ({
+}, X0 = $([
+ m0,
+ G0,
+ K0,
+ q0
+], f0), Z0 = $([
+ pH,
+ mH,
+ mU,
+ AH,
+ A0,
+ q0,
+ X0
+], d0), Ome = $([J0, Z0], (e, t) => e.coordinate ?? t), Q0 = $([A0, Y0], $1), kme = $([
+ X0,
+ Y0,
+ Qq,
+ r1,
+ Q0,
+ p0,
+ G0
+], y0), Ame = $([J0, Y0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), Ble = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && Ple(e, o)) {
- var s = Z0(Fse(e, t), a, i, n, r), c = Mle(t, i, s, e);
+})), jme = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && Tme(e, o)) {
+ var s = U0(bde(e, t), a, i, n, r), c = Cme(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, Vle = (e, t, n, r, i, a, o) => {
+}, Mme = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = EG(e, n);
+ var s = jq(e, n);
if (s) {
- var c = Z0(Ise(s, t), o, a, r, i), l = Nle(t, a, c, s);
+ var c = U0(xde(s, t), o, a, r, i), l = wme(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, Hle = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? Ble(e, t, r, i, a, o, s) : Vle(e, t, n, r, i, a, o);
-}, Ule = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, Nme = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? jme(e, t, r, i, a, o, s) : Mme(e, t, n, r, i, a, o);
+}, Pme = $((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;
}
-}), Wle = $((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(SK));
+}), Fme = $((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(DJ));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: QK } });
+}, { memoizeOptions: { resultEqualityCheck: rY } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function s2(e, t) {
+function $0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49616,30 +52542,30 @@ function s2(e, t) {
}
return n;
}
-function c2(e) {
+function e2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? s2(Object(n), !0).forEach(function(t) {
- Gle(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s2(Object(n)).forEach(function(t) {
+ t % 2 ? $0(Object(n), !0).forEach(function(t) {
+ Ime(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Gle(e, t, n) {
- return (t = Kle(t)) in e ? Object.defineProperty(e, t, {
+function Ime(e, t, n) {
+ return (t = Lme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Kle(e) {
- var t = qle(e, "string");
+function Lme(e) {
+ var t = Rme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qle(e, t) {
+function Rme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49649,17 +52575,17 @@ function qle(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Jle = { zIndexMap: Object.values(SK).reduce((e, t) => c2(c2({}, e), {}, { [t]: {
+var zme = { zIndexMap: Object.values(DJ).reduce((e, t) => e2(e2({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, Yle = new Set(Object.values(SK));
-function Xle(e) {
- return Yle.has(e);
+} }), {}) }, Bme = new Set(Object.values(DJ));
+function Vme(e) {
+ return Bme.has(e);
}
-var l2 = SB({
+var t2 = bV({
name: "zIndex",
- initialState: Jle,
+ initialState: zme,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -49670,61 +52596,61 @@ var l2 = SB({
panoramaElement: void 0
};
},
- prepare: vB()
+ prepare: gV()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Xle(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Vme(n) && delete e.zIndexMap[n]);
},
- prepare: vB()
+ prepare: gV()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = NH(r) : e.zIndexMap[n].element = NH(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = gW(r) : e.zIndexMap[n].element = gW(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : NH(r),
- panoramaElement: i ? NH(r) : void 0
+ element: i ? void 0 : gW(r),
+ panoramaElement: i ? gW(r) : void 0
};
},
- prepare: vB()
+ prepare: gV()
},
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: vB()
+ prepare: gV()
}
}
-}), { registerZIndexPortal: Zle, unregisterZIndexPortal: Qle, registerZIndexPortalElement: $le, unregisterZIndexPortalElement: eue } = l2.actions, tue = l2.reducer;
+}), { registerZIndexPortal: Hme, unregisterZIndexPortal: Ume, registerZIndexPortalElement: Wme, unregisterZIndexPortalElement: Gme } = t2.actions, Kme = t2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function u2(e) {
- var { zIndex: t, children: n } = e, r = dce() && t !== void 0 && t !== 0, i = wV(), a = LR();
- (0, E.useLayoutEffect)(() => r ? (a(Zle({ zIndex: t })), () => {
- a(Qle({ zIndex: t }));
- }) : eR, [
+function n2(e) {
+ var { zIndex: t, children: n } = e, r = yU() && t !== void 0 && t !== 0, i = PH(), a = Fz();
+ (0, D.useLayoutEffect)(() => r ? (a(Hme({ zIndex: t })), () => {
+ a(Ume({ zIndex: t }));
+ }) : QR, [
a,
t,
r
]);
- var o = Q((e) => Ule(e, t, i));
- return r ? o ? /*#__PURE__*/ (0, Zm.createPortal)(n, o) : null : n;
+ var o = Q((e) => Pme(e, t, i));
+ return r ? o ? /*#__PURE__*/ (0, nh.createPortal)(n, o) : null : n;
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function d2() {
- return d2 = Object.assign ? Object.assign.bind() : function(e) {
+function r2() {
+ return r2 = 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;
- }, d2.apply(null, arguments);
+ }, r2.apply(null, arguments);
}
-function f2(e, t) {
+function i2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49734,30 +52660,30 @@ function f2(e, t) {
}
return n;
}
-function p2(e) {
+function a2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? f2(Object(n), !0).forEach(function(t) {
- nue(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f2(Object(n)).forEach(function(t) {
+ t % 2 ? i2(Object(n), !0).forEach(function(t) {
+ qme(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nue(e, t, n) {
- return (t = rue(t)) in e ? Object.defineProperty(e, t, {
+function qme(e, t, n) {
+ return (t = Jme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rue(e) {
- var t = iue(e, "string");
+function Jme(e) {
+ var t = Yme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iue(e, t) {
+function Yme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49767,18 +52693,18 @@ function iue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function aue(e) {
+function Xme(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
- return /*#__PURE__*/ (0, E.isValidElement)(t) ? /*#__PURE__*/ (0, E.cloneElement)(t, r) : /*#__PURE__*/ (0, E.createElement)(n, r);
+ return /*#__PURE__*/ (0, D.isValidElement)(t) ? /*#__PURE__*/ (0, D.cloneElement)(t, r) : /*#__PURE__*/ (0, D.createElement)(n, r);
}
-function oue(e) {
+function Zme(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 = eW, h = SK.cursorLine;
- else if (l === "BarChart") p = tW(o, u, i, a), m = dG, h = SK.cursorRectangle;
- else if (o === "radial" && oR(u)) {
- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = DG(u);
+ if (l === "ScatterChart") p = u, m = aK, h = DJ.cursorLine;
+ else if (l === "BarChart") p = oK(o, u, i, a), m = gq, h = DJ.cursorRectangle;
+ else if (o === "radial" && iz(u)) {
+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = Mq(u);
p = {
cx: g,
cy: _,
@@ -49786,25 +52712,25 @@ function oue(e) {
endAngle: b,
innerRadius: v,
outerRadius: v
- }, m = HG, h = SK.cursorLine;
- } else p = { points: UG(o, u, i) }, m = UU, h = SK.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = p2(p2(p2(p2({
+ }, m = qq, h = DJ.cursorLine;
+ } else p = { points: Jq(o, u, i) }, m = JG, h = DJ.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = a2(a2(a2(a2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), WF(s)), {}, {
+ }, i), p), NL(s)), {}, {
payload: d,
payloadIndex: f,
- className: Sm("recharts-tooltip-cursor", x)
+ className: Dm("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ E.createElement(u2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ E.createElement(aue, {
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ D.createElement(Xme, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function sue(e) {
- var t = Ole(), n = zV(), r = UV(), i = Q0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ E.createElement(oue, d2({}, e, {
+function Qme(e) {
+ var t = yme(), n = uU(), r = hU(), i = W0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ D.createElement(Zme, r2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -49813,7 +52739,7 @@ function sue(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var m2 = /*#__PURE__*/ (0, E.createContext)(null), cue = () => (0, E.useContext)(m2), lue = (/* @__PURE__ */ b((/* @__PURE__ */ _(((e, t) => {
+var o2 = /*#__PURE__*/ (0, D.createContext)(null), $me = () => (0, D.useContext)(o2), ehe = (/* @__PURE__ */ x((/* @__PURE__ */ v(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -49900,12 +52826,12 @@ var m2 = /*#__PURE__*/ (0, E.createContext)(null), cue = () => (0, E.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, h2 = new lue(), g2 = "recharts.syncEvent.tooltip", _2 = "recharts.syncEvent.brush", v2 = (e, t) => {
+})))(), 1)).default, s2 = new ehe(), c2 = "recharts.syncEvent.tooltip", l2 = "recharts.syncEvent.brush", u2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!HL(n)) return e[n];
+ if (!VR(n)) return e[n];
}
-}, y2 = SB({
+}, d2 = bV({
name: "options",
initialState: {
chartName: "",
@@ -49916,13 +52842,13 @@ var m2 = /*#__PURE__*/ (0, E.createContext)(null), cue = () => (0, E.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), uue = y2.reducer, { createEventEmitter: due } = y2.actions;
+}), the = d2.reducer, { createEventEmitter: nhe } = d2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function fue(e) {
+function rhe(e) {
return e.tooltip.syncInteraction;
}
-var b2 = SB({
+var f2 = bV({
name: "chartData",
initialState: {
chartData: void 0,
@@ -49932,7 +52858,7 @@ var b2 = SB({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = NH(t.payload), t.payload == null) {
+ if (e.chartData = gW(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -49946,8 +52872,8 @@ var b2 = SB({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: x2, setDataStartEndIndexes: pue, setComputedData: mue } = b2.actions, hue = b2.reducer, gue = ["x", "y"];
-function S2(e, t) {
+}), { setChartData: p2, setDataStartEndIndexes: ihe, setComputedData: ahe } = f2.actions, ohe = f2.reducer, she = ["x", "y"];
+function m2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49957,30 +52883,30 @@ function S2(e, t) {
}
return n;
}
-function C2(e) {
+function h2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? S2(Object(n), !0).forEach(function(t) {
- _ue(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S2(Object(n)).forEach(function(t) {
+ t % 2 ? m2(Object(n), !0).forEach(function(t) {
+ che(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _ue(e, t, n) {
- return (t = vue(t)) in e ? Object.defineProperty(e, t, {
+function che(e, t, n) {
+ return (t = lhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vue(e) {
- var t = yue(e, "string");
+function lhe(e) {
+ var t = uhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yue(e, t) {
+function uhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49990,16 +52916,16 @@ function yue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function bue(e, t) {
+function dhe(e, t) {
if (e == null) return {};
- var n, r, i = xue(e, t);
+ var n, r, i = fhe(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 xue(e, t) {
+function fhe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50008,20 +52934,20 @@ function xue(e, t) {
}
return n;
}
-function Sue() {
- var e = Q(vK), t = Q(bK), n = LR(), r = Q(yK), i = Q(R0), a = UV(), o = RV(), s = Q((e) => e.rootProps.className);
- (0, E.useEffect)(() => {
- if (e == null) return eR;
+function phe() {
+ var e = Q(CJ), t = Q(TJ), n = Fz(), r = Q(wJ), i = Q(A0), a = hU(), o = cU(), s = Q((e) => e.rootProps.className);
+ (0, D.useEffect)(() => {
+ if (e == null) return QR;
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 = bue(d, gue), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = C2(C2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = dhe(d, she), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = h2(h2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
- n(C2(C2({}, c), {}, { payload: C2(C2({}, c.payload), {}, { coordinate: y }) }));
+ n(h2(h2({}, c), {}, { payload: h2(h2({}, c.payload), {}, { coordinate: y }) }));
} else n(c);
return;
}
@@ -50037,7 +52963,7 @@ function Sue() {
})] : r === "value" && (b = i.find((e) => String(e.value) === c.payload.label));
var { coordinate: x } = c.payload;
if (b == null || c.payload.active === !1 || x == null || o == null) {
- n(m0({
+ n(a0({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -50052,7 +52978,7 @@ function Sue() {
x: a === "horizontal" ? b.coordinate : w,
y: a === "horizontal" ? T : b.coordinate
};
- n(m0({
+ n(a0({
active: c.payload.active,
coordinate: E,
dataKey: c.payload.dataKey,
@@ -50064,8 +52990,8 @@ function Sue() {
}
}
};
- return h2.on(g2, s), () => {
- h2.off(g2, s);
+ return s2.on(c2, s), () => {
+ s2.off(c2, s);
};
}, [
s,
@@ -50078,15 +53004,15 @@ function Sue() {
o
]);
}
-function Cue() {
- var e = Q(vK), t = Q(bK), n = LR();
- (0, E.useEffect)(() => {
- if (e == null) return eR;
+function mhe() {
+ var e = Q(CJ), t = Q(TJ), n = Fz();
+ (0, D.useEffect)(() => {
+ if (e == null) return QR;
var r = (r, i, a) => {
- t !== a && e === r && n(pue(i));
+ t !== a && e === r && n(ihe(i));
};
- return h2.on(_2, r), () => {
- h2.off(_2, r);
+ return s2.on(l2, r), () => {
+ s2.off(l2, r);
};
}, [
n,
@@ -50094,17 +53020,17 @@ function Cue() {
e
]);
}
-function wue() {
- var e = LR();
- (0, E.useEffect)(() => {
- e(due());
- }, [e]), Sue(), Cue();
+function hhe() {
+ var e = Fz();
+ (0, D.useEffect)(() => {
+ e(nhe());
+ }, [e]), phe(), mhe();
}
-function Tue(e, t, n, r, i, a) {
- var o = Q((n) => Ile(n, e, t)), s = Q(ble), c = Q(bK), l = Q(vK), u = Q(yK), d = Q(fue)?.active, f = RV();
- (0, E.useEffect)(() => {
+function ghe(e, t, n, r, i, a) {
+ var o = Q((n) => Dme(n, e, t)), s = Q(dme), c = Q(TJ), l = Q(CJ), u = Q(wJ), d = Q(rhe)?.active, f = cU();
+ (0, D.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = m0({
+ var e = a0({
active: a,
coordinate: n,
dataKey: o,
@@ -50113,7 +53039,7 @@ function Tue(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- h2.emit(g2, l, e, c);
+ s2.emit(c2, l, e, c);
}
}, [
d,
@@ -50131,7 +53057,7 @@ function Tue(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function w2(e, t) {
+function g2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50141,30 +53067,30 @@ function w2(e, t) {
}
return n;
}
-function T2(e) {
+function _2(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) {
- Eue(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w2(Object(n)).forEach(function(t) {
+ t % 2 ? g2(Object(n), !0).forEach(function(t) {
+ _he(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Eue(e, t, n) {
- return (t = Due(t)) in e ? Object.defineProperty(e, t, {
+function _he(e, t, n) {
+ return (t = vhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Due(e) {
- var t = Oue(e, "string");
+function vhe(e) {
+ var t = yhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oue(e, t) {
+function yhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50174,13 +53100,13 @@ function Oue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function kue(e) {
+function bhe(e) {
return e.dataKey;
}
-function Aue(e, t) {
- return /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ E.createElement(e, t) : /*#__PURE__*/ E.createElement(dU, t);
+function xhe(e, t) {
+ return /*#__PURE__*/ D.isValidElement(e) ? /*#__PURE__*/ D.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ D.createElement(e, t) : /*#__PURE__*/ D.createElement(gG, t);
}
-var E2 = [], jue = {
+var v2 = [], She = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -50206,10 +53132,10 @@ var E2 = [], jue = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function Mue(e) {
- var t = uR(e, jue), { 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 = LR(), S = typeof v == "number" ? String(v) : v;
- (0, E.useEffect)(() => {
- x(Kce({
+function Che(e) {
+ var t = cz(e, She), { 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 = Fz(), S = typeof v == "number" ? String(v) : v;
+ (0, D.useEffect)(() => {
+ x(Rpe({
shared: g,
trigger: _,
axisId: b,
@@ -50224,27 +53150,27 @@ function Mue(e) {
n,
S
]);
- var C = RV(), w = OU(), T = a0(g), { activeIndex: D, isActive: O } = Q((e) => zle(e, T, _, S)) ?? {}, k = Q((e) => Rle(e, T, _, S)), A = Q((e) => o2(e, T, _, S)), j = Q((e) => Lle(e, T, _, S)), M = k, N = cue(), P = n ?? O ?? !1, [F, I] = JR([M, P]), ee = T === "axis" ? A : void 0;
- Tue(T, _, j, ee, D, P);
+ var C = cU(), w = NG(), T = Npe(g), { activeIndex: E, isActive: O } = Q((e) => Ame(e, T, _, S)) ?? {}, k = Q((e) => kme(e, T, _, S)), A = Q((e) => Q0(e, T, _, S)), j = Q((e) => Ome(e, T, _, S)), M = k, N = $me(), P = n ?? O ?? !1, [F, I] = Kz([M, P]), ee = T === "axis" ? A : void 0;
+ ghe(T, _, j, ee, E, P);
var te = y ?? N;
if (te == null || C == null || T == null) return null;
- var L = M ?? E2;
- P || (L = E2), s && L.length && (L = FR(L.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, kue));
- var ne = L.length > 0, re = T2(T2({}, t), {}, {
- payload: L,
+ var ne = M ?? v2;
+ P || (ne = v2), s && ne.length && (ne = Nz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, bhe));
+ var L = ne.length > 0, re = _2(_2({}, t), {}, {
+ payload: ne,
label: ee,
active: P,
- activeIndex: D,
+ activeIndex: E,
coordinate: j,
accessibilityLayer: w
- }), ie = /*#__PURE__*/ E.createElement(DU, {
+ }), ie = /*#__PURE__*/ D.createElement(MG, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
isAnimationActive: c,
active: P,
coordinate: j,
- hasPayload: ne,
+ hasPayload: L,
offset: l,
position: d,
reverseDirection: f,
@@ -50254,34 +53180,34 @@ function Mue(e) {
lastBoundingBox: F,
innerRef: I,
hasPortalFromProps: !!y
- }, Aue(o, re));
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ (0, Zm.createPortal)(ie, te), P && /*#__PURE__*/ E.createElement(sue, {
+ }, xhe(o, re));
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ (0, nh.createPortal)(ie, te), P && /*#__PURE__*/ D.createElement(Qme, {
cursor: h,
tooltipEventType: T,
coordinate: j,
- payload: L,
- index: D
+ payload: ne,
+ index: E
}));
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var D2 = (e) => null;
-D2.displayName = "Cell";
+var y2 = (e) => null;
+y2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function Nue(e, t, n) {
- return (t = Pue(t)) in e ? Object.defineProperty(e, t, {
+function whe(e, t, n) {
+ return (t = The(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pue(e) {
- var t = Fue(e, "string");
+function The(e) {
+ var t = Ehe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fue(e, t) {
+function Ehe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50291,9 +53217,9 @@ function Fue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Iue = class {
+var Dhe = class {
constructor(e) {
- Nue(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ whe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -50316,7 +53242,7 @@ var Iue = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function O2(e, t) {
+function b2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50326,30 +53252,30 @@ function O2(e, t) {
}
return n;
}
-function Lue(e) {
+function Ohe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O2(Object(n), !0).forEach(function(t) {
- Rue(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O2(Object(n)).forEach(function(t) {
+ t % 2 ? b2(Object(n), !0).forEach(function(t) {
+ khe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rue(e, t, n) {
- return (t = zue(t)) in e ? Object.defineProperty(e, t, {
+function khe(e, t, n) {
+ return (t = Ahe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zue(e) {
- var t = Bue(e, "string");
+function Ahe(e) {
+ var t = jhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bue(e, t) {
+function jhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50359,10 +53285,10 @@ function Bue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var k2 = Lue({}, {
+var x2 = Ohe({}, {
cacheSize: 2e3,
enableCache: !0
-}), A2 = new Iue(k2.cacheSize), Vue = {
+}), S2 = new Dhe(x2.cacheSize), Mhe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -50370,14 +53296,14 @@ var k2 = Lue({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, j2 = "recharts_measurement_span";
-function Hue(e, t) {
+}, C2 = "recharts_measurement_span";
+function Nhe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var M2 = (e, t) => {
+var w2 = (e, t) => {
try {
- var n = document.getElementById(j2);
- n || (n = document.createElement("span"), n.setAttribute("id", j2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Vue, t), n.textContent = `${e}`;
+ var n = document.getElementById(C2);
+ n || (n = document.createElement("span"), n.setAttribute("id", C2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Mhe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -50389,31 +53315,31 @@ var M2 = (e, t) => {
height: 0
};
}
-}, N2 = function(e) {
+}, T2 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || vU.isSsr) return {
+ if (e == null || CG.isSsr) return {
width: 0,
height: 0
};
- if (!k2.enableCache) return M2(e, t);
- var n = Hue(e, t), r = A2.get(n);
+ if (!x2.enableCache) return w2(e, t);
+ var n = Nhe(e, t), r = S2.get(n);
if (r) return r;
- var i = M2(e, t);
- return A2.set(n, i), i;
-}, P2;
-function Uue(e, t, n) {
- return (t = Wue(t)) in e ? Object.defineProperty(e, t, {
+ var i = w2(e, t);
+ return S2.set(n, i), i;
+}, E2;
+function Phe(e, t, n) {
+ return (t = Fhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Wue(e) {
- var t = Gue(e, "string");
+function Fhe(e) {
+ var t = Ihe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Gue(e, t) {
+function Ihe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50423,7 +53349,7 @@ function Gue(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, I2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Kue = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, que = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Jue = {
+var D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, O2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Lhe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Rhe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, zhe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -50431,7 +53357,7 @@ var F2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, I2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, Yue = [
+}, Bhe = [
"cm",
"mm",
"pt",
@@ -50440,20 +53366,20 @@ var F2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, I2 = /(
"Q",
"px"
];
-function Xue(e) {
- return Yue.includes(e);
+function Vhe(e) {
+ return Bhe.includes(e);
}
-var L2 = "NaN";
-function Zue(e, t) {
- return e * Jue[t];
+var k2 = "NaN";
+function Hhe(e, t) {
+ return e * zhe[t];
}
-var R2 = class e {
+var A2 = class e {
static parse(t) {
- var [, n, r] = que.exec(t) ?? [];
+ var [, n, r] = Rhe.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, HL(e) && (this.unit = ""), t !== "" && !Kue.test(t) && (this.num = NaN, this.unit = ""), Xue(t) && (this.num = Zue(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, VR(e) && (this.unit = ""), t !== "" && !Lhe.test(t) && (this.num = NaN, this.unit = ""), Vhe(t) && (this.num = Hhe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -50471,50 +53397,50 @@ var R2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return HL(this.num);
+ return VR(this.num);
}
};
-P2 = R2, Uue(R2, "NaN", new P2(NaN, ""));
-function z2(e) {
- if (e == null || e.includes(L2)) return L2;
+E2 = A2, Phe(A2, "NaN", new E2(NaN, ""));
+function j2(e) {
+ if (e == null || e.includes(k2)) return k2;
for (var t = e; t.includes("*") || t.includes("/");) {
- var [, n, r, i] = F2.exec(t) ?? [], a = R2.parse(n ?? ""), o = R2.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
- if (s.isNaN()) return L2;
- t = t.replace(F2, s.toString());
+ var [, n, r, i] = D2.exec(t) ?? [], a = A2.parse(n ?? ""), o = A2.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
+ if (s.isNaN()) return k2;
+ t = t.replace(D2, s.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var [, c, l, u] = I2.exec(t) ?? [], d = R2.parse(c ?? ""), f = R2.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
- if (p.isNaN()) return L2;
- t = t.replace(I2, p.toString());
+ var [, c, l, u] = O2.exec(t) ?? [], d = A2.parse(c ?? ""), f = A2.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
+ if (p.isNaN()) return k2;
+ t = t.replace(O2, p.toString());
}
return t;
}
-var B2 = /\(([^()]*)\)/;
-function Que(e) {
- for (var t = e, n; (n = B2.exec(t)) != null;) {
+var M2 = /\(([^()]*)\)/;
+function Uhe(e) {
+ for (var t = e, n; (n = M2.exec(t)) != null;) {
var [, r] = n;
- t = t.replace(B2, z2(r));
+ t = t.replace(M2, j2(r));
}
return t;
}
-function $ue(e) {
+function Whe(e) {
var t = e.replace(/\s+/g, "");
- return t = Que(t), t = z2(t), t;
+ return t = Uhe(t), t = j2(t), t;
}
-function ede(e) {
+function Ghe(e) {
try {
- return $ue(e);
+ return Whe(e);
} catch {
- return L2;
+ return k2;
}
}
-function V2(e) {
- var t = ede(e.slice(5, -1));
- return t === L2 ? "" : t;
+function N2(e) {
+ var t = Ghe(e.slice(5, -1));
+ return t === k2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var tde = [
+var Khe = [
"x",
"y",
"lineHeight",
@@ -50523,32 +53449,32 @@ var tde = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], nde = [
+], qhe = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function H2() {
- return H2 = Object.assign ? Object.assign.bind() : function(e) {
+function P2() {
+ return P2 = 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;
- }, H2.apply(null, arguments);
+ }, P2.apply(null, arguments);
}
-function U2(e, t) {
+function F2(e, t) {
if (e == null) return {};
- var n, r, i = rde(e, t);
+ var n, r, i = Jhe(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 rde(e, t) {
+function Jhe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50557,28 +53483,28 @@ function rde(e, t) {
}
return n;
}
-var W2 = /[ \f\n\r\t\v\u2028\u2029]+/, G2 = (e) => {
+var I2 = /[ \f\n\r\t\v\u2028\u2029]+/, L2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return ZL(t) || (i = n ? t.toString().split("") : t.toString().split(W2)), {
+ return YR(t) || (i = n ? t.toString().split("") : t.toString().split(I2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: N2(e, r).width
+ width: T2(e, r).width
})),
- spaceWidth: n ? 0 : N2("\xA0", r).width
+ spaceWidth: n ? 0 : T2("\xA0", r).width
};
} catch {
return null;
}
};
-function K2(e) {
+function R2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function ide(e) {
- return ZL(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function Yhe(e) {
+ return YR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var q2 = (e, t, n, r) => e.reduce((e, i) => {
+var z2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -50589,20 +53515,20 @@ var q2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), J2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), ade = "…", Y2 = (e, t, n, r, i, a, o, s) => {
- var c = G2({
+}, []), B2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), Xhe = "…", V2 = (e, t, n, r, i, a, o, s) => {
+ var c = L2({
breakAll: n,
style: r,
- children: e.slice(0, t) + ade
+ children: e.slice(0, t) + Xhe
});
if (!c) return [!1, []];
- var l = q2(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || J2(l).width > Number(a), l];
-}, ode = (e, t, n, r, i) => {
- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = q2(t, r, n, i);
- if (!l || i || !(d.length > a || J2(d).width > Number(r))) return d;
+ var l = z2(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || B2(l).width > Number(a), l];
+}, Zhe = (e, t, n, r, i) => {
+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = z2(t, r, n, i);
+ if (!l || i || !(d.length > a || B2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), [_, v] = Y2(u, g - 1, c, s, a, r, n, i), [y] = Y2(u, g, c, s, a, r, n, i);
+ var g = Math.floor((f + p) / 2), [_, v] = V2(u, g - 1, c, s, a, r, n, i), [y] = V2(u, g, c, s, a, r, n, i);
if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {
h = v;
break;
@@ -50610,13 +53536,13 @@ var q2 = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, X2 = (e) => [{
- words: ZL(e) ? [] : e.toString().split(W2),
+}, H2 = (e) => [{
+ words: YR(e) ? [] : e.toString().split(I2),
width: void 0
-}], sde = (e) => {
+}], Qhe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !vU.isSsr) {
- var s, c, l = G2({
+ if ((t || n) && !CG.isSsr) {
+ var s, c, l = L2({
breakAll: a,
children: r,
style: i
@@ -50624,28 +53550,28 @@ var q2 = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
- } else return X2(r);
- return ode({
+ } else return H2(r);
+ return Zhe({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return X2(r);
-}, Z2 = "#808080", cde = {
+ return H2(r);
+}, U2 = "#808080", $he = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: Z2,
+ fill: U2,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, Q2 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var n = uR(e, cde), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = U2(n, tde), f = (0, E.useMemo)(() => sde({
+}, W2 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var n = cz(e, $he), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = F2(n, Khe), f = (0, D.useMemo)(() => Qhe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -50659,45 +53585,45 @@ var q2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = U2(d, nde);
- if (!WL(r) || !WL(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = F2(d, qhe);
+ if (!UR(r) || !UR(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!ZB(y) || !ZB(b)) return null;
+ if (!YV(y) || !YV(b)) return null;
var x;
switch (u) {
case "start":
- x = V2(`calc(${o})`);
+ x = N2(`calc(${o})`);
break;
case "middle":
- x = V2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ x = N2(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: x = V2(`calc(${f.length - 1} * -${a})`);
+ default: x = N2(`calc(${f.length - 1} * -${a})`);
}
var S = [], C = f[0];
if (c && C != null) {
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__*/ E.createElement("text", H2({}, GF(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ D.createElement("text", P2({}, PL(v), {
ref: t,
x: y,
y: b,
- className: Sm("recharts-text", g),
+ className: Dm("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? Z2 : s
+ fill: s.includes("url") ? U2 : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
- return /*#__PURE__*/ E.createElement("tspan", {
+ return /*#__PURE__*/ D.createElement("tspan", {
x: y,
dy: t === 0 ? x : a,
key: `${n}-${t}`
}, n);
}));
});
-Q2.displayName = "Text";
+W2.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function $2(e, t) {
+function G2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50707,30 +53633,30 @@ function $2(e, t) {
}
return n;
}
-function e4(e) {
+function K2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $2(Object(n), !0).forEach(function(t) {
- lde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $2(Object(n)).forEach(function(t) {
+ t % 2 ? G2(Object(n), !0).forEach(function(t) {
+ ege(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lde(e, t, n) {
- return (t = ude(t)) in e ? Object.defineProperty(e, t, {
+function ege(e, t, n) {
+ return (t = tge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ude(e) {
- var t = dde(e, "string");
+function tge(e) {
+ var t = nge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dde(e, t) {
+function nge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50740,8 +53666,8 @@ function dde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var fde = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = LV(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 rge = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = sU(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,
@@ -50782,68 +53708,68 @@ var fde = (e) => {
width: m,
height: c
} : {};
- return n === "insideLeft" ? e4({
+ return n === "insideLeft" ? K2({
x: p + x,
y: s + c / 2,
horizontalAnchor: C,
verticalAnchor: "middle"
- }, k) : n === "insideRight" ? e4({
+ }, k) : n === "insideRight" ? K2({
x: p + m - x,
y: s + c / 2,
horizontalAnchor: S,
verticalAnchor: "middle"
- }, k) : n === "insideTop" ? e4({
+ }, k) : n === "insideTop" ? K2({
x: d + l / 2,
y: s + _,
horizontalAnchor: "middle",
verticalAnchor: y
- }, k) : n === "insideBottom" ? e4({
+ }, k) : n === "insideBottom" ? K2({
x: f + u / 2,
y: s + c - _,
horizontalAnchor: "middle",
verticalAnchor: v
- }, k) : n === "insideTopLeft" ? e4({
+ }, k) : n === "insideTopLeft" ? K2({
x: d + x,
y: s + _,
horizontalAnchor: C,
verticalAnchor: y
- }, k) : n === "insideTopRight" ? e4({
+ }, k) : n === "insideTopRight" ? K2({
x: d + l - x,
y: s + _,
horizontalAnchor: S,
verticalAnchor: y
- }, k) : n === "insideBottomLeft" ? e4({
+ }, k) : n === "insideBottomLeft" ? K2({
x: f + x,
y: s + c - _,
horizontalAnchor: C,
verticalAnchor: v
- }, k) : n === "insideBottomRight" ? e4({
+ }, k) : n === "insideBottomRight" ? K2({
x: f + u - x,
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || UL(n.x)) && (Z(n.y) || UL(n.y)) ? e4({
- x: o + qL(n.x, m),
- y: s + qL(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || HR(n.x)) && (Z(n.y) || HR(n.y)) ? K2({
+ x: o + GR(n.x, m),
+ y: s + GR(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, k) : e4({
+ }, k) : K2({
x: h,
y: s + c / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, pde = ["labelRef"], mde = ["content"];
-function t4(e, t) {
+}, ige = ["labelRef"], age = ["content"];
+function q2(e, t) {
if (e == null) return {};
- var n, r, i = hde(e, t);
+ var n, r, i = oge(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 hde(e, t) {
+function oge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50852,7 +53778,7 @@ function hde(e, t) {
}
return n;
}
-function n4(e, t) {
+function J2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -50862,30 +53788,30 @@ function n4(e, t) {
}
return n;
}
-function r4(e) {
+function Y2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? n4(Object(n), !0).forEach(function(t) {
- gde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n4(Object(n)).forEach(function(t) {
+ t % 2 ? J2(Object(n), !0).forEach(function(t) {
+ sge(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gde(e, t, n) {
- return (t = _de(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 _de(e) {
- var t = vde(e, "string");
+function cge(e) {
+ var t = lge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vde(e, t) {
+function lge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50895,17 +53821,17 @@ function vde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function i4() {
- return i4 = Object.assign ? Object.assign.bind() : function(e) {
+function X2() {
+ return X2 = 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;
- }, i4.apply(null, arguments);
+ }, X2.apply(null, arguments);
}
-var a4 = /*#__PURE__*/ (0, E.createContext)(null), o4 = (e) => {
- var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, E.useMemo)(() => ({
+var Z2 = /*#__PURE__*/ (0, D.createContext)(null), Q2 = (e) => {
+ var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, D.useMemo)(() => ({
x: t,
y: n,
upperWidth: r,
@@ -50920,12 +53846,12 @@ var a4 = /*#__PURE__*/ (0, E.createContext)(null), o4 = (e) => {
a,
o
]);
- return /*#__PURE__*/ E.createElement(a4.Provider, { value: c }, s);
-}, s4 = () => {
- var e = (0, E.useContext)(a4), t = RV();
- return e || (t ? LV(t) : void 0);
-}, c4 = /*#__PURE__*/ (0, E.createContext)(null), yde = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, E.useMemo)(() => ({
+ return /*#__PURE__*/ D.createElement(Z2.Provider, { value: c }, s);
+}, $2 = () => {
+ var e = (0, D.useContext)(Z2), t = cU();
+ return e || (t ? sU(t) : void 0);
+}, e4 = /*#__PURE__*/ (0, D.createContext)(null), uge = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, D.useMemo)(() => ({
cx: t,
cy: n,
innerRadius: r,
@@ -50942,15 +53868,15 @@ var a4 = /*#__PURE__*/ (0, E.createContext)(null), o4 = (e) => {
o,
s
]);
- return /*#__PURE__*/ E.createElement(c4.Provider, { value: l }, c);
-}, l4 = () => {
- var e = (0, E.useContext)(c4), t = Q(WK);
+ return /*#__PURE__*/ D.createElement(e4.Provider, { value: l }, c);
+}, t4 = () => {
+ var e = (0, D.useContext)(e4), t = Q(YJ);
return e || t;
-}, bde = (e) => {
- var { value: t, formatter: n } = e, r = ZL(e.children) ? t : e.children;
+}, dge = (e) => {
+ var { value: t, formatter: n } = e, r = YR(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, u4 = (e) => e != null && typeof e == "function", xde = (e, t) => VL(t - e) * Math.min(Math.abs(t - e), 360), Sde = (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 = xde(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, n4 = (e) => e != null && typeof e == "function", fge = (e, t) => BR(t - e) * Math.min(Math.abs(t - e), 360), pge = (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 = fge(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -50964,20 +53890,20 @@ var a4 = /*#__PURE__*/ (0, E.createContext)(null), o4 = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = bG(s, c, m, _), b = bG(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
+ var y = Tq(s, c, m, _), b = Tq(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = ZL(e.id) ? KL("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ E.createElement("text", i4({}, r, {
+ ${b.x},${b.y}`, S = YR(e.id) ? WR("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ D.createElement("text", X2({}, r, {
dominantBaseline: "central",
- className: Sm("recharts-radial-bar-label", o)
- }), /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("path", {
+ className: Dm("recharts-radial-bar-label", o)
+ }), /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement("path", {
id: S,
d: x
- })), /*#__PURE__*/ E.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, Cde = (e, t, n) => {
+ })), /*#__PURE__*/ D.createElement("textPath", { xlinkHref: `#${S}` }, n));
+}, mge = (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 } = bG(r, i, o + t, l);
+ var { x: u, y: d } = Tq(r, i, o + t, l);
return {
x: u,
y: d,
@@ -51003,22 +53929,22 @@ var a4 = /*#__PURE__*/ (0, E.createContext)(null), o4 = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var { x: f, y: p } = bG(r, i, (a + o) / 2, l);
+ var { x: f, y: p } = Tq(r, i, (a + o) / 2, l);
return {
x: f,
y: p,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, d4 = (e) => e != null && "cx" in e && Z(e.cx), wde = {
+}, r4 = (e) => e != null && "cx" in e && Z(e.cx), hge = {
angle: 0,
offset: 5,
- zIndex: SK.label,
+ zIndex: DJ.label,
position: "middle",
textBreakAll: !1
};
-function Tde(e) {
- if (!d4(e)) return e;
+function gge(e) {
+ if (!r4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
x: t - r,
@@ -51029,100 +53955,100 @@ function Tde(e) {
height: i
};
}
-function f4(e) {
- var t = uR(e, wde), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = l4(), f = s4(), p = n == null ? i === "center" ? f : d ?? f : d4(n) ? n : LV(n), m, h, g = Tde(p);
- if (!p || ZL(a) && ZL(o) && !/*#__PURE__*/ (0, E.isValidElement)(s) && typeof s != "function") return null;
- var _ = r4(r4({}, t), {}, { viewBox: p });
- if (/*#__PURE__*/ (0, E.isValidElement)(s)) {
- var { labelRef: v } = _, y = t4(_, pde);
- return /*#__PURE__*/ (0, E.cloneElement)(s, y);
+function i4(e) {
+ var t = cz(e, hge), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = t4(), f = $2(), p = n == null ? i === "center" ? f : d ?? f : r4(n) ? n : sU(n), m, h, g = gge(p);
+ if (!p || YR(a) && YR(o) && !/*#__PURE__*/ (0, D.isValidElement)(s) && typeof s != "function") return null;
+ var _ = Y2(Y2({}, t), {}, { viewBox: p });
+ if (/*#__PURE__*/ (0, D.isValidElement)(s)) {
+ var { labelRef: v } = _, y = q2(_, ige);
+ return /*#__PURE__*/ (0, D.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = t4(_, mde);
- if (m = /*#__PURE__*/ (0, E.createElement)(s, x), /*#__PURE__*/ (0, E.isValidElement)(m)) return m;
- } else m = bde(t);
- var S = GF(t);
- if (d4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return Sde(t, i, m, S, p);
- h = Cde(p, t.offset, t.position);
+ var { content: b } = _, x = q2(_, age);
+ if (m = /*#__PURE__*/ (0, D.createElement)(s, x), /*#__PURE__*/ (0, D.isValidElement)(m)) return m;
+ } else m = dge(t);
+ var S = PL(t);
+ if (r4(p)) {
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return pge(t, i, m, S, p);
+ h = mge(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = fde({
+ var C = rge({
viewBox: g,
position: i,
offset: t.offset,
- parentViewBox: d4(r) ? void 0 : r,
+ parentViewBox: r4(r) ? void 0 : r,
clamp: !0
});
- h = r4(r4({
+ h = Y2(Y2({
x: C.x,
y: C.y,
textAnchor: C.horizontalAnchor,
verticalAnchor: C.verticalAnchor
}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });
}
- return /*#__PURE__*/ E.createElement(u2, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(Q2, i4({
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ D.createElement(W2, X2({
ref: u,
- className: Sm("recharts-label", c)
+ className: Dm("recharts-label", c)
}, S, h, {
- textAnchor: K2(S.textAnchor) ? S.textAnchor : h.textAnchor,
+ textAnchor: R2(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
}), m));
}
-f4.displayName = "Label";
-var p4 = (e, t, n) => {
+i4.displayName = "Label";
+var a4 = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ E.createElement(f4, i4({ key: "label-implicit" }, r)) : WL(e) ? /*#__PURE__*/ E.createElement(f4, i4({
+ return e === !0 ? /*#__PURE__*/ D.createElement(i4, X2({ key: "label-implicit" }, r)) : UR(e) ? /*#__PURE__*/ D.createElement(i4, X2({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, E.isValidElement)(e) ? e.type === f4 ? /*#__PURE__*/ (0, E.cloneElement)(e, r4({ key: "label-implicit" }, r)) : /*#__PURE__*/ E.createElement(f4, i4({
+ }, r)) : /*#__PURE__*/ (0, D.isValidElement)(e) ? e.type === i4 ? /*#__PURE__*/ (0, D.cloneElement)(e, Y2({ key: "label-implicit" }, r)) : /*#__PURE__*/ D.createElement(i4, X2({
key: "label-implicit",
content: e
- }, r)) : u4(e) ? /*#__PURE__*/ E.createElement(f4, i4({
+ }, r)) : n4(e) ? /*#__PURE__*/ D.createElement(i4, X2({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ E.createElement(f4, i4({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ D.createElement(i4, X2({}, e, { key: "label-implicit" }, r)) : null;
};
-function m4(e) {
+function o4(e) {
var { label: t, labelRef: n } = e;
- return p4(t, s4(), n) || null;
+ return a4(t, $2(), n) || null;
}
-function Ede(e) {
+function _ge(e) {
var { label: t } = e;
- return p4(t, l4()) || null;
+ return a4(t, t4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var Dde = ["valueAccessor"], Ode = [
+var vge = ["valueAccessor"], yge = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function h4() {
- return h4 = Object.assign ? Object.assign.bind() : function(e) {
+function s4() {
+ return s4 = 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;
- }, h4.apply(null, arguments);
+ }, s4.apply(null, arguments);
}
-function g4(e, t) {
+function c4(e, t) {
if (e == null) return {};
- var n, r, i = kde(e, t);
+ var n, r, i = bge(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 kde(e, t) {
+function bge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51131,21 +54057,21 @@ function kde(e, t) {
}
return n;
}
-var Ade = (e) => {
+var xge = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (ide(t)) return t;
-}, _4 = /*#__PURE__*/ (0, E.createContext)(void 0), v4 = _4.Provider, y4 = /*#__PURE__*/ (0, E.createContext)(void 0), jde = y4.Provider;
-function Mde() {
- return (0, E.useContext)(_4);
-}
-function Nde() {
- return (0, E.useContext)(y4);
-}
-function b4(e) {
- var { valueAccessor: t = Ade } = e, n = g4(e, Dde), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = g4(n, Ode), l = Mde(), u = Nde(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ E.createElement(u2, { zIndex: s ?? SK.label }, /*#__PURE__*/ E.createElement(nI, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = ZL(r) ? t(e, i) : tV(e.payload, r), l = ZL(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ E.createElement(f4, h4({ key: `label-${i}` }, GF(e), c, l, {
+ if (Yhe(t)) return t;
+}, l4 = /*#__PURE__*/ (0, D.createContext)(void 0), u4 = l4.Provider, d4 = /*#__PURE__*/ (0, D.createContext)(void 0), Sge = d4.Provider;
+function Cge() {
+ return (0, D.useContext)(l4);
+}
+function wge() {
+ return (0, D.useContext)(d4);
+}
+function f4(e) {
+ var { valueAccessor: t = xge } = e, n = c4(e, vge), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = c4(n, yge), l = Cge(), u = wge(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: s ?? DJ.label }, /*#__PURE__*/ D.createElement(RL, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = YR(r) ? t(e, i) : $V(e.payload, r), l = YR(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ D.createElement(i4, s4({ key: `label-${i}` }, PL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -51156,41 +54082,41 @@ function b4(e) {
}));
})));
}
-b4.displayName = "LabelList";
-function x4(e) {
+f4.displayName = "LabelList";
+function p4(e) {
var { label: t } = e;
- return t ? t === !0 ? /*#__PURE__*/ E.createElement(b4, { key: "labelList-implicit" }) : /*#__PURE__*/ E.isValidElement(t) || u4(t) ? /*#__PURE__*/ E.createElement(b4, {
+ return t ? t === !0 ? /*#__PURE__*/ D.createElement(f4, { key: "labelList-implicit" }) : /*#__PURE__*/ D.isValidElement(t) || n4(t) ? /*#__PURE__*/ D.createElement(f4, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ E.createElement(b4, h4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ D.createElement(f4, s4({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var Pde = [
+var Tge = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], Fde;
-function S4() {
- return S4 = Object.assign ? Object.assign.bind() : function(e) {
+], Ege;
+function m4() {
+ return m4 = 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;
- }, S4.apply(null, arguments);
+ }, m4.apply(null, arguments);
}
-function Ide(e, t) {
+function Dge(e, t) {
if (e == null) return {};
- var n, r, i = Lde(e, t);
+ var n, r, i = Oge(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 Lde(e, t) {
+function Oge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51199,23 +54125,23 @@ function Lde(e, t) {
}
return n;
}
-function Rde(e, t) {
+function kge(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var C4 = (e) => e != null && e.x === +e.x && e.y === +e.y, zde = function() {
+var h4 = (e) => e != null && e.x === +e.x && e.y === +e.y, Age = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- C4(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ h4(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- C4(n) && r && r.push(n);
+ h4(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, w4 = (e, t) => {
- var n = zde(e);
+}, g4 = (e, t) => {
+ var n = Age(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => BL(Fde ||= Rde([
+ var r = n.map((e) => e.reduce((e, t, n) => zR(Ege ||= kge([
"",
"",
"",
@@ -51223,29 +54149,29 @@ var C4 = (e) => e != null && e.x === +e.x && e.y === +e.y, zde = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, Bde = (e, t, n) => {
- var r = w4(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${w4(Array.from(t).reverse(), n).slice(1)}`;
-}, T4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = Ide(e, Pde);
+}, jge = (e, t, n) => {
+ var r = g4(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${g4(Array.from(t).reverse(), n).slice(1)}`;
+}, _4 = (e) => {
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = Dge(e, Tge);
if (!t || !t.length) return null;
- var o = Sm("recharts-polygon", n);
+ var o = Dm("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = Bde(t, r, i);
- return /*#__PURE__*/ E.createElement("g", { className: o }, /*#__PURE__*/ E.createElement("path", S4({}, GF(a), {
+ var s = a.stroke && a.stroke !== "none", c = jge(t, r, i);
+ return /*#__PURE__*/ D.createElement("g", { className: o }, /*#__PURE__*/ D.createElement("path", m4({}, PL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ E.createElement("path", S4({}, GF(a), {
+ })), s ? /*#__PURE__*/ D.createElement("path", m4({}, PL(a), {
fill: "none",
- d: w4(t, i)
- })) : null, s ? /*#__PURE__*/ E.createElement("path", S4({}, GF(a), {
+ d: g4(t, i)
+ })) : null, s ? /*#__PURE__*/ D.createElement("path", m4({}, PL(a), {
fill: "none",
- d: w4(r, i)
+ d: g4(r, i)
})) : null);
}
- var l = w4(t, i);
- return /*#__PURE__*/ E.createElement("path", S4({}, GF(a), {
+ var l = g4(t, i);
+ return /*#__PURE__*/ D.createElement("path", m4({}, PL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -51253,111 +54179,111 @@ var C4 = (e) => e != null && e.x === +e.x && e.y === +e.y, zde = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function E4() {
- return E4 = Object.assign ? Object.assign.bind() : function(e) {
+function v4() {
+ return v4 = 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;
- }, E4.apply(null, arguments);
+ }, v4.apply(null, arguments);
}
-var D4 = (e) => {
- var { cx: t, cy: n, r, className: i } = e, a = Sm("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ E.createElement("circle", E4({}, UF(e), sR(e), {
+var y4 = (e) => {
+ var { cx: t, cy: n, r, className: i } = e, a = Dm("recharts-dot", i);
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ D.createElement("circle", v4({}, ML(e), az(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, O4 = (e) => e.graphicalItems.polarItems, k4 = $([
- O4,
- r$,
- $([GK, KK], s$)
-], u$), A4 = $([$([k4], h$), JG], _$), j4 = $([
- A4,
- r$,
- k4
-], y$);
+}, b4 = (e) => e.graphicalItems.polarItems, x4 = $([
+ b4,
+ R$,
+ $([XJ, ZJ], V$)
+], U$), S4 = $([$([x4], q$), $q], J$), C4 = $([
+ S4,
+ R$,
+ x4
+], X$);
$([
- A4,
- r$,
- k4
+ S4,
+ R$,
+ x4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: tV(e, t.dataKey ?? n.dataKey),
+ value: $V(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: tV(e, t.dataKey),
+ value: $V(e, t.dataKey),
errorDomain: []
})));
-var M4 = () => void 0, N4 = $([
- r$,
- HV,
- A4,
- j4,
- hK,
- GK,
+var w4 = () => void 0, T4 = $([
+ R$,
+ mU,
+ S4,
+ C4,
+ bJ,
+ XJ,
$([
- r$,
- I$,
- L$,
- M4,
+ R$,
+ c1,
+ l1,
+ w4,
$([
- A4,
- r$,
- k4,
- z$,
- GK
- ], H$),
- M4,
- HV,
- GK
- ], s1)
-], u1), P4 = $([
- N4,
- a$,
- f1
-], p1), Vde = $([f1, $([
- r$,
- N4,
- P4,
- GK
-], h1)], nq), F4 = (e, t, n) => {
+ S4,
+ R$,
+ x4,
+ u1,
+ XJ
+ ], f1),
+ w4,
+ mU,
+ XJ
+ ], b1)
+], x1), E4 = $([
+ T4,
+ z$,
+ C1
+], w1), Mge = $([C1, $([
+ R$,
+ T4,
+ E4,
+ XJ
+], E1)], sY), D4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return PK(e, n);
- case "radiusAxis": return FK(e, n);
+ case "angleAxis": return zJ(e, n);
+ case "radiusAxis": return BJ(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, I4 = (e, t, n) => {
+}, O4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return VK(e, n);
- case "radiusAxis": return UK(e, n);
+ case "angleAxis": return KJ(e, n);
+ case "radiusAxis": return JJ(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, L4 = $([$([
- F4,
- f1,
- Vde,
- I4
-], IQ)], tq), R4 = $([
- HV,
- j4,
- a$,
- GK
-], D1), z4 = $([
- HV,
- F4,
- f1,
- L4,
- P4,
- I4,
- q1,
- R4,
- GK
-], Y1), Hde = $([z4], (e) => {
+}, k4 = $([$([
+ D4,
+ C1,
+ Mge,
+ O4
+], T$)], oY), A4 = $([
+ mU,
+ C4,
+ z$,
+ XJ
+], j1), j4 = $([
+ mU,
+ D4,
+ C1,
+ k4,
+ E4,
+ O4,
+ H1,
+ A4,
+ XJ
+], W1), Nge = $([j4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -51365,19 +54291,19 @@ var M4 = () => void 0, N4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), Ude = $([
- HV,
- F4,
- L4,
- I4,
- q1,
- R4,
- GK
-], Z1), Wde = $([(e, t) => z4(e, "angleAxis", t, !1)], (e) => {
+}), Pge = $([
+ mU,
+ D4,
+ k4,
+ O4,
+ H1,
+ A4,
+ XJ
+], K1), Fge = $([(e, t) => j4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Gde = $([(e, t) => z4(e, "radiusAxis", t, !1)], (e) => {
+}), Ige = $([(e, t) => j4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Kde = [
+}), Lge = [
"gridType",
"radialLines",
"angleAxisId",
@@ -51390,16 +54316,16 @@ var M4 = () => void 0, N4 = $([
"polarRadius",
"zIndex"
];
-function qde(e, t) {
+function Rge(e, t) {
if (e == null) return {};
- var n, r, i = Jde(e, t);
+ var n, r, i = zge(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 Jde(e, t) {
+function zge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51408,16 +54334,16 @@ function Jde(e, t) {
}
return n;
}
-function B4() {
- return B4 = Object.assign ? Object.assign.bind() : function(e) {
+function M4() {
+ return M4 = 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;
- }, B4.apply(null, arguments);
+ }, M4.apply(null, arguments);
}
-function V4(e, t) {
+function N4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51427,30 +54353,30 @@ function V4(e, t) {
}
return n;
}
-function H4(e) {
+function P4(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) {
- Yde(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V4(Object(n)).forEach(function(t) {
+ t % 2 ? N4(Object(n), !0).forEach(function(t) {
+ Bge(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Yde(e, t, n) {
- return (t = Xde(t)) in e ? Object.defineProperty(e, t, {
+function Bge(e, t, n) {
+ return (t = Vge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xde(e) {
- var t = Zde(e, "string");
+function Vge(e) {
+ var t = Hge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zde(e, t) {
+function Hge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51460,69 +54386,69 @@ function Zde(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Qde = (e, t, n, r) => {
+var Uge = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = bG(t, n, e, r);
+ var o = Tq(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, $de = (e) => {
+}, Wge = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = H4({ stroke: "#ccc" }, UF(e));
- return /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = bG(t, n, r, e), o = bG(t, n, i, e);
- return /*#__PURE__*/ E.createElement("line", B4({ key: `line-${e}` }, s, {
+ var s = P4({ stroke: "#ccc" }, ML(e));
+ return /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
+ var a = Tq(t, n, r, e), o = Tq(t, n, i, e);
+ return /*#__PURE__*/ D.createElement("line", M4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, U4 = (e) => {
- var { cx: t, cy: n, radius: r } = e, i = H4({
+}, F4 = (e) => {
+ var { cx: t, cy: n, radius: r } = e, i = P4({
stroke: "#ccc",
fill: "none"
- }, UF(e));
- return /*#__PURE__*/ E.createElement("circle", B4({}, i, {
- className: Sm("recharts-polar-grid-concentric-circle", e.className),
+ }, ML(e));
+ return /*#__PURE__*/ D.createElement("circle", M4({}, i, {
+ className: Dm("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, W4 = (e) => {
- var { radius: t } = e, n = H4({
+}, I4 = (e) => {
+ var { radius: t } = e, n = P4({
stroke: "#ccc",
fill: "none"
- }, UF(e));
- return /*#__PURE__*/ E.createElement("path", B4({}, n, {
- className: Sm("recharts-polar-grid-concentric-polygon", e.className),
- d: Qde(t, e.cx, e.cy, e.polarAngles)
+ }, ML(e));
+ return /*#__PURE__*/ D.createElement("path", M4({}, n, {
+ className: Dm("recharts-polar-grid-concentric-polygon", e.className),
+ d: Uge(t, e.cx, e.cy, e.polarAngles)
}));
-}, efe = (e) => {
+}, Gge = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ E.createElement(U4, B4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ E.createElement(W4, B4({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ D.createElement(F4, M4({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ D.createElement(I4, M4({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ E.createElement(U4, B4({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ D.createElement(F4, M4({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ E.createElement(W4, B4({ key: i }, e, {
+ })) : /*#__PURE__*/ D.createElement(I4, M4({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, tfe = {
+}, Kge = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: SK.grid
-}, G4 = (e) => {
- var t = uR(e, tfe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = qde(t, Kde), m = Q(WK), h = Q((e) => Wde(e, i)), g = Q((e) => Gde(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ zIndex: DJ.grid
+}, L4 = (e) => {
+ var t = cz(e, Kge), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Rge(t, Lge), m = Q(YJ), h = Q((e) => Fge(e, i)), g = Q((e) => Ige(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = H4({
+ var y = P4({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -51531,13 +54457,13 @@ var Qde = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ E.createElement(u2, { zIndex: y.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ E.createElement(efe, B4({
+ return b <= 0 ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: y.zIndex }, /*#__PURE__*/ D.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ D.createElement(Gge, M4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ E.createElement($de, B4({
+ })), /*#__PURE__*/ D.createElement(Wge, M4({
gridType: n,
radialLines: r
}, y, {
@@ -51545,19 +54471,19 @@ var Qde = (e, t, n, r) => {
polarRadius: v
}))));
};
-G4.displayName = "PolarGrid";
+L4.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function K4(e) {
+function R4(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function nfe(e, t = hR) {
+function qge(e, t = pz) {
if (e == null) return;
- let n = K4(e);
+ let n = R4(e);
if (n.length === 0) return;
- let r = NR(t), i, a;
+ let r = jz(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);
@@ -51566,11 +54492,11 @@ function nfe(e, t = hR) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function rfe(e, t = hR) {
+function Jge(e, t = pz) {
if (e == null) return;
- let n = K4(e);
+ let n = R4(e);
if (n.length === 0) return;
- let r = NR(t), i, a;
+ let r = jz(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);
@@ -51579,7 +54505,7 @@ function rfe(e, t = hR) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var q4 = SB({
+var z4 = bV({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -51587,47 +54513,47 @@ var q4 = SB({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = NH(t.payload);
+ e.radiusAxis[t.payload.id] = gW(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = NH(t.payload);
+ e.angleAxis[t.payload.id] = gW(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: ife, removeRadiusAxis: afe, addAngleAxis: ofe, removeAngleAxis: sfe } = q4.actions, cfe = q4.reducer;
+}), { addRadiusAxis: Yge, removeRadiusAxis: Xge, addAngleAxis: Zge, removeAngleAxis: Qge } = z4.actions, $ge = z4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function J4(e) {
+function B4(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var lfe = ["type"], ufe = [
+var e_e = ["type"], t_e = [
"cx",
"cy",
"angle",
"axisLine"
-], dfe = [
+], n_e = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function Y4() {
- return Y4 = Object.assign ? Object.assign.bind() : function(e) {
+function V4() {
+ return V4 = 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;
- }, Y4.apply(null, arguments);
+ }, V4.apply(null, arguments);
}
-function X4(e, t) {
+function H4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51637,30 +54563,30 @@ function X4(e, t) {
}
return n;
}
-function Z4(e) {
+function U4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? X4(Object(n), !0).forEach(function(t) {
- ffe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X4(Object(n)).forEach(function(t) {
+ t % 2 ? H4(Object(n), !0).forEach(function(t) {
+ r_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ffe(e, t, n) {
- return (t = pfe(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 pfe(e) {
- var t = mfe(e, "string");
+function i_e(e) {
+ var t = a_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mfe(e, t) {
+function a_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51670,16 +54596,16 @@ function mfe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Q4(e, t) {
+function W4(e, t) {
if (e == null) return {};
- var n, r, i = hfe(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 hfe(e, t) {
+function o_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51688,20 +54614,20 @@ function hfe(e, t) {
}
return n;
}
-var gfe = "radiusAxis";
-function _fe(e) {
- var t = LR(), n = KV(), r = (0, E.useMemo)(() => {
- var { type: t } = e, r = Q4(e, lfe), i = EK(n, "radiusAxis", t);
- if (i != null) return Z4(Z4({}, r), {}, { type: i });
+var s_e = "radiusAxis";
+function c_e(e) {
+ var t = Fz(), n = vU(), r = (0, D.useMemo)(() => {
+ var { type: t } = e, r = W4(e, e_e), i = jJ(n, "radiusAxis", t);
+ if (i != null) return U4(U4({}, r), {}, { type: i });
}, [e, n]);
- return (0, E.useEffect)(() => r == null ? eR : (t(ife(r)), () => {
- t(afe(r));
+ return (0, D.useEffect)(() => r == null ? QR : (t(Yge(r)), () => {
+ t(Xge(r));
}), [t, r]), null;
}
-var vfe = (e, t, n, r) => {
+var l_e = (e, t, n, r) => {
var { coordinate: i } = e;
- return bG(n, r, i, t);
-}, yfe = (e) => {
+ return Tq(n, r, i, t);
+}, u_e = (e) => {
var t;
switch (e) {
case "left":
@@ -51713,49 +54639,49 @@ var vfe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, bfe = (e, t, n, r) => {
- var i = nfe(r, (e) => e.coordinate || 0);
+}, d_e = (e, t, n, r) => {
+ var i = qge(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: rfe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: Jge(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, xfe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = Q4(e, ufe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = bG(n, r, s[0], i), l = bG(n, r, s[1], i), u = Z4(Z4(Z4({}, UF(o)), {}, { fill: "none" }, UF(a)), {}, {
+}, f_e = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = W4(e, t_e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = Tq(n, r, s[0], i), l = Tq(n, r, s[1], i), u = U4(U4(U4({}, ML(o)), {}, { fill: "none" }, ML(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ E.createElement("line", Y4({ className: "recharts-polar-radius-axis-line" }, u));
-}, Sfe = (e, t, n) => /*#__PURE__*/ E.isValidElement(e) ? /*#__PURE__*/ E.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ E.createElement(Q2, Y4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Cfe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = Q4(e, dfe), s = yfe(e.orientation), c = UF(o), l = WF(a), u = t.map((t, o) => {
- var u = vfe(t, e.angle, e.cx, e.cy), d = Z4(Z4(Z4(Z4({
+ return /*#__PURE__*/ D.createElement("line", V4({ className: "recharts-polar-radius-axis-line" }, u));
+}, p_e = (e, t, n) => /*#__PURE__*/ D.isValidElement(e) ? /*#__PURE__*/ D.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ D.createElement(W2, V4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), m_e = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = W4(e, n_e), s = u_e(e.orientation), c = ML(o), l = NL(a), u = t.map((t, o) => {
+ var u = l_e(t, e.angle, e.cx, e.cy), d = U4(U4(U4(U4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ E.createElement(nI, Y4({
- className: Sm("recharts-polar-radius-axis-tick", J4(a)),
+ return /*#__PURE__*/ D.createElement(RL, V4({
+ className: Dm("recharts-polar-radius-axis-tick", B4(a)),
key: `tick-${t.coordinate}`
- }, cR(e, t, o)), Sfe(a, d, r ? r(t.value, o) : t.value));
+ }, oz(e, t, o)), p_e(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ E.createElement(nI, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, wfe = (e) => {
- var { radiusAxisId: t } = e, n = Q(WK), r = Q((e) => L4(e, "radiusAxis", t)), i = Q((e) => z4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ D.createElement(RL, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, h_e = (e) => {
+ var { radiusAxisId: t } = e, n = Q(YJ), r = Q((e) => k4(e, "radiusAxis", t)), i = Q((e) => j4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = Z4(Z4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ E.createElement(u2, { zIndex: a.zIndex }, /*#__PURE__*/ E.createElement(nI, { className: Sm("recharts-polar-radius-axis", gfe, a.className) }, s && xfe(a, i), o && Cfe(a, i), /*#__PURE__*/ E.createElement(yde, bfe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ E.createElement(Ede, { label: a.label }), a.children)));
+ var a = U4(U4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: a.zIndex }, /*#__PURE__*/ D.createElement(RL, { className: Dm("recharts-polar-radius-axis", s_e, a.className) }, s && f_e(a, i), o && m_e(a, i), /*#__PURE__*/ D.createElement(uge, d_e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ D.createElement(_ge, { label: a.label }), a.children)));
};
-function $4(e) {
- var t = uR(e, wK);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(_fe, {
+function G4(e) {
+ var t = cz(e, kJ);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(c_e, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -51772,22 +54698,22 @@ function $4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ E.createElement(wfe, t));
+ }), /*#__PURE__*/ D.createElement(h_e, t));
}
-$4.displayName = "PolarRadiusAxis";
+G4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var Tfe = ["children", "type"], Efe = ["ref"];
-function e3() {
- return e3 = Object.assign ? Object.assign.bind() : function(e) {
+var g_e = ["children", "type"], __e = ["ref"];
+function K4() {
+ return K4 = 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;
- }, e3.apply(null, arguments);
+ }, K4.apply(null, arguments);
}
-function t3(e, t) {
+function q4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51797,30 +54723,30 @@ function t3(e, t) {
}
return n;
}
-function n3(e) {
+function J4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? t3(Object(n), !0).forEach(function(t) {
- Dfe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t3(Object(n)).forEach(function(t) {
+ t % 2 ? q4(Object(n), !0).forEach(function(t) {
+ v_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Dfe(e, t, n) {
- return (t = Ofe(t)) in e ? Object.defineProperty(e, t, {
+function v_e(e, t, n) {
+ return (t = y_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ofe(e) {
- var t = kfe(e, "string");
+function y_e(e) {
+ var t = b_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kfe(e, t) {
+function b_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51830,16 +54756,16 @@ function kfe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function r3(e, t) {
+function Y4(e, t) {
if (e == null) return {};
- var n, r, i = Afe(e, t);
+ var n, r, i = x_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 Afe(e, t) {
+function x_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51848,47 +54774,47 @@ function Afe(e, t) {
}
return n;
}
-var i3 = 1e-5, jfe = Math.cos(vG(45)), Mfe = "angleAxis";
-function Nfe(e) {
- var t = LR(), n = KV(), r = (0, E.useMemo)(() => {
- var { children: t, type: r } = e, i = r3(e, Tfe), a = EK(n, "angleAxis", r);
- if (a != null) return n3(n3({}, i), {}, { type: a });
- }, [e, n]), i = r === Q((e) => PK(e, r?.id));
- return (0, E.useEffect)(() => r == null ? eR : (t(ofe(r)), () => {
- t(sfe(r));
+var X4 = 1e-5, S_e = Math.cos(Cq(45)), C_e = "angleAxis";
+function w_e(e) {
+ var t = Fz(), n = vU(), r = (0, D.useMemo)(() => {
+ var { children: t, type: r } = e, i = Y4(e, g_e), a = jJ(n, "angleAxis", r);
+ if (a != null) return J4(J4({}, i), {}, { type: a });
+ }, [e, n]), i = r === Q((e) => zJ(e, r?.id));
+ return (0, D.useEffect)(() => r == null ? QR : (t(Zge(r)), () => {
+ t(Qge(r));
}), [t, r]), i ? e.children : null;
}
-var Pfe = (e, t) => {
- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = bG(n, r, i, e.coordinate), l = bG(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
+var T_e = (e, t) => {
+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = Tq(n, r, i, e.coordinate), l = Tq(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
};
-}, Ffe = (e, t) => {
- var n = Math.cos(vG(-e.coordinate));
- return n > i3 ? t === "outer" ? "start" : "end" : n < -i3 ? t === "outer" ? "end" : "start" : "middle";
-}, Ife = (e) => {
- var t = Math.cos(vG(-e.coordinate)), n = Math.sin(vG(-e.coordinate));
- return Math.abs(t) <= jfe ? n > 0 ? "start" : "end" : "middle";
-}, Lfe = (e) => {
+}, E_e = (e, t) => {
+ var n = Math.cos(Cq(-e.coordinate));
+ return n > X4 ? t === "outer" ? "start" : "end" : n < -X4 ? t === "outer" ? "end" : "start" : "middle";
+}, D_e = (e) => {
+ var t = Math.cos(Cq(-e.coordinate)), n = Math.sin(Cq(-e.coordinate));
+ return Math.abs(t) <= S_e ? n > 0 ? "start" : "end" : "middle";
+}, O_e = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = n3(n3({}, UF(e)), {}, { fill: "none" }, UF(a));
- if (i === "circle") return /*#__PURE__*/ E.createElement(D4, e3({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = J4(J4({}, ML(e)), {}, { fill: "none" }, ML(a));
+ if (i === "circle") return /*#__PURE__*/ D.createElement(y4, K4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => bG(t, n, r, e.coordinate));
- return /*#__PURE__*/ E.createElement(T4, e3({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, Rfe = (e) => {
+ var c = o.map((e) => Tq(t, n, r, e.coordinate));
+ return /*#__PURE__*/ D.createElement(_4, K4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, k_e = (e) => {
var { tick: t, tickProps: n, value: r } = e;
- return t ? /*#__PURE__*/ E.isValidElement(t) ? /*#__PURE__*/ E.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ E.createElement(Q2, e3({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, zfe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = UF(e), { ref: s } = o, c = r3(o, Efe), l = WF(t), u = n3(n3({}, c), {}, { fill: "none" }, UF(n)), d = a.map((a, o) => {
- var s = Pfe(a, e), d = Ffe(a, e.orientation), f = Ife(a), p = n3(n3(n3({}, c), {}, {
+ return t ? /*#__PURE__*/ D.isValidElement(t) ? /*#__PURE__*/ D.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ D.createElement(W2, K4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, A_e = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = ML(e), { ref: s } = o, c = Y4(o, __e), l = NL(t), u = J4(J4({}, c), {}, { fill: "none" }, ML(n)), d = a.map((a, o) => {
+ var s = T_e(a, e), d = E_e(a, e.orientation), f = D_e(a), p = J4(J4(J4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -51899,28 +54825,28 @@ var Pfe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ E.createElement(nI, e3({
- className: Sm("recharts-polar-angle-axis-tick", J4(t)),
+ return /*#__PURE__*/ D.createElement(RL, K4({
+ className: Dm("recharts-polar-angle-axis-tick", B4(t)),
key: `tick-${a.coordinate}`
- }, cR(e, a, o)), n && /*#__PURE__*/ E.createElement("line", e3({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ E.createElement(Rfe, {
+ }, oz(e, a, o)), n && /*#__PURE__*/ D.createElement("line", K4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ D.createElement(k_e, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ E.createElement(nI, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, Bfe = (e) => {
- var { angleAxisId: t } = e, n = Q(WK), r = Q((e) => L4(e, "angleAxis", t)), i = wV(), a = Q((e) => Hde(e, "angleAxis", t, i));
+ return /*#__PURE__*/ D.createElement(RL, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, j_e = (e) => {
+ var { angleAxisId: t } = e, n = Q(YJ), r = Q((e) => k4(e, "angleAxis", t)), i = PH(), a = Q((e) => Nge(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = n3(n3(n3({}, e), {}, { scale: r }, n), {}, {
+ var o = J4(J4(J4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ E.createElement(u2, { zIndex: o.zIndex }, /*#__PURE__*/ E.createElement(nI, { className: Sm("recharts-polar-angle-axis", Mfe, o.className) }, /*#__PURE__*/ E.createElement(Lfe, o), /*#__PURE__*/ E.createElement(zfe, o)));
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: o.zIndex }, /*#__PURE__*/ D.createElement(RL, { className: Dm("recharts-polar-angle-axis", C_e, o.className) }, /*#__PURE__*/ D.createElement(O_e, o), /*#__PURE__*/ D.createElement(A_e, o)));
};
-function a3(e) {
- var t = uR(e, CK);
- return /*#__PURE__*/ E.createElement(Nfe, {
+function Z4(e) {
+ var t = cz(e, OJ);
+ return /*#__PURE__*/ D.createElement(w_e, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -51937,12 +54863,12 @@ function a3(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ E.createElement(Bfe, t));
+ }, /*#__PURE__*/ D.createElement(j_e, t));
}
-a3.displayName = "PolarAngleAxis";
+Z4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var Vfe = /* @__PURE__ */ _(((e) => {
+var M_e = /* @__PURE__ */ v(((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) {
@@ -51971,26 +54897,26 @@ var Vfe = /* @__PURE__ */ _(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), Hfe = (/* @__PURE__ */ _(((e, t) => {
- t.exports = Vfe();
-})))(), o3 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", s3 = null, c3 = null, l3 = (e) => {
- if (e === s3 && Array.isArray(c3)) return c3;
+})), N_e = (/* @__PURE__ */ v(((e, t) => {
+ t.exports = M_e();
+})))(), Q4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", $4 = null, e3 = null, t3 = (e) => {
+ if (e === $4 && Array.isArray(e3)) return e3;
var t = [];
- return E.Children.forEach(e, (e) => {
- ZL(e) || ((0, Hfe.isFragment)(e) ? t = t.concat(l3(e.props.children)) : t.push(e));
- }), c3 = t, s3 = e, t;
+ return D.Children.forEach(e, (e) => {
+ YR(e) || ((0, N_e.isFragment)(e) ? t = t.concat(t3(e.props.children)) : t.push(e));
+ }), e3 = t, $4 = e, t;
};
-function u3(e, t) {
+function n3(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => o3(e)) : [o3(t)], l3(e).forEach((e) => {
- var t = IL(e, "type.displayName") || IL(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => Q4(e)) : [Q4(t)], t3(e).forEach((e) => {
+ var t = LR(e, "type.displayName") || LR(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var d3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var r3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function Ufe(e) {
+function P_e(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -52003,8 +54929,8 @@ function Ufe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var Wfe, Gfe, Kfe, qfe, Jfe;
-function f3(e, t) {
+var F_e, I_e, L_e, R_e, z_e;
+function i3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52014,30 +54940,30 @@ function f3(e, t) {
}
return n;
}
-function p3(e) {
+function a3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? f3(Object(n), !0).forEach(function(t) {
- Yfe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f3(Object(n)).forEach(function(t) {
+ t % 2 ? i3(Object(n), !0).forEach(function(t) {
+ B_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Yfe(e, t, n) {
- return (t = Xfe(t)) in e ? Object.defineProperty(e, t, {
+function B_e(e, t, n) {
+ return (t = V_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xfe(e) {
- var t = Zfe(e, "string");
+function V_e(e) {
+ var t = H_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zfe(e, t) {
+function H_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52047,42 +54973,42 @@ function Zfe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function m3() {
- return m3 = Object.assign ? Object.assign.bind() : function(e) {
+function o3() {
+ return o3 = 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;
- }, m3.apply(null, arguments);
+ }, o3.apply(null, arguments);
}
-function h3(e, t) {
+function s3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var g3 = (e, t, n, r, i) => {
- var a = n - r, o = BL(Wfe ||= h3([
+var c3 = (e, t, n, r, i) => {
+ var a = n - r, o = zR(F_e ||= s3([
"M ",
",",
""
]), e, t);
- return o += BL(Gfe ||= h3([
+ return o += zR(I_e ||= s3([
"L ",
",",
""
- ]), e + n, t), o += BL(Kfe ||= h3([
+ ]), e + n, t), o += zR(L_e ||= s3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += BL(qfe ||= h3([
+ ]), e + n - a / 2, t + i), o += zR(R_e ||= s3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += BL(Jfe ||= h3([
+ ]), e + n - a / 2 - r, t + i), o += zR(z_e ||= s3([
"L ",
",",
" Z"
]), e, t), o;
-}, Qfe = {
+}, U_e = {
x: 0,
y: 0,
upperWidth: 0,
@@ -52092,21 +55018,21 @@ var g3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, $fe = (e) => {
- var t = uR(e, Qfe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, E.useRef)(null), [p, m] = (0, E.useState)(-1), h = (0, E.useRef)(i), g = (0, E.useRef)(a), _ = (0, E.useRef)(o), v = (0, E.useRef)(n), y = (0, E.useRef)(r), b = VW(e, "trapezoid-");
- if ((0, E.useEffect)(() => {
+}, W_e = (e) => {
+ var t = cz(e, U_e), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, D.useRef)(null), [p, m] = (0, D.useState)(-1), h = (0, D.useRef)(i), g = (0, D.useRef)(a), _ = (0, D.useRef)(o), v = (0, D.useRef)(n), y = (0, D.useRef)(r), b = KK(e, "trapezoid-");
+ if ((0, D.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
e && m(e);
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
- var x = Sm("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ E.createElement("g", null, /*#__PURE__*/ E.createElement("path", m3({}, GF(t), {
+ var x = Dm("recharts-trapezoid", s);
+ if (!d) return /*#__PURE__*/ D.createElement("g", null, /*#__PURE__*/ D.createElement("path", o3({}, PL(t), {
className: x,
- d: g3(n, r, i, a, o)
+ d: c3(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, D = y.current, O = `0px ${p === -1 ? 1 : p}px`, k = `${p}px ${p}px`, A = cW(["strokeDasharray"], l, c);
- return /*#__PURE__*/ E.createElement(BW, {
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, O = `0px ${p === -1 ? 1 : p}px`, k = `${p}px ${p}px`, A = pK(["strokeDasharray"], l, c);
+ return /*#__PURE__*/ D.createElement(GK, {
animationId: b,
key: b,
canBegin: p > 0,
@@ -52115,35 +55041,35 @@ var g3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = YL(S, i, e), c = YL(C, a, e), l = YL(w, o, e), u = YL(T, n, e), d = YL(D, r, e);
+ var s = qR(S, i, e), c = qR(C, a, e), l = qR(w, o, e), u = qR(T, n, e), d = qR(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: A,
strokeDasharray: k
} : { strokeDasharray: O };
- return /*#__PURE__*/ E.createElement("path", m3({}, GF(t), {
+ return /*#__PURE__*/ D.createElement("path", o3({}, PL(t), {
className: x,
- d: g3(u, d, s, c, l),
+ d: c3(u, d, s, c, l),
ref: f,
- style: p3(p3({}, p), t.style)
+ style: a3(a3({}, p), t.style)
}));
});
-}, epe = [
+}, G_e = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function tpe(e, t) {
+function K_e(e, t) {
if (e == null) return {};
- var n, r, i = npe(e, t);
+ var n, r, i = q_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 npe(e, t) {
+function q_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52152,7 +55078,7 @@ function npe(e, t) {
}
return n;
}
-function _3(e, t) {
+function l3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52162,30 +55088,30 @@ function _3(e, t) {
}
return n;
}
-function v3(e) {
+function u3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _3(Object(n), !0).forEach(function(t) {
- rpe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _3(Object(n)).forEach(function(t) {
+ t % 2 ? l3(Object(n), !0).forEach(function(t) {
+ J_e(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rpe(e, t, n) {
- return (t = ipe(t)) in e ? Object.defineProperty(e, t, {
+function J_e(e, t, n) {
+ return (t = Y_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ipe(e) {
- var t = ape(e, "string");
+function Y_e(e) {
+ var t = X_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ape(e, t) {
+function X_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52195,68 +55121,68 @@ function ape(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ope(e, t) {
- return v3(v3({}, t), e);
+function Z_e(e, t) {
+ return u3(u3({}, t), e);
}
-function spe(e, t) {
+function Q_e(e, t) {
return e === "symbols";
}
-function y3(e) {
+function d3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
- case "rectangle": return /*#__PURE__*/ E.createElement(dG, n);
- case "trapezoid": return /*#__PURE__*/ E.createElement($fe, n);
- case "sector": return /*#__PURE__*/ E.createElement(HG, n);
+ case "rectangle": return /*#__PURE__*/ D.createElement(gq, n);
+ case "trapezoid": return /*#__PURE__*/ D.createElement(W_e, n);
+ case "sector": return /*#__PURE__*/ D.createElement(qq, n);
case "symbols":
- if (spe(t, n)) return /*#__PURE__*/ E.createElement(aR, n);
+ if (Q_e(t, n)) return /*#__PURE__*/ D.createElement(rz, n);
break;
- case "curve": return /*#__PURE__*/ E.createElement(UU, n);
+ case "curve": return /*#__PURE__*/ D.createElement(JG, n);
default: return null;
}
}
-function cpe(e) {
- return /*#__PURE__*/ (0, E.isValidElement)(e) ? e.props : e;
+function $_e(e) {
+ return /*#__PURE__*/ (0, D.isValidElement)(e) ? e.props : e;
}
-function b3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = tpe(e, epe), o;
- if (/*#__PURE__*/ (0, E.isValidElement)(t)) o = /*#__PURE__*/ (0, E.cloneElement)(t, v3(v3({}, a), cpe(t)));
+function f3(e) {
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = K_e(e, G_e), o;
+ if (/*#__PURE__*/ (0, D.isValidElement)(t)) o = /*#__PURE__*/ (0, D.cloneElement)(t, u3(u3({}, a), $_e(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (Ufe(t) && typeof t != "boolean") {
- var s = ope(t, a);
- o = /*#__PURE__*/ E.createElement(y3, {
+ else if (P_e(t) && typeof t != "boolean") {
+ var s = Z_e(t, a);
+ o = /*#__PURE__*/ D.createElement(d3, {
shapeType: n,
elementProps: s
});
} else {
var c = a;
- o = /*#__PURE__*/ E.createElement(y3, {
+ o = /*#__PURE__*/ D.createElement(d3, {
shapeType: n,
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ E.createElement(nI, { className: r }, o) : /*#__PURE__*/ E.createElement(nI, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ D.createElement(RL, { className: r }, o) : /*#__PURE__*/ D.createElement(RL, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var x3 = (e, t, n) => {
- var r = LR();
+var p3 = (e, t, n) => {
+ var r = Fz();
return (i, a) => (o) => {
- e?.(i, a, o), r(d0({
+ e?.(i, a, o), r(n0({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
activeGraphicalItemId: n
}));
};
-}, S3 = (e) => {
- var t = LR();
+}, m3 = (e) => {
+ var t = Fz();
return (n, r) => (i) => {
- e?.(n, r, i), t(qce());
+ e?.(n, r, i), t(zpe());
};
-}, C3 = (e, t, n) => {
- var r = LR();
+}, h3 = (e, t, n) => {
+ var r = Fz();
return (i, a) => (o) => {
- e?.(i, a, o), r(Jce({
+ e?.(i, a, o), r(Bpe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -52266,10 +55192,10 @@ var x3 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function w3(e) {
- var { tooltipEntrySettings: t } = e, n = LR(), r = wV(), i = (0, E.useRef)(null);
- return (0, E.useLayoutEffect)(() => {
- r || (i.current === null ? n(u0(t)) : i.current !== t && n(Wce({
+function g3(e) {
+ var { tooltipEntrySettings: t } = e, n = Fz(), r = PH(), i = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ r || (i.current === null ? n(Fpe(t)) : i.current !== t && n(Ipe({
prev: i.current,
next: t
})), i.current = t);
@@ -52277,16 +55203,16 @@ function w3(e) {
t,
n,
r
- ]), (0, E.useLayoutEffect)(() => () => {
- i.current &&= (n(Gce(i.current)), null);
+ ]), (0, D.useLayoutEffect)(() => () => {
+ i.current &&= (n(Lpe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function T3(e) {
- var { legendPayload: t } = e, n = LR(), r = wV(), i = (0, E.useRef)(null);
- return (0, E.useLayoutEffect)(() => {
- r || (i.current === null ? n(IH(t)) : i.current !== t && n(LH({
+function _3(e) {
+ var { legendPayload: t } = e, n = Fz(), r = PH(), i = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ r || (i.current === null ? n(bW(t)) : i.current !== t && n(xW({
prev: i.current,
next: t
})), i.current = t);
@@ -52294,14 +55220,14 @@ function T3(e) {
n,
r,
t
- ]), (0, E.useLayoutEffect)(() => () => {
- i.current &&= (n(RH(i.current)), null);
+ ]), (0, D.useLayoutEffect)(() => () => {
+ i.current &&= (n(SW(i.current)), null);
}, [n]), null;
}
-function E3(e) {
- var { legendPayload: t } = e, n = LR(), r = Q(HV), i = (0, E.useRef)(null);
- return (0, E.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(IH(t)) : i.current !== t && n(LH({
+function v3(e) {
+ var { legendPayload: t } = e, n = Fz(), r = Q(mU), i = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ (r === "centric" || r === "radial") && (i.current === null ? n(bW(t)) : i.current !== t && n(xW({
prev: i.current,
next: t
})), i.current = t);
@@ -52309,28 +55235,28 @@ function E3(e) {
n,
r,
t
- ]), (0, E.useLayoutEffect)(() => () => {
- i.current &&= (n(RH(i.current)), null);
+ ]), (0, D.useLayoutEffect)(() => () => {
+ i.current &&= (n(SW(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var lpe = E.useId ?? (() => {
- var [e] = E.useState(() => KL("uid-"));
+var eve = D.useId ?? (() => {
+ var [e] = D.useState(() => WR("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function upe(e, t) {
- var n = lpe();
+function tve(e, t) {
+ var n = eve();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var dpe = /*#__PURE__*/ (0, E.createContext)(void 0), D3 = (e) => {
- var { id: t, type: n, children: r } = e, i = upe(`recharts-${n}`, t);
- return /*#__PURE__*/ E.createElement(dpe.Provider, { value: i }, r(i));
-}, O3 = SB({
+var nve = /*#__PURE__*/ (0, D.createContext)(void 0), y3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = tve(`recharts-${n}`, t);
+ return /*#__PURE__*/ D.createElement(nve.Provider, { value: i }, r(i));
+}, b3 = bV({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -52339,80 +55265,80 @@ var dpe = /*#__PURE__*/ (0, E.createContext)(void 0), D3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(NH(t.payload));
+ e.cartesianItems.push(gW(t.payload));
},
- prepare: vB()
+ prepare: gV()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = lB(e).cartesianItems.indexOf(NH(n));
- i > -1 && (e.cartesianItems[i] = NH(r));
+ var { prev: n, next: r } = t.payload, i = sV(e).cartesianItems.indexOf(gW(n));
+ i > -1 && (e.cartesianItems[i] = gW(r));
},
- prepare: vB()
+ prepare: gV()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = lB(e).cartesianItems.indexOf(NH(t.payload));
+ var n = sV(e).cartesianItems.indexOf(gW(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: vB()
+ prepare: gV()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(NH(t.payload));
+ e.polarItems.push(gW(t.payload));
},
- prepare: vB()
+ prepare: gV()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = lB(e).polarItems.indexOf(NH(t.payload));
+ var n = sV(e).polarItems.indexOf(gW(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: vB()
+ prepare: gV()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = lB(e).polarItems.indexOf(NH(n));
- i > -1 && (e.polarItems[i] = NH(r));
+ var { prev: n, next: r } = t.payload, i = sV(e).polarItems.indexOf(gW(n));
+ i > -1 && (e.polarItems[i] = gW(r));
},
- prepare: vB()
+ prepare: gV()
}
}
-}), { addCartesianGraphicalItem: fpe, replaceCartesianGraphicalItem: ppe, removeCartesianGraphicalItem: mpe, addPolarGraphicalItem: hpe, removePolarGraphicalItem: gpe, replacePolarGraphicalItem: _pe } = O3.actions, vpe = O3.reducer, k3 = /*#__PURE__*/ (0, E.memo)((e) => {
- var t = LR(), n = (0, E.useRef)(null);
- return (0, E.useLayoutEffect)(() => {
- n.current === null ? t(fpe(e)) : n.current !== e && t(ppe({
+}), { addCartesianGraphicalItem: rve, replaceCartesianGraphicalItem: ive, removeCartesianGraphicalItem: ave, addPolarGraphicalItem: ove, removePolarGraphicalItem: sve, replacePolarGraphicalItem: cve } = b3.actions, lve = b3.reducer, x3 = /*#__PURE__*/ (0, D.memo)((e) => {
+ var t = Fz(), n = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ n.current === null ? t(rve(e)) : n.current !== e && t(ive({
prev: n.current,
next: e
})), n.current = e;
- }, [t, e]), (0, E.useLayoutEffect)(() => () => {
- n.current &&= (t(mpe(n.current)), null);
+ }, [t, e]), (0, D.useLayoutEffect)(() => () => {
+ n.current &&= (t(ave(n.current)), null);
}, [t]), null;
-}), A3 = /*#__PURE__*/ (0, E.memo)((e) => {
- var t = LR(), n = (0, E.useRef)(null);
- return (0, E.useLayoutEffect)(() => {
- n.current === null ? t(hpe(e)) : n.current !== e && t(_pe({
+}), S3 = /*#__PURE__*/ (0, D.memo)((e) => {
+ var t = Fz(), n = (0, D.useRef)(null);
+ return (0, D.useLayoutEffect)(() => {
+ n.current === null ? t(ove(e)) : n.current !== e && t(cve({
prev: n.current,
next: e
})), n.current = e;
- }, [t, e]), (0, E.useLayoutEffect)(() => () => {
- n.current &&= (t(gpe(n.current)), null);
+ }, [t, e]), (0, D.useLayoutEffect)(() => () => {
+ n.current &&= (t(sve(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function ype(e) {
+function uve(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function bpe(e) {
- if (!(!gR(e) || e.length === 0)) return ype(K4(e));
+function dve(e) {
+ if (!(!mz(e) || e.length === 0)) return uve(R4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var xpe = ["points"];
-function j3(e, t) {
+var fve = ["points"];
+function C3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52422,30 +55348,30 @@ function j3(e, t) {
}
return n;
}
-function M3(e) {
+function w3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? j3(Object(n), !0).forEach(function(t) {
- Spe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j3(Object(n)).forEach(function(t) {
+ t % 2 ? C3(Object(n), !0).forEach(function(t) {
+ pve(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 Spe(e, t, n) {
- return (t = Cpe(t)) in e ? Object.defineProperty(e, t, {
+function pve(e, t, n) {
+ return (t = mve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cpe(e) {
- var t = wpe(e, "string");
+function mve(e) {
+ var t = hve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wpe(e, t) {
+function hve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52455,25 +55381,25 @@ function wpe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function N3() {
- return N3 = Object.assign ? Object.assign.bind() : function(e) {
+function T3() {
+ return T3 = 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;
- }, N3.apply(null, arguments);
+ }, T3.apply(null, arguments);
}
-function Tpe(e, t) {
+function gve(e, t) {
if (e == null) return {};
- var n, r, i = Epe(e, t);
+ var n, r, i = _ve(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 Epe(e, t) {
+function _ve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52482,21 +55408,21 @@ function Epe(e, t) {
}
return n;
}
-function Dpe(e) {
+function vve(e) {
var { option: t, dotProps: n, className: r } = e;
- if (/*#__PURE__*/ (0, E.isValidElement)(t)) return /*#__PURE__*/ (0, E.cloneElement)(t, n);
+ if (/*#__PURE__*/ (0, D.isValidElement)(t)) return /*#__PURE__*/ (0, D.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Sm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = Tpe(a, xpe);
- return /*#__PURE__*/ E.createElement(D4, N3({}, s, { className: i }));
+ var i = Dm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = gve(a, fve);
+ return /*#__PURE__*/ D.createElement(y4, T3({}, s, { className: i }));
}
-function Ope(e, t) {
+function yve(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function P3(e) {
- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = SK.scatter } = e;
- if (!Ope(t, n)) return null;
- var u = d3(n), d = KF(n), f = t.map((e, r) => {
- var s = M3(M3(M3({ r: 3 }, o), d), {}, {
+function E3(e) {
+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = DJ.scatter } = e;
+ if (!yve(t, n)) return null;
+ var u = r3(n), d = Use(n), f = t.map((e, r) => {
+ var s = w3(w3(w3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -52505,18 +55431,18 @@ function P3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ E.createElement(Dpe, {
+ return /*#__PURE__*/ D.createElement(vve, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ E.createElement(u2, { zIndex: l }, /*#__PURE__*/ E.createElement(nI, N3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ D.createElement(n2, { zIndex: l }, /*#__PURE__*/ D.createElement(RL, T3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function F3(e, t) {
+function D3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52526,30 +55452,30 @@ function F3(e, t) {
}
return n;
}
-function I3(e) {
+function O3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? F3(Object(n), !0).forEach(function(t) {
- kpe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F3(Object(n)).forEach(function(t) {
+ t % 2 ? D3(Object(n), !0).forEach(function(t) {
+ bve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kpe(e, t, n) {
- return (t = Ape(t)) in e ? Object.defineProperty(e, t, {
+function bve(e, t, n) {
+ return (t = xve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ape(e) {
- var t = jpe(e, "string");
+function xve(e) {
+ var t = Sve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jpe(e, t) {
+function Sve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52559,7 +55485,7 @@ function jpe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var L3 = SB({
+var k3 = bV({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -52569,60 +55495,60 @@ var L3 = SB({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = NH(t.payload);
+ e.xAxis[t.payload.id] = gW(t.payload);
},
- prepare: vB()
+ prepare: gV()
},
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] = NH(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = gW(r));
},
- prepare: vB()
+ prepare: gV()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: vB()
+ prepare: gV()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = NH(t.payload);
+ e.yAxis[t.payload.id] = gW(t.payload);
},
- prepare: vB()
+ prepare: gV()
},
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] = NH(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = gW(r));
},
- prepare: vB()
+ prepare: gV()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: vB()
+ prepare: gV()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = NH(t.payload);
+ e.zAxis[t.payload.id] = gW(t.payload);
},
- prepare: vB()
+ prepare: gV()
},
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] = NH(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = gW(r));
},
- prepare: vB()
+ prepare: gV()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: vB()
+ prepare: gV()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -52630,22 +55556,22 @@ var L3 = SB({
var a = i.widthHistory || [];
if (a.length === 3 && a[0] === a[2] && r === a[1] && r !== i.width && Math.abs(r - (a[0] ?? 0)) <= 1) return;
var o = [...a, r].slice(-3);
- e.yAxis[n] = I3(I3({}, i), {}, {
+ e.yAxis[n] = O3(O3({}, i), {}, {
width: r,
widthHistory: o
});
}
}
}
-}), { addXAxis: Mpe, replaceXAxis: Npe, removeXAxis: Ppe, addYAxis: Fpe, replaceYAxis: Ipe, removeYAxis: Lpe, addZAxis: Rpe, replaceZAxis: zpe, removeZAxis: Bpe, updateYAxisWidth: Vpe } = L3.actions, Hpe = L3.reducer, Upe = $([
- $([SV], (e) => ({
+}), { addXAxis: Cve, replaceXAxis: wve, removeXAxis: Tve, addYAxis: Eve, replaceYAxis: Dve, removeYAxis: Ove, addZAxis: kve, replaceZAxis: Ave, removeZAxis: jve, updateYAxisWidth: Mve } = k3.actions, Nve = k3.reducer, Pve = $([
+ $([AH], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- hV,
- gV
+ pH,
+ mH
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -52653,10 +55579,10 @@ var L3 = SB({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), R3 = () => Q(Upe), Wpe = () => Q(Cle);
+}), A3 = () => Q(Pve), Fve = () => Q(mme);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function z3(e, t) {
+function j3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52666,30 +55592,30 @@ function z3(e, t) {
}
return n;
}
-function B3(e) {
+function M3(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) {
- Gpe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
+ t % 2 ? j3(Object(n), !0).forEach(function(t) {
+ Ive(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Gpe(e, t, n) {
- return (t = Kpe(t)) in e ? Object.defineProperty(e, t, {
+function Ive(e, t, n) {
+ return (t = Lve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Kpe(e) {
- var t = qpe(e, "string");
+function Lve(e) {
+ var t = Rve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qpe(e, t) {
+function Rve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52699,10 +55625,10 @@ function qpe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Jpe = (e) => {
+var zve = (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 = B3(B3(B3({}, {
+ var s = M3(M3(M3({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -52713,17 +55639,17 @@ var Jpe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), WF(i)), sR(i)), c = /*#__PURE__*/ (0, E.isValidElement)(i) ? /*#__PURE__*/ (0, E.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ E.createElement(D4, s);
- return /*#__PURE__*/ E.createElement(nI, {
+ }), NL(i)), az(i)), c = /*#__PURE__*/ (0, D.isValidElement)(i) ? /*#__PURE__*/ (0, D.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ D.createElement(y4, s);
+ return /*#__PURE__*/ D.createElement(RL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function V3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = SK.activeDot } = e, s = Q(U0), c = Wpe();
+function N3(e) {
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = DJ.activeDot } = e, s = Q(F0), c = Fve();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return ZL(l) ? null : /*#__PURE__*/ E.createElement(u2, { zIndex: o }, /*#__PURE__*/ E.createElement(Jpe, {
+ return YR(l) ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: o }, /*#__PURE__*/ D.createElement(zve, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -52734,7 +55660,7 @@ function V3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function H3(e, t) {
+function P3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52744,30 +55670,30 @@ function H3(e, t) {
}
return n;
}
-function U3(e) {
+function F3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? H3(Object(n), !0).forEach(function(t) {
- Ype(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H3(Object(n)).forEach(function(t) {
+ t % 2 ? P3(Object(n), !0).forEach(function(t) {
+ Bve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ype(e, t, n) {
- return (t = Xpe(t)) in e ? Object.defineProperty(e, t, {
+function Bve(e, t, n) {
+ return (t = Vve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xpe(e) {
- var t = Zpe(e, "string");
+function Vve(e) {
+ var t = Hve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zpe(e, t) {
+function Hve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52777,16 +55703,16 @@ function Zpe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var W3 = (e, t) => L4(e, "radiusAxis", t), Qpe = $([W3], (e) => {
+var I3 = (e, t) => k4(e, "radiusAxis", t), Uve = $([I3], (e) => {
if (e != null) return { scale: e };
-}), $pe = $([FK, W3], (e, t) => {
- if (e != null && t != null) return U3(U3({}, e), {}, { scale: t });
-}), eme = (e, t, n, r) => z4(e, "radiusAxis", t, r), G3 = (e, t, n) => PK(e, n), K3 = (e, t, n) => L4(e, "angleAxis", n), tme = $([G3, K3], (e, t) => {
- if (e != null && t != null) return U3(U3({}, e), {}, { scale: t });
-}), nme = (e, t, n, r) => z4(e, "angleAxis", n, r), rme = $([
- G3,
- K3,
- WK
+}), Wve = $([BJ, I3], (e, t) => {
+ if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
+}), Gve = (e, t, n, r) => j4(e, "radiusAxis", t, r), L3 = (e, t, n) => zJ(e, n), R3 = (e, t, n) => k4(e, "angleAxis", n), Kve = $([L3, R3], (e, t) => {
+ if (e != null && t != null) return F3(F3({}, e), {}, { scale: t });
+}), qve = (e, t, n, r) => j4(e, "angleAxis", n, r), Jve = $([
+ L3,
+ R3,
+ YJ
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -52795,40 +55721,40 @@ var W3 = (e, t) => L4(e, "radiusAxis", t), Qpe = $([W3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), ime = (e, t, n, r, i) => i, ame = $([
- HV,
- $pe,
- eme,
- tme,
- nme
-], (e, t, n, r, i) => nV(e, "radiusAxis") ? fV(t, n, !1) : fV(r, i, !1)), ome = $([
- Qpe,
- rme,
- JG,
- $([O4, ime], (e, t) => {
+}), Yve = (e, t, n, r, i) => i, Xve = $([
+ mU,
+ Wve,
+ Gve,
+ Kve,
+ qve
+], (e, t, n, r, i) => eH(e, "radiusAxis") ? uH(t, n, !1) : uH(r, i, !1)), Zve = $([
+ Uve,
+ Jve,
+ $q,
+ $([b4, Yve], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- ame
+ Xve
], (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 gme({
+ if (e != null && t != null && a != null && i != null && r != null) return sye({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), sme = ["id"];
-function q3() {
- return q3 = Object.assign ? Object.assign.bind() : function(e) {
+}), Qve = ["id"];
+function z3() {
+ return z3 = 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;
- }, q3.apply(null, arguments);
+ }, z3.apply(null, arguments);
}
-function J3(e, t) {
+function B3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52838,30 +55764,30 @@ function J3(e, t) {
}
return n;
}
-function Y3(e) {
+function V3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? J3(Object(n), !0).forEach(function(t) {
- cme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J3(Object(n)).forEach(function(t) {
+ t % 2 ? B3(Object(n), !0).forEach(function(t) {
+ $ve(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cme(e, t, n) {
- return (t = lme(t)) in e ? Object.defineProperty(e, t, {
+function $ve(e, t, n) {
+ return (t = eye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lme(e) {
- var t = ume(e, "string");
+function eye(e) {
+ var t = tye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ume(e, t) {
+function tye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52871,16 +55797,16 @@ function ume(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function dme(e, t) {
+function nye(e, t) {
if (e == null) return {};
- var n, r, i = fme(e, t);
+ var n, r, i = rye(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 fme(e, t) {
+function rye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52889,42 +55815,42 @@ function fme(e, t) {
}
return n;
}
-function X3(e, t) {
+function H3(e, t) {
return e && e !== "none" ? e : t;
}
-var pme = (e) => {
+var iye = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
- color: X3(r, i),
- value: mV(n, t),
+ color: H3(r, i),
+ value: fH(n, t),
payload: e
}];
-}, mme = /*#__PURE__*/ E.memo((e) => {
+}, aye = /*#__PURE__*/ D.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: eR,
+ getPosition: QR,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: mV(a, t),
+ name: fH(a, t),
hide: o,
type: s,
- color: X3(n, i),
+ color: H3(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ E.createElement(w3, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: l });
});
-function hme(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = UF(dme(n, sme));
- return /*#__PURE__*/ E.createElement(P3, {
+function oye(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = ML(nye(n, Qve));
+ return /*#__PURE__*/ D.createElement(E3, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -52933,11 +55859,11 @@ function hme(e) {
baseProps: o
});
}
-function gme(e) {
+function sye(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 = tV(e, n.dataKey, r), d = tV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? bpe(d) : d, m = ZL(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(Y3(Y3({}, bG(o, s, m, f)), {}, {
+ var a = $V(e, n.dataKey, r), d = $V(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? dve(d) : d, m = YR(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(V3(V3({}, Tq(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -52950,8 +55876,8 @@ function gme(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = ZL(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(Y3(Y3({}, e), {}, { radius: r }, bG(o, s, r, e.angle)));
+ var n = e.value[0], r = YR(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(V3(V3({}, e), {}, { radius: r }, Tq(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -52959,7 +55885,7 @@ function gme(e) {
baseLinePoints: d
};
}
-function _me(e) {
+function cye(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -52969,7 +55895,7 @@ function _me(e) {
upperWidth: 0,
height: 0
};
- return Y3(Y3({}, t), {}, {
+ return V3(V3({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -52977,12 +55903,12 @@ function _me(e) {
fill: void 0
});
});
- return /*#__PURE__*/ E.createElement(v4, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ D.createElement(u4, { value: t ? i : void 0 }, r);
}
-function vme(e) {
+function lye(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ E.isValidElement(i) ? /*#__PURE__*/ E.cloneElement(i, Y3(Y3({}, r), {}, { points: t })) : typeof i == "function" ? i(Y3(Y3({}, r), {}, { points: t })) : /*#__PURE__*/ E.createElement(T4, q3({}, GF(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ D.isValidElement(i) ? /*#__PURE__*/ D.cloneElement(i, V3(V3({}, r), {}, { points: t })) : typeof i == "function" ? i(V3(V3({}, r), {}, { points: t })) : /*#__PURE__*/ D.createElement(_4, z3({}, PL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -52995,31 +55921,31 @@ function vme(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ E.createElement(nI, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ E.createElement(hme, {
+ return /*#__PURE__*/ D.createElement(RL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ D.createElement(oye, {
props: r,
points: t
}));
}
-var Z3 = (e, t, n) => (r, i) => {
+var U3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
- return a ? Y3(Y3({}, r), {}, {
- x: YL(a.x, r.x, n),
- y: YL(a.y, r.y, n)
- }) : Y3(Y3({}, r), {}, {
- x: YL(r.cx, r.x, n),
- y: YL(r.cy, r.y, n)
+ return a ? V3(V3({}, r), {}, {
+ x: qR(a.x, r.x, n),
+ y: qR(a.y, r.y, n)
+ }) : V3(V3({}, r), {}, {
+ x: qR(r.cx, r.x, n),
+ y: qR(r.cy, r.y, n)
});
};
-function yme(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 = VW(t, "recharts-radar-"), [_, v] = (0, E.useState)(!1), y = !_, b = (0, E.useCallback)(() => {
+function uye(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 = KK(t, "recharts-radar-"), [_, v] = (0, D.useState)(!1), y = !_, b = (0, D.useCallback)(() => {
typeof u == "function" && u(), v(!1);
- }, [u]), x = (0, E.useCallback)(() => {
+ }, [u]), x = (0, D.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ E.createElement(_me, {
+ return /*#__PURE__*/ D.createElement(cye, {
showLabels: y,
points: i
- }, /*#__PURE__*/ E.createElement(BW, {
+ }, /*#__PURE__*/ D.createElement(GK, {
animationId: g,
begin: s,
duration: c,
@@ -53029,23 +55955,23 @@ function yme(e) {
onAnimationEnd: b,
onAnimationStart: x
}, (e) => {
- var o = e === 1 ? i : i.map(Z3(f, m, e)), s = e === 1 ? a : a?.map(Z3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ E.createElement(vme, {
+ var o = e === 1 ? i : i.map(U3(f, m, e)), s = e === 1 ? a : a?.map(U3(p, h, e));
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ D.createElement(lye, {
points: o,
baseLinePoints: s,
props: t
});
- }), /*#__PURE__*/ E.createElement(x4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ D.createElement(p4, { label: t.label }), t.children);
}
-function bme(e) {
- var t = (0, E.useRef)(void 0), n = (0, E.useRef)(void 0);
- return /*#__PURE__*/ E.createElement(yme, {
+function dye(e) {
+ var t = (0, D.useRef)(void 0), n = (0, D.useRef)(void 0);
+ return /*#__PURE__*/ D.createElement(uye, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var xme = {
+var fye = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -53057,33 +55983,33 @@ var xme = {
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: SK.area
+ zIndex: DJ.area
};
-function Sme(e) {
+function pye(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
- var i = Sm("recharts-radar", n);
- return /*#__PURE__*/ E.createElement(u2, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(nI, { className: i }, /*#__PURE__*/ E.createElement(bme, e)), /*#__PURE__*/ E.createElement(V3, {
+ var i = Dm("recharts-radar", n);
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(RL, { className: i }, /*#__PURE__*/ D.createElement(dye, e)), /*#__PURE__*/ D.createElement(N3, {
points: r,
- mainColor: X3(e.stroke, e.fill),
+ mainColor: H3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function Cme(e) {
- var t = wV(), n = Q((n) => ome(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ E.createElement(Sme, q3({}, e, {
+function mye(e) {
+ var t = PH(), n = Q((n) => Zve(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ D.createElement(pye, z3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function Q3(e) {
- var t = uR(e, xme);
- return /*#__PURE__*/ E.createElement(D3, {
+function W3(e) {
+ var t = cz(e, fye);
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(A3, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(S3, {
type: "radar",
id: e,
data: void 0,
@@ -53091,7 +56017,7 @@ function Q3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ E.createElement(E3, { legendPayload: pme(t) }), /*#__PURE__*/ E.createElement(mme, {
+ }), /*#__PURE__*/ D.createElement(v3, { legendPayload: iye(t) }), /*#__PURE__*/ D.createElement(aye, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -53100,33 +56026,33 @@ function Q3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ E.createElement(Cme, q3({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(mye, z3({}, t, { id: e }))));
}
-Q3.displayName = "Radar";
+W3.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-function $3() {
- return $3 = Object.assign ? Object.assign.bind() : function(e) {
+function G3() {
+ return G3 = 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;
- }, $3.apply(null, arguments);
+ }, G3.apply(null, arguments);
}
-function e6(e) {
+function K3(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function t6(e) {
- return /*#__PURE__*/ E.createElement(b3, $3({ shapeType: "sector" }, e));
+function q3(e) {
+ return /*#__PURE__*/ D.createElement(f3, G3({ shapeType: "sector" }, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-var n6 = (e, t, n) => {
+var J3 = (e, t, n) => {
var r = n ?? e;
- if (!ZL(r)) return qL(r, t, 0);
-}, r6 = (e, t, n) => {
- var r = {}, i = e.filter(YK), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ if (!YR(r)) return GR(r, t, 0);
+}, Y3 = (e, t, n) => {
+ var r = {}, i = e.filter(eY), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
@@ -53134,18 +56060,18 @@ var n6 = (e, t, n) => {
return {
stackId: r,
dataKeys: i.map((e) => e.dataKey),
- barSize: n6(t, n, i[0]?.barSize)
+ barSize: J3(t, n, i[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: n6(t, n, e.barSize)
+ barSize: J3(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function i6(e, t) {
+function X3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53155,30 +56081,30 @@ function i6(e, t) {
}
return n;
}
-function a6(e) {
+function Z3(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) {
- wme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i6(Object(n)).forEach(function(t) {
+ t % 2 ? X3(Object(n), !0).forEach(function(t) {
+ hye(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wme(e, t, n) {
- return (t = Tme(t)) in e ? Object.defineProperty(e, t, {
+function hye(e, t, n) {
+ return (t = gye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Tme(e) {
- var t = Eme(e, "string");
+function gye(e) {
+ var t = _ye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Eme(e, t) {
+function _ye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53188,11 +56114,11 @@ function Eme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Dme(e, t, n, r, i) {
+function vye(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = qL(e, n, 0, !0), s, c = [];
- if (ZB(r[0]?.barSize)) {
+ var o = GR(e, n, 0, !0), s, c = [];
+ if (YV(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 = {
@@ -53211,11 +56137,11 @@ function Dme(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = qL(t, n, 0, !0);
+ var p = GR(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 = ZB(i) ? Math.min(m, i) : m;
+ var h = YV(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -53228,11 +56154,11 @@ function Dme(e, t, n, r, i) {
return s;
}
}
-var o6 = (e, t, n, r, i, a, o) => {
- var s = ZL(o) ? t : o, c = Dme(n, r, i === a ? a : i, e, s);
- return i !== a && c != null && (c = c.map((e) => a6(a6({}, e), {}, { position: a6(a6({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, s6 = (e, t) => {
- var n = qK(t);
+var Q3 = (e, t, n, r, i, a, o) => {
+ var s = YR(o) ? t : o, c = vye(n, r, i === a ? a : i, e, s);
+ return i !== a && c != null && (c = c.map((e) => Z3(Z3({}, e), {}, { position: Z3(Z3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, $3 = (e, t) => {
+ var n = QJ(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
if (r != null) {
@@ -53243,7 +56169,7 @@ var o6 = (e, t, n, r, i, a, o) => {
}
}
}
-}, c6 = (e, t) => {
+}, e6 = (e, t) => {
if (e != null && t != null) {
var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));
if (n != null) return n.position;
@@ -53251,7 +56177,7 @@ var o6 = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function l6(e, t) {
+function t6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53261,30 +56187,30 @@ function l6(e, t) {
}
return n;
}
-function u6(e) {
+function n6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? l6(Object(n), !0).forEach(function(t) {
- Ome(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l6(Object(n)).forEach(function(t) {
+ t % 2 ? t6(Object(n), !0).forEach(function(t) {
+ yye(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 Ome(e, t, n) {
- return (t = kme(t)) in e ? Object.defineProperty(e, t, {
+function yye(e, t, n) {
+ return (t = bye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kme(e) {
- var t = Ame(e, "string");
+function bye(e) {
+ var t = xye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ame(e, t) {
+function xye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53294,81 +56220,81 @@ function Ame(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var d6 = $([(e, t) => FK(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return u6(u6({}, e), {}, { scale: t });
-}), f6 = (e, t) => Ude(e, "radiusAxis", t, !1), p6 = $([(e, t, n) => PK(e, n), (e, t, n) => L4(e, "angleAxis", n)], (e, t) => {
- if (e != null && t != null) return u6(u6({}, e), {}, { scale: t });
-}), m6 = (e, t, n) => z4(e, "angleAxis", n, !1), h6 = $([O4, (e, t, n, r) => r], (e, t) => {
+var r6 = $([(e, t) => BJ(e, t), (e, t) => k4(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
+}), i6 = (e, t) => Pge(e, "radiusAxis", t, !1), a6 = $([(e, t, n) => zJ(e, n), (e, t, n) => k4(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return n6(n6({}, e), {}, { scale: t });
+}), o6 = (e, t, n) => j4(e, "angleAxis", n, !1), s6 = $([b4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), g6 = $([
- HV,
- d6,
- f6,
- p6,
- m6
-], (e, t, n, r, i) => nV(e, "radiusAxis") ? fV(t, n, !1) : fV(r, i, !1)), jme = $([
- p6,
- d6,
- HV
+}), c6 = $([
+ mU,
+ r6,
+ i6,
+ a6,
+ o6
+], (e, t, n, r, i) => eH(e, "radiusAxis") ? uH(t, n, !1) : uH(r, i, !1)), Sye = $([
+ a6,
+ r6,
+ mU
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return lV({ numericAxis: r });
-}), Mme = (e, t, n, r, i) => i, Nme = (e, t, n, r, i) => n, Pme = (e, t, n, r, i) => t, _6 = (e, t, n, r, i) => r.maxBarSize, v6 = (e) => e.type === "radialBar", Fme = $([$([
+ if (r != null && r.scale != null) return sH({ numericAxis: r });
+}), Cye = (e, t, n, r, i) => i, wye = (e, t, n, r, i) => n, Tye = (e, t, n, r, i) => t, l6 = (e, t, n, r, i) => r.maxBarSize, u6 = (e) => e.type === "radialBar", Eye = $([$([
$([
$([
- HV,
- O4,
- Nme,
- Pme
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(v6)),
- mK,
+ mU,
+ b4,
+ wye,
+ Tye
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(u6)),
+ yJ,
() => void 0
- ], r6),
- dK,
- fK,
- pK,
+ ], Y3),
+ gJ,
+ _J,
+ vJ,
$([
- HV,
- dK,
- p6,
- m6,
- d6,
- f6,
- _6
+ mU,
+ gJ,
+ a6,
+ o6,
+ r6,
+ i6,
+ l6
], (e, t, n, r, i, a, o) => {
- var s = ZL(o) ? t : o;
- return e === "centric" ? fV(n, r, !0) ?? s ?? 0 : fV(i, a, !0) ?? s ?? 0;
+ var s = YR(o) ? t : o;
+ return e === "centric" ? uH(n, r, !0) ?? s ?? 0 : uH(i, a, !0) ?? s ?? 0;
}),
- g6,
- _6
-], o6), h6], c6), y6 = $([k4], (e) => e.filter(v6).filter(YK)), b6 = $([
+ c6,
+ l6
+], Q3), s6], e6), d6 = $([x4], (e) => e.filter(u6).filter(eY)), f6 = $([
$([
- y6,
- JG,
- O$
- ], JK),
- y6,
- hK,
- gK
-], j$), Ime = $([
- p6,
- m6,
+ d6,
+ $q,
+ n1
+ ], $J),
d6,
- f6,
- qG,
- h6,
- g6,
- HV,
- jme,
- WK,
- Mme,
- Fme,
- $([(e, t, n) => HV(e) === "centric" ? b6(e, "radiusAxis", t) : b6(e, "angleAxis", n), h6], s6)
+ bJ,
+ xJ
+], i1), Dye = $([
+ a6,
+ o6,
+ r6,
+ i6,
+ Qq,
+ s6,
+ c6,
+ mU,
+ Sye,
+ YJ,
+ Cye,
+ Eye,
+ $([(e, t, n) => mU(e) === "centric" ? f6(e, "radiusAxis", t) : f6(e, "angleAxis", n), s6], $3)
], (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 $me({
+ return Wye({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -53389,7 +56315,7 @@ var d6 = $([(e, t) => FK(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), Lme = $([JG, (e, t) => t], (e, t) => {
+}), Oye = $([$q, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -53402,31 +56328,31 @@ var d6 = $([(e, t) => FK(e, t), (e, t) => L4(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function x6(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && ZB(e.zIndex) ? e.zIndex : t;
+function p6(e, t) {
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && YV(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var Rme = [
+var kye = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], zme = [
+], Aye = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], Bme = ["value", "background"];
-function S6() {
- return S6 = Object.assign ? Object.assign.bind() : function(e) {
+], jye = ["value", "background"];
+function m6() {
+ return m6 = 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;
- }, S6.apply(null, arguments);
+ }, m6.apply(null, arguments);
}
-function C6(e, t) {
+function h6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53436,30 +56362,30 @@ function C6(e, t) {
}
return n;
}
-function w6(e) {
+function g6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? C6(Object(n), !0).forEach(function(t) {
- Vme(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C6(Object(n)).forEach(function(t) {
+ t % 2 ? h6(Object(n), !0).forEach(function(t) {
+ Mye(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vme(e, t, n) {
- return (t = Hme(t)) in e ? Object.defineProperty(e, t, {
+function Mye(e, t, n) {
+ return (t = Nye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hme(e) {
- var t = Ume(e, "string");
+function Nye(e) {
+ var t = Pye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ume(e, t) {
+function Pye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53469,16 +56395,16 @@ function Ume(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function T6(e, t) {
+function _6(e, t) {
if (e == null) return {};
- var n, r, i = Wme(e, t);
+ var n, r, i = Fye(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 Wme(e, t) {
+function Fye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -53487,8 +56413,8 @@ function Wme(e, t) {
}
return n;
}
-var E6 = [];
-function Gme(e) {
+var v6 = [];
+function Iye(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -53505,15 +56431,15 @@ function Gme(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ E.createElement(jde, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ D.createElement(Sge, { value: t ? i : void 0 }, r);
}
-function Kme(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = T6(n, Rme), l = UF(c), u = Q(U0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = T6(n, zme), h = x3(d, n.dataKey, s), g = S3(p), _ = C3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ E.createElement(Gme, {
+function Lye(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = _6(n, kye), l = ML(c), u = Q(F0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = _6(n, Aye), h = p3(d, n.dataKey, s), g = m3(p), _ = h3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ D.createElement(Iye, {
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 = w6(w6(w6(w6({}, l), {}, { cornerRadius: e6(o) }, e), cR(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = g6(g6(g6(g6({}, l), {}, { cornerRadius: K3(o) }, e), oz(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -53524,19 +56450,19 @@ function Kme(e) {
option: n ? a : i,
index: t
});
- return n ? /*#__PURE__*/ E.createElement(u2, {
- zIndex: SK.activeBar,
+ return n ? /*#__PURE__*/ D.createElement(n2, {
+ zIndex: DJ.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ E.createElement(t6, f)) : /*#__PURE__*/ E.createElement(t6, S6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
- }), /*#__PURE__*/ E.createElement(x4, { label: n.label }), n.children);
+ }, /*#__PURE__*/ D.createElement(q3, f)) : /*#__PURE__*/ D.createElement(q3, m6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
+ }), /*#__PURE__*/ D.createElement(p4, { label: n.label }), n.children);
}
-function qme(e) {
- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = VW(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, E.useState)(!1), m = (0, E.useCallback)(() => {
+function Rye(e) {
+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = KK(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, D.useState)(!1), m = (0, D.useCallback)(() => {
typeof c == "function" && c(), p(!1);
- }, [c]), h = (0, E.useCallback)(() => {
+ }, [c]), h = (0, D.useCallback)(() => {
typeof l == "function" && l(), p(!0);
}, [l]);
- return /*#__PURE__*/ E.createElement(BW, {
+ return /*#__PURE__*/ D.createElement(GK, {
animationId: u,
begin: a,
duration: o,
@@ -53546,37 +56472,37 @@ function qme(e) {
onAnimationEnd: m,
key: u
}, (e) => {
- var i = e === 1 ? r : (r ?? E6).map((t, n) => {
+ var i = e === 1 ? r : (r ?? v6).map((t, n) => {
var r = d && d[n];
- if (r) return w6(w6({}, t), {}, {
- startAngle: YL(r.startAngle, t.startAngle, e),
- endAngle: YL(r.endAngle, t.endAngle, e)
+ if (r) return g6(g6({}, t), {}, {
+ startAngle: qR(r.startAngle, t.startAngle, e),
+ endAngle: qR(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return w6(w6({}, t), {}, { endAngle: YL(a, i, e) });
+ return g6(g6({}, t), {}, { endAngle: qR(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ E.createElement(Kme, {
- sectors: i ?? E6,
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ D.createElement(Lye, {
+ sectors: i ?? v6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function Jme(e) {
- var t = (0, E.useRef)(null);
- return /*#__PURE__*/ E.createElement(qme, {
+function zye(e) {
+ var t = (0, D.useRef)(null);
+ return /*#__PURE__*/ D.createElement(Rye, {
props: e,
previousSectorsRef: t
});
}
-function Yme(e) {
- var t = Q((t) => Lme(t, e.legendType));
- return /*#__PURE__*/ E.createElement(E3, { legendPayload: t ?? [] });
+function Bye(e) {
+ var t = Q((t) => Oye(t, e.legendType));
+ return /*#__PURE__*/ D.createElement(v3, { legendPayload: t ?? [] });
}
-var Xme = /*#__PURE__*/ E.memo((e) => {
+var Vye = /*#__PURE__*/ D.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: eR,
+ getPosition: QR,
settings: {
graphicalItemId: l,
stroke: r,
@@ -53584,45 +56510,45 @@ var Xme = /*#__PURE__*/ E.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: mV(a, t),
+ name: fH(a, t),
hide: o,
type: c,
color: s,
unit: ""
}
};
- return /*#__PURE__*/ E.createElement(w3, { tooltipEntrySettings: u });
-}), Zme = class extends E.PureComponent {
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: u });
+}), Hye = class extends D.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = WF(this.props.background);
- return /*#__PURE__*/ E.createElement(u2, { zIndex: x6(this.props.background, SK.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = T6(e, Bme);
+ var { cornerRadius: t } = this.props, n = NL(this.props.background);
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: p6(this.props.background, DJ.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = _6(e, jye);
if (!a) return null;
- var s = w6(w6(w6(w6(w6({ cornerRadius: e6(t) }, o), {}, { fill: "#eee" }, a), n), cR(this.props, e, r)), {}, {
+ var s = g6(g6(g6(g6(g6({ cornerRadius: K3(t) }, o), {}, { fill: "#eee" }, a), n), oz(this.props, e, r)), {}, {
index: r,
- className: Sm("recharts-radial-bar-background-sector", String(n?.className)),
+ className: Dm("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
- return /*#__PURE__*/ E.createElement(t6, S6({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
+ return /*#__PURE__*/ D.createElement(q3, m6({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
}));
}
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
- var i = Sm("recharts-area", n);
- return /*#__PURE__*/ E.createElement(u2, { zIndex: this.props.zIndex }, /*#__PURE__*/ E.createElement(nI, { className: i }, r && /*#__PURE__*/ E.createElement(nI, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ E.createElement(nI, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ E.createElement(Jme, this.props))));
+ var i = Dm("recharts-area", n);
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: this.props.zIndex }, /*#__PURE__*/ D.createElement(RL, { className: i }, r && /*#__PURE__*/ D.createElement(RL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ D.createElement(RL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ D.createElement(zye, this.props))));
}
};
-function Qme(e) {
- var t = E.useMemo(() => u3(e.children, D2), [e.children]), n = E.useMemo(() => ({
+function Uye(e) {
+ var t = D.useMemo(() => n3(e.children, y2), [e.children]), n = D.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: oV(e.stackId),
+ stackId: iH(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -53637,8 +56563,8 @@ function Qme(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => Ime(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? E6;
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Xme, {
+ ]), r = Q((r) => Dye(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? v6;
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(Vye, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -53648,9 +56574,9 @@ function Qme(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ E.createElement(Zme, S6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ D.createElement(Hye, m6({}, e, { sectors: r })));
}
-var D6 = {
+var y6 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
@@ -53665,14 +56591,14 @@ var D6 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- zIndex: SK.bar
+ zIndex: DJ.bar
};
-function $me(e) {
+function Wye(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 ? E6 : (t ?? []).map((e, t) => {
+ return g == null || l == null ? v6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = aV(n[r + t], i) : (b = tV(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 = cV({
+ if (n ? b = rH(n[r + t], i) : (b = $V(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 = oH({
axis: c,
ticks: l,
bandSize: u,
@@ -53683,7 +56609,7 @@ function $me(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = VL(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = BR(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -53695,7 +56621,7 @@ function $me(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = cV({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = oH({
axis: f,
ticks: g,
bandSize: u,
@@ -53706,11 +56632,11 @@ function $me(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = VL(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = BR(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
- return w6(w6(w6({}, e), T), {}, {
+ return g6(g6(g6({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -53722,38 +56648,38 @@ function $me(e) {
}, _ && _[t] && _[t].props);
});
}
-function O6(e) {
- var t = uR(e, D6);
- return /*#__PURE__*/ E.createElement(D3, {
+function b6(e) {
+ var t = cz(e, y6);
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(A3, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(S3, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? D6.hide,
- angleAxisId: t.angleAxisId ?? D6.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? D6.radiusAxisId,
- stackId: oV(t.stackId),
+ hide: t.hide ?? y6.hide,
+ angleAxisId: t.angleAxisId ?? y6.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? y6.radiusAxisId,
+ stackId: iH(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ E.createElement(Yme, t), /*#__PURE__*/ E.createElement(Qme, S6({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(Bye, t), /*#__PURE__*/ D.createElement(Uye, m6({}, t, { id: e }))));
}
-O6.displayName = "RadialBar";
+b6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var k6 = (e) => {
- var { chartData: t } = e, n = LR(), r = wV();
- return (0, E.useEffect)(() => r ? () => {} : (n(x2(t)), () => {
- n(x2(void 0));
+var x6 = (e) => {
+ var { chartData: t } = e, n = Fz(), r = PH();
+ return (0, D.useEffect)(() => r ? () => {} : (n(p2(t)), () => {
+ n(p2(void 0));
}), [
t,
n,
r
]), null;
-}, A6 = {
+}, S6 = {
x: 0,
y: 0,
width: 0,
@@ -53764,13 +56690,13 @@ var k6 = (e) => {
bottom: 0,
left: 0
}
-}, j6 = SB({
+}, C6 = bV({
name: "brush",
- initialState: A6,
+ initialState: S6,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? A6 : t.payload;
+ return t.payload == null ? S6 : t.payload;
} }
-}), { setBrushSettings: ehe } = j6.actions, the = j6.reducer, nhe = (e, t) => {
+}), { setBrushSettings: Gye } = C6.actions, Kye = C6.reducer, qye = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -53778,9 +56704,9 @@ var k6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, rhe = (e) => {
+}, Jye = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return nhe({
+ return qye({
x: t,
y: n
}, {
@@ -53788,13 +56714,13 @@ var k6 = (e) => {
y: i
});
};
-function ihe(e) {
+function Yye(e) {
return (e % 180 + 180) % 180;
}
-var ahe = function(e) {
- var { width: t, height: n } = e, r = ihe(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 Xye = function(e) {
+ var { width: t, height: n } = e, r = Yye(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);
-}, M6 = SB({
+}, w6 = bV({
name: "referenceElements",
initialState: {
dots: [],
@@ -53806,35 +56732,35 @@ var ahe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = lB(e).dots.findIndex((e) => e === t.payload);
+ var n = sV(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 = lB(e).areas.findIndex((e) => e === t.payload);
+ var n = sV(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(NH(t.payload));
+ e.lines.push(gW(t.payload));
},
removeLine: (e, t) => {
- var n = lB(e).lines.findIndex((e) => e === t.payload);
+ var n = sV(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: ohe, removeDot: she, addArea: che, removeArea: lhe, addLine: uhe, removeLine: dhe } = M6.actions, fhe = M6.reducer, N6 = /*#__PURE__*/ (0, E.createContext)(void 0), phe = (e) => {
- var { children: t } = e, [n] = (0, E.useState)(`${KL("recharts")}-clip`), r = R3();
+}), { addDot: Zye, removeDot: Qye, addArea: $ye, removeArea: ebe, addLine: tbe, removeLine: nbe } = w6.actions, rbe = w6.reducer, T6 = /*#__PURE__*/ (0, D.createContext)(void 0), ibe = (e) => {
+ var { children: t } = e, [n] = (0, D.useState)(`${WR("recharts")}-clip`), r = A3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
- return /*#__PURE__*/ E.createElement(N6.Provider, { value: n }, /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: n }, /*#__PURE__*/ E.createElement("rect", {
+ return /*#__PURE__*/ D.createElement(T6.Provider, { value: n }, /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement("clipPath", { id: n }, /*#__PURE__*/ D.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, mhe = () => (0, E.useContext)(N6), hhe = class {
+}, abe = () => (0, D.useContext)(T6), obe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -53860,7 +56786,7 @@ var ahe = function(e) {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function P6(e, t) {
+function E6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -53870,30 +56796,30 @@ function P6(e, t) {
}
return n;
}
-function F6(e) {
+function D6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? P6(Object(n), !0).forEach(function(t) {
- ghe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P6(Object(n)).forEach(function(t) {
+ t % 2 ? E6(Object(n), !0).forEach(function(t) {
+ sbe(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 ghe(e, t, n) {
- return (t = _he(t)) in e ? Object.defineProperty(e, t, {
+function sbe(e, t, n) {
+ return (t = cbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _he(e) {
- var t = vhe(e, "string");
+function cbe(e) {
+ var t = lbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vhe(e, t) {
+function lbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53903,27 +56829,27 @@ function vhe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function I6() {
- return I6 = Object.assign ? Object.assign.bind() : function(e) {
+function O6() {
+ return O6 = 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;
- }, I6.apply(null, arguments);
+ }, O6.apply(null, arguments);
}
-var yhe = (e, t) => {
+var ube = (e, t) => {
var n;
- if (/*#__PURE__*/ E.isValidElement(e)) n = /*#__PURE__*/ E.cloneElement(e, t);
+ if (/*#__PURE__*/ D.isValidElement(e)) n = /*#__PURE__*/ D.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!ZB(t.x1) || !ZB(t.y1) || !ZB(t.x2) || !ZB(t.y2)) return null;
- n = /*#__PURE__*/ E.createElement("line", I6({}, t, { className: "recharts-reference-line-line" }));
+ if (!YV(t.x1) || !YV(t.y1) || !YV(t.x2) || !YV(t.y2)) return null;
+ n = /*#__PURE__*/ D.createElement("line", O6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, bhe = (e, t, n, r, i, a) => {
+}, dbe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!ZB(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!YV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -53932,9 +56858,9 @@ var yhe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, xhe = (e, t, n, r, i, a) => {
+}, fbe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!ZB(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!YV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -53943,7 +56869,7 @@ var yhe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, She = (e, t, n, r) => {
+}, pbe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -53952,43 +56878,43 @@ var yhe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, Che = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = WL(s);
- return WL(c) ? bhe(c, u, r, a, t, n) : d ? xhe(s, u, r, i, e, n) : l != null && l.length === 2 ? She(l, u, r, new hhe({
+}, mbe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = UR(s);
+ return UR(c) ? dbe(c, u, r, a, t, n) : d ? fbe(s, u, r, i, e, n) : l != null && l.length === 2 ? pbe(l, u, r, new obe({
x: e,
y: t
})) : null;
};
-function whe(e) {
- var t = LR();
- return (0, E.useEffect)(() => (t(uhe(e)), () => {
- t(dhe(e));
+function hbe(e) {
+ var t = Fz();
+ return (0, D.useEffect)(() => (t(tbe(e)), () => {
+ t(nbe(e));
})), null;
}
-function The(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = wV(), s = mhe(), c = Q((e) => ZQ(e, t)), l = Q((e) => e$(e, n)), u = Q((e) => k1(e, "xAxis", t, o)), d = Q((e) => k1(e, "yAxis", n, o)), f = RV();
+function gbe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = PH(), s = abe(), 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 = cU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = Che(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = mbe(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 = F6(F6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, GF(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = D6(D6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, PL(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = rhe({
+ }), x = Jye({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ E.createElement(u2, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(nI, { className: Sm("recharts-reference-line", i) }, yhe(r, b), /*#__PURE__*/ E.createElement(o4, I6({}, x, {
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(RL, { className: Dm("recharts-reference-line", i) }, ube(r, b), /*#__PURE__*/ D.createElement(Q2, O6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ E.createElement(m4, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ D.createElement(o4, { label: e.label }), e.children)));
}
-var Ehe = {
+var _be = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -53998,23 +56924,23 @@ var Ehe = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: SK.line
+ zIndex: DJ.line
};
-function L6(e) {
- var t = uR(e, Ehe);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(whe, {
+function k6(e) {
+ var t = cz(e, _be);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(hbe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ E.createElement(The, t));
+ }), /*#__PURE__*/ D.createElement(gbe, t));
}
-L6.displayName = "ReferenceLine";
+k6.displayName = "ReferenceLine";
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function R6(e, t) {
+function A6(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -54025,13 +56951,13 @@ function R6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function Dhe(e, t, n) {
- return ahe({
+function vbe(e, t, n) {
+ return Xye({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function Ohe(e, t, n) {
+function ybe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -54041,33 +56967,33 @@ function Ohe(e, t, n) {
end: r ? i : a
};
}
-function z6(e, t, n, r, i) {
+function j6(e, t, n, r, i) {
if (e * t < e * r || e * t > e * i) return !1;
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function khe(e, t) {
- return R6(e, t + 1);
+function bbe(e, t) {
+ return A6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function Ahe(e, t, n, r, i) {
+function xbe(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: R6(r, l) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || z6(e, p, f, u, s);
+ if (t === void 0) return { v: A6(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || j6(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function jhe(e, t, n, r, i) {
+function Sbe(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++) {
for (var l = (a - 1) % c, u = o, d = !0, f = function() {
var t = r[m];
if (t == null) return 0;
- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || z6(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || j6(e, f, c, u, s);
if (!p) return d = !1, 1;
p && (u = f + e * (c() / 2 + i));
}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);
@@ -54083,7 +57009,7 @@ function jhe(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function B6(e, t) {
+function M6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54093,30 +57019,30 @@ function B6(e, t) {
}
return n;
}
-function V6(e) {
+function N6(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) {
- Mhe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B6(Object(n)).forEach(function(t) {
+ t % 2 ? M6(Object(n), !0).forEach(function(t) {
+ Cbe(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 Mhe(e, t, n) {
- return (t = Nhe(t)) in e ? Object.defineProperty(e, t, {
+function Cbe(e, t, n) {
+ return (t = wbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nhe(e) {
- var t = Phe(e, "string");
+function wbe(e) {
+ var t = Tbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Phe(e, t) {
+function Tbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54126,26 +57052,26 @@ function Phe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Fhe(e, t, n, r, i) {
+function Ebe(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;
var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);
if (t === o - 1) {
var f = e * (l.coordinate + e * d() / 2 - c);
- a[t] = l = V6(V6({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = V6(V6({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && z6(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = V6(V6({}, l), {}, { isShow: !0 }));
+ a[t] = l = N6(N6({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = N6(N6({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && j6(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = N6(N6({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function Ihe(e, t, n, r, i, a) {
+function Dbe(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];
if (u != null) {
var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);
- o[s - 1] = u = V6(V6({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && z6(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = V6(V6({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = N6(N6({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && j6(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = N6(N6({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -54154,17 +57080,17 @@ function Ihe(e, t, n, r, i, a) {
var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);
if (t === 0) {
var d = e * (a.coordinate - e * u() / 2 - c);
- o[t] = a = V6(V6({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = V6(V6({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && z6(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = V6(V6({}, a), {}, { isShow: !0 }));
+ o[t] = a = N6(N6({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = N6(N6({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && j6(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = N6(N6({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function H6(e, t, n) {
+function P6(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) || vU.isSsr) return khe(i, Z(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? N2(u, {
+ if (Z(c) || CG.isSsr) return bbe(i, Z(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? T2(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -54172,19 +57098,19 @@ function H6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? Dhe(N2(i, {
+ return p === "width" ? vbe(T2(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : N2(i, {
+ }), m, d) : T2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? VL(_.coordinate - g.coordinate) : 1, y = Ohe(a, v, p);
- return c === "equidistantPreserveStart" ? Ahe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? jhe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? Ihe(v, y, h, i, o, c === "preserveStartEnd") : Fhe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? BR(_.coordinate - g.coordinate) : 1, y = ybe(a, v, p);
+ return c === "equidistantPreserveStart" ? xbe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? Sbe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? Dbe(v, y, h, i, o, c === "preserveStartEnd") : Ebe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var Lhe = (e) => {
+var Obe = (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) => {
@@ -54197,7 +57123,7 @@ var Lhe = (e) => {
return Math.round(l);
}
return 0;
-}, U6 = SB({
+}, F6 = bV({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -54206,14 +57132,14 @@ var Lhe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = NH(i);
+ e[n][r] = gW(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: Rhe, removeRenderedTicks: zhe } = U6.actions, Bhe = U6.reducer, Vhe = [
+}), { setRenderedTicks: kbe, removeRenderedTicks: Abe } = F6.actions, jbe = F6.reducer, Mbe = [
"axisLine",
"width",
"height",
@@ -54223,16 +57149,16 @@ var Lhe = (e) => {
"axisType",
"axisId"
];
-function Hhe(e, t) {
+function Nbe(e, t) {
if (e == null) return {};
- var n, r, i = Uhe(e, t);
+ var n, r, i = Pbe(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 Uhe(e, t) {
+function Pbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54241,16 +57167,16 @@ function Uhe(e, t) {
}
return n;
}
-function W6() {
- return W6 = Object.assign ? Object.assign.bind() : function(e) {
+function I6() {
+ return I6 = 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;
- }, W6.apply(null, arguments);
+ }, I6.apply(null, arguments);
}
-function G6(e, t) {
+function L6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54260,30 +57186,30 @@ function G6(e, t) {
}
return n;
}
-function K6(e) {
+function R6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? G6(Object(n), !0).forEach(function(t) {
- Whe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G6(Object(n)).forEach(function(t) {
+ t % 2 ? L6(Object(n), !0).forEach(function(t) {
+ Fbe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Whe(e, t, n) {
- return (t = Ghe(t)) in e ? Object.defineProperty(e, t, {
+function Fbe(e, t, n) {
+ return (t = Ibe(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 Ibe(e) {
+ var t = Lbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Khe(e, t) {
+function Lbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54293,7 +57219,7 @@ function Khe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var q6 = {
+var z6 = {
x: 0,
y: 0,
width: 0,
@@ -54315,15 +57241,15 @@ var q6 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: SK.axis
+ zIndex: DJ.axis
};
-function qhe(e) {
+function Rbe(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 = K6(K6(K6({}, c), UF(s)), {}, { fill: "none" });
+ var l = R6(R6(R6({}, c), ML(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = K6(K6({}, l), {}, {
+ l = R6(R6({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -54331,16 +57257,16 @@ function qhe(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = K6(K6({}, l), {}, {
+ l = R6(R6({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ E.createElement("line", W6({}, l, { className: Sm("recharts-cartesian-axis-line", IL(s, "className")) }));
+ return /*#__PURE__*/ D.createElement("line", I6({}, l, { className: Dm("recharts-cartesian-axis-line", LR(s, "className")) }));
}
-function Jhe(e, t, n, r, i, a, o, s, c) {
+function zbe(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":
@@ -54367,14 +57293,14 @@ function Jhe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function Yhe(e, t) {
+function Bbe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function Xhe(e, t) {
+function Vbe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -54382,19 +57308,19 @@ function Xhe(e, t) {
default: return t ? "end" : "start";
}
}
-function Zhe(e) {
- var { option: t, tickProps: n, value: r } = e, i, a = Sm(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ E.isValidElement(t)) i = /*#__PURE__*/ E.cloneElement(t, K6(K6({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(K6(K6({}, n), {}, { className: a }));
+function Hbe(e) {
+ var { option: t, tickProps: n, value: r } = e, i, a = Dm(n.className, "recharts-cartesian-axis-tick-value");
+ if (/*#__PURE__*/ D.isValidElement(t)) i = /*#__PURE__*/ D.cloneElement(t, R6(R6({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(R6(R6({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Sm(o, J4(t))), i = /*#__PURE__*/ E.createElement(Q2, W6({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Dm(o, B4(t))), i = /*#__PURE__*/ D.createElement(W2, I6({}, n, { className: o }), r);
}
return i;
}
-function Qhe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = LR();
- return (0, E.useEffect)(() => r == null || n == null ? eR : (i(Rhe({
+function Ube(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = Fz();
+ return (0, D.useEffect)(() => r == null || n == null ? QR : (i(kbe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -54404,7 +57330,7 @@ function Qhe(e) {
axisId: r,
axisType: n
})), () => {
- i(zhe({
+ i(Abe({
axisId: r,
axisType: n
}));
@@ -54415,17 +57341,17 @@ function Qhe(e) {
n
]), null;
}
-var $he = /*#__PURE__*/ (0, E.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 = H6(K6(K6({}, b), {}, { ticks: n }), v, y), T = UF(b), D = WF(r), O = K2(T.textAnchor) ? T.textAnchor : Yhe(u, d), k = Xhe(u, d), A = {};
+var Wbe = /*#__PURE__*/ (0, D.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 = P6(R6(R6({}, b), {}, { ticks: n }), v, y), T = ML(b), E = NL(r), O = R2(T.textAnchor) ? T.textAnchor : Bbe(u, d), k = Vbe(u, d), A = {};
typeof i == "object" && (A = i);
- var j = K6(K6({}, T), {}, { fill: "none" }, A), M = w.map((e) => K6({ entry: e }, Jhe(e, f, p, m, h, u, g, d, _))), N = M.map((e) => {
+ var j = R6(R6({}, T), {}, { fill: "none" }, A), M = w.map((e) => R6({ entry: e }, zbe(e, f, p, m, h, u, g, d, _))), N = M.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ E.createElement(nI, {
+ return /*#__PURE__*/ D.createElement(RL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ E.createElement("line", W6({}, j, n, { className: Sm("recharts-cartesian-axis-tick-line", IL(i, "className")) })));
+ }, i && /*#__PURE__*/ D.createElement("line", I6({}, j, n, { className: Dm("recharts-cartesian-axis-tick-line", LR(i, "className")) })));
}), P = M.map((e, t) => {
- var { entry: n, tick: i } = e, u = K6(K6({}, K6(K6(K6(K6({ verticalAnchor: k }, T), {}, {
+ var { entry: n, tick: i } = e, u = R6(R6({}, R6(R6(R6(R6({ verticalAnchor: k }, T), {}, {
textAnchor: O,
stroke: "none",
fill: a
@@ -54435,34 +57361,34 @@ var $he = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
visibleTicksCount: w.length,
tickFormatter: o,
padding: c
- }, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), D);
- return /*#__PURE__*/ E.createElement(nI, W6({
+ }, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
+ return /*#__PURE__*/ D.createElement(RL, I6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, cR(x, n, t)), r && /*#__PURE__*/ E.createElement(Zhe, {
+ }, oz(x, n, t)), r && /*#__PURE__*/ D.createElement(Hbe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ E.createElement(Qhe, {
+ return /*#__PURE__*/ D.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ D.createElement(Ube, {
ticks: w,
axisId: C,
axisType: S
- }), P.length > 0 && /*#__PURE__*/ E.createElement(u2, { zIndex: SK.label }, /*#__PURE__*/ E.createElement("g", {
+ }), P.length > 0 && /*#__PURE__*/ D.createElement(n2, { zIndex: DJ.label }, /*#__PURE__*/ D.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
- }, P)), N.length > 0 && /*#__PURE__*/ E.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, N));
-}), ege = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = Hhe(e, Vhe), [d, f] = (0, E.useState)(""), [p, m] = (0, E.useState)(""), h = (0, E.useRef)(null);
- (0, E.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => Lhe({
+ }, P)), N.length > 0 && /*#__PURE__*/ D.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, N));
+}), Gbe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = Nbe(e, Mbe), [d, f] = (0, D.useState)(""), [p, m] = (0, D.useState)(""), h = (0, D.useRef)(null);
+ (0, D.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => Obe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
tickSize: e.tickSize,
tickMargin: e.tickMargin
}) }));
- var g = (0, E.useCallback)((e) => {
+ var g = (0, D.useCallback)((e) => {
if (e) {
var t = e.getElementsByClassName("recharts-cartesian-axis-tick-value");
h.current = t;
@@ -54473,7 +57399,7 @@ var $he = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ E.createElement(u2, { zIndex: e.zIndex }, /*#__PURE__*/ E.createElement(nI, { className: Sm("recharts-cartesian-axis", a) }, /*#__PURE__*/ E.createElement(qhe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ D.createElement(n2, { zIndex: e.zIndex }, /*#__PURE__*/ D.createElement(RL, { className: Dm("recharts-cartesian-axis", a) }, /*#__PURE__*/ D.createElement(Rbe, {
x: e.x,
y: e.y,
width: r,
@@ -54481,8 +57407,8 @@ var $he = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: UF(e)
- }), /*#__PURE__*/ E.createElement($he, {
+ otherSvgProps: ML(e)
+ }), /*#__PURE__*/ D.createElement(Wbe, {
ref: g,
axisType: c,
events: u,
@@ -54506,32 +57432,32 @@ var $he = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ E.createElement(o4, {
+ }), /*#__PURE__*/ D.createElement(Q2, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ E.createElement(m4, {
+ }, /*#__PURE__*/ D.createElement(o4, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), J6 = /*#__PURE__*/ E.forwardRef((e, t) => {
- var n = uR(e, q6);
- return /*#__PURE__*/ E.createElement(ege, W6({}, n, { ref: t }));
+}), B6 = /*#__PURE__*/ D.forwardRef((e, t) => {
+ var n = cz(e, z6);
+ return /*#__PURE__*/ D.createElement(Gbe, I6({}, n, { ref: t }));
});
-J6.displayName = "CartesianAxis";
+B6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var tge = [
+var Kbe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], nge = ["offset"], rge = ["xAxisId", "yAxisId"], ige = ["xAxisId", "yAxisId"];
-function Y6(e, t) {
+], qbe = ["offset"], Jbe = ["xAxisId", "yAxisId"], Ybe = ["xAxisId", "yAxisId"];
+function V6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54541,30 +57467,30 @@ function Y6(e, t) {
}
return n;
}
-function X6(e) {
+function H6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Y6(Object(n), !0).forEach(function(t) {
- age(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y6(Object(n)).forEach(function(t) {
+ t % 2 ? V6(Object(n), !0).forEach(function(t) {
+ Xbe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function age(e, t, n) {
- return (t = oge(t)) in e ? Object.defineProperty(e, t, {
+function Xbe(e, t, n) {
+ return (t = Zbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oge(e) {
- var t = sge(e, "string");
+function Zbe(e) {
+ var t = Qbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sge(e, t) {
+function Qbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54574,25 +57500,25 @@ function sge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Z6() {
- return Z6 = Object.assign ? Object.assign.bind() : function(e) {
+function U6() {
+ return U6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Z6.apply(null, arguments);
+ }, U6.apply(null, arguments);
}
-function Q6(e, t) {
+function W6(e, t) {
if (e == null) return {};
- var n, r, i = cge(e, t);
+ var n, r, i = $be(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 cge(e, t) {
+function $be(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54601,11 +57527,11 @@ function cge(e, t) {
}
return n;
}
-var lge = (e) => {
+var exe = (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;
- return /*#__PURE__*/ E.createElement("rect", {
+ return /*#__PURE__*/ D.createElement("rect", {
x: r,
y: i,
ry: s,
@@ -54617,13 +57543,13 @@ var lge = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function $6(e) {
+function G6(e) {
var { option: t, lineItemProps: n } = e, r;
- if (/*#__PURE__*/ E.isValidElement(t)) r = /*#__PURE__*/ E.cloneElement(t, n);
+ if (/*#__PURE__*/ D.isValidElement(t)) r = /*#__PURE__*/ D.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 = UF(Q6(n, tge)) ?? {}, { offset: u } = l, d = Q6(l, nge);
- r = /*#__PURE__*/ E.createElement("line", Z6({}, d, {
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = ML(W6(n, Kbe)) ?? {}, { offset: u } = l, d = W6(l, qbe);
+ r = /*#__PURE__*/ D.createElement("line", U6({}, d, {
x1: i,
y1: a,
x2: o,
@@ -54634,11 +57560,11 @@ function $6(e) {
}
return r;
}
-function uge(e) {
+function txe(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 = Q6(e, rge), c = i.map((e, i) => {
- var a = X6(X6({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, Jbe), c = i.map((e, i) => {
+ var a = H6(H6({}, s), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -54646,19 +57572,19 @@ function uge(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ E.createElement($6, {
+ return /*#__PURE__*/ D.createElement(G6, {
key: `line-${i}`,
option: r,
lineItemProps: a
});
});
- return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
+ return /*#__PURE__*/ D.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function dge(e) {
+function nxe(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 = Q6(e, ige), c = i.map((e, i) => {
- var a = X6(X6({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = W6(e, Ybe), c = i.map((e, i) => {
+ var a = H6(H6({}, s), {}, {
x1: e,
y1: t,
x2: e,
@@ -54666,15 +57592,15 @@ function dge(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ E.createElement($6, {
+ return /*#__PURE__*/ D.createElement(G6, {
option: r,
lineItemProps: a,
key: `line-${i}`
});
});
- return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
+ return /*#__PURE__*/ D.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function fge(e) {
+function rxe(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);
@@ -54683,7 +57609,7 @@ function fge(e) {
var c = l[s + 1], u = c == null ? i + o - e : c - e;
if (u <= 0) return null;
var d = s % t.length;
- return /*#__PURE__*/ E.createElement("rect", {
+ return /*#__PURE__*/ D.createElement("rect", {
key: `react-${s}`,
y: e,
x: r,
@@ -54695,9 +57621,9 @@ function fge(e) {
className: "recharts-cartesian-grid-bg"
});
});
- return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
+ return /*#__PURE__*/ D.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function pge(e) {
+function ixe(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);
@@ -54706,7 +57632,7 @@ function pge(e) {
var c = l[t + 1], u = c == null ? i + o - e : c - e;
if (u <= 0) return null;
var d = t % n.length;
- return /*#__PURE__*/ E.createElement("rect", {
+ return /*#__PURE__*/ D.createElement("rect", {
key: `react-${t}`,
x: e,
y: a,
@@ -54718,12 +57644,12 @@ function pge(e) {
className: "recharts-cartesian-grid-bg"
});
});
- return /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
+ return /*#__PURE__*/ D.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var mge = (e, t) => {
+var axe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return rV(H6(X6(X6(X6({}, q6), n), {}, {
- ticks: iV(n, !0),
+ return tH(P6(H6(H6(H6({}, z6), n), {}, {
+ ticks: nH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -54731,10 +57657,10 @@ var mge = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, hge = (e, t) => {
+}, oxe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return rV(H6(X6(X6(X6({}, q6), n), {}, {
- ticks: iV(n, !0),
+ return tH(P6(H6(H6(H6({}, z6), n), {}, {
+ ticks: nH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -54742,7 +57668,7 @@ var mge = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, gge = {
+}, sxe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -54754,36 +57680,36 @@ var mge = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: SK.grid
+ zIndex: DJ.grid
};
-function e8(e) {
- var t = BV(), n = VV(), r = zV(), i = X6(X6({}, uR(e, gge)), {}, {
+function K6(e) {
+ var t = dU(), n = fU(), r = uU(), i = H6(H6({}, cz(e, sxe)), {}, {
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 = wV(), h = Q((e) => J1(e, "xAxis", a, m)), g = Q((e) => J1(e, "yAxis", o, m));
- if (!QB(l) || !QB(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || mge, v = i.horizontalCoordinatesGenerator || hge, { 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 = PH(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
+ if (!XV(l) || !XV(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || axe, v = i.horizontalCoordinatesGenerator || oxe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
- yAxis: g ? X6(X6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
+ yAxis: g ? H6(H6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, x ? !0 : d);
- DV(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ BH(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 = _({
- xAxis: h ? X6(X6({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
+ xAxis: h ? H6(H6({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, C ? !0 : d);
- DV(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ BH(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ E.createElement(u2, { zIndex: i.zIndex }, /*#__PURE__*/ E.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ E.createElement(lge, {
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: i.zIndex }, /*#__PURE__*/ D.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ D.createElement(exe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -54791,22 +57717,22 @@ function e8(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ E.createElement(fge, Z6({}, i, { horizontalPoints: y })), /*#__PURE__*/ E.createElement(pge, Z6({}, i, { verticalPoints: b })), /*#__PURE__*/ E.createElement(uge, Z6({}, i, {
+ }), /*#__PURE__*/ D.createElement(rxe, U6({}, i, { horizontalPoints: y })), /*#__PURE__*/ D.createElement(ixe, U6({}, i, { verticalPoints: b })), /*#__PURE__*/ D.createElement(txe, U6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ E.createElement(dge, Z6({}, i, {
+ })), /*#__PURE__*/ D.createElement(nxe, U6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
yAxis: g
}))));
}
-e8.displayName = "CartesianGrid";
+K6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var t8 = SB({
+var q6 = bV({
name: "errorBars",
initialState: {},
reducers: {
@@ -54823,17 +57749,17 @@ var t8 = SB({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: _ge, replaceErrorBar: vge, removeErrorBar: yge } = t8.actions, bge = t8.reducer, xge = ["children"];
-function Sge(e, t) {
+}), { addErrorBar: cxe, replaceErrorBar: lxe, removeErrorBar: uxe } = q6.actions, dxe = q6.reducer, fxe = ["children"];
+function pxe(e, t) {
if (e == null) return {};
- var n, r, i = Cge(e, t);
+ var n, r, i = mxe(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 Cge(e, t) {
+function mxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54842,7 +57768,7 @@ function Cge(e, t) {
}
return n;
}
-var wge = /*#__PURE__*/ (0, E.createContext)({
+var hxe = /*#__PURE__*/ (0, D.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -54853,25 +57779,25 @@ var wge = /*#__PURE__*/ (0, E.createContext)({
}),
errorBarOffset: 0
});
-function n8(e) {
- var { children: t } = e, n = Sge(e, xge);
- return /*#__PURE__*/ E.createElement(wge.Provider, { value: n }, t);
+function J6(e) {
+ var { children: t } = e, n = pxe(e, fxe);
+ return /*#__PURE__*/ D.createElement(hxe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function r8(e, t) {
- var n = Q((t) => ZQ(t, e)), r = Q((e) => e$(e, t)), i = n?.allowDataOverflow ?? YQ.allowDataOverflow, a = r?.allowDataOverflow ?? QQ.allowDataOverflow;
+function Y6(e, t) {
+ var n = Q((t) => N$(t, e)), r = Q((e) => I$(e, t)), i = n?.allowDataOverflow ?? j$.allowDataOverflow, a = r?.allowDataOverflow ?? P$.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
needClipY: a
};
}
-function i8(e) {
- var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = R3(), { needClipX: a, needClipY: o, needClip: s } = r8(t, n);
+function X6(e) {
+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = A3(), { needClipX: a, needClipY: o, needClip: s } = Y6(t, n);
if (!s || !i) return null;
var { x: c, y: l, width: u, height: d } = i;
- return /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ E.createElement("rect", {
+ return /*#__PURE__*/ D.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ D.createElement("rect", {
x: a ? c : c - u / 2,
y: o ? l : l - d / 2,
width: a ? u : u * 2,
@@ -54880,30 +57806,30 @@ function i8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var a8 = (e, t, n, r) => $1(e, "xAxis", t, r), o8 = (e, t, n, r) => Q1(e, "xAxis", t, r), s8 = (e, t, n, r) => $1(e, "yAxis", n, r), c8 = (e, t, n, r) => Q1(e, "yAxis", n, r), Tge = $([
- HV,
- a8,
- s8,
- o8,
- c8
-], (e, t, n, r, i) => nV(e, "xAxis") ? fV(t, r, !1) : fV(n, i, !1)), Ege = (e, t, n, r, i) => i;
-function Dge(e) {
+var Z6 = (e, t, n, r) => J1(e, "xAxis", t, r), Q6 = (e, t, n, r) => q1(e, "xAxis", t, r), $6 = (e, t, n, r) => J1(e, "yAxis", n, r), e8 = (e, t, n, r) => q1(e, "yAxis", n, r), gxe = $([
+ mU,
+ Z6,
+ $6,
+ Q6,
+ e8
+], (e, t, n, r, i) => eH(e, "xAxis") ? uH(t, r, !1) : uH(n, i, !1)), _xe = (e, t, n, r, i) => i;
+function vxe(e) {
return e.type === "line";
}
-var Oge = $([
- HV,
- a8,
- s8,
- o8,
- c8,
- $([c$, Ege], (e, t) => e.filter(Dge).find((e) => e.id === t)),
- Tge,
- YG
+var yxe = $([
+ mU,
+ Z6,
+ $6,
+ Q6,
+ e8,
+ $([H$, _xe], (e, t) => e.filter(vxe).find((e) => e.id === t)),
+ gxe,
+ eJ
], (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 Jge({
+ if (p != null) return zxe({
layout: e,
xAxis: t,
yAxis: n,
@@ -54917,8 +57843,8 @@ var Oge = $([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function l8(e) {
- var t = WF(e), n = 3, r = 2;
+function t8(e) {
+ var t = NL(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), {
@@ -54933,13 +57859,13 @@ function l8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var kge = ["id"], Age = [
+var bxe = ["id"], xxe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], jge = [
+], Sxe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -54955,16 +57881,16 @@ var kge = ["id"], Age = [
"yAxisId",
"id"
];
-function u8() {
- return u8 = Object.assign ? Object.assign.bind() : function(e) {
+function n8() {
+ return n8 = 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;
- }, u8.apply(null, arguments);
+ }, n8.apply(null, arguments);
}
-function d8(e, t) {
+function r8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54974,30 +57900,30 @@ function d8(e, t) {
}
return n;
}
-function f8(e) {
+function i8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? d8(Object(n), !0).forEach(function(t) {
- Mge(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d8(Object(n)).forEach(function(t) {
+ t % 2 ? r8(Object(n), !0).forEach(function(t) {
+ Cxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Mge(e, t, n) {
- return (t = Nge(t)) in e ? Object.defineProperty(e, t, {
+function Cxe(e, t, n) {
+ return (t = wxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nge(e) {
- var t = Pge(e, "string");
+function wxe(e) {
+ var t = Txe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pge(e, t) {
+function Txe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55007,16 +57933,16 @@ function Pge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function p8(e, t) {
+function a8(e, t) {
if (e == null) return {};
- var n, r, i = Fge(e, t);
+ var n, r, i = Exe(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 Fge(e, t) {
+function Exe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55025,27 +57951,27 @@ function Fge(e, t) {
}
return n;
}
-var Ige = (e) => {
+var Dxe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: mV(n, t),
+ value: fH(n, t),
payload: e
}];
-}, Lge = /*#__PURE__*/ E.memo((e) => {
+}, Oxe = /*#__PURE__*/ D.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: eR,
+ getPosition: QR,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: mV(o, t),
+ name: fH(o, t),
hide: s,
type: l,
color: r,
@@ -55053,15 +57979,15 @@ var Ige = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ E.createElement(w3, { tooltipEntrySettings: d });
-}), m8 = (e, t) => `${t}px ${e}px`;
-function Rge(e, t) {
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: d });
+}), o8 = (e, t) => `${t}px ${e}px`;
+function kxe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var zge = (e, t, n) => {
+var Axe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
- if (!r) return m8(t, e);
+ if (!r) return o8(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) {
var l, u = n[s];
if (u != null && c + u > a) {
@@ -55071,14 +57997,14 @@ var zge = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...Rge(n, i),
+ ...kxe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function Bge(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = UF(p8(r, kge));
- return /*#__PURE__*/ E.createElement(P3, {
+function jxe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = ML(a8(r, bxe));
+ return /*#__PURE__*/ D.createElement(E3, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -55089,8 +58015,8 @@ function Bge(e) {
clipPathId: t
});
}
-function Vge(e) {
- var { showLabels: t, children: n, points: r } = e, i = (0, E.useMemo)(() => r?.map((e) => {
+function Mxe(e) {
+ var { showLabels: t, children: n, points: r } = e, i = (0, D.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
y: e.y ?? 0,
@@ -55099,7 +58025,7 @@ function Vge(e) {
upperWidth: 0,
height: 0
};
- return f8(f8({}, t), {}, {
+ return i8(i8({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -55107,10 +58033,10 @@ function Vge(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ E.createElement(v4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ D.createElement(u4, { value: t ? i : void 0 }, n);
}
-function h8(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 = f8(f8({}, GF(p8(a, Age))), {}, {
+function s8(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 = i8(i8({}, PL(a8(a, xxe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -55120,34 +58046,34 @@ function h8(e) {
connectNulls: c,
strokeDasharray: i ?? a.strokeDasharray
});
- return /*#__PURE__*/ E.createElement(E.Fragment, null, r?.length > 1 && /*#__PURE__*/ E.createElement(b3, u8({
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, r?.length > 1 && /*#__PURE__*/ D.createElement(f3, n8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ E.createElement(Bge, {
+ }, d, { pathRef: n })), /*#__PURE__*/ D.createElement(jxe, {
points: r,
clipPathId: t,
props: a
}));
}
-function Hge(e) {
+function Nxe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function Uge(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 = VW(o, "recharts-line-"), y = (0, E.useRef)(v), [b, x] = (0, E.useState)(!1), S = !b, C = (0, E.useCallback)(() => {
+function Pxe(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 = KK(o, "recharts-line-"), y = (0, D.useRef)(v), [b, x] = (0, D.useState)(!1), S = !b, C = (0, D.useCallback)(() => {
typeof h == "function" && h(), x(!1);
- }, [h]), w = (0, E.useCallback)(() => {
+ }, [h]), w = (0, D.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = Hge(r.current), D = (0, E.useRef)(0);
- y.current !== v && (D.current = a.current, y.current = v);
- var O = D.current;
- return /*#__PURE__*/ E.createElement(Vge, {
+ }, [g]), T = Nxe(r.current), E = (0, D.useRef)(0);
+ y.current !== v && (E.current = a.current, y.current = v);
+ var O = E.current;
+ return /*#__PURE__*/ D.createElement(Mxe, {
points: o,
showLabels: S
- }, n.children, /*#__PURE__*/ E.createElement(BW, {
+ }, n.children, /*#__PURE__*/ D.createElement(GK, {
animationId: v,
begin: l,
duration: u,
@@ -55157,26 +58083,26 @@ function Uge(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = YL(O, T + O, e), u = Math.min(l, T), d = c ? s ? zge(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : m8(T, u) : s == null ? void 0 : String(s);
+ var l = qR(O, T + O, e), u = Math.min(l, T), d = c ? s ? Axe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : o8(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 f8(f8({}, t), {}, {
- x: YL(i.x, t.x, e),
- y: YL(i.y, t.y, e)
+ return i8(i8({}, t), {}, {
+ x: qR(i.x, t.x, e),
+ y: qR(i.y, t.y, e)
});
}
- return f ? f8(f8({}, t), {}, {
- x: YL(p * 2, t.x, e),
- y: YL(m / 2, t.y, e)
- }) : f8(f8({}, t), {}, {
+ return f ? i8(i8({}, t), {}, {
+ x: qR(p * 2, t.x, e),
+ y: qR(m / 2, t.y, e)
+ }) : i8(i8({}, t), {}, {
x: t.x,
y: t.y
});
});
- return i.current = g, /*#__PURE__*/ E.createElement(h8, {
+ return i.current = g, /*#__PURE__*/ D.createElement(s8, {
props: n,
points: g,
clipPathId: t,
@@ -55184,18 +58110,18 @@ function Uge(e) {
strokeDasharray: d
});
}
- return /*#__PURE__*/ E.createElement(h8, {
+ return /*#__PURE__*/ D.createElement(s8, {
props: n,
points: o,
clipPathId: t,
pathRef: r,
strokeDasharray: d
});
- }), /*#__PURE__*/ E.createElement(x4, { label: n.label }));
+ }), /*#__PURE__*/ D.createElement(p4, { label: n.label }));
}
-function Wge(e) {
- var { clipPathId: t, props: n } = e, r = (0, E.useRef)(null), i = (0, E.useRef)(0), a = (0, E.useRef)(null);
- return /*#__PURE__*/ E.createElement(Uge, {
+function Fxe(e) {
+ var { clipPathId: t, props: n } = e, r = (0, D.useRef)(null), i = (0, D.useRef)(0), a = (0, D.useRef)(null);
+ return /*#__PURE__*/ D.createElement(Pxe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -55203,35 +58129,35 @@ function Wge(e) {
pathRef: a
});
}
-var Gge = (e, t) => ({
+var Ixe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: tV(e.payload, t)
-}), Kge = class extends E.Component {
+ errorVal: $V(e.payload, t)
+}), Lxe = class extends D.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 = Sm("recharts-line", r), m = u, { r: h, strokeWidth: g } = l8(t), _ = d3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ E.createElement(u2, { zIndex: f }, /*#__PURE__*/ E.createElement(nI, { className: p }, d && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(i8, {
+ var p = Dm("recharts-line", r), m = u, { r: h, strokeWidth: g } = t8(t), _ = r3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: f }, /*#__PURE__*/ D.createElement(RL, { className: p }, d && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(X6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
- }), !_ && /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-dots-${m}` }, /*#__PURE__*/ E.createElement("rect", {
+ }), !_ && /*#__PURE__*/ D.createElement("clipPath", { id: `clipPath-dots-${m}` }, /*#__PURE__*/ D.createElement("rect", {
x: s - v / 2,
y: o - v / 2,
width: c + v,
height: l + v
- }))), /*#__PURE__*/ E.createElement(n8, {
+ }))), /*#__PURE__*/ D.createElement(J6, {
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: Gge,
+ dataPointFormatter: Ixe,
errorBarOffset: 0
- }, /*#__PURE__*/ E.createElement(Wge, {
+ }, /*#__PURE__*/ D.createElement(Fxe, {
props: this.props,
clipPathId: m
- }))), /*#__PURE__*/ E.createElement(V3, {
+ }))), /*#__PURE__*/ D.createElement(N3, {
activeDot: this.props.activeDot,
points: n,
mainColor: this.props.stroke,
@@ -55239,7 +58165,7 @@ var Gge = (e, t) => ({
clipPath: y
}));
}
-}, g8 = {
+}, c8 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -55256,14 +58182,14 @@ var Gge = (e, t) => ({
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: SK.line,
+ zIndex: DJ.line,
type: "linear"
};
-function qge(e) {
- var t = uR(e, g8), { 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 = p8(t, jge), { needClip: _ } = r8(p, m), v = R3(), y = UV(), b = wV(), x = Q((e) => Oge(e, p, m, b, h));
+function Rxe(e) {
+ var t = cz(e, c8), { 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 = a8(t, Sxe), { needClip: _ } = Y6(p, m), v = A3(), y = hU(), b = PH(), x = Q((e) => yxe(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__*/ E.createElement(Kge, u8({}, g, {
+ return /*#__PURE__*/ D.createElement(Lxe, n8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -55287,23 +58213,23 @@ function qge(e) {
needClip: _
}));
}
-function Jge(e) {
+function zxe(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 = tV(e, o);
+ var l = $V(e, o);
if (t === "horizontal") return {
- x: sV({
+ x: aH({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (ZL(l) ? null : r.scale.map(l)) ?? null,
+ y: (YR(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = ZL(l) ? null : n.scale.map(l), d = sV({
+ var u = YR(l) ? null : n.scale.map(l), d = aH({
axis: r,
ticks: a,
bandSize: s,
@@ -55318,12 +58244,12 @@ function Jge(e) {
};
}).filter(Boolean);
}
-function Yge(e) {
- var t = uR(e, g8), n = wV();
- return /*#__PURE__*/ E.createElement(D3, {
+function Bxe(e) {
+ var t = cz(e, c8), n = PH();
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(T3, { legendPayload: Ige(t) }), /*#__PURE__*/ E.createElement(Lge, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(_3, { legendPayload: Dxe(t) }), /*#__PURE__*/ D.createElement(Oxe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -55334,7 +58260,7 @@ function Yge(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ E.createElement(k3, {
+ }), /*#__PURE__*/ D.createElement(x3, {
type: "line",
id: e,
data: t.data,
@@ -55344,50 +58270,50 @@ function Yge(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ E.createElement(qge, u8({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(Rxe, n8({}, t, { id: e }))));
}
-var _8 = /*#__PURE__*/ E.memo(Yge, VH);
-_8.displayName = "Line";
+var l8 = /*#__PURE__*/ D.memo(Bxe, HW);
+l8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function v8(e, t) {
+function u8(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function y8(e, t) {
+function d8(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var b8 = (e, t, n) => $1(e, "xAxis", v8(e, t), n), x8 = (e, t, n) => Q1(e, "xAxis", v8(e, t), n), S8 = (e, t, n) => $1(e, "yAxis", y8(e, t), n), C8 = (e, t, n) => Q1(e, "yAxis", y8(e, t), n), Xge = $([
- HV,
- b8,
- S8,
- x8,
- C8
-], (e, t, n, r, i) => nV(e, "xAxis") ? fV(t, r, !1) : fV(n, i, !1)), w8 = $([c$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), T8 = (e) => nV(HV(e), "xAxis") ? "yAxis" : "xAxis", Zge = (e, t) => T8(e) === "yAxis" ? y8(e, t) : v8(e, t), Qge = $([
- HV,
- b8,
- S8,
- x8,
- C8,
- $([w8, (e, t, n) => M$(e, T8(e), Zge(e, t), n)], (e, t) => {
+var f8 = (e, t, n) => J1(e, "xAxis", u8(e, t), n), p8 = (e, t, n) => q1(e, "xAxis", u8(e, t), n), m8 = (e, t, n) => J1(e, "yAxis", d8(e, t), n), h8 = (e, t, n) => q1(e, "yAxis", d8(e, t), n), Vxe = $([
+ mU,
+ f8,
+ m8,
+ p8,
+ h8
+], (e, t, n, r, i) => eH(e, "xAxis") ? uH(t, r, !1) : uH(n, i, !1)), g8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), _8 = (e) => eH(mU(e), "xAxis") ? "yAxis" : "xAxis", Hxe = (e, t) => _8(e) === "yAxis" ? d8(e, t) : u8(e, t), Uxe = $([
+ mU,
+ f8,
+ m8,
+ p8,
+ h8,
+ $([g8, (e, t, n) => a1(e, _8(e), Hxe(e, t), n)], (e, t) => {
if (e != null && t != null) {
- var { stackId: n } = e, r = qK(e);
+ var { stackId: n } = e, r = QJ(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- XG,
- Xge,
- w8,
- xK
+ tJ,
+ Vxe,
+ g8,
+ EJ
], (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 v_e({
+ if (m != null) return lSe({
layout: e,
xAxis: t,
yAxis: n,
@@ -55401,7 +58327,7 @@ var b8 = (e, t, n) => $1(e, "xAxis", v8(e, t), n), x8 = (e, t, n) => Q1(e, "xAxi
bandSize: s
});
}
-}), $ge = ["id"], e_e = [
+}), Wxe = ["id"], Gxe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -55417,25 +58343,25 @@ var b8 = (e, t, n) => $1(e, "xAxis", v8(e, t), n), x8 = (e, t, n) => Q1(e, "xAxi
"xAxisId",
"yAxisId"
];
-function E8() {
- return E8 = Object.assign ? Object.assign.bind() : function(e) {
+function v8() {
+ return v8 = 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;
- }, E8.apply(null, arguments);
+ }, v8.apply(null, arguments);
}
-function D8(e, t) {
+function y8(e, t) {
if (e == null) return {};
- var n, r, i = t_e(e, t);
+ var n, r, i = Kxe(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 t_e(e, t) {
+function Kxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55444,7 +58370,7 @@ function t_e(e, t) {
}
return n;
}
-function O8(e, t) {
+function b8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55454,30 +58380,30 @@ function O8(e, t) {
}
return n;
}
-function k8(e) {
+function x8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O8(Object(n), !0).forEach(function(t) {
- n_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O8(Object(n)).forEach(function(t) {
+ t % 2 ? b8(Object(n), !0).forEach(function(t) {
+ qxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b8(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 qxe(e, t, n) {
+ return (t = Jxe(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 Jxe(e) {
+ var t = Yxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function i_e(e, t) {
+function Yxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55487,42 +58413,42 @@ function i_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function A8(e, t) {
+function S8(e, t) {
return e && e !== "none" ? e : t;
}
-var a_e = (e) => {
+var Xxe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
- color: A8(r, i),
- value: mV(n, t),
+ color: S8(r, i),
+ value: fH(n, t),
payload: e
}];
-}, o_e = /*#__PURE__*/ E.memo((e) => {
+}, Zxe = /*#__PURE__*/ D.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: eR,
+ getPosition: QR,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: mV(o, t),
+ name: fH(o, t),
hide: s,
type: l,
- color: A8(r, a),
+ color: S8(r, a),
unit: c,
graphicalItemId: u
}
};
- return /*#__PURE__*/ E.createElement(w3, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: d });
});
-function s_e(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = UF(r);
- return /*#__PURE__*/ E.createElement(P3, {
+function Qxe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = ML(r);
+ return /*#__PURE__*/ D.createElement(E3, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -55533,7 +58459,7 @@ function s_e(e) {
clipPathId: t
});
}
-function c_e(e) {
+function $xe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -55543,7 +58469,7 @@ function c_e(e) {
upperWidth: 0,
height: 0
};
- return k8(k8({}, t), {}, {
+ return x8(x8({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -55551,11 +58477,11 @@ function c_e(e) {
fill: void 0
});
});
- return /*#__PURE__*/ E.createElement(v4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ D.createElement(u4, { value: t ? i : void 0 }, n);
}
-function j8(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 = D8(a, $ge), p = UF(f), m = GF(f);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, t?.length > 1 && /*#__PURE__*/ E.createElement(nI, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ E.createElement(UU, E8({}, m, {
+function C8(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 = y8(a, Wxe), p = ML(f), m = PL(f);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, t?.length > 1 && /*#__PURE__*/ D.createElement(RL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ D.createElement(JG, v8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -55564,77 +58490,77 @@ function j8(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ E.createElement(UU, E8({}, p, {
+ })), c !== "none" && /*#__PURE__*/ D.createElement(JG, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ E.createElement(UU, E8({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ D.createElement(JG, v8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ E.createElement(s_e, {
+ }))), /*#__PURE__*/ D.createElement(Qxe, {
points: t,
props: f,
clipPathId: i
}));
}
-function l_e(e) {
+function eSe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!ZB(a) || !ZB(o)) return null;
+ if (!YV(a) || !YV(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__*/ E.createElement("rect", {
+ 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__*/ D.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
height: Math.floor(s)
}) : null;
}
-function u_e(e) {
+function tSe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!ZB(a) || !ZB(o)) return null;
+ if (!YV(a) || !YV(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__*/ E.createElement("rect", {
+ 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__*/ D.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function d_e(e) {
+function nSe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ E.createElement(l_e, {
+ return n === "vertical" ? /*#__PURE__*/ D.createElement(eSe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ E.createElement(u_e, {
+ }) : /*#__PURE__*/ D.createElement(tSe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function f_e(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 = VW((0, E.useMemo)(() => ({
+function rSe(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 = KK((0, D.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = WV(), [g, _] = (0, E.useState)(!1), v = !g, y = (0, E.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = gU(), [g, _] = (0, D.useState)(!1), v = !g, y = (0, D.useCallback)(() => {
typeof p == "function" && p(), _(!1);
- }, [p]), b = (0, E.useCallback)(() => {
+ }, [p]), b = (0, D.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ E.createElement(c_e, {
+ return /*#__PURE__*/ D.createElement($xe, {
showLabels: v,
points: o
- }, r.children, /*#__PURE__*/ E.createElement(BW, {
+ }, r.children, /*#__PURE__*/ D.createElement(GK, {
animationId: m,
begin: l,
duration: u,
@@ -55649,24 +58575,24 @@ function f_e(e) {
var r = Math.floor(n * l);
if (x[r]) {
var i = x[r];
- return k8(k8({}, t), {}, {
- x: YL(i.x, t.x, e),
- y: YL(i.y, t.y, e)
+ return x8(x8({}, t), {}, {
+ x: qR(i.x, t.x, e),
+ y: qR(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? YL(S, s, e) : ZL(s) || HL(s) ? YL(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? qR(S, s, e) : YR(s) || VR(s) ? qR(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
- return k8(k8({}, t), {}, {
- x: YL(i.x, t.x, e),
- y: YL(i.y, t.y, e)
+ return x8(x8({}, t), {}, {
+ x: qR(i.x, t.x, e),
+ y: qR(i.y, t.y, e)
});
}
return t;
});
- return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ E.createElement(j8, {
+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ D.createElement(C8, {
points: u,
baseLine: d,
needClip: t,
@@ -55674,24 +58600,24 @@ function f_e(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ E.createElement(nI, null, c && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ E.createElement(d_e, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ D.createElement(RL, null, c && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ D.createElement(nSe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ E.createElement(nI, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ E.createElement(j8, {
+ }))), /*#__PURE__*/ D.createElement(RL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ D.createElement(C8, {
points: o,
baseLine: s,
needClip: t,
clipPathId: n,
props: r
})));
- }), /*#__PURE__*/ E.createElement(x4, { label: r.label }));
+ }), /*#__PURE__*/ D.createElement(p4, { label: r.label }));
}
-function p_e(e) {
- var { needClip: t, clipPathId: n, props: r } = e, i = (0, E.useRef)(null), a = (0, E.useRef)();
- return /*#__PURE__*/ E.createElement(f_e, {
+function iSe(e) {
+ var { needClip: t, clipPathId: n, props: r } = e, i = (0, D.useRef)(null), a = (0, D.useRef)();
+ return /*#__PURE__*/ D.createElement(rSe, {
needClip: t,
clipPathId: n,
props: r,
@@ -55699,39 +58625,39 @@ function p_e(e) {
previousBaselineRef: a
});
}
-var m_e = class extends E.PureComponent {
+var aSe = class extends D.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 = Sm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = l8(t), v = d3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ E.createElement(u2, { zIndex: p }, /*#__PURE__*/ E.createElement(nI, { className: m }, o && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(i8, {
+ var m = Dm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = t8(t), v = r3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: p }, /*#__PURE__*/ D.createElement(RL, { className: m }, o && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(X6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
- }), !v && /*#__PURE__*/ E.createElement("clipPath", { id: `clipPath-dots-${h}` }, /*#__PURE__*/ E.createElement("rect", {
+ }), !v && /*#__PURE__*/ D.createElement("clipPath", { id: `clipPath-dots-${h}` }, /*#__PURE__*/ D.createElement("rect", {
x: a - y / 2,
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ E.createElement(p_e, {
+ }))), /*#__PURE__*/ D.createElement(iSe, {
needClip: o,
clipPathId: h,
props: this.props
- })), /*#__PURE__*/ E.createElement(V3, {
+ })), /*#__PURE__*/ D.createElement(N3, {
points: n,
- mainColor: A8(this.props.stroke, this.props.fill),
+ mainColor: S8(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
- }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ E.createElement(V3, {
+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ D.createElement(N3, {
points: f,
- mainColor: A8(this.props.stroke, this.props.fill),
+ mainColor: S8(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
}));
}
-}, h_e = {
+}, oSe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -55749,13 +58675,13 @@ var m_e = class extends E.PureComponent {
label: !1,
xAxisId: 0,
yAxisId: 0,
- zIndex: SK.area
+ zIndex: DJ.area
};
-function g_e(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 = D8(e, e_e), g = UV(), _ = Q0(), { needClip: v } = r8(p, m), y = wV(), { points: b, isRange: x, baseLine: S } = Q((t) => Qge(t, e.id, y)) ?? {}, C = R3();
+function sSe(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 = y8(e, Gxe), g = hU(), _ = W0(), { needClip: v } = Y6(p, m), y = PH(), { points: b, isRange: x, baseLine: S } = Q((t) => Uxe(t, e.id, y)) ?? {}, C = A3();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
- var { height: w, width: T, x: D, y: O } = C;
- return !b || !b.length ? null : /*#__PURE__*/ E.createElement(m_e, E8({}, h, {
+ var { height: w, width: T, x: E, y: O } = C;
+ return !b || !b.length ? null : /*#__PURE__*/ D.createElement(aSe, v8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -55775,13 +58701,13 @@ function g_e(e) {
points: b,
stroke: f,
width: T,
- left: D,
+ left: E,
top: O,
xAxisId: p,
yAxisId: m
}));
}
-var __e = (e, t, n, r, i) => {
+var cSe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -55791,17 +58717,17 @@ var __e = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function v_e(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 = __e(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function lSe(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 = cSe(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 = tV(e, r);
+ var o = $V(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && tV(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && $V(e, r) == null;
return g ? {
- x: sV({
+ x: aH({
axis: s,
ticks: d,
bandSize: p,
@@ -55813,7 +58739,7 @@ function v_e(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: sV({
+ y: aH({
axis: c,
ticks: f,
bandSize: p,
@@ -55841,12 +58767,12 @@ function v_e(e) {
isRange: _
};
}
-function y_e(e) {
- var t = uR(e, h_e), n = wV();
- return /*#__PURE__*/ E.createElement(D3, {
+function uSe(e) {
+ var t = cz(e, oSe), n = PH();
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(T3, { legendPayload: a_e(t) }), /*#__PURE__*/ E.createElement(o_e, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(_3, { legendPayload: Xxe(t) }), /*#__PURE__*/ D.createElement(Zxe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -55857,7 +58783,7 @@ function y_e(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ E.createElement(k3, {
+ }), /*#__PURE__*/ D.createElement(x3, {
type: "area",
id: e,
data: t.data,
@@ -55865,115 +58791,115 @@ function y_e(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: oV(t.stackId),
+ stackId: iH(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ E.createElement(g_e, E8({}, t, { id: e }))));
+ }), /*#__PURE__*/ D.createElement(sSe, v8({}, t, { id: e }))));
}
-var M8 = /*#__PURE__*/ E.memo(y_e, VH);
-M8.displayName = "Area";
+var w8 = /*#__PURE__*/ D.memo(uSe, HW);
+w8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var b_e = "Invariant failed";
-function x_e(e, t) {
- if (!e) throw Error(b_e);
+var dSe = "Invariant failed";
+function fSe(e, t) {
+ if (!e) throw Error(dSe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-function N8() {
- return N8 = Object.assign ? Object.assign.bind() : function(e) {
+function T8() {
+ return T8 = 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;
- }, N8.apply(null, arguments);
+ }, T8.apply(null, arguments);
}
-function P8(e) {
- return /*#__PURE__*/ E.createElement(b3, N8({
+function E8(e) {
+ return /*#__PURE__*/ D.createElement(f3, T8({
shapeType: "rectangle",
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var S_e = function(e) {
+var pSe = 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) || ZL(n);
- return i ? e(n, r) : (!i && x_e(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
- };
-}, C_e = (e, t, n) => n, F8 = $([c$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), w_e = $([F8], (e) => e?.maxBarSize), T_e = (e, t, n, r) => r, E_e = $([
- HV,
- c$,
- v8,
- y8,
- C_e
-], (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")), D_e = (e, t, n) => {
- var r = HV(e), i = v8(e, t), a = y8(e, t);
- if (i != null && a != null) return r === "horizontal" ? M$(e, "yAxis", a, n) : M$(e, "xAxis", i, n);
-}, O_e = $([
- E_e,
- mK,
+ var i = Z(n) || YR(n);
+ return i ? e(n, r) : (!i && fSe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ };
+}, mSe = (e, t, n) => n, D8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), hSe = $([D8], (e) => e?.maxBarSize), gSe = (e, t, n, r) => r, _Se = $([
+ mU,
+ H$,
+ u8,
+ d8,
+ mSe
+], (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")), vSe = (e, t, n) => {
+ var r = mU(e), i = u8(e, t), a = d8(e, t);
+ if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
+}, ySe = $([
+ _Se,
+ yJ,
(e, t) => {
- var n = HV(e), r = v8(e, t), i = y8(e, t);
- if (r != null && i != null) return n === "horizontal" ? G1(e, "xAxis", r) : G1(e, "yAxis", i);
+ var n = mU(e), r = u8(e, t), i = d8(e, t);
+ if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], r6), k_e = (e, t, n) => {
- var r = F8(e, t);
+], Y3), bSe = (e, t, n) => {
+ var r = D8(e, t);
if (r == null) return 0;
- var i = v8(e, t), a = y8(e, t);
+ var i = u8(e, t), a = d8(e, t);
if (i == null || a == null) return 0;
- var o = HV(e), s = dK(e), { maxBarSize: c } = r, l = ZL(c) ? s : c, u, d;
- return o === "horizontal" ? (u = $1(e, "xAxis", i, n), d = Q1(e, "xAxis", i, n)) : (u = $1(e, "yAxis", a, n), d = Q1(e, "yAxis", a, n)), fV(u, d, !0) ?? l ?? 0;
-}, I8 = (e, t, n) => {
- var r = HV(e), i = v8(e, t), a = y8(e, t);
+ var o = mU(e), s = gJ(e), { maxBarSize: c } = r, l = YR(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)), uH(u, d, !0) ?? l ?? 0;
+}, O8 = (e, t, n) => {
+ var r = mU(e), i = u8(e, t), a = d8(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = $1(e, "xAxis", i, n), s = Q1(e, "xAxis", i, n)) : (o = $1(e, "yAxis", a, n), s = Q1(e, "yAxis", a, n)), fV(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)), uH(o, s);
}
-}, A_e = $([
- SV,
- CV,
+}, xSe = $([
+ AH,
+ MH,
(e, t, n) => {
- var r = v8(e, t);
- if (r != null) return $1(e, "xAxis", r, n);
+ var r = u8(e, t);
+ if (r != null) return J1(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = y8(e, t);
- if (r != null) return $1(e, "yAxis", r, n);
+ var r = d8(e, t);
+ if (r != null) return J1(e, "yAxis", r, n);
},
(e, t, n) => {
- var r = v8(e, t);
- if (r != null) return Q1(e, "xAxis", r, n);
+ var r = u8(e, t);
+ if (r != null) return q1(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = y8(e, t);
- if (r != null) return Q1(e, "yAxis", r, n);
+ var r = d8(e, t);
+ if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- O_e,
- dK,
- fK,
- pK,
- k_e,
- I8,
- w_e
- ], o6), F8], c6),
- HV,
- XG,
- I8,
- $([D_e, F8], s6),
- F8,
- T_e
+ ySe,
+ gJ,
+ _J,
+ vJ,
+ bSe,
+ O8,
+ hSe
+ ], Q3), D8], e6),
+ mU,
+ tJ,
+ O8,
+ $([vSe, D8], $3),
+ D8,
+ gSe
], (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 ive({
+ if (_ != null) return YSe({
layout: s,
barSettings: d,
pos: o,
@@ -55990,26 +58916,26 @@ var S_e = function(e) {
dataStartIndex: m
});
}
-}), j_e = ["index"];
-function L8() {
- return L8 = Object.assign ? Object.assign.bind() : function(e) {
+}), SSe = ["index"];
+function k8() {
+ return k8 = 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;
- }, L8.apply(null, arguments);
+ }, k8.apply(null, arguments);
}
-function M_e(e, t) {
+function CSe(e, t) {
if (e == null) return {};
- var n, r, i = N_e(e, t);
+ var n, r, i = wSe(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 N_e(e, t) {
+function wSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56018,45 +58944,45 @@ function N_e(e, t) {
}
return n;
}
-var R8 = /*#__PURE__*/ (0, E.createContext)(void 0), P_e = (e) => {
- var t = (0, E.useContext)(R8);
+var A8 = /*#__PURE__*/ (0, D.createContext)(void 0), TSe = (e) => {
+ var t = (0, D.useContext)(A8);
if (t != null) return t.stackId;
- if (e != null) return oV(e);
-}, F_e = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, I_e = (e) => {
- var t = (0, E.useContext)(R8);
+ if (e != null) return iH(e);
+}, ESe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, DSe = (e) => {
+ var t = (0, D.useContext)(A8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${F_e(n, e)})`;
+ return `url(#${ESe(n, e)})`;
}
-}, z8 = (e) => {
- var { index: t } = e, n = M_e(e, j_e), r = I_e(t);
- return /*#__PURE__*/ E.createElement(nI, L8({
+}, j8 = (e) => {
+ var { index: t } = e, n = CSe(e, SSe), r = DSe(t);
+ return /*#__PURE__*/ D.createElement(RL, k8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, L_e = [
+}, OSe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], R_e = [
+], kSe = [
"value",
"background",
"tooltipPosition"
-], z_e = ["id"], B_e = [
+], ASe = ["id"], jSe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function B8() {
- return B8 = Object.assign ? Object.assign.bind() : function(e) {
+function M8() {
+ return M8 = 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;
- }, B8.apply(null, arguments);
+ }, M8.apply(null, arguments);
}
-function V8(e, t) {
+function N8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56066,30 +58992,30 @@ function V8(e, t) {
}
return n;
}
-function H8(e) {
+function P8(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) {
- V_e(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8(Object(n)).forEach(function(t) {
+ t % 2 ? N8(Object(n), !0).forEach(function(t) {
+ MSe(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 V_e(e, t, n) {
- return (t = H_e(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 H_e(e) {
- var t = U_e(e, "string");
+function NSe(e) {
+ var t = PSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function U_e(e, t) {
+function PSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56099,16 +59025,16 @@ function U_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function U8(e, t) {
+function F8(e, t) {
if (e == null) return {};
- var n, r, i = W_e(e, t);
+ var n, r, i = FSe(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 W_e(e, t) {
+function FSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56117,27 +59043,27 @@ function W_e(e, t) {
}
return n;
}
-var G_e = (e) => {
+var ISe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: mV(n, t),
+ value: fH(n, t),
payload: e
}];
-}, K_e = /*#__PURE__*/ E.memo((e) => {
+}, LSe = /*#__PURE__*/ D.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: eR,
+ getPosition: QR,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: mV(a, t),
+ name: fH(a, t),
hide: o,
type: c,
color: i,
@@ -56145,19 +59071,19 @@ var G_e = (e) => {
graphicalItemId: l
}
};
- return /*#__PURE__*/ E.createElement(w3, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ D.createElement(g3, { tooltipEntrySettings: u });
});
-function q_e(e) {
- var t = Q(U0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = U8(a, L_e), u = x3(o, r, a.id), d = S3(s), f = C3(c, r, a.id);
+function RSe(e) {
+ var t = Q(F0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = F8(a, OSe), u = p3(o, r, a.id), d = m3(s), f = h3(c, r, a.id);
if (!i || n == null) return null;
- var p = WF(i);
- return /*#__PURE__*/ E.createElement(u2, { zIndex: x6(i, SK.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = U8(e, R_e);
+ var p = NL(i);
+ return /*#__PURE__*/ D.createElement(n2, { zIndex: p6(i, DJ.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = F8(e, kSe);
if (!o) return null;
- var m = u(e, n), h = d(e, n), g = f(e, n), _ = H8(H8(H8(H8(H8({
+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = P8(P8(P8(P8(P8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), cR(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), oz(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -56165,10 +59091,10 @@ function q_e(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ E.createElement(P8, B8({ key: `background-bar-${n}` }, _));
+ return /*#__PURE__*/ D.createElement(E8, M8({ key: `background-bar-${n}` }, _));
}));
}
-function J_e(e) {
+function zSe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -56178,7 +59104,7 @@ function J_e(e) {
upperWidth: e.width,
height: e.height
};
- return H8(H8({}, t), {}, {
+ return P8(P8({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -56186,11 +59112,11 @@ function J_e(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ E.createElement(v4, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ D.createElement(u4, { value: t ? i : void 0 }, n);
}
-function Y_e(e) {
- var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(U0), c = Q(G0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, E.useState)(!1), [f, p] = (0, E.useState)(!1);
- (0, E.useEffect)(() => {
+function BSe(e) {
+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(F0), c = Q(L0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, D.useState)(!1), [f, p] = (0, D.useState)(!1);
+ (0, D.useEffect)(() => {
var e;
return l ? (d(!0), e = requestAnimationFrame(() => {
p(!0);
@@ -56198,44 +59124,44 @@ function Y_e(e) {
cancelAnimationFrame(e);
};
}, [l]);
- var m = (0, E.useCallback)(() => {
+ var m = (0, D.useCallback)(() => {
l || d(!1);
- }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ E.createElement(P8, B8({}, r, { name: String(r.name) }, i, {
+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ D.createElement(E8, M8({}, r, { name: String(r.name) }, i, {
isActive: h,
option: _,
index: a,
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ E.createElement(u2, { zIndex: SK.activeBar }, /*#__PURE__*/ E.createElement(z8, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ D.createElement(n2, { zIndex: DJ.activeBar }, /*#__PURE__*/ D.createElement(j8, { index: i.originalDataIndex }, v)) : v;
}
-function X_e(e) {
+function VSe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
- return /*#__PURE__*/ E.createElement(P8, B8({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ D.createElement(E8, M8({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
dataKey: a
}));
}
-function Z_e(e) {
- var { data: t, props: n } = e, r = UF(n) ?? {}, { id: i } = r, a = U8(r, z_e), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = U8(n, B_e), p = x3(l, s, i), m = S3(d), h = C3(u, s, i);
- return t ? /*#__PURE__*/ E.createElement(E.Fragment, null, t.map((e, t) => /*#__PURE__*/ E.createElement(z8, B8({
+function HSe(e) {
+ var { data: t, props: n } = e, r = ML(n) ?? {}, { id: i } = r, a = F8(r, ASe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = F8(n, jSe), p = p3(l, s, i), m = m3(d), h = h3(u, s, i);
+ return t ? /*#__PURE__*/ D.createElement(D.Fragment, null, t.map((e, t) => /*#__PURE__*/ D.createElement(j8, M8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, cR(f, e, t), {
+ }, oz(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ E.createElement(Y_e, {
+ }), c ? /*#__PURE__*/ D.createElement(BSe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ E.createElement(X_e, {
+ }) : /*#__PURE__*/ D.createElement(VSe, {
shape: o,
baseProps: a,
entry: e,
@@ -56243,16 +59169,16 @@ function Z_e(e) {
dataKey: s
})))) : null;
}
-function Q_e(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 = VW(t, "recharts-bar-"), [p, m] = (0, E.useState)(!1), h = !p, g = (0, E.useCallback)(() => {
+function USe(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 = KK(t, "recharts-bar-"), [p, m] = (0, D.useState)(!1), h = !p, g = (0, D.useCallback)(() => {
typeof l == "function" && l(), m(!1);
- }, [l]), _ = (0, E.useCallback)(() => {
+ }, [l]), _ = (0, D.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ E.createElement(J_e, {
+ return /*#__PURE__*/ D.createElement(zSe, {
showLabels: h,
rects: r
- }, /*#__PURE__*/ E.createElement(BW, {
+ }, /*#__PURE__*/ D.createElement(GK, {
animationId: f,
begin: o,
duration: s,
@@ -56264,69 +59190,69 @@ function Q_e(e) {
}, (e) => {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
- if (r) return H8(H8({}, t), {}, {
- x: YL(r.x, t.x, e),
- y: YL(r.y, t.y, e),
- width: YL(r.width, t.width, e),
- height: YL(r.height, t.height, e)
+ if (r) return P8(P8({}, t), {}, {
+ x: qR(r.x, t.x, e),
+ y: qR(r.y, t.y, e),
+ width: qR(r.width, t.width, e),
+ height: qR(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = YL(0, t.height, e), o = YL(t.stackedBarStart, t.y, e);
- return H8(H8({}, t), {}, {
+ var a = qR(0, t.height, e), o = qR(t.stackedBarStart, t.y, e);
+ return P8(P8({}, t), {}, {
y: o,
height: a
});
}
- var s = YL(0, t.width, e), c = YL(t.stackedBarStart, t.x, e);
- return H8(H8({}, t), {}, {
+ var s = qR(0, t.width, e), c = qR(t.stackedBarStart, t.x, e);
+ return P8(P8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ E.createElement(nI, null, /*#__PURE__*/ E.createElement(Z_e, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ D.createElement(RL, null, /*#__PURE__*/ D.createElement(HSe, {
props: t,
data: a
}));
- }), /*#__PURE__*/ E.createElement(x4, { label: t.label }), t.children);
+ }), /*#__PURE__*/ D.createElement(p4, { label: t.label }), t.children);
}
-function $_e(e) {
- var t = (0, E.useRef)(null);
- return /*#__PURE__*/ E.createElement(Q_e, {
+function WSe(e) {
+ var t = (0, D.useRef)(null);
+ return /*#__PURE__*/ D.createElement(USe, {
previousRectanglesRef: t,
props: e
});
}
-var W8 = 0, eve = (e, t) => {
+var I8 = 0, GSe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: tV(e, t)
+ errorVal: $V(e, t)
};
-}, tve = class extends E.PureComponent {
+}, KSe = class extends D.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 = Sm("recharts-bar", r), u = c;
- return /*#__PURE__*/ E.createElement(nI, {
+ var l = Dm("recharts-bar", r), u = c;
+ return /*#__PURE__*/ D.createElement(RL, {
className: l,
id: c
- }, o && /*#__PURE__*/ E.createElement("defs", null, /*#__PURE__*/ E.createElement(i8, {
+ }, o && /*#__PURE__*/ D.createElement("defs", null, /*#__PURE__*/ D.createElement(X6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ E.createElement(nI, {
+ })), /*#__PURE__*/ D.createElement(RL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ E.createElement(q_e, {
+ }, /*#__PURE__*/ D.createElement(RSe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ E.createElement($_e, this.props)));
+ }), /*#__PURE__*/ D.createElement(WSe, this.props)));
}
-}, nve = {
+}, qSe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -56336,22 +59262,22 @@ var W8 = 0, eve = (e, t) => {
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: W8,
+ minPointSize: I8,
xAxisId: 0,
yAxisId: 0,
- zIndex: SK.bar
+ zIndex: DJ.bar
};
-function rve(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 } = r8(t, n), f = UV(), p = wV(), m = u3(e.children, D2), h = Q((t) => A_e(t, e.id, p, m));
+function JSe(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 } = Y6(t, n), f = hU(), p = PH(), m = n3(e.children, y2), h = Q((t) => xSe(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__*/ E.createElement(n8, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ D.createElement(J6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: eve,
+ dataPointFormatter: GSe,
errorBarOffset: g
- }, /*#__PURE__*/ E.createElement(tve, B8({}, e, {
+ }, /*#__PURE__*/ D.createElement(KSe, M8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -56367,20 +59293,20 @@ function rve(e) {
isAnimationActive: u
})));
}
-function ive(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 = lV({ numericAxis: _ }), b = _.scale.map(y);
+function YSe(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 = sH({ 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;
- _ = aV(E, v);
- } else _ = tV(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = S_e(r, W8)(_[1], f);
+ _ = rH(E, v);
+ } else _ = $V(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = pSe(r, I8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = cV({
+ x = oH({
axis: s,
ticks: l,
bandSize: o,
@@ -56389,19 +59315,19 @@ function ive(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = HL(A) ? 0 : A, T = {
+ if (w = VR(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 = VL(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = BR(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 = cV({
+ if (x = M, S = oH({
axis: c,
ticks: u,
bandSize: o,
@@ -56414,11 +59340,11 @@ function ive(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = VL(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = BR(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
- return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : H8(H8({}, e), {}, {
+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : P8(P8({}, e), {}, {
stackedBarStart: b,
x,
y: S,
@@ -56436,12 +59362,12 @@ function ive(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function ave(e) {
- var t = uR(e, nve), n = P_e(t.stackId), r = wV();
- return /*#__PURE__*/ E.createElement(D3, {
+function XSe(e) {
+ var t = cz(e, qSe), n = TSe(t.stackId), r = PH();
+ return /*#__PURE__*/ D.createElement(y3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(T3, { legendPayload: G_e(t) }), /*#__PURE__*/ E.createElement(K_e, {
+ }, (e) => /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(_3, { legendPayload: ISe(t) }), /*#__PURE__*/ D.createElement(LSe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -56451,7 +59377,7 @@ function ave(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ E.createElement(k3, {
+ }), /*#__PURE__*/ D.createElement(x3, {
type: "bar",
id: e,
data: void 0,
@@ -56466,23 +59392,23 @@ function ave(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ E.createElement(u2, { zIndex: t.zIndex }, /*#__PURE__*/ E.createElement(rve, B8({}, t, { id: e })))));
+ }), /*#__PURE__*/ D.createElement(n2, { zIndex: t.zIndex }, /*#__PURE__*/ D.createElement(JSe, M8({}, t, { id: e })))));
}
-var G8 = /*#__PURE__*/ E.memo(ave, VH);
-G8.displayName = "Bar";
+var L8 = /*#__PURE__*/ D.memo(XSe, HW);
+L8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var ove = ["domain", "range"], sve = ["domain", "range"];
-function K8(e, t) {
+var ZSe = ["domain", "range"], QSe = ["domain", "range"];
+function R8(e, t) {
if (e == null) return {};
- var n, r, i = cve(e, t);
+ var n, r, i = $Se(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 cve(e, t) {
+function $Se(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56491,31 +59417,31 @@ function cve(e, t) {
}
return n;
}
-function q8(e, t) {
+function z8(e, t) {
return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;
}
-function J8(e, t) {
+function B8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = K8(e, ove), { domain: a, range: o } = t, s = K8(t, sve);
- return !q8(n, a) || !q8(r, o) ? !1 : VH(i, s);
+ var { domain: n, range: r } = e, i = R8(e, ZSe), { domain: a, range: o } = t, s = R8(t, QSe);
+ return !z8(n, a) || !z8(r, o) ? !1 : HW(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var lve = ["type"], uve = [
+var eCe = ["type"], tCe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], dve = ["id", "scale"];
-function Y8() {
- return Y8 = Object.assign ? Object.assign.bind() : function(e) {
+], nCe = ["id", "scale"];
+function V8() {
+ return V8 = 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;
- }, Y8.apply(null, arguments);
+ }, V8.apply(null, arguments);
}
-function X8(e, t) {
+function H8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56525,30 +59451,30 @@ function X8(e, t) {
}
return n;
}
-function Z8(e) {
+function U8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? X8(Object(n), !0).forEach(function(t) {
- fve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X8(Object(n)).forEach(function(t) {
+ t % 2 ? H8(Object(n), !0).forEach(function(t) {
+ rCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function fve(e, t, n) {
- return (t = pve(t)) in e ? Object.defineProperty(e, t, {
+function rCe(e, t, n) {
+ return (t = iCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pve(e) {
- var t = mve(e, "string");
+function iCe(e) {
+ var t = aCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mve(e, t) {
+function aCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56558,16 +59484,16 @@ function mve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Q8(e, t) {
+function W8(e, t) {
if (e == null) return {};
- var n, r, i = hve(e, t);
+ var n, r, i = oCe(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 hve(e, t) {
+function oCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56576,61 +59502,61 @@ function hve(e, t) {
}
return n;
}
-function gve(e) {
- var t = LR(), n = (0, E.useRef)(null), r = WV(), { type: i } = e, a = Q8(e, lve), o = EK(r, "xAxis", i), s = (0, E.useMemo)(() => {
- if (o != null) return Z8(Z8({}, a), {}, { type: o });
+function sCe(e) {
+ var t = Fz(), n = (0, D.useRef)(null), r = gU(), { type: i } = e, a = W8(e, eCe), o = jJ(r, "xAxis", i), s = (0, D.useMemo)(() => {
+ if (o != null) return U8(U8({}, a), {}, { type: o });
}, [a, o]);
- return (0, E.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(Mpe(s)) : n.current !== s && t(Npe({
+ return (0, D.useLayoutEffect)(() => {
+ s != null && (n.current === null ? t(Cve(s)) : n.current !== s && t(wve({
prev: n.current,
next: s
})), n.current = s);
- }, [s, t]), (0, E.useLayoutEffect)(() => () => {
- n.current &&= (t(Ppe(n.current)), null);
+ }, [s, t]), (0, D.useLayoutEffect)(() => () => {
+ n.current &&= (t(Tve(n.current)), null);
}, [t]), null;
}
-var _ve = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(CV), i = wV(), a = "xAxis", o = Q((e) => X1(e, a, t, i)), s = Q((e) => L1(e, t)), c = Q((e) => H1(e, t)), l = Q((e) => XQ(e, t));
+var cCe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(MH), i = PH(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Ape(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 = Q8(e, uve), { id: m, scale: h } = l, g = Q8(l, dve);
- return /*#__PURE__*/ E.createElement(J6, Y8({}, p, g, {
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = W8(e, tCe), { id: m, scale: h } = l, g = W8(l, nCe);
+ return /*#__PURE__*/ D.createElement(B6, V8({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
height: s.height,
- className: Sm(`recharts-${a} ${a}`, n),
+ className: Dm(`recharts-${a} ${a}`, n),
viewBox: r,
ticks: o,
axisType: a,
axisId: t
}));
-}, vve = {
- allowDataOverflow: YQ.allowDataOverflow,
- allowDecimals: YQ.allowDecimals,
- allowDuplicatedCategory: YQ.allowDuplicatedCategory,
- angle: YQ.angle,
- axisLine: q6.axisLine,
- height: YQ.height,
+}, lCe = {
+ allowDataOverflow: j$.allowDataOverflow,
+ allowDecimals: j$.allowDecimals,
+ allowDuplicatedCategory: j$.allowDuplicatedCategory,
+ angle: j$.angle,
+ axisLine: z6.axisLine,
+ height: j$.height,
hide: !1,
- includeHidden: YQ.includeHidden,
- interval: YQ.interval,
+ includeHidden: j$.includeHidden,
+ interval: j$.interval,
label: !1,
- minTickGap: YQ.minTickGap,
- mirror: YQ.mirror,
- orientation: YQ.orientation,
- padding: YQ.padding,
- reversed: YQ.reversed,
- scale: YQ.scale,
- tick: YQ.tick,
- tickCount: YQ.tickCount,
- tickLine: q6.tickLine,
- tickSize: q6.tickSize,
- type: YQ.type,
- niceTicks: YQ.niceTicks,
+ minTickGap: j$.minTickGap,
+ mirror: j$.mirror,
+ orientation: j$.orientation,
+ padding: j$.padding,
+ reversed: j$.reversed,
+ scale: j$.scale,
+ tick: j$.tick,
+ tickCount: j$.tickCount,
+ tickLine: z6.tickLine,
+ tickSize: z6.tickSize,
+ type: j$.type,
+ niceTicks: j$.niceTicks,
xAxisId: 0
-}, $8 = /*#__PURE__*/ E.memo((e) => {
- var t = uR(e, vve);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(gve, {
+}, G8 = /*#__PURE__*/ D.memo((e) => {
+ var t = cz(e, lCe);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(sCe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -56656,26 +59582,26 @@ var _ve = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ E.createElement(_ve, t));
-}, J8);
-$8.displayName = "XAxis";
+ }), /*#__PURE__*/ D.createElement(cCe, t));
+}, B8);
+G8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var yve = ["type"], bve = [
+var uCe = ["type"], dCe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], xve = ["id", "scale"];
-function e5() {
- return e5 = Object.assign ? Object.assign.bind() : function(e) {
+], fCe = ["id", "scale"];
+function K8() {
+ return K8 = 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;
- }, e5.apply(null, arguments);
+ }, K8.apply(null, arguments);
}
-function t5(e, t) {
+function q8(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56685,30 +59611,30 @@ function t5(e, t) {
}
return n;
}
-function n5(e) {
+function J8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? t5(Object(n), !0).forEach(function(t) {
- Sve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t5(Object(n)).forEach(function(t) {
+ t % 2 ? q8(Object(n), !0).forEach(function(t) {
+ pCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Sve(e, t, n) {
- return (t = Cve(t)) in e ? Object.defineProperty(e, t, {
+function pCe(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 Cve(e) {
- var t = wve(e, "string");
+function mCe(e) {
+ var t = hCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wve(e, t) {
+function hCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56718,16 +59644,16 @@ function wve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function r5(e, t) {
+function Y8(e, t) {
if (e == null) return {};
- var n, r, i = Tve(e, t);
+ var n, r, i = gCe(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 Tve(e, t) {
+function gCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56736,27 +59662,27 @@ function Tve(e, t) {
}
return n;
}
-function Eve(e) {
- var t = LR(), n = (0, E.useRef)(null), r = WV(), { type: i } = e, a = r5(e, yve), o = EK(r, "yAxis", i), s = (0, E.useMemo)(() => {
- if (o != null) return n5(n5({}, a), {}, { type: o });
+function _Ce(e) {
+ var t = Fz(), n = (0, D.useRef)(null), r = gU(), { type: i } = e, a = Y8(e, uCe), o = jJ(r, "yAxis", i), s = (0, D.useMemo)(() => {
+ if (o != null) return J8(J8({}, a), {}, { type: o });
}, [o, a]);
- return (0, E.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(Fpe(s)) : n.current !== s && t(Ipe({
+ return (0, D.useLayoutEffect)(() => {
+ s != null && (n.current === null ? t(Eve(s)) : n.current !== s && t(Dve({
prev: n.current,
next: s
})), n.current = s);
- }, [s, t]), (0, E.useLayoutEffect)(() => () => {
- n.current &&= (t(Lpe(n.current)), null);
+ }, [s, t]), (0, D.useLayoutEffect)(() => () => {
+ n.current &&= (t(Ove(n.current)), null);
}, [t]), null;
}
-function Dve(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, E.useRef)(null), o = (0, E.useRef)(null), s = Q(CV), c = wV(), l = LR(), u = "yAxis", d = Q((e) => W1(e, t)), f = Q((e) => U1(e, t)), p = Q((e) => X1(e, u, t, c)), m = Q((e) => $Q(e, t));
- if ((0, E.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || u4(i) || /*#__PURE__*/ (0, E.isValidElement)(i) || m == null)) {
+function vCe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, D.useRef)(null), o = (0, D.useRef)(null), s = Q(MH), c = PH(), l = Fz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => jpe(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+ if ((0, D.useLayoutEffect)(() => {
+ if (!(r !== "auto" || !d || n4(i) || /*#__PURE__*/ (0, D.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(Vpe({
+ Math.round(d.width) !== Math.round(n) && l(Mve({
id: t,
width: n
}));
@@ -56771,8 +59697,8 @@ function Dve(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = r5(e, bve), { id: y, scale: b } = m, x = r5(m, xve);
- return /*#__PURE__*/ E.createElement(J6, e5({}, v, x, {
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = Y8(e, dCe), { id: y, scale: b } = m, x = Y8(m, fCe);
+ return /*#__PURE__*/ D.createElement(B6, K8({}, v, x, {
ref: a,
labelRef: o,
x: f.x,
@@ -56780,40 +59706,40 @@ function Dve(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: Sm(`recharts-${u} ${u}`, n),
+ className: Dm(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
axisId: t
}));
}
-var Ove = {
- allowDataOverflow: QQ.allowDataOverflow,
- allowDecimals: QQ.allowDecimals,
- allowDuplicatedCategory: QQ.allowDuplicatedCategory,
- angle: QQ.angle,
- axisLine: q6.axisLine,
+var yCe = {
+ allowDataOverflow: P$.allowDataOverflow,
+ allowDecimals: P$.allowDecimals,
+ allowDuplicatedCategory: P$.allowDuplicatedCategory,
+ angle: P$.angle,
+ axisLine: z6.axisLine,
hide: !1,
- includeHidden: QQ.includeHidden,
- interval: QQ.interval,
+ includeHidden: P$.includeHidden,
+ interval: P$.interval,
label: !1,
- minTickGap: QQ.minTickGap,
- mirror: QQ.mirror,
- orientation: QQ.orientation,
- padding: QQ.padding,
- reversed: QQ.reversed,
- scale: QQ.scale,
- tick: QQ.tick,
- tickCount: QQ.tickCount,
- tickLine: q6.tickLine,
- tickSize: q6.tickSize,
- type: QQ.type,
- niceTicks: QQ.niceTicks,
- width: QQ.width,
+ minTickGap: P$.minTickGap,
+ mirror: P$.mirror,
+ orientation: P$.orientation,
+ padding: P$.padding,
+ reversed: P$.reversed,
+ scale: P$.scale,
+ tick: P$.tick,
+ tickCount: P$.tickCount,
+ tickLine: z6.tickLine,
+ tickSize: z6.tickSize,
+ type: P$.type,
+ niceTicks: P$.niceTicks,
+ width: P$.width,
yAxisId: 0
-}, i5 = /*#__PURE__*/ E.memo((e) => {
- var t = uR(e, Ove);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(Eve, {
+}, X8 = /*#__PURE__*/ D.memo((e) => {
+ var t = cz(e, yCe);
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(_Ce, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -56839,27 +59765,27 @@ var Ove = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ E.createElement(Dve, t));
-}, J8);
-i5.displayName = "YAxis";
-var a5 = $([
+ }), /*#__PURE__*/ D.createElement(vCe, t));
+}, B8);
+X8.displayName = "YAxis";
+var Z8 = $([
(e, t) => t,
- HV,
- WK,
- $K,
- I0,
- R0,
- Fle,
- SV
-], Hle);
+ mU,
+ YJ,
+ iY,
+ O0,
+ A0,
+ Eme,
+ AH
+], Nme);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function kve(e) {
+function bCe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function o5(e) {
+function Q8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (kve(e)) {
+ if (bCe(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 {
@@ -56874,55 +59800,55 @@ function o5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var s5 = pB("mouseClick"), c5 = qB();
-c5.startListening({
- actionCreator: s5,
+var $8 = dV("mouseClick"), e5 = GV();
+e5.startListening({
+ actionCreator: $8,
effect: (e, t) => {
- var n = e.payload, r = a5(t.getState(), o5(n));
- r?.activeIndex != null && t.dispatch(Yce({
+ var n = e.payload, r = Z8(t.getState(), Q8(n));
+ r?.activeIndex != null && t.dispatch(Vpe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var l5 = pB("mouseMove"), u5 = qB(), d5 = null, f5 = null, p5 = null;
-u5.startListening({
- actionCreator: l5,
+var t5 = dV("mouseMove"), n5 = GV(), r5 = null, i5 = null, a5 = null;
+n5.startListening({
+ actionCreator: t5,
effect: (e, t) => {
var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");
- d5 !== null && (cancelAnimationFrame(d5), d5 = null), f5 !== null && (typeof r != "number" || !a) && (clearTimeout(f5), f5 = null), p5 = o5(n);
+ r5 !== null && (cancelAnimationFrame(r5), r5 = null), i5 !== null && (typeof r != "number" || !a) && (clearTimeout(i5), i5 = null), a5 = Q8(n);
var o = () => {
- var e = t.getState(), n = i0(e, e.tooltip.settings.shared);
- if (!p5) {
- d5 = null, f5 = null;
+ var e = t.getState(), n = Q1(e, e.tooltip.settings.shared);
+ if (!a5) {
+ r5 = null, i5 = null;
return;
}
if (n === "axis") {
- var r = a5(e, p5);
- r?.activeIndex == null ? t.dispatch(f0()) : t.dispatch(p0({
+ var r = Z8(e, a5);
+ r?.activeIndex == null ? t.dispatch(r0()) : t.dispatch(i0({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- d5 = null, f5 = null;
+ r5 = null, i5 = null;
};
if (!a) {
o();
return;
}
- r === "raf" ? d5 = requestAnimationFrame(o) : typeof r == "number" && f5 === null && (f5 = setTimeout(o, r));
+ r === "raf" ? r5 = requestAnimationFrame(o) : typeof r == "number" && i5 === null && (i5 = setTimeout(o, r));
}
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function Ave(e, t) {
+function xCe(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var m5 = {
+var o5 = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -56934,70 +59860,70 @@ var m5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, h5 = SB({
+}, s5 = bV({
name: "rootProps",
- initialState: m5,
+ initialState: o5,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? m5.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? o5.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;
} }
-}), jve = h5.reducer, { updateOptions: Mve } = h5.actions, g5 = SB({
+}), SCe = s5.reducer, { updateOptions: CCe } = s5.actions, c5 = bV({
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: Nve } = g5.actions, Pve = g5.reducer, _5 = pB("keyDown"), v5 = pB("focus"), y5 = pB("blur"), b5 = qB(), x5 = null, S5 = null, C5 = null;
-b5.startListening({
- actionCreator: _5,
+}), { updatePolarOptions: wCe } = c5.actions, TCe = c5.reducer, l5 = dV("keyDown"), u5 = dV("focus"), d5 = dV("blur"), f5 = GV(), p5 = null, m5 = null, h5 = null;
+f5.startListening({
+ actionCreator: l5,
effect: (e, t) => {
- C5 = e.payload, x5 !== null && (cancelAnimationFrame(x5), x5 = null);
+ h5 = e.payload, p5 !== null && (cancelAnimationFrame(p5), p5 = null);
var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");
- S5 !== null && (typeof n != "number" || !i) && (clearTimeout(S5), S5 = null);
+ m5 !== null && (typeof n != "number" || !i) && (clearTimeout(m5), m5 = null);
var a = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var { keyboardInteraction: n } = e.tooltip, r = C5;
+ var { keyboardInteraction: n } = e.tooltip, r = h5;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = y0(n, A0(e), k$(e), P0(e)), a = i == null ? -1 : Number(i);
+ var i = u0(n, S0(e), r1(e), E0(e)), a = i == null ? -1 : Number(i);
if (!Number.isFinite(a) || a < 0) return;
- var o = R0(e);
+ var o = A0(e);
if (r === "Enter") {
- var s = a2(e, "axis", "hover", String(n.index));
- t.dispatch(h0({
+ var s = Z0(e, "axis", "hover", String(n.index));
+ t.dispatch(o0({
active: !n.active,
activeIndex: n.index,
activeCoordinate: s
}));
return;
}
- var c = e0(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = Mpe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
- var u = a2(e, "axis", "hover", String(l));
- t.dispatch(h0({
+ var u = Z0(e, "axis", "hover", String(l));
+ t.dispatch(o0({
active: !0,
activeIndex: l.toString(),
activeCoordinate: u
}));
} finally {
- x5 = null, S5 = null;
+ p5 = null, m5 = null;
}
};
if (!i) {
a();
return;
}
- n === "raf" ? x5 = requestAnimationFrame(a) : typeof n == "number" && S5 === null && (a(), C5 = null, S5 = setTimeout(() => {
- C5 ? a() : (S5 = null, x5 = null);
+ n === "raf" ? p5 = requestAnimationFrame(a) : typeof n == "number" && m5 === null && (a(), h5 = null, m5 = setTimeout(() => {
+ h5 ? a() : (m5 = null, p5 = null);
}, n));
}
-}), b5.startListening({
- actionCreator: v5,
+}), f5.startListening({
+ actionCreator: u5,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
if (!r.active && r.index == null) {
- var i = "0", a = a2(n, "axis", "hover", String(i));
- t.dispatch(h0({
+ var i = "0", a = Z0(n, "axis", "hover", String(i));
+ t.dispatch(o0({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -57005,13 +59931,13 @@ b5.startListening({
}
}
}
-}), b5.startListening({
- actionCreator: y5,
+}), f5.startListening({
+ actionCreator: d5,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
- r.active && t.dispatch(h0({
+ r.active && t.dispatch(o0({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -57021,7 +59947,7 @@ b5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function w5(e) {
+function g5(e) {
e.persist();
var { currentTarget: t } = e;
return new Proxy(e, { get: (e, n) => {
@@ -57032,36 +59958,36 @@ function w5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var T5 = pB("externalEvent"), E5 = qB(), D5 = /* @__PURE__ */ new Map(), O5 = /* @__PURE__ */ new Map(), k5 = /* @__PURE__ */ new Map();
-E5.startListening({
- actionCreator: T5,
+var _5 = dV("externalEvent"), v5 = GV(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map(), x5 = /* @__PURE__ */ new Map();
+v5.startListening({
+ actionCreator: _5,
effect: (e, t) => {
var { handler: n, reactEvent: r } = e.payload;
if (n != null) {
- var i = r.type, a = w5(r);
- k5.set(i, {
+ var i = r.type, a = g5(r);
+ x5.set(i, {
handler: n,
reactEvent: a
});
- var o = D5.get(i);
- o !== void 0 && (cancelAnimationFrame(o), D5.delete(i));
- var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = O5.get(i);
- d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), O5.delete(i));
+ var o = y5.get(i);
+ o !== void 0 && (cancelAnimationFrame(o), y5.delete(i));
+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = b5.get(i);
+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), b5.delete(i));
var f = () => {
- var e = k5.get(i);
+ var e = x5.get(i);
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: xle(a),
- activeDataKey: G0(a),
- activeIndex: U0(a),
- activeLabel: W0(a),
- activeTooltipIndex: U0(a),
- isTooltipActive: Sle(a)
+ activeCoordinate: fme(a),
+ activeDataKey: L0(a),
+ activeIndex: F0(a),
+ activeLabel: I0(a),
+ activeTooltipIndex: F0(a),
+ isTooltipActive: pme(a)
};
n && n(o, r);
} finally {
- D5.delete(i), O5.delete(i), k5.delete(i);
+ y5.delete(i), b5.delete(i), x5.delete(i);
}
};
if (!u) {
@@ -57070,19 +59996,19 @@ E5.startListening({
}
if (s === "raf") {
var p = requestAnimationFrame(f);
- D5.set(i, p);
+ y5.set(i, p);
} else if (typeof s == "number") {
- if (!O5.has(i)) {
+ if (!b5.has(i)) {
f();
var m = setTimeout(f, s);
- O5.set(i, m);
+ b5.set(i, m);
}
} else f();
}
}
});
-var Fve = $([
- $([C0], (e) => e.tooltipItemPayloads),
+var ECe = $([
+ $([m0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -57093,65 +60019,65 @@ var Fve = $([
if (i != null) return i(t);
}
}
-}), A5 = pB("touchMove"), j5 = qB(), M5 = null, N5 = null, P5 = null, F5 = null;
-j5.startListening({
- actionCreator: A5,
+}), S5 = dV("touchMove"), C5 = GV(), w5 = null, T5 = null, E5 = null, D5 = null;
+C5.startListening({
+ actionCreator: S5,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- F5 = w5(n);
+ D5 = g5(n);
var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");
- M5 !== null && (cancelAnimationFrame(M5), M5 = null), N5 !== null && (typeof r != "number" || !a) && (clearTimeout(N5), N5 = null), P5 = Array.from(n.touches).map((e) => o5({
+ w5 !== null && (cancelAnimationFrame(w5), w5 = null), T5 !== null && (typeof r != "number" || !a) && (clearTimeout(T5), T5 = null), E5 = Array.from(n.touches).map((e) => Q8({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var o = () => {
- if (F5 != null) {
- var e = t.getState(), n = i0(e, e.tooltip.settings.shared);
+ if (D5 != null) {
+ var e = t.getState(), n = Q1(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = P5?.[0];
+ var r = E5?.[0];
if (r == null) {
- M5 = null, N5 = null;
+ w5 = null, T5 = null;
return;
}
- var i = a5(e, r);
- i?.activeIndex != null && t.dispatch(p0({
+ var i = Z8(e, r);
+ i?.activeIndex != null && t.dispatch(i0({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = F5.touches[0];
+ var a = D5.touches[0];
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(Rse), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = k0(e).find((e) => e.id === c);
+ var s = o.getAttribute(yH), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = x0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = Fve(e, s, c);
- t.dispatch(d0({
+ var { dataKey: u } = l, d = ECe(e, s, c);
+ t.dispatch(n0({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
activeGraphicalItemId: c
}));
}
- M5 = null, N5 = null;
+ w5 = null, T5 = null;
}
};
if (!a) {
o();
return;
}
- r === "raf" ? M5 = requestAnimationFrame(o) : typeof r == "number" && N5 === null && (o(), F5 = null, N5 = setTimeout(() => {
- F5 ? o() : (N5 = null, M5 = null);
+ r === "raf" ? w5 = requestAnimationFrame(o) : typeof r == "number" && T5 === null && (o(), D5 = null, T5 = setTimeout(() => {
+ D5 ? o() : (T5 = null, w5 = null);
}, r));
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var I5 = {
+var O5 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -57160,33 +60086,33 @@ var I5 = {
"scroll",
"wheel"
]
-}, L5 = SB({
+}, k5 = bV({
name: "eventSettings",
- initialState: I5,
+ initialState: O5,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = NH(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = gW(t.payload.throttledEvents));
} }
-}), { setEventSettings: Ive } = L5.actions, Lve = L5.reducer, Rve = tz({
- brush: the,
- cartesianAxis: Hpe,
- chartData: hue,
- errorBars: bge,
- eventSettings: Lve,
- graphicalItems: vpe,
- layout: Tse,
- legend: Cce,
- options: uue,
- polarAxis: cfe,
- polarOptions: Pve,
- referenceElements: fhe,
- renderedTicks: Bhe,
- rootProps: jve,
- tooltip: Xce,
- zIndex: tue
-}), zve = function(e) {
+}), { setEventSettings: DCe } = k5.actions, OCe = k5.reducer, kCe = $z({
+ brush: Kye,
+ cartesianAxis: Nve,
+ chartData: ohe,
+ errorBars: dxe,
+ eventSettings: OCe,
+ graphicalItems: lve,
+ layout: ude,
+ legend: CW,
+ options: the,
+ polarAxis: $ge,
+ polarOptions: TCe,
+ referenceElements: rbe,
+ renderedTicks: jbe,
+ rootProps: SCe,
+ tooltip: Hpe,
+ zIndex: Kme
+}), ACe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return Zoe({
- reducer: Rve,
+ return Iue({
+ reducer: kCe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -57196,40 +60122,40 @@ var I5 = {
"production"
].includes("es6")
}).concat([
- c5.middleware,
- u5.middleware,
- b5.middleware,
- E5.middleware,
- j5.middleware
+ e5.middleware,
+ n5.middleware,
+ f5.middleware,
+ v5.middleware,
+ C5.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(bB({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(vV({ type: "raf" }));
},
- devTools: vU.devToolsEnabled && {
- serialize: { replacer: Ave },
+ devTools: CG.devToolsEnabled && {
+ serialize: { replacer: xCe },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function R5(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = wV(), a = (0, E.useRef)(null);
+function A5(e) {
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = PH(), a = (0, D.useRef)(null);
if (i) return n;
- a.current ??= zve(t, r);
- var o = IR;
- return /*#__PURE__*/ E.createElement(Lce, {
+ a.current ??= ACe(t, r);
+ var o = Pz;
+ return /*#__PURE__*/ D.createElement(zW, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function Bve(e) {
- var { layout: t, margin: n } = e, r = LR(), i = wV();
- return (0, E.useEffect)(() => {
- i || (r(Sse(t)), r(xse(n)));
+function jCe(e) {
+ var { layout: t, margin: n } = e, r = Fz(), i = PH();
+ return (0, D.useEffect)(() => {
+ i || (r(sde(t)), r(ode(n)));
}, [
r,
i,
@@ -57237,31 +60163,31 @@ function Bve(e) {
n
]), null;
}
-var z5 = /*#__PURE__*/ (0, E.memo)(Bve, VH);
+var j5 = /*#__PURE__*/ (0, D.memo)(jCe, HW);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function B5(e) {
- var t = LR();
- return (0, E.useEffect)(() => {
- t(Mve(e));
+function M5(e) {
+ var t = Fz();
+ return (0, D.useEffect)(() => {
+ t(CCe(e));
}, [t, e]), null;
}
-var V5 = /*#__PURE__*/ (0, E.memo)((e) => {
- var t = LR();
- return (0, E.useEffect)(() => {
- t(Ive(e));
+var N5 = /*#__PURE__*/ (0, D.memo)((e) => {
+ var t = Fz();
+ return (0, D.useEffect)(() => {
+ t(DCe(e));
}, [t, e]), null;
-}, VH);
+}, HW);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function H5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, E.useRef)(null), i = LR();
- return (0, E.useLayoutEffect)(() => (r.current && i($le({
+function P5(e) {
+ var { zIndex: t, isPanorama: n } = e, r = (0, D.useRef)(null), i = Fz();
+ return (0, D.useLayoutEffect)(() => (r.current && i(Wme({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(eue({
+ i(Gme({
zIndex: t,
isPanorama: n
}));
@@ -57269,21 +60195,21 @@ function H5(e) {
i,
t,
n
- ]), /*#__PURE__*/ E.createElement("g", {
+ ]), /*#__PURE__*/ D.createElement("g", {
tabIndex: -1,
ref: r,
className: `recharts-zIndex-layer_${t}`
});
}
-function U5(e) {
- var { children: t, isPanorama: n } = e, r = Q(Wle);
+function F5(e) {
+ var { children: t, isPanorama: n } = e, r = Q(Fme);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, i.map((e) => /*#__PURE__*/ E.createElement(H5, {
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, i.map((e) => /*#__PURE__*/ D.createElement(P5, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ E.createElement(H5, {
+ })), t, a.map((e) => /*#__PURE__*/ D.createElement(P5, {
key: e,
zIndex: e,
isPanorama: n
@@ -57291,17 +60217,17 @@ function U5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var Vve = ["children"];
-function Hve(e, t) {
+var MCe = ["children"];
+function NCe(e, t) {
if (e == null) return {};
- var n, r, i = Uve(e, t);
+ var n, r, i = PCe(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 Uve(e, t) {
+function PCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57310,55 +60236,55 @@ function Uve(e, t) {
}
return n;
}
-function W5() {
- return W5 = Object.assign ? Object.assign.bind() : function(e) {
+function I5() {
+ return I5 = 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;
- }, W5.apply(null, arguments);
+ }, I5.apply(null, arguments);
}
-var Wve = {
+var FCe = {
width: "100%",
height: "100%",
display: "block"
-}, Gve = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var n = BV(), r = VV(), i = OU();
- if (!QB(n) || !QB(r)) return null;
+}, ICe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var n = dU(), r = fU(), i = NG();
+ if (!XV(n) || !XV(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__*/ E.createElement(ZF, W5({}, 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__*/ D.createElement(IL, I5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: Wve,
+ style: FCe,
ref: t
}), a);
-}), Kve = (e) => {
- var { children: t } = e, n = Q(EV);
+}), LCe = (e) => {
+ var { children: t } = e, n = Q(IH);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ E.createElement(ZF, {
+ return /*#__PURE__*/ D.createElement(IL, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, G5 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var { children: n } = e, r = Hve(e, Vve);
- return wV() ? /*#__PURE__*/ E.createElement(Kve, null, /*#__PURE__*/ E.createElement(U5, { isPanorama: !0 }, n)) : /*#__PURE__*/ E.createElement(Gve, W5({ ref: t }, r), /*#__PURE__*/ E.createElement(U5, { isPanorama: !1 }, n));
+}, L5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var { children: n } = e, r = NCe(e, MCe);
+ return PH() ? /*#__PURE__*/ D.createElement(LCe, null, /*#__PURE__*/ D.createElement(F5, { isPanorama: !0 }, n)) : /*#__PURE__*/ D.createElement(ICe, I5({ ref: t }, r), /*#__PURE__*/ D.createElement(F5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function qve() {
- var e = LR(), [t, n] = (0, E.useState)(null), r = Q(Lse);
- return (0, E.useEffect)(() => {
+function RCe() {
+ var e = Fz(), [t, n] = (0, D.useState)(null), r = Q(hH);
+ return (0, D.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- ZB(n) && n !== r && e(wse(n));
+ YV(n) && n !== r && e(lde(n));
}
}, [
t,
@@ -57368,7 +60294,7 @@ function qve() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function K5(e, t) {
+function R5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57378,30 +60304,30 @@ function K5(e, t) {
}
return n;
}
-function Jve(e) {
+function zCe(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) {
- Yve(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K5(Object(n)).forEach(function(t) {
+ t % 2 ? R5(Object(n), !0).forEach(function(t) {
+ BCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Yve(e, t, n) {
- return (t = Xve(t)) in e ? Object.defineProperty(e, t, {
+function BCe(e, t, n) {
+ return (t = VCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xve(e) {
- var t = Zve(e, "string");
+function VCe(e) {
+ var t = HCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zve(e, t) {
+function HCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57411,17 +60337,17 @@ function Zve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function q5() {
- return q5 = Object.assign ? Object.assign.bind() : function(e) {
+function z5() {
+ return z5 = 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;
- }, q5.apply(null, arguments);
+ }, z5.apply(null, arguments);
}
-var Qve = () => (wue(), null);
-function J5(e) {
+var UCe = () => (hhe(), null);
+function B5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -57429,11 +60355,11 @@ function J5(e) {
}
return 0;
}
-var $ve = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var n = (0, E.useRef)(null), [r, i] = (0, E.useState)({
- containerWidth: J5(e.style?.width),
- containerHeight: J5(e.style?.height)
- }), a = (0, E.useCallback)((e, t) => {
+var WCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var n = (0, D.useRef)(null), [r, i] = (0, D.useState)({
+ containerWidth: B5(e.style?.width),
+ containerHeight: B5(e.style?.height)
+ }), a = (0, D.useCallback)((e, t) => {
i((n) => {
var r = Math.round(e), i = Math.round(t);
return n.containerWidth === r && n.containerHeight === i ? n : {
@@ -57441,7 +60367,7 @@ var $ve = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
containerHeight: i
};
});
- }, []), o = (0, E.useCallback)((e) => {
+ }, []), o = (0, D.useCallback)((e) => {
if (typeof t == "function" && t(e), e != null && typeof ResizeObserver < "u") {
var { width: r, height: i } = e.getBoundingClientRect();
a(r, i);
@@ -57455,17 +60381,17 @@ var $ve = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
o.observe(e), n.current = o;
}
}, [t, a]);
- return (0, E.useEffect)(() => () => {
+ return (0, D.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(qV, {
+ }, [a]), /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(bU, {
width: r.containerWidth,
height: r.containerHeight
- }), /*#__PURE__*/ E.createElement("div", q5({ ref: o }, e)));
-}), eye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var { width: n, height: r } = e, [i, a] = (0, E.useState)({
- containerWidth: J5(n),
- containerHeight: J5(r)
- }), o = (0, E.useCallback)((e, t) => {
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: o }, e)));
+}), GCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var { width: n, height: r } = e, [i, a] = (0, D.useState)({
+ containerWidth: B5(n),
+ containerHeight: B5(r)
+ }), o = (0, D.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
return n.containerWidth === r && n.containerHeight === i ? n : {
@@ -57473,97 +60399,97 @@ var $ve = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
containerHeight: i
};
});
- }, []), s = (0, E.useCallback)((e) => {
+ }, []), s = (0, D.useCallback)((e) => {
if (typeof t == "function" && t(e), e != null) {
var { width: n, height: r } = e.getBoundingClientRect();
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(qV, {
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(bU, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ E.createElement("div", q5({ ref: s }, e)));
-}), tye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: s }, e)));
+}), KCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(qV, {
+ return /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(bU, {
width: n,
height: r
- }), /*#__PURE__*/ E.createElement("div", q5({ ref: t }, e)));
-}), nye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: t }, e)));
+}), qCe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ E.createElement(eye, q5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ E.createElement(tye, q5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ D.createElement(GCe, z5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ D.createElement(KCe, z5({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(qV, {
+ })) : /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(bU, {
width: n,
height: r
- }), /*#__PURE__*/ E.createElement("div", q5({ ref: t }, e)));
+ }), /*#__PURE__*/ D.createElement("div", z5({ ref: t }, e)));
});
-function rye(e) {
- return e ? $ve : nye;
+function JCe(e) {
+ return e ? WCe : qCe;
}
-var iye = /*#__PURE__*/ (0, E.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, E.useRef)(null), x = LR(), [S, C] = (0, E.useState)(null), [w, T] = (0, E.useState)(null), D = qve(), O = FV(), k = O?.width > 0 ? O.width : _, A = O?.height > 0 ? O.height : i, j = (0, E.useCallback)((e) => {
- D(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
+var YCe = /*#__PURE__*/ (0, D.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, D.useRef)(null), x = Fz(), [S, C] = (0, D.useState)(null), [w, T] = (0, D.useState)(null), E = RCe(), O = iU(), k = O?.width > 0 ? O.width : _, A = O?.height > 0 ? O.height : i, j = (0, D.useCallback)((e) => {
+ E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
- D,
+ E,
t,
C,
T
- ]), M = (0, E.useCallback)((e) => {
- x(s5(e)), x(T5({
+ ]), M = (0, D.useCallback)((e) => {
+ x($8(e)), x(_5({
handler: a,
reactEvent: e
}));
- }, [x, a]), N = (0, E.useCallback)((e) => {
- x(l5(e)), x(T5({
+ }, [x, a]), N = (0, D.useCallback)((e) => {
+ x(t5(e)), x(_5({
handler: l,
reactEvent: e
}));
- }, [x, l]), P = (0, E.useCallback)((e) => {
- x(f0()), x(T5({
+ }, [x, l]), P = (0, D.useCallback)((e) => {
+ x(r0()), x(_5({
handler: u,
reactEvent: e
}));
- }, [x, u]), F = (0, E.useCallback)((e) => {
- x(l5(e)), x(T5({
+ }, [x, u]), F = (0, D.useCallback)((e) => {
+ x(t5(e)), x(_5({
handler: d,
reactEvent: e
}));
- }, [x, d]), I = (0, E.useCallback)(() => {
- x(v5());
- }, [x]), ee = (0, E.useCallback)(() => {
- x(y5());
- }, [x]), te = (0, E.useCallback)((e) => {
- x(_5(e.key));
- }, [x]), L = (0, E.useCallback)((e) => {
- x(T5({
+ }, [x, d]), I = (0, D.useCallback)(() => {
+ x(u5());
+ }, [x]), ee = (0, D.useCallback)(() => {
+ x(d5());
+ }, [x]), te = (0, D.useCallback)((e) => {
+ x(l5(e.key));
+ }, [x]), ne = (0, D.useCallback)((e) => {
+ x(_5({
handler: o,
reactEvent: e
}));
- }, [x, o]), ne = (0, E.useCallback)((e) => {
- x(T5({
+ }, [x, o]), L = (0, D.useCallback)((e) => {
+ x(_5({
handler: s,
reactEvent: e
}));
- }, [x, s]), re = (0, E.useCallback)((e) => {
- x(T5({
+ }, [x, s]), re = (0, D.useCallback)((e) => {
+ x(_5({
handler: c,
reactEvent: e
}));
- }, [x, c]), ie = (0, E.useCallback)((e) => {
- x(T5({
+ }, [x, c]), ie = (0, D.useCallback)((e) => {
+ x(_5({
handler: f,
reactEvent: e
}));
- }, [x, f]), ae = (0, E.useCallback)((e) => {
- x(T5({
+ }, [x, f]), ae = (0, D.useCallback)((e) => {
+ x(_5({
handler: h,
reactEvent: e
}));
- }, [x, h]), oe = (0, E.useCallback)((e) => {
- y && x(A5(e)), x(T5({
+ }, [x, h]), oe = (0, D.useCallback)((e) => {
+ y && x(S5(e)), x(_5({
handler: m,
reactEvent: e
}));
@@ -57571,25 +60497,25 @@ var iye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
x,
y,
m
- ]), se = (0, E.useCallback)((e) => {
- x(T5({
+ ]), se = (0, D.useCallback)((e) => {
+ x(_5({
handler: p,
reactEvent: e
}));
- }, [x, p]), ce = rye(v);
- return /*#__PURE__*/ E.createElement(m2.Provider, { value: S }, /*#__PURE__*/ E.createElement(rI.Provider, { value: w }, /*#__PURE__*/ E.createElement(ce, {
+ }, [x, p]), ce = JCe(v);
+ return /*#__PURE__*/ D.createElement(o2.Provider, { value: S }, /*#__PURE__*/ D.createElement(zL.Provider, { value: w }, /*#__PURE__*/ D.createElement(ce, {
width: k ?? g?.width,
height: A ?? g?.height,
- className: Sm("recharts-wrapper", r),
- style: Jve({
+ className: Dm("recharts-wrapper", r),
+ style: zCe({
position: "relative",
cursor: "default",
width: k,
height: A
}, g),
onClick: M,
- onContextMenu: L,
- onDoubleClick: ne,
+ onContextMenu: ne,
+ onDoubleClick: L,
onFocus: I,
onBlur: ee,
onKeyDown: te,
@@ -57602,8 +60528,8 @@ var iye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
onTouchMove: oe,
onTouchStart: ae,
ref: j
- }, /*#__PURE__*/ E.createElement(Qve, null), n)));
-}), aye = [
+ }, /*#__PURE__*/ D.createElement(UCe, null), n)));
+}), XCe = [
"width",
"height",
"responsive",
@@ -57614,16 +60540,16 @@ var iye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
"title",
"desc"
];
-function oye(e, t) {
+function ZCe(e, t) {
if (e == null) return {};
- var n, r, i = sye(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 sye(e, t) {
+function QCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57632,16 +60558,16 @@ function sye(e, t) {
}
return n;
}
-var Y5 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = UF(oye(e, aye));
- return c ? /*#__PURE__*/ E.createElement(E.Fragment, null, /*#__PURE__*/ E.createElement(qV, {
+var V5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = ML(ZCe(e, XCe));
+ return c ? /*#__PURE__*/ D.createElement(D.Fragment, null, /*#__PURE__*/ D.createElement(bU, {
width: n,
height: r
- }), /*#__PURE__*/ E.createElement(G5, {
+ }), /*#__PURE__*/ D.createElement(L5, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ E.createElement(iye, {
+ }, a)) : /*#__PURE__*/ D.createElement(YCe, {
className: o,
style: s,
width: n,
@@ -57658,25 +60584,25 @@ var Y5 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ E.createElement(G5, {
+ }, /*#__PURE__*/ D.createElement(L5, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ E.createElement(phe, null, a)));
+ }, /*#__PURE__*/ D.createElement(ibe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function X5() {
- return X5 = Object.assign ? Object.assign.bind() : function(e) {
+function H5() {
+ return H5 = 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;
- }, X5.apply(null, arguments);
+ }, H5.apply(null, arguments);
}
-function Z5(e, t) {
+function U5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57686,30 +60612,30 @@ function Z5(e, t) {
}
return n;
}
-function cye(e) {
+function $Ce(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) {
- lye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z5(Object(n)).forEach(function(t) {
+ t % 2 ? U5(Object(n), !0).forEach(function(t) {
+ ewe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lye(e, t, n) {
- return (t = uye(t)) in e ? Object.defineProperty(e, t, {
+function ewe(e, t, n) {
+ return (t = twe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uye(e) {
- var t = dye(e, "string");
+function twe(e) {
+ var t = nwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dye(e, t) {
+function nwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57719,7 +60645,7 @@ function dye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var fye = cye({
+var rwe = $Ce({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -57734,24 +60660,24 @@ var fye = cye({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, I5), Q5 = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- var n = uR(e.categoricalChartProps, fye), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+}, O5), W5 = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ var n = cz(e.categoricalChartProps, rwe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ E.createElement(R5, {
+ return /*#__PURE__*/ D.createElement(A5, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ E.createElement(k6, { chartData: s.data }), /*#__PURE__*/ E.createElement(z5, {
+ }, /*#__PURE__*/ D.createElement(x6, { chartData: s.data }), /*#__PURE__*/ D.createElement(j5, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ E.createElement(V5, {
+ }), /*#__PURE__*/ D.createElement(N5, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ E.createElement(B5, {
+ }), /*#__PURE__*/ D.createElement(M5, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -57763,52 +60689,52 @@ var fye = cye({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ E.createElement(Y5, X5({}, n, { ref: t })));
-}), pye = ["axis"], mye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(Q5, {
+ }), /*#__PURE__*/ D.createElement(V5, H5({}, n, { ref: t })));
+}), iwe = ["axis"], awe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(W5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: pye,
- tooltipPayloadSearcher: v2,
+ validateTooltipEventTypes: iwe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
-})), hye = ["axis", "item"], $5 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(Q5, {
+})), owe = ["axis", "item"], G5 = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(W5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: hye,
- tooltipPayloadSearcher: v2,
+ validateTooltipEventTypes: owe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function gye(e) {
- var t = LR();
- return (0, E.useEffect)(() => {
- t(Nve(e));
+function swe(e) {
+ var t = Fz();
+ return (0, D.useEffect)(() => {
+ t(wCe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var _ye = ["layout"];
-function e7() {
- return e7 = Object.assign ? Object.assign.bind() : function(e) {
+var cwe = ["layout"];
+function K5() {
+ return K5 = 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;
- }, e7.apply(null, arguments);
+ }, K5.apply(null, arguments);
}
-function vye(e, t) {
+function lwe(e, t) {
if (e == null) return {};
- var n, r, i = yye(e, t);
+ var n, r, i = uwe(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 yye(e, t) {
+function uwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57817,7 +60743,7 @@ function yye(e, t) {
}
return n;
}
-function t7(e, t) {
+function q5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57827,30 +60753,30 @@ function t7(e, t) {
}
return n;
}
-function bye(e) {
+function dwe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? t7(Object(n), !0).forEach(function(t) {
- xye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t7(Object(n)).forEach(function(t) {
+ t % 2 ? q5(Object(n), !0).forEach(function(t) {
+ fwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xye(e, t, n) {
- return (t = Sye(t)) in e ? Object.defineProperty(e, t, {
+function fwe(e, t, n) {
+ return (t = pwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sye(e) {
- var t = Cye(e, "string");
+function pwe(e) {
+ var t = mwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cye(e, t) {
+function mwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57860,7 +60786,7 @@ function Cye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var n7 = bye({
+var J5 = dwe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -57879,24 +60805,24 @@ var n7 = bye({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, I5), r7 = /*#__PURE__*/ (0, E.forwardRef)(function(e, t) {
- var n = uR(e.categoricalChartProps, n7), { layout: r } = n, i = vye(n, _ye), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+}, O5), Y5 = /*#__PURE__*/ (0, D.forwardRef)(function(e, t) {
+ var n = cz(e.categoricalChartProps, J5), { layout: r } = n, i = lwe(n, cwe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
tooltipPayloadSearcher: c,
eventEmitter: void 0
};
- return /*#__PURE__*/ E.createElement(R5, {
+ return /*#__PURE__*/ D.createElement(A5, {
preloadedState: { options: l },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ E.createElement(k6, { chartData: n.data }), /*#__PURE__*/ E.createElement(z5, {
+ }, /*#__PURE__*/ D.createElement(x6, { chartData: n.data }), /*#__PURE__*/ D.createElement(j5, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ E.createElement(V5, {
+ }), /*#__PURE__*/ D.createElement(N5, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ E.createElement(B5, {
+ }), /*#__PURE__*/ D.createElement(M5, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -57908,18 +60834,18 @@ var n7 = bye({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ E.createElement(gye, {
+ }), /*#__PURE__*/ D.createElement(swe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ E.createElement(Y5, e7({}, i, { ref: t })));
+ }), /*#__PURE__*/ D.createElement(V5, K5({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function i7(e, t) {
+function X5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57929,30 +60855,30 @@ function i7(e, t) {
}
return n;
}
-function a7(e) {
+function Z5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? i7(Object(n), !0).forEach(function(t) {
- wye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i7(Object(n)).forEach(function(t) {
+ t % 2 ? X5(Object(n), !0).forEach(function(t) {
+ hwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wye(e, t, n) {
- return (t = Tye(t)) in e ? Object.defineProperty(e, t, {
+function hwe(e, t, n) {
+ return (t = gwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Tye(e) {
- var t = Eye(e, "string");
+function gwe(e) {
+ var t = _we(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Eye(e, t) {
+function _we(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57962,31 +60888,31 @@ function Eye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Dye = ["axis"], Oye = a7(a7({}, n7), {}, {
+var vwe = ["axis"], ywe = Z5(Z5({}, J5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), kye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var n = uR(e, Oye);
- return /*#__PURE__*/ E.createElement(r7, {
+}), bwe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var n = cz(e, ywe);
+ return /*#__PURE__*/ D.createElement(Y5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Dye,
- tooltipPayloadSearcher: v2,
+ validateTooltipEventTypes: vwe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
});
-}), Aye = ["axis"], o7 = /*#__PURE__*/ (0, E.forwardRef)((e, t) => /*#__PURE__*/ E.createElement(Q5, {
+}), xwe = ["axis"], Swe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => /*#__PURE__*/ D.createElement(W5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Aye,
- tooltipPayloadSearcher: v2,
+ validateTooltipEventTypes: xwe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function s7(e, t) {
+function Q5(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57996,30 +60922,30 @@ function s7(e, t) {
}
return n;
}
-function c7(e) {
+function $5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? s7(Object(n), !0).forEach(function(t) {
- jye(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s7(Object(n)).forEach(function(t) {
+ t % 2 ? Q5(Object(n), !0).forEach(function(t) {
+ Cwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jye(e, t, n) {
- return (t = Mye(t)) in e ? Object.defineProperty(e, t, {
+function Cwe(e, t, n) {
+ return (t = wwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Mye(e) {
- var t = Nye(e, "string");
+function wwe(e) {
+ var t = Twe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Nye(e, t) {
+function Twe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58029,59 +60955,59 @@ function Nye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Pye = ["axis", "item"], Fye = c7(c7({}, n7), {}, {
+var Ewe = ["axis", "item"], Dwe = $5($5({}, J5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), Iye = /*#__PURE__*/ (0, E.forwardRef)((e, t) => {
- var n = uR(e, Fye);
- return /*#__PURE__*/ E.createElement(r7, {
+}), Owe = /*#__PURE__*/ (0, D.forwardRef)((e, t) => {
+ var n = cz(e, Dwe);
+ return /*#__PURE__*/ D.createElement(Y5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Pye,
- tooltipPayloadSearcher: v2,
+ validateTooltipEventTypes: Ewe,
+ tooltipPayloadSearcher: u2,
categoricalChartProps: n,
ref: t
});
});
//#endregion
//#region src/react/charts/cn.ts
-function l7(...e) {
- return lw(Sm(e));
+function e7(...e) {
+ return tw(Dm(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var u7 = {
+var t7 = {
light: "",
dark: ".dark"
-}, d7 = Object.keys(u7);
-function Lye(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !d7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${d7.join(", ")}). Received empty object or invalid keys.`);
+}, n7 = Object.keys(t7);
+function kwe(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 f7 = E.createContext(null);
-function p7() {
- let e = E.useContext(f7);
+var r7 = D.createContext(null);
+function i7() {
+ let e = D.useContext(r7);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function m7({ id: e, config: t, initialDimension: n = {
+function a7({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
- let s = E.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return Lye(t), /* @__PURE__ */ (0, D.jsx)(f7.Provider, {
+ let s = D.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
+ return kwe(t), /* @__PURE__ */ (0, O.jsx)(r7.Provider, {
value: { config: t },
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: l7("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
+ className: e7("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
...o,
children: [
- /* @__PURE__ */ (0, D.jsx)(g7, {
+ /* @__PURE__ */ (0, O.jsx)(s7, {
id: c,
config: t
}),
- /* @__PURE__ */ (0, D.jsx)(IV, {
+ /* @__PURE__ */ (0, O.jsx)(oU, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -58091,16 +61017,16 @@ function m7({ id: e, config: t, initialDimension: n = {
})
});
}
-function h7({ isLoading: e }) {
- return e ? /* @__PURE__ */ (0, D.jsx)("div", {
+function o7({ isLoading: e }) {
+ return e ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "text-primary bg-background flex items-center justify-center gap-2 rounded-md border px-2 py-0.5 text-sm",
- children: [/* @__PURE__ */ (0, D.jsx)("div", { className: "border-border border-t-primary h-3 w-3 animate-spin rounded-full border" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "Loading" })]
+ children: [/* @__PURE__ */ (0, O.jsx)("div", { className: "border-border border-t-primary h-3 w-3 animate-spin rounded-full border" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "Loading" })]
})
}) : null;
}
-function Rye(e, t) {
+function Awe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -58110,46 +61036,46 @@ function Rye(e, t) {
}
return r;
}
-var g7 = ({ id: e, config: t }) => {
+var s7 = ({ id: e, config: t }) => {
let n = Object.entries(t).filter(([, e]) => e.colors);
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : Rye(r, v7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(u7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
- return /* @__PURE__ */ (0, D.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : Awe(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, O.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function _7(e, t, n) {
+function c7(e, t, n) {
if (typeof t != "object" || !t) return;
let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
}
-function v7(e) {
+function l7(e) {
if (!e.colors) return 1;
- let t = d7.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = n7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var zye = (e = 10, t = 0, n = 70) => {
+var jwe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, Bye = {
+}, Mwe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, Vye = {
+}, Nwe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function y7({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
- let { config: h } = p7(), g = E.useMemo(() => {
+function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
+ let { config: h } = i7(), g = D.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = _7(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
- return s ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("font-medium", c),
+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = c7(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
+ return s ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("font-medium", c),
children: s(a, t)
- }) : a ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("font-medium", c),
+ }) : a ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("font-medium", c),
children: a
}) : null;
}, [
@@ -58161,33 +61087,33 @@ function y7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
h,
d
]);
- if (!e || !t?.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });
+ if (!e || !t?.length) return /* @__PURE__ */ (0, O.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: l7("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", Bye[p], Vye[m], n),
- children: [_ ? null : g, /* @__PURE__ */ (0, D.jsx)("div", {
+ return /* @__PURE__ */ (0, O.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", Mwe[p], Nwe[m], n),
+ children: [_ ? null : g, /* @__PURE__ */ (0, O.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = _7(h, e, n), o = i ? v7(i) : 1;
- return /* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
- children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, D.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("shrink-0 rounded-[2px]", {
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = c7(h, e, n), o = i ? l7(i) : 1;
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
+ children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, O.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("shrink-0 rounded-[2px]", {
"h-2.5 w-2.5": r === "dot",
"w-1": r === "line",
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: Hye(n, o)
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
- className: l7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ style: Pwe(n, o)
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: e7("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "grid gap-1.5",
- children: [_ ? g : null, /* @__PURE__ */ (0, D.jsx)("span", {
+ children: [_ ? g : null, /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-muted-foreground",
children: i?.label ?? e.name
})]
- }), e.value != null && /* @__PURE__ */ (0, D.jsx)("span", {
+ }), e.value != null && /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-foreground font-mono font-medium tabular-nums",
children: typeof e.value == "number" ? e.value.toLocaleString() : String(e.value)
})]
@@ -58197,27 +61123,27 @@ function y7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function Hye(e, t) {
+function Pwe(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 b7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, D.jsx)(Mue, {
+var d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, O.jsx)(Che, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function x7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
- let { config: u } = p7();
- return r?.length ? /* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
+function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
+ let { config: u } = i7();
+ return r?.length ? /* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
children: r.filter((e) => e.type !== "none").map((e) => {
- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = _7(u, e, r), a = o === null || o === r, d = i ? v7(i) : 1;
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: l7("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = c7(u, e, r), a = o === null || o === r, d = i ? l7(i) : 1;
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: e7("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, D.jsx)(i.icon, {}) : /* @__PURE__ */ (0, D.jsx)(Uye, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, O.jsx)(i.icon, {}) : /* @__PURE__ */ (0, O.jsx)(Fwe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -58226,43 +61152,43 @@ function x7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function Uye({ variant: e, dataKey: t, colorsCount: n }) {
- let r = Wye(t, n), i = Gye(t, n);
+function Fwe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = Iwe(t, n), i = Lwe(t, n);
switch (e) {
- case "square": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "square": return /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-2 w-2 shrink-0",
style: r
});
- case "circle": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "circle": return /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-2 w-2 shrink-0 rounded-full",
style: r
});
- case "circle-outline": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "circle-outline": return /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-2.5 w-2.5 shrink-0 rounded-full p-[1.5px]",
style: i
});
- case "vertical-bar": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "vertical-bar": return /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-3 w-1 shrink-0 rounded-[2px]",
style: r
});
- case "horizontal-bar": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "horizontal-bar": return /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-1 w-3 shrink-0 rounded-[2px]",
style: r
});
- case "rounded-square-outline": return /* @__PURE__ */ (0, D.jsx)("div", {
+ case "rounded-square-outline": return /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-2.5 w-2.5 shrink-0 rounded-[3px] p-[1.5px]",
style: i
});
- default: return /* @__PURE__ */ (0, D.jsx)("div", {
+ default: return /* @__PURE__ */ (0, O.jsx)("div", {
className: "h-2 w-2 shrink-0 rounded-[2px]",
style: r
});
}
}
-function Wye(e, t) {
+function Iwe(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 Gye(e, t) {
+function Lwe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -58277,19 +61203,19 @@ function Gye(e, t) {
...n
};
}
-var S7 = tU, C7 = () => null, w7 = {
+var p7 = oG, m7 = () => null, h7 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function Kye({ range: e, totalPoints: t, containerRef: n, commit: r }) {
- let i = E.useRef(null), [a, o] = E.useState(!1), s = (0, E.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, E.useCallback)((t, n) => {
+function Rwe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+ let i = D.useRef(null), [a, o] = D.useState(!1), s = (0, D.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, D.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
originX: t.clientX,
originRange: { ...e }
}, o(!0);
- }, [e]), l = (0, E.useCallback)((e) => {
+ }, [e]), l = (0, D.useCallback)((e) => {
let n = i.current;
if (!n) return;
let a = s(e.clientX - n.originX), { type: o, originRange: c } = n;
@@ -58312,12 +61238,12 @@ function Kye({ range: e, totalPoints: t, containerRef: n, commit: r }) {
s,
t,
r
- ]), u = (0, E.useCallback)((e) => {
+ ]), u = (0, D.useCallback)((e) => {
e.target.releasePointerCapture(e.pointerId), i.current = null, o(!1);
}, []);
return {
isDragging: a,
- bind: (0, E.useCallback)((e) => ({
+ bind: (0, D.useCallback)((e) => ({
onPointerDown: (t) => c(t, e),
onPointerMove: l,
onPointerUp: u
@@ -58328,12 +61254,12 @@ function Kye({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function qye({ 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 = E.useRef(null), S = E.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = E.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [O, k] = E.useState(() => ({
+function zwe({ 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 = D.useRef(null), S = D.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = D.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, k] = D.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
- })), A = E.useRef(O);
- (0, E.useEffect)(() => {
+ })), A = D.useRef(E);
+ (0, D.useEffect)(() => {
T || k((e) => {
let t = {
startIndex: Math.min(e.startIndex, Math.max(0, C - 1)),
@@ -58342,7 +61268,7 @@ function qye({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return A.current = t, t;
});
}, [C, T]);
- let j = (0, E.useCallback)((e, t) => {
+ let j = (0, D.useCallback)((e, t) => {
let { startIndex: n, endIndex: r } = e, i = Math.max(0, C - 1);
if (n = Math.max(0, Math.min(n, i)), r = Math.max(0, Math.min(r, i)), t === "left") {
let e = Math.max(0, r - v);
@@ -58362,18 +61288,18 @@ function qye({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: M, bind: N } = Kye({
- range: O,
+ }, [C, v]), { isDragging: M, bind: N } = Rwe({
+ range: E,
totalPoints: C,
containerRef: x,
- commit: (0, E.useCallback)((e, t) => {
+ commit: (0, D.useCallback)((e, t) => {
let n = j(e, t), r = A.current;
- (r.startIndex !== n.startIndex || r.endIndex !== n.endIndex) && (A.current = n, k(n), E.startTransition(() => {
+ (r.startIndex !== n.startIndex || r.endIndex !== n.endIndex) && (A.current = n, k(n), D.startTransition(() => {
h?.(n);
}));
}, [j, h])
- }), P = O;
- (0, E.useEffect)(() => {
+ }), P = E;
+ (0, D.useEffect)(() => {
if (T && !M) {
let e = {
startIndex: d,
@@ -58387,17 +61313,17 @@ function qye({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
M
]);
- let F = C > 1 ? P.startIndex / (C - 1) * 100 : 0, I = C > 1 ? P.endIndex / (C - 1) * 100 : 100, ee = ef(F), te = ef(I);
+ let F = C > 1 ? P.startIndex / (C - 1) * 100 : 0, I = C > 1 ? P.endIndex / (C - 1) * 100 : 100, ee = af(F), te = af(I);
ee.get() !== F && ee.set(F), te.get() !== I && te.set(I);
- let L = cf(ee, w7), ne = cf(te, w7), re = rf(L, (e) => `${e}%`), ie = rf(ne, (e) => `${e}%`), ae = rf(L, (e) => `${e}%`), oe = rf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = ef(`${Math.max(0, I - F)}%`), ce = (0, E.useCallback)(() => {
- se.set(`${Math.max(0, ne.get() - L.get())}%`);
+ let ne = ff(ee, h7), L = ff(te, h7), re = cf(ne, (e) => `${e}%`), ie = cf(L, (e) => `${e}%`), ae = cf(ne, (e) => `${e}%`), oe = cf(L, (e) => `${Math.max(0, 100 - e)}%`), se = af(`${Math.max(0, I - F)}%`), ce = (0, D.useCallback)(() => {
+ se.set(`${Math.max(0, L.get() - ne.get())}%`);
}, [
- L,
ne,
+ L,
se
]);
- $d(L, "change", ce), $d(ne, "change", ce);
- let le = (0, E.useCallback)((t) => {
+ rf(ne, "change", ce), rf(L, "change", ce);
+ let le = (0, D.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
return g ? g(n, t) : String(n ?? t);
@@ -58406,19 +61332,19 @@ function qye({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
r,
g
]);
- return C === 0 ? null : /* @__PURE__ */ (0, D.jsxs)("div", {
+ return C === 0 ? null : /* @__PURE__ */ (0, O.jsxs)("div", {
ref: x,
"data-chart": b ? void 0 : w,
- className: l7("group relative select-none", o),
+ className: e7("group relative select-none", o),
style: { height: a },
children: [
- !b && /* @__PURE__ */ (0, D.jsx)(g7, {
+ !b && /* @__PURE__ */ (0, O.jsx)(s7, {
id: w,
config: t
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, D.jsx)(Jye, {
+ children: /* @__PURE__ */ (0, O.jsx)(Bwe, {
data: e,
keys: S,
chartConfig: t,
@@ -58431,15 +61357,15 @@ function qye({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, D.jsx)(uf.div, {
+ /* @__PURE__ */ (0, O.jsx)(mf.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: ae }
}),
- /* @__PURE__ */ (0, D.jsx)(uf.div, {
+ /* @__PURE__ */ (0, O.jsx)(mf.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: oe }
}),
- /* @__PURE__ */ (0, D.jsx)(uf.div, {
+ /* @__PURE__ */ (0, O.jsx)(mf.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: re,
@@ -58447,13 +61373,13 @@ function qye({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...N("middle")
}),
- /* @__PURE__ */ (0, D.jsx)(T7, {
+ /* @__PURE__ */ (0, O.jsx)(g7, {
side: "left",
position: re,
label: y ? le(P.startIndex) : void 0,
bind: N("left")
}),
- /* @__PURE__ */ (0, D.jsx)(T7, {
+ /* @__PURE__ */ (0, O.jsx)(g7, {
side: "right",
position: ie,
label: y ? le(P.endIndex) : void 0,
@@ -58462,81 +61388,81 @@ function qye({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function T7({ side: e, position: t, label: n, bind: r }) {
+function g7({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, D.jsxs)(uf.div, {
+ return /* @__PURE__ */ (0, O.jsxs)(mf.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
...r,
- children: /* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
- /* @__PURE__ */ (0, D.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" }),
- /* @__PURE__ */ (0, D.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" }),
- /* @__PURE__ */ (0, D.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" })
+ /* @__PURE__ */ (0, O.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" }),
+ /* @__PURE__ */ (0, O.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" }),
+ /* @__PURE__ */ (0, O.jsx)("div", { className: "bg-background/70 h-[2px] w-[2px] rounded-full" })
]
})
})
- }), n && /* @__PURE__ */ (0, D.jsx)("div", {
- className: l7("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
+ }), n && /* @__PURE__ */ (0, O.jsx)("div", {
+ className: e7("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
children: n
})]
});
}
-function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
- let u = E.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
+function Bwe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+ let u = D.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: v7(t)
- })), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, D.jsxs)("linearGradient", {
+ colorsCount: l7(t)
+ })), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
y1: "0",
x2: "0",
y2: "1",
- children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: "white",
stopOpacity: .15
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: "white",
stopOpacity: 0
})]
}), u.map(({ dataKey: e, colorsCount: t }) => {
- let n = t === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ let n = t === 1 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: `var(--color-${e}-0)`
- })] }) : Array.from({ length: t }, (n, r) => /* @__PURE__ */ (0, D.jsx)("stop", {
+ })] }) : Array.from({ length: t }, (n, r) => /* @__PURE__ */ (0, O.jsx)("stop", {
offset: `${r / (t - 1) * 100}%`,
stopColor: `var(--color-${e}-${r}, var(--color-${e}-0))`
}, r));
- return /* @__PURE__ */ (0, D.jsxs)(E.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("linearGradient", {
+ return /* @__PURE__ */ (0, O.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${a}-zm-${e}`,
x1: "0",
y1: "0",
x2: "0",
y2: "1",
children: n
- }), r === "area" && /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("mask", {
+ }), r === "area" && /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("mask", {
id: `${a}-zm-fill-mask-${e}`,
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${a}-zm-vertical-fade)`
})
- }), /* @__PURE__ */ (0, D.jsx)("pattern", {
+ }), /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${a}-zm-fill-${e}`,
patternUnits: "userSpaceOnUse",
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${a}-zm-${e})`,
@@ -58544,10 +61470,10 @@ function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, D.jsx)(IV, {
+ if (r === "line") return /* @__PURE__ */ (0, O.jsx)(oU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsxs)(mye, {
+ children: /* @__PURE__ */ (0, O.jsxs)(awe, {
data: e,
margin: {
top: 4,
@@ -58555,7 +61481,7 @@ function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(_8, {
+ children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(l8, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -58571,10 +61497,10 @@ function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, D.jsx)(IV, {
+ return /* @__PURE__ */ (0, O.jsx)(oU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsxs)($5, {
+ children: /* @__PURE__ */ (0, O.jsxs)(G5, {
data: e,
margin: {
top: 2,
@@ -58584,7 +61510,7 @@ function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(G8, {
+ children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(L8, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -58600,10 +61526,10 @@ function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, D.jsx)(IV, {
+ return /* @__PURE__ */ (0, O.jsx)(oU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsxs)(o7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(Swe, {
data: e,
margin: {
top: 4,
@@ -58611,7 +61537,7 @@ function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(M8, {
+ children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(w8, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -58629,19 +61555,19 @@ function Jye({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function Yye({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
- let [r, i] = E.useState({
+function Vwe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+ let [r, i] = D.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
- }), a = E.useDeferredValue(r);
- return (0, E.useEffect)(() => {
+ }), a = D.useDeferredValue(r);
+ return (0, D.useEffect)(() => {
i({
startIndex: 0,
endIndex: Math.max(0, e.length - 1)
});
}, [e.length]), {
range: r,
- visibleData: E.useMemo(() => e.slice(a.startIndex, a.endIndex + 1), [
+ visibleData: D.useMemo(() => e.slice(a.startIndex, a.endIndex + 1), [
e,
a.startIndex,
a.endIndex
@@ -58653,15 +61579,15 @@ function Yye({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var Xye = {
- dots: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+var Hwe = {
+ dots: ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "20",
height: "20",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("circle", {
+ children: /* @__PURE__ */ (0, O.jsx)("circle", {
className: "text-border dark:text-border",
cx: "2",
cy: "2",
@@ -58669,14 +61595,14 @@ var Xye = {
fill: "currentColor"
})
}),
- grid: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ grid: ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "20",
height: "20",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border dark:text-border",
d: "M 20 0 L 0 0 0 20",
fill: "none",
@@ -58684,14 +61610,14 @@ var Xye = {
strokeWidth: "0.5"
})
}),
- plus: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ plus: ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "16",
height: "16",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border dark:text-border",
d: "M 8 4 L 8 12 M 4 8 L 12 8",
fill: "none",
@@ -58700,7 +61626,7 @@ var Xye = {
strokeLinecap: "round"
})
}),
- bubbles: ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ bubbles: ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
@@ -58708,7 +61634,7 @@ var Xye = {
height: "100",
patternUnits: "userSpaceOnUse",
patternTransform: "scale(0.6667)",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border dark:text-border",
d: "M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z",
fill: "currentColor",
@@ -58716,14 +61642,14 @@ var Xye = {
fillRule: "evenodd"
})
}),
- "cross-hatch": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ "cross-hatch": ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "20",
height: "20",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border/60 dark:text-border/50",
d: "M 0 0 L 20 20 M 20 0 L 0 20",
fill: "none",
@@ -58731,7 +61657,7 @@ var Xye = {
strokeWidth: "0.5"
})
}),
- "diagonal-lines": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ "diagonal-lines": ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
@@ -58739,7 +61665,7 @@ var Xye = {
height: "6",
patternUnits: "userSpaceOnUse",
patternTransform: "rotate(45)",
- children: /* @__PURE__ */ (0, D.jsx)("line", {
+ children: /* @__PURE__ */ (0, O.jsx)("line", {
className: "text-border dark:text-border",
x1: "0",
y1: "0",
@@ -58749,14 +61675,14 @@ var Xye = {
strokeWidth: "0.5"
})
}),
- "falling-triangles": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ "falling-triangles": ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "18",
height: "36",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border dark:text-border",
d: "M2 6h12L8 18 2 6zm18 36h12l-6 12-6-12z",
transform: "scale(0.5)",
@@ -58764,14 +61690,14 @@ var Xye = {
fillOpacity: "0.4"
})
}),
- "4-pointed-star": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ "4-pointed-star": ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "16",
height: "16",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("polygon", {
+ children: /* @__PURE__ */ (0, O.jsx)("polygon", {
className: "text-border dark:text-border",
fillRule: "evenodd",
points: "5 3 8 4 5 5 4 8 3 5 0 4 3 3 4 0 5 3",
@@ -58779,14 +61705,14 @@ var Xye = {
fillOpacity: "0.4"
})
}),
- "tiny-checkers": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ "tiny-checkers": ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "8",
height: "8",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border dark:text-border",
fillRule: "evenodd",
d: "M0 0h4v4H0V0zm4 4h4v4H4V4z",
@@ -58794,14 +61720,14 @@ var Xye = {
fillOpacity: "0.2"
})
}),
- "overlapping-circles": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ "overlapping-circles": ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
width: "40",
height: "40",
patternUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border dark:text-border",
fillRule: "evenodd",
d: "M25 25c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5s-5-2.238-5-5 2.238-5 5-5zM5 5c0-2.762 2.238-5 5-5s5 2.238 5 5-2.238 5-5 5c0 2.762-2.238 5-5 5S0 12.762 0 10s2.238-5 5-5zm5 4c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4zm20 20c2.209 0 4-1.791 4-4s-1.791-4-4-4-4 1.791-4 4 1.791 4 4 4z",
@@ -58809,7 +61735,7 @@ var Xye = {
fillOpacity: "0.4"
})
}),
- "wiggle-lines": ({ id: e }) => /* @__PURE__ */ (0, D.jsx)("pattern", {
+ "wiggle-lines": ({ id: e }) => /* @__PURE__ */ (0, O.jsx)("pattern", {
id: e,
x: "0",
y: "0",
@@ -58817,7 +61743,7 @@ var Xye = {
height: "26",
patternUnits: "userSpaceOnUse",
patternTransform: "scale(0.6)",
- children: /* @__PURE__ */ (0, D.jsx)("path", {
+ children: /* @__PURE__ */ (0, O.jsx)("path", {
className: "text-border dark:text-border",
d: "M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z",
fill: "currentColor",
@@ -58825,20 +61751,20 @@ var Xye = {
})
})
};
-function E7({ variant: e }) {
- let t = (0, E.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Xye[e];
- return /* @__PURE__ */ (0, D.jsxs)(u2, {
+function _7({ variant: e }) {
+ let t = (0, D.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = Hwe[e];
+ return /* @__PURE__ */ (0, O.jsxs)(n2, {
zIndex: -1,
- children: [/* @__PURE__ */ (0, D.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, D.jsx)(a, { id: n }),
- /* @__PURE__ */ (0, D.jsx)("filter", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("defs", { children: [
+ /* @__PURE__ */ (0, O.jsx)(a, { id: n }),
+ /* @__PURE__ */ (0, O.jsx)("filter", {
id: i,
- children: /* @__PURE__ */ (0, D.jsx)("feGaussianBlur", { stdDeviation: "25" })
+ children: /* @__PURE__ */ (0, O.jsx)("feGaussianBlur", { stdDeviation: "25" })
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: r,
maskUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
x: "8%",
y: "20%",
width: "85%",
@@ -58847,7 +61773,7 @@ function E7({ variant: e }) {
filter: `url(#${i})`
})
})
- ] }), /* @__PURE__ */ (0, D.jsx)("rect", {
+ ] }), /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${n})`,
@@ -58857,32 +61783,32 @@ function E7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var D7 = 2, Zye = "loading", Qye = 2e3, $ye = "evil-stacked", ebe = .5, tbe = .05, nbe = [
+var v7 = 2, Uwe = "loading", Wwe = 2e3, Gwe = "evil-stacked", Kwe = .5, qwe = .05, Jwe = [
0,
.7,
.5,
1
-], O7 = (0, E.createContext)(null);
-function k7() {
- let e = (0, E.use)(O7);
+], y7 = (0, D.createContext)(null);
+function b7() {
+ let e = (0, D.use)(y7);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function A7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = D7, 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, E.useId)().replace(/:/g, ""), [v] = (0, E.useState)(() => Date.now()), [y, b] = (0, E.useState)(f), [x, S] = (0, E.useState)(!1), { loadingData: C, onShimmerExit: w } = xbe(m, h), { visibleData: T, brushProps: O } = Yye({ data: t }), k = (0, E.useMemo)(() => {
- let e = E.Children.toArray(n), t = e.find((e) => (0, E.isValidElement)(e) && e.type === C7), r = (0, E.isValidElement)(t) ? t.props : {};
+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, D.useId)().replace(/:/g, ""), [v] = (0, D.useState)(() => Date.now()), [y, b] = (0, D.useState)(f), [x, S] = (0, D.useState)(!1), { loadingData: C, onShimmerExit: w } = pTe(m, h), { visibleData: T, brushProps: E } = Vwe({ data: t }), k = (0, D.useMemo)(() => {
+ let e = D.Children.toArray(n), t = e.find((e) => (0, D.isValidElement)(e) && e.type === m7), r = (0, D.isValidElement)(t) ? t.props : {};
return {
slot: {
- present: (0, E.isValidElement)(t),
+ present: (0, D.isValidElement)(t),
height: r.height,
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, E.isValidElement)(e) && e.type === C7))
+ chartChildren: e.filter((e) => !((0, D.isValidElement)(e) && e.type === m7))
};
- }, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? T : t, P = (0, E.useCallback)((e) => {
+ }, [n]), A = k.slot.present, j = a === "stacked" || a === "percent", M = o === "horizontal", N = A && !m ? T : t, P = (0, D.useCallback)((e) => {
b(e), p?.(e);
- }, [p]), F = (0, E.useMemo)(() => ({
+ }, [p]), F = (0, D.useMemo)(() => ({
config: e,
isStacked: j,
isHorizontal: M,
@@ -58907,12 +61833,12 @@ function A7({ config: e, data: t, children: n, className: r, chartProps: i, stac
P,
x
]);
- return /* @__PURE__ */ (0, D.jsx)(O7, {
+ return /* @__PURE__ */ (0, O.jsx)(y7, {
value: F,
- children: /* @__PURE__ */ (0, D.jsxs)(m7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(a7, {
className: r,
config: e,
- footer: A && !m && /* @__PURE__ */ (0, D.jsx)(qye, {
+ footer: A && !m && /* @__PURE__ */ (0, O.jsx)(zwe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -58923,12 +61849,12 @@ function A7({ config: e, data: t, children: n, className: r, chartProps: i, stac
stacked: j,
skipStyle: !0,
className: "mt-1",
- ...O,
+ ...E,
onChange: (e) => {
- O.onChange(e), k.slot.onChange?.(e);
+ E.onChange(e), k.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, D.jsx)(h7, { isLoading: m }), /* @__PURE__ */ (0, D.jsxs)($5, {
+ children: [/* @__PURE__ */ (0, O.jsx)(o7, { isLoading: m }), /* @__PURE__ */ (0, O.jsxs)(G5, {
id: _,
accessibilityLayer: !0,
layout: M ? "vertical" : "horizontal",
@@ -58940,10 +61866,10 @@ function A7({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => S(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, D.jsx)(E7, { variant: d }),
- /* @__PURE__ */ (0, D.jsx)(L6, { color: "white" }),
+ d && /* @__PURE__ */ (0, O.jsx)(_7, { variant: d }),
+ /* @__PURE__ */ (0, O.jsx)(k6, { color: "white" }),
k.chartChildren,
- m && /* @__PURE__ */ (0, D.jsx)(Sbe, {
+ m && /* @__PURE__ */ (0, O.jsx)(mTe, {
chartId: _,
onShimmerExit: w
})
@@ -58952,8 +61878,8 @@ function A7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function rbe({ 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 } = k7(), b = (0, E.useId)().replace(/:/g, ""), x = lf();
+function Ywe({ 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, D.useId)().replace(/:/g, ""), x = pf();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -58973,65 +61899,65 @@ function rbe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(C ? null : e);
}
};
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(G8, {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(L8, {
dataKey: e,
- stackId: u ? $ye : void 0,
+ stackId: u ? Gwe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, D.jsx)(j7, {
+ shape: (e) => /* @__PURE__ */ (0, O.jsx)(S7, {
...e,
...T,
animationType: w
}),
- activeBar: (e) => /* @__PURE__ */ (0, D.jsx)(j7, {
+ activeBar: (e) => /* @__PURE__ */ (0, O.jsx)(S7, {
...e,
...T,
animationType: "none"
}),
...c
- }), /* @__PURE__ */ (0, D.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, D.jsx)(fbe, {
+ }), /* @__PURE__ */ (0, O.jsxs)("defs", { children: [
+ /* @__PURE__ */ (0, O.jsx)(iTe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, D.jsx)(pbe, {
+ t === "hatched" && /* @__PURE__ */ (0, O.jsx)(aTe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, D.jsx)(hbe, {
+ t === "duotone" && /* @__PURE__ */ (0, O.jsx)(sTe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, D.jsx)(gbe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, O.jsx)(cTe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, D.jsx)(_be, {
+ t === "gradient" && /* @__PURE__ */ (0, O.jsx)(lTe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, D.jsx)(vbe, {
+ t === "stripped" && /* @__PURE__ */ (0, O.jsx)(uTe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, D.jsx)(mbe, {
+ s && /* @__PURE__ */ (0, O.jsx)(oTe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, D.jsx)(ybe, {
+ o && /* @__PURE__ */ (0, O.jsx)(dTe, {
id: b,
dataKey: e
})
] })] });
}
-function ibe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = k7();
- return o ? null : /* @__PURE__ */ (0, D.jsx)($8, {
+function Xwe({ 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, O.jsx)(G8, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -59040,9 +61966,9 @@ function ibe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function abe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = k7();
- return s ? null : /* @__PURE__ */ (0, D.jsx)(i5, {
+function Zwe({ 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, O.jsx)(X8, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -59052,33 +61978,33 @@ function abe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function obe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = k7();
- return /* @__PURE__ */ (0, D.jsx)(e8, {
+function Qwe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+ let { isHorizontal: i } = b7();
+ return /* @__PURE__ */ (0, O.jsx)(K6, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function sbe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = k7();
- return r ? null : /* @__PURE__ */ (0, D.jsx)(b7, {
+function $we({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = b7();
+ return r ? null : /* @__PURE__ */ (0, O.jsx)(d7, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, D.jsx)(y7, {
+ content: /* @__PURE__ */ (0, O.jsx)(u7, {
selected: i,
roundness: t,
variant: e
})
});
}
-function cbe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = k7();
- return /* @__PURE__ */ (0, D.jsx)(S7, {
+function eTe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+ let { selectedDataKey: i, selectDataKey: a } = b7();
+ return /* @__PURE__ */ (0, O.jsx)(p7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, D.jsx)(x7, {
+ content: /* @__PURE__ */ (0, O.jsx)(f7, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -59086,8 +62012,8 @@ function cbe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var j7 = (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 = lbe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : ube(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, O = dbe({
+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 = tTe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : nTe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = rTe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -59099,18 +62025,18 @@ var j7 = (e) => {
c,
0,
0
- ] : c, j = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(dG, {
+ ] : c, j = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(gq, {
x: t,
y: n,
width: r,
- opacity: O,
+ opacity: D,
height: Math.max(0, i - 3),
radius: A,
fill: T,
filter: E,
stroke: S ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: S ? 1 : void 0
- }), C && /* @__PURE__ */ (0, D.jsx)(dG, {
+ }), C && /* @__PURE__ */ (0, O.jsx)(gq, {
x: t,
y: n - 4,
width: r,
@@ -59118,13 +62044,13 @@ var j7 = (e) => {
radius: 1,
fill: `url(#${a}-colors-${o})`
})] });
- return /* @__PURE__ */ (0, D.jsxs)("g", {
+ return /* @__PURE__ */ (0, O.jsxs)("g", {
style: k,
onClick: b,
- children: [/* @__PURE__ */ (0, D.jsx)(dG, {
+ children: [/* @__PURE__ */ (0, O.jsx)(gq, {
...e,
fill: "transparent"
- }), w ? /* @__PURE__ */ (0, D.jsx)(uf.g, {
+ }), w ? /* @__PURE__ */ (0, O.jsx)(mf.g, {
initial: w.initial,
animate: w.animate,
transition: w.transition,
@@ -59132,7 +62058,7 @@ var j7 = (e) => {
children: j
}) : j]
});
-}, lbe = (e, t, n, r, i) => {
+}, tTe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -59147,11 +62073,11 @@ var j7 = (e) => {
break;
default: s = t;
}
- let c = s * tbe * 1e3, l = ebe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * qwe * 1e3, l = Kwe * 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: nbe,
+ ease: Jwe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -59165,7 +62091,7 @@ var j7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, ube = (e, t, n) => {
+}, nTe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -59174,33 +62100,33 @@ var j7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, dbe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, rTe = ({ 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;
-}, fbe = ({ id: e, dataKey: t, config: n }) => {
- let r = v7(n[t] ?? {});
- return /* @__PURE__ */ (0, D.jsx)("linearGradient", {
+}, iTe = ({ id: e, dataKey: t, config: n }) => {
+ let r = l7(n[t] ?? {});
+ return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "0",
y2: "1",
- children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: r === 1 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${t}-0)`
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: `var(--color-${t}-0)`
})] }) : Array.from({ length: r }, (e, n) => {
let i = `${n / (r - 1) * 100}%`;
- return /* @__PURE__ */ (0, D.jsx)("stop", {
+ return /* @__PURE__ */ (0, O.jsx)("stop", {
offset: i,
stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`
}, i);
})
});
-}, pbe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("pattern", {
+}, aTe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
y: "0",
@@ -59208,40 +62134,40 @@ var j7 = (e) => {
height: "5",
patternUnits: "userSpaceOnUse",
patternTransform: "rotate(-45)",
- children: [/* @__PURE__ */ (0, D.jsx)("rect", {
+ children: [/* @__PURE__ */ (0, O.jsx)("rect", {
width: "5",
height: "5",
fill: "white",
fillOpacity: .3
- }), /* @__PURE__ */ (0, D.jsx)("rect", {
+ }), /* @__PURE__ */ (0, O.jsx)("rect", {
width: "1.5",
height: "5",
fill: "white",
fillOpacity: 1
})]
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: `${e}-hatched-mask-${t}`,
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-hatched-mask-pattern)`
})
}),
- /* @__PURE__ */ (0, D.jsx)("pattern", {
+ /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${e}-hatched-${t}`,
patternUnits: "userSpaceOnUse",
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-colors-${t})`,
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), mbe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("pattern", {
+] }), oTe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
y: "0",
@@ -59249,83 +62175,83 @@ var j7 = (e) => {
height: "5",
patternUnits: "userSpaceOnUse",
patternTransform: "rotate(-45)",
- children: [/* @__PURE__ */ (0, D.jsx)("rect", {
+ children: [/* @__PURE__ */ (0, O.jsx)("rect", {
width: "5",
height: "5",
fill: "black",
fillOpacity: 0
- }), /* @__PURE__ */ (0, D.jsx)("rect", {
+ }), /* @__PURE__ */ (0, O.jsx)("rect", {
width: "1",
height: "5",
fill: "white",
fillOpacity: 1
})]
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: `${e}-buffer-hatched-mask-${t}`,
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-buffer-hatched-mask-pattern)`
})
}),
- /* @__PURE__ */ (0, D.jsx)("pattern", {
+ /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${e}-buffer-hatched-${t}`,
patternUnits: "userSpaceOnUse",
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-colors-${t})`,
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), hbe = ({ id: e, dataKey: t, config: n }) => {
- let r = v7(n[t] ?? {});
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("linearGradient", {
+] }), sTe = ({ id: e, dataKey: t, config: n }) => {
+ let r = l7(n[t] ?? {});
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
gradientUnits: "objectBoundingBox",
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "50%",
stopColor: "white",
stopOpacity: .4
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "50%",
stopColor: "white",
stopOpacity: 1
})]
}),
- /* @__PURE__ */ (0, D.jsx)("linearGradient", {
+ /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-duotone-colors-${t}`,
gradientUnits: "objectBoundingBox",
x1: "0",
y1: "0",
x2: "0",
y2: "1",
- children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: r === 1 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${t}-0)`
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: `var(--color-${t}-0)`
})] }) : Array.from({ length: r }, (e, n) => {
let i = `${n / (r - 1) * 100}%`;
- return /* @__PURE__ */ (0, D.jsx)("stop", {
+ return /* @__PURE__ */ (0, O.jsx)("stop", {
offset: i,
stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`
}, i);
})
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: `${e}-duotone-mask-${t}`,
maskContentUnits: "objectBoundingBox",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
x: "0",
y: "0",
width: "1",
@@ -59333,13 +62259,13 @@ var j7 = (e) => {
fill: `url(#${e}-duotone-mask-gradient-${t})`
})
}),
- /* @__PURE__ */ (0, D.jsx)("pattern", {
+ /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${e}-duotone-${t}`,
patternUnits: "objectBoundingBox",
patternContentUnits: "objectBoundingBox",
width: "1",
height: "1",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
x: "0",
y: "0",
width: "1",
@@ -59349,51 +62275,51 @@ var j7 = (e) => {
})
})
] });
-}, gbe = ({ id: e, dataKey: t, config: n }) => {
- let r = v7(n[t] ?? {});
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("linearGradient", {
+}, cTe = ({ id: e, dataKey: t, config: n }) => {
+ let r = l7(n[t] ?? {});
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
gradientUnits: "objectBoundingBox",
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "50%",
stopColor: "white",
stopOpacity: 1
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "50%",
stopColor: "white",
stopOpacity: .4
})]
}),
- /* @__PURE__ */ (0, D.jsx)("linearGradient", {
+ /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-duotone-reverse-colors-${t}`,
gradientUnits: "objectBoundingBox",
x1: "0",
y1: "0",
x2: "0",
y2: "1",
- children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: r === 1 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${t}-0)`
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: `var(--color-${t}-0)`
})] }) : Array.from({ length: r }, (e, n) => {
let i = `${n / (r - 1) * 100}%`;
- return /* @__PURE__ */ (0, D.jsx)("stop", {
+ return /* @__PURE__ */ (0, O.jsx)("stop", {
offset: i,
stopColor: `var(--color-${t}-${n}, var(--color-${t}-0))`
}, i);
})
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: `${e}-duotone-reverse-mask-${t}`,
maskContentUnits: "objectBoundingBox",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
x: "0",
y: "0",
width: "1",
@@ -59401,13 +62327,13 @@ var j7 = (e) => {
fill: `url(#${e}-duotone-reverse-mask-gradient-${t})`
})
}),
- /* @__PURE__ */ (0, D.jsx)("pattern", {
+ /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${e}-duotone-reverse-${t}`,
patternUnits: "objectBoundingBox",
patternContentUnits: "objectBoundingBox",
width: "1",
height: "1",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
x: "0",
y: "0",
width: "1",
@@ -59417,143 +62343,143 @@ var j7 = (e) => {
})
})
] });
-}, _be = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("linearGradient", {
+}, lTe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
y1: "0",
x2: "0",
y2: "1",
- children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "20%",
stopColor: "white",
stopOpacity: 1
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "90%",
stopColor: "white",
stopOpacity: 0
})]
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: `${e}-gradient-mask-${t}`,
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-gradient-mask-gradient)`
})
}),
- /* @__PURE__ */ (0, D.jsx)("pattern", {
+ /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${e}-gradient-${t}`,
patternUnits: "userSpaceOnUse",
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-colors-${t})`,
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), vbe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsxs)("linearGradient", {
+] }), uTe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
y1: "0",
x2: "0",
y2: "1",
- children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: "white",
stopOpacity: .2
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: "white",
stopOpacity: .2
})]
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: `${e}-stripped-mask-${t}`,
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-stripped-mask-gradient)`
})
}),
- /* @__PURE__ */ (0, D.jsx)("pattern", {
+ /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${e}-stripped-${t}`,
patternUnits: "userSpaceOnUse",
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-colors-${t})`,
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), ybe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)("filter", {
+] }), dTe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
width: "300%",
height: "300%",
children: [
- /* @__PURE__ */ (0, D.jsx)("feGaussianBlur", {
+ /* @__PURE__ */ (0, O.jsx)("feGaussianBlur", {
in: "SourceGraphic",
stdDeviation: "8",
result: "blur"
}),
- /* @__PURE__ */ (0, D.jsx)("feColorMatrix", {
+ /* @__PURE__ */ (0, O.jsx)("feColorMatrix", {
in: "blur",
type: "matrix",
values: "1 0 0 0 0\n 0 1 0 0 0\n 0 0 1 0 0\n 0 0 0 0.5 0",
result: "glow"
}),
- /* @__PURE__ */ (0, D.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "SourceGraphic" })] })
+ /* @__PURE__ */ (0, O.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, O.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, O.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), bbe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), fTe = (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 xbe(e, t = 12) {
- let [n, r] = (0, E.useState)(!1), i = (0, E.useCallback)(() => {
+function pTe(e, t = 12) {
+ let [n, r] = (0, D.useState)(!1), i = (0, D.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, E.useMemo)(() => zye(t, 20, 80), [t, n]),
+ loadingData: (0, D.useMemo)(() => jwe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var Sbe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(G8, {
- dataKey: Zye,
+var mTe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(L8, {
+ dataKey: Uwe,
fill: "currentColor",
fillOpacity: .15,
- radius: D7,
+ radius: v7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(Cbe, {
+}), /* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)(hTe, {
chartId: e,
onShimmerExit: t
-}) })] }), Cbe = ({ chartId: e, onShimmerExit: t }) => {
- let n = bbe(), r = (0, E.useRef)(-1);
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsx)("linearGradient", {
+}) })] }), hTe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = fTe(), r = (0, D.useRef)(-1);
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: n.map(({ offset: e, opacity: t }) => /* @__PURE__ */ (0, D.jsx)("stop", {
+ children: n.map(({ offset: e, opacity: t }) => /* @__PURE__ */ (0, O.jsx)("stop", {
offset: e,
stopColor: "white",
stopOpacity: t
}, e))
}),
- /* @__PURE__ */ (0, D.jsx)("pattern", {
+ /* @__PURE__ */ (0, O.jsx)("pattern", {
id: `${e}-loading-mask-pattern`,
patternUnits: "objectBoundingBox",
patternContentUnits: "objectBoundingBox",
@@ -59562,7 +62488,7 @@ var Sbe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, D.jsx)(uf.rect, {
+ children: /* @__PURE__ */ (0, O.jsx)(mf.rect, {
y: "0",
width: "1",
height: "1",
@@ -59570,7 +62496,7 @@ var Sbe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: Qye / 1e3,
+ duration: Wwe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -59581,10 +62507,10 @@ var Sbe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fr
}
})
}),
- /* @__PURE__ */ (0, D.jsx)("mask", {
+ /* @__PURE__ */ (0, O.jsx)("mask", {
id: `${e}-loading-mask`,
maskUnits: "userSpaceOnUse",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: "100%",
height: "100%",
fill: `url(#${e}-loading-mask-pattern)`
@@ -59592,87 +62518,87 @@ var Sbe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, D.jsxs)(D.Fr
})
] });
};
-A7.Bar = rbe, A7.XAxis = ibe, A7.YAxis = abe, A7.Grid = obe, A7.Tooltip = sbe, A7.Legend = cbe, A7.Brush = C7;
+x7.Bar = Ywe, x7.XAxis = Xwe, x7.YAxis = Zwe, x7.Grid = Qwe, x7.Tooltip = $we, x7.Legend = eTe, x7.Brush = m7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var M7 = `${vw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function N7({ title: e, figure: t, note: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("header", {
+var C7 = `${_w({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function w7({ title: e, figure: t, note: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
- children: [/* @__PURE__ */ (0, D.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: e
- }), /* @__PURE__ */ (0, D.jsx)("b", {
+ }), /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: t
})]
- }), /* @__PURE__ */ (0, D.jsx)("small", {
+ }), /* @__PURE__ */ (0, O.jsx)("small", {
className: "min-w-0 text-caption-1-regular break-words text-text-secondary",
children: n
})]
});
}
-var P7 = [
+var T7 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], F7 = (e) => ({ light: [e] }), I7 = (e) => `s${e}`;
-function wbe(e) {
- return Object.fromEntries(e.map((e, t) => [I7(t), {
+], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
+function gTe(e) {
+ return Object.fromEntries(e.map((e, t) => [D7(t), {
label: e,
- colors: F7(P7[t % P7.length])
+ colors: E7(T7[t % T7.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var L7 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
-function R7({ swatch: e, name: t, value: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+var O7 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
+function k7({ swatch: e, name: t, value: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex w-full items-center gap-2",
- children: [e, /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [e, /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-1 items-center justify-between gap-4 leading-none",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-muted-foreground",
children: t
- }), /* @__PURE__ */ (0, D.jsx)("span", {
+ }), /* @__PURE__ */ (0, O.jsx)("span", {
className: "font-mono font-medium tabular-nums text-foreground",
children: n.toLocaleString()
})]
})]
});
}
-var z7 = "size-2.5 shrink-0 rounded-xs";
-function Tbe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = p7(), s = (t ?? []).filter((e) => e.type !== "none");
- if (!e || !s.length) return /* @__PURE__ */ (0, D.jsx)("span", { className: "p-4" });
+var A7 = "size-2.5 shrink-0 rounded-xs";
+function _Te({ 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, O.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: L7,
- children: [c ? /* @__PURE__ */ (0, D.jsx)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: O7,
+ children: [c ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "font-medium text-foreground",
children: c
}) : null, s.map((e, t) => {
- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = _7(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, D.jsx)(R7, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = c7(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, O.jsx)(k7, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
- swatch: /* @__PURE__ */ (0, D.jsx)("i", {
- className: z7,
+ swatch: /* @__PURE__ */ (0, O.jsx)("i", {
+ className: A7,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function B7({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, D.jsx)(b7, {
+function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, O.jsx)(d7, {
cursor: !1,
- content: /* @__PURE__ */ (0, D.jsx)(Tbe, {
+ content: /* @__PURE__ */ (0, O.jsx)(_Te, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -59681,66 +62607,66 @@ function B7({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var V7 = [0, (e) => e * 1.2], H7 = (e) => ({
+var M7 = [0, (e) => e * 1.2], N7 = (e) => ({
position: e,
className: "fill-text-secondary",
formatter: (e) => Number(e).toLocaleString()
});
-function U7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
+function P7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
let o = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
})), s = o.reduce((e, t) => e + t.value, 0);
if (!s) return null;
let c = a === "horizontal";
- return /* @__PURE__ */ (0, D.jsxs)("section", {
- className: M7,
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: C7,
"aria-label": e,
- children: [/* @__PURE__ */ (0, D.jsx)(N7, {
+ children: [/* @__PURE__ */ (0, O.jsx)(w7, {
title: e,
figure: s.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, D.jsxs)(A7, {
+ }), /* @__PURE__ */ (0, O.jsxs)(x7, {
data: o,
config: { value: {
label: n,
- colors: F7(i)
+ colors: E7(i)
} },
layout: a,
barRadius: 4,
className: c ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, D.jsx)(A7.Grid, {}),
- c ? /* @__PURE__ */ (0, D.jsx)(A7.YAxis, {
+ /* @__PURE__ */ (0, O.jsx)(x7.Grid, {}),
+ c ? /* @__PURE__ */ (0, O.jsx)(x7.YAxis, {
dataKey: "name",
interval: 0
- }) : /* @__PURE__ */ (0, D.jsx)(A7.XAxis, {
+ }) : /* @__PURE__ */ (0, O.jsx)(x7.XAxis, {
dataKey: "name",
interval: 0
}),
- c ? /* @__PURE__ */ (0, D.jsx)(A7.XAxis, {
+ c ? /* @__PURE__ */ (0, O.jsx)(x7.XAxis, {
hide: !0,
- domain: V7
- }) : /* @__PURE__ */ (0, D.jsx)(A7.YAxis, {
+ domain: M7
+ }) : /* @__PURE__ */ (0, O.jsx)(x7.YAxis, {
hide: !0,
- domain: V7
+ domain: M7
}),
- /* @__PURE__ */ (0, D.jsx)(A7.Bar, {
+ /* @__PURE__ */ (0, O.jsx)(x7.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: H7(c ? "right" : "top")
+ label: N7(c ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, D.jsx)(B7, {})
+ /* @__PURE__ */ (0, O.jsx)(j7, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var W7 = [
+var F7 = [
"周一",
"周二",
"周三",
@@ -59748,8 +62674,8 @@ var W7 = [
"周五",
"周六",
"周日"
-], G7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function Ebe(e) {
+], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
+function vTe(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;
@@ -59759,14 +62685,14 @@ function Ebe(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${W7[t]} ${n}:00`,
+ label: `${F7[t]} ${n}:00`,
count: e,
- share: G7(e, r)
+ share: I7(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function Dbe(e) {
+function yTe(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,
@@ -59784,7 +62710,7 @@ function Dbe(e) {
key: r,
label: r,
count: s,
- share: G7(s, o)
+ share: I7(s, o)
};
});
return {
@@ -59796,7 +62722,7 @@ function Dbe(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var K7 = 14, q7 = 17, J7 = {
+var L7 = 14, R7 = 17, z7 = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -59805,51 +62731,51 @@ var K7 = 14, q7 = 17, J7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, Obe = {
+}, bTe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function kbe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function xTe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${L7} ${Obe[a]}`,
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${bTe[a]}`,
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, D.jsx)(R7, {
+ }), /* @__PURE__ */ (0, O.jsx)(k7, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, D.jsx)("i", { className: `${z7} ${J7[n].dot}` })
+ swatch: /* @__PURE__ */ (0, O.jsx)("i", { className: `${A7} ${z7[n].dot}` })
})]
});
}
-function Y7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, E.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * q7, m = f + a * q7, h = (e) => ({
- x: d + e % i * q7,
- y: f + Math.floor(e / i) * q7
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + K7 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
+function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, D.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * R7, m = f + a * R7, h = (e) => ({
+ x: d + e % i * R7,
+ y: f + Math.floor(e / i) * R7
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + L7 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
start: _.x,
- center: _.x + K7 / 2,
- end: _.x + K7
+ center: _.x + L7 / 2,
+ end: _.x + L7
}[y] : 0;
- return /* @__PURE__ */ (0, D.jsxs)("section", {
- className: M7,
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: C7,
children: [
- /* @__PURE__ */ (0, D.jsx)(N7, {
+ /* @__PURE__ */ (0, O.jsx)(w7, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "relative",
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 overflow-x-auto",
- children: /* @__PURE__ */ (0, D.jsxs)("svg", {
+ children: /* @__PURE__ */ (0, O.jsxs)("svg", {
role: "img",
"aria-label": e,
onPointerLeave: () => u(-1),
@@ -59857,25 +62783,25 @@ function Y7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
className: "block h-auto min-w-80 w-full",
children: [o, n.map((e, n) => {
let { x: r, y: i } = h(n);
- return /* @__PURE__ */ (0, D.jsx)("rect", {
+ return /* @__PURE__ */ (0, O.jsx)("rect", {
tabIndex: 0,
role: "img",
"aria-label": `${e.label},${e.count} ${t.cellUnit}`,
x: r,
y: i,
- width: K7,
- height: K7,
+ width: L7,
+ height: L7,
rx: 3,
fillOpacity: e.share || 1,
opacity: l >= 0 && l !== n ? .4 : 1,
- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${J7[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${z7[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, D.jsx)(kbe, {
+ }), g && _ ? /* @__PURE__ */ (0, O.jsx)(xTe, {
cell: g,
series: t.series,
tone: c,
@@ -59884,31 +62810,31 @@ function Y7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
top: _.y / m * 100
}) : null]
}),
- /* @__PURE__ */ (0, D.jsx)("footer", {
+ /* @__PURE__ */ (0, O.jsx)("footer", {
className: "flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary",
children: s
})
]
});
}
-var Abe = /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [W7.map((e, t) => /* @__PURE__ */ (0, D.jsx)("text", {
+var STe = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, O.jsx)("text", {
x: 0,
- y: 18 + t * q7 + 7,
+ y: 18 + t * R7 + 7,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: e
-}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, D.jsx)("text", {
- x: 30 + t * q7,
+}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, O.jsx)("text", {
+ x: 30 + t * R7,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function X7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = Ebe(e), s = Dbe(e);
- return s.cells.length ? /* @__PURE__ */ (0, D.jsxs)("div", {
+function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = vTe(e), s = yTe(e);
+ return s.cells.length ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, D.jsx)(Y7, {
+ children: [/* @__PURE__ */ (0, O.jsx)(B7, {
title: t,
words: r,
tone: i,
@@ -59916,9 +62842,9 @@ function X7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: Abe,
- footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, D.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, D.jsx)(Y7, {
+ axis: STe,
+ footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, O.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
+ }), /* @__PURE__ */ (0, O.jsx)(B7, {
title: n,
words: r,
tone: i,
@@ -59926,14 +62852,14 @@ function X7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: s.total,
columns: 13,
rows: 7,
- footer: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, D.jsx)("span", { children: s.end })] })
+ footer: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, O.jsx)("span", { children: s.end })] })
})]
- }) : a ? /* @__PURE__ */ (0, D.jsxs)("section", {
- className: M7,
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ }) : a ? /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: C7,
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: t
- }), /* @__PURE__ */ (0, D.jsx)("p", {
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: a
})]
@@ -59941,9 +62867,9 @@ function X7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function Z7({ children: e, className: t = "", previewCount: n = 10 }) {
- let r = (0, E.useId)(), i = (0, E.useRef)(null), [a, o] = (0, E.useState)(!1), [s, c] = (0, E.useState)(!1), l = E.Children.toArray(e), u = l.length > n;
- (0, E.useLayoutEffect)(() => {
+function H7({ children: e, className: t = "", previewCount: n = 10 }) {
+ let r = (0, D.useId)(), i = (0, D.useRef)(null), [a, o] = (0, D.useState)(!1), [s, c] = (0, D.useState)(!1), l = D.Children.toArray(e), u = l.length > n;
+ (0, D.useLayoutEffect)(() => {
let e = i.current;
if (!e || !u) return;
let t = () => {
@@ -59958,13 +62884,13 @@ function Z7({ children: e, className: t = "", previewCount: n = 10 }) {
n,
l.length
]);
- let d = l.map((e, t) => !(0, E.isValidElement)(e) || t < n ? e : (0, E.cloneElement)(e, { inert: !a || void 0 }));
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ let d = l.map((e, t) => !(0, D.isValidElement)(e) || t < n ? e : (0, D.cloneElement)(e, { inert: !a || void 0 }));
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
"data-expandable-ranking": !0,
"data-expandable": u || void 0,
"data-expanded": a || void 0,
"data-animating": s || void 0,
- children: [/* @__PURE__ */ (0, D.jsx)("ol", {
+ children: [/* @__PURE__ */ (0, O.jsx)("ol", {
id: r,
ref: i,
"data-expandable-ranking-list": !0,
@@ -59973,7 +62899,7 @@ function Z7({ children: e, className: t = "", previewCount: n = 10 }) {
e.target === i.current && e.propertyName === "max-height" && c(!1);
},
children: d
- }), u ? /* @__PURE__ */ (0, D.jsx)("button", {
+ }), u ? /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
"data-ranking-toggle": !0,
"aria-controls": r,
@@ -59982,32 +62908,32 @@ function Z7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, D.jsx)(hS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, O.jsx)(rS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var jbe = "30%", Mbe = "100%", Q7 = 5, $7 = 14, Nbe = 5, e9 = 1500, t9 = (0, E.createContext)(null);
-function n9() {
- let e = (0, E.use)(t9);
+var CTe = "30%", wTe = "100%", U7 = 5, W7 = 14, TTe = 5, G7 = 1500, K7 = (0, D.createContext)(null);
+function q7() {
+ let e = (0, D.use)(K7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function r9({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = jbe, outerRadius: l = Mbe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, E.useId)().replace(/:/g, ""), [h, g] = (0, E.useState)(u), _ = Bbe(f), v = Lbe(o), y = (0, E.useCallback)((e, t) => {
+function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = CTe, outerRadius: l = wTe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, D.useId)().replace(/:/g, ""), [h, g] = (0, D.useState)(u), _ = MTe(f), v = kTe(o), y = (0, D.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
});
- }, [d]), b = (0, E.useMemo)(() => t.map((e) => ({
+ }, [d]), b = (0, D.useMemo)(() => t.map((e) => ({
...e,
fill: `url(#${m}-radial-colors-${e[n]})`
})), [
t,
n,
m
- ]), x = (0, E.useMemo)(() => ({
+ ]), x = (0, D.useMemo)(() => ({
config: e,
nameKey: n,
chartId: m,
@@ -60022,12 +62948,12 @@ function r9({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, D.jsx)(t9, {
+ return /* @__PURE__ */ (0, O.jsx)(K7, {
value: x,
- children: /* @__PURE__ */ (0, D.jsxs)(m7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(a7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, D.jsx)(h7, { isLoading: f }), /* @__PURE__ */ (0, D.jsxs)(Iye, {
+ children: [/* @__PURE__ */ (0, O.jsx)(o7, { isLoading: f }), /* @__PURE__ */ (0, O.jsxs)(Owe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -60038,16 +62964,16 @@ function r9({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, D.jsx)(a3, {
+ s != null && s > 0 && /* @__PURE__ */ (0, O.jsx)(Z4, {
type: "number",
domain: [0, s],
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, D.jsx)(E7, { variant: p }),
+ p && /* @__PURE__ */ (0, O.jsx)(_7, { variant: p }),
r,
- f && /* @__PURE__ */ (0, D.jsx)(Vbe, {}),
- /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)(Rbe, {
+ f && /* @__PURE__ */ (0, O.jsx)(NTe, {}),
+ /* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)(ATe, {
config: e,
chartId: m
}) })
@@ -60056,9 +62982,9 @@ function r9({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function Pbe({ dataKey: e, cornerRadius: t = Q7, barSize: n = $7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = n9();
- return s ? null : /* @__PURE__ */ (0, D.jsx)(O6, {
+function ETe({ 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, O.jsx)(b6, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -60072,7 +62998,7 @@ function Pbe({ dataKey: e, cornerRadius: t = Q7, barSize: n = $7, showBackground
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, D.jsx)(HG, {
+ return /* @__PURE__ */ (0, O.jsx)(qq, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -60081,12 +63007,12 @@ function Pbe({ dataKey: e, cornerRadius: t = Q7, barSize: n = $7, showBackground
...a
});
}
-function Fbe({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = n9();
- return i ? null : /* @__PURE__ */ (0, D.jsx)(b7, {
+function DTe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { nameKey: r, isLoading: i } = q7();
+ return i ? null : /* @__PURE__ */ (0, O.jsx)(d7, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, D.jsx)(y7, {
+ content: /* @__PURE__ */ (0, O.jsx)(u7, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -60094,12 +63020,12 @@ function Fbe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function Ibe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = n9();
- return a ? null : /* @__PURE__ */ (0, D.jsx)(S7, {
+function OTe({ 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, O.jsx)(p7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, D.jsx)(x7, {
+ content: /* @__PURE__ */ (0, O.jsx)(f7, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -60108,7 +63034,7 @@ function Ibe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function Lbe(e) {
+function kTe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -60124,70 +63050,70 @@ function Lbe(e) {
};
}
}
-var Rbe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = v7(n);
- return /* @__PURE__ */ (0, D.jsx)("linearGradient", {
+var ATe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: Object.entries(e).map(([e, n]) => {
+ let r = l7(n);
+ return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: r === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+ children: r === 1 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`
- }), /* @__PURE__ */ (0, D.jsx)("stop", {
+ }), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: `var(--color-${e}-0)`
})] }) : Array.from({ length: r }, (t, n) => {
let i = `${n / (r - 1) * 100}%`;
- return /* @__PURE__ */ (0, D.jsx)("stop", {
+ return /* @__PURE__ */ (0, O.jsx)("stop", {
offset: i,
stopColor: `var(--color-${e}-${n}, var(--color-${e}-0))`
}, i);
})
}, `${t}-radial-colors-${e}`);
}) });
-function zbe() {
- return Array.from({ length: Nbe }, (e, t) => ({
+function jTe() {
+ return Array.from({ length: TTe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function Bbe(e) {
- let [t, n] = (0, E.useState)(0);
- return (0, E.useEffect)(() => {
+function MTe(e) {
+ let [t, n] = (0, D.useState)(0);
+ return (0, D.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, e9);
+ }, G7);
return () => clearInterval(t);
- }, [e]), (0, E.useMemo)(() => zbe(), [t]);
+ }, [e]), (0, D.useMemo)(() => jTe(), [t]);
}
-var Vbe = () => /* @__PURE__ */ (0, D.jsx)(O6, {
+var NTe = () => /* @__PURE__ */ (0, O.jsx)(b6, {
dataKey: "value",
- cornerRadius: Q7,
- barSize: $7,
+ cornerRadius: U7,
+ barSize: W7,
background: !0,
isAnimationActive: !0,
- animationDuration: e9,
+ animationDuration: G7,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, D.jsx)(HG, {
+ shape: (e) => /* @__PURE__ */ (0, O.jsx)(qq, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-r9.RadialBar = Pbe, r9.Tooltip = Fbe, r9.Legend = Ibe;
+J7.RadialBar = ETe, J7.Tooltip = DTe, J7.Legend = OTe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var Hbe = [
+var PTe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], Ube = [
+], FTe = [
"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",
@@ -60195,48 +63121,48 @@ var Hbe = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function i9({ title: e, rows: t, unit: n = "个视频" }) {
- let [r, i] = (0, E.useState)(-1), [a, o] = (0, E.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);
+function Y7({ title: e, rows: t, unit: n = "个视频" }) {
+ let [r, i] = (0, D.useState)(-1), [a, o] = (0, D.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (!s.length) return null;
let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = s[c], d = (e) => i((t) => t === e ? -1 : e), f = s.map((e, t) => ({
- slice: I7(t),
+ slice: D7(t),
value: e.value
}));
- return /* @__PURE__ */ (0, D.jsxs)("section", {
- className: M7,
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: C7,
children: [
- /* @__PURE__ */ (0, D.jsxs)("header", {
+ /* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
- children: [/* @__PURE__ */ (0, D.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: u ? u.name : e
- }), /* @__PURE__ */ (0, D.jsx)("b", {
+ }), /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: (u ? u.value : l).toLocaleString()
})]
- }), /* @__PURE__ */ (0, D.jsx)("small", {
+ }), /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: n
})]
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
role: "img",
"aria-label": e,
onPointerLeave: () => o(-1),
- children: /* @__PURE__ */ (0, D.jsxs)(r9, {
+ children: /* @__PURE__ */ (0, O.jsxs)(J7, {
data: f,
nameKey: "slice",
- config: wbe(s.map((e) => e.name)),
- max: kF(s.map((e) => e.value)),
+ config: gTe(s.map((e) => e.name)),
+ max: Nse(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, D.jsx)(r9.RadialBar, {
+ children: [/* @__PURE__ */ (0, O.jsx)(J7.RadialBar, {
dataKey: "value",
- barSize: AF(s.length),
+ barSize: Pse(s.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, D.jsx)(HG, {
+ shape: (e) => /* @__PURE__ */ (0, O.jsx)(qq, {
...e,
opacity: c >= 0 && c !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -60244,15 +63170,15 @@ function i9({ title: e, rows: t, unit: n = "个视频" }) {
onClick: (e, t) => d(t),
onMouseEnter: (e, t) => o(t)
}
- }), /* @__PURE__ */ (0, D.jsx)(B7, {
+ }), /* @__PURE__ */ (0, O.jsx)(j7, {
nameKey: "slice",
hideLabel: !0
})]
})
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
className: "inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2",
- children: s.map((e, t) => /* @__PURE__ */ (0, D.jsxs)("button", {
+ children: s.map((e, t) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
"aria-pressed": r === t,
onClick: () => d(t),
@@ -60260,20 +63186,20 @@ function i9({ 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 ${Ube[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 ${FTe[t % 6]}`,
children: [
- /* @__PURE__ */ (0, D.jsxs)("span", {
+ /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsx)("i", {
+ children: [/* @__PURE__ */ (0, O.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${Hbe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${PTe[t % 6]}`
}), e.name]
}),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-title-2-medium tabular-nums text-text-primary",
children: e.value.toLocaleString()
}),
- e.detail ? /* @__PURE__ */ (0, D.jsx)("small", {
+ e.detail ? /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
}) : null
@@ -60285,79 +63211,79 @@ function i9({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var Wbe = 10, a9 = P7[5], Gbe = P7[4], Kbe = `${vw()} flex flex-col gap-4`, qbe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", Jbe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Ybe = "开始播放后,这里会显示最近的真实观看证据。", Xbe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Zbe = "添加媒体文件夹后,这里会显示存储空间。";
-function o9({ term: e, value: t }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+var ITe = 10, X7 = T7[5], LTe = T7[4], RTe = `${_w()} flex flex-col gap-4`, zTe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", BTe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", VTe = "开始播放后,这里会显示最近的真实观看证据。", HTe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", UTe = "添加媒体文件夹后,这里会显示存储空间。";
+function Z7({ term: e, value: t }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e
- }), /* @__PURE__ */ (0, D.jsx)("b", {
+ }), /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
children: t.toLocaleString()
})]
});
}
-function s9({ term: e, value: t, total: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function Q7({ term: e, value: t, total: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
- children: [/* @__PURE__ */ (0, D.jsxs)("p", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("p", {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
- children: [/* @__PURE__ */ (0, D.jsx)("span", { children: e }), /* @__PURE__ */ (0, D.jsxs)("b", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", { children: e }), /* @__PURE__ */ (0, O.jsxs)("b", {
className: "tabular-nums",
- children: [t.toLocaleString(), /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: [t.toLocaleString(), /* @__PURE__ */ (0, O.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [CF(t, n), "%"]
+ children: [SL(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, D.jsx)(Cw, {
+ }), /* @__PURE__ */ (0, O.jsx)(ww, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
})]
});
}
-function c9({ term: e, figure: t, unit: n }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+function $7({ term: e, figure: t, unit: n }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e
}),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: t
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: n
})
]
});
}
-function l9({ headline: e, children: t }) {
- return /* @__PURE__ */ (0, D.jsxs)("div", {
- className: `${Kbe} md:flex-row md:gap-6`,
- children: [e, /* @__PURE__ */ (0, D.jsx)("div", {
+function e9({ headline: e, children: t }) {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: `${RTe} md:flex-row md:gap-6`,
+ children: [e, /* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function Qbe({ data: t, configurable: r, openMediaSettings: i }) {
- return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, D.jsxs)("div", {
+function WTe({ data: t, configurable: r, openMediaSettings: i }) {
+ return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, D.jsx)(i9, {
+ children: [/* @__PURE__ */ (0, O.jsx)(Y7, {
title: "网盘与本地",
rows: t.by_loc.map((t) => ({
name: e[t.k] ?? t.k,
value: t.videos,
detail: n(t.bytes)
}))
- }), /* @__PURE__ */ (0, D.jsx)(i9, {
+ }), /* @__PURE__ */ (0, O.jsx)(Y7, {
title: "媒体库",
rows: t.by_library.map((e) => ({
name: e.name,
@@ -60365,51 +63291,51 @@ function Qbe({ data: t, configurable: r, openMediaSettings: i }) {
detail: n(e.bytes)
}))
})]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, D.jsx)(U7, {
+ /* @__PURE__ */ (0, O.jsx)(P7, {
title: "时长",
unit: "个视频",
series: "视频",
- color: a9,
- rows: FF(t.by_length)
+ color: X7,
+ rows: Rse(t.by_length)
}),
- /* @__PURE__ */ (0, D.jsx)(U7, {
+ /* @__PURE__ */ (0, O.jsx)(P7, {
title: "画质",
unit: "个视频",
series: "视频",
- color: a9,
- rows: PF(t.by_quality)
+ color: X7,
+ rows: OL(t.by_quality)
}),
- /* @__PURE__ */ (0, D.jsx)(U7, {
+ /* @__PURE__ */ (0, O.jsx)(P7, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: a9,
+ color: X7,
layout: "horizontal",
- rows: MF(t.by_medium)
+ rows: Ise(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: kte,
+ icon: Kte,
title: "还没有视频",
- actions: /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [r ? /* @__PURE__ */ (0, D.jsx)(G, {
+ actions: /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [r ? /* @__PURE__ */ (0, O.jsx)(G, {
size: "small",
onClick: i,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, D.jsx)(oA, {
+ }) : null, /* @__PURE__ */ (0, O.jsx)(lA, {
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: qbe
+ children: zTe
});
}
-function $be({ data: e }) {
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(X7, {
+function GTe({ data: e }) {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(V7, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -60419,40 +63345,40 @@ function $be({ data: e }) {
cellUnit: "个作品"
},
tone: 5
- }), /* @__PURE__ */ (0, D.jsx)(U7, {
+ }), /* @__PURE__ */ (0, O.jsx)(P7, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: Gbe,
- rows: LF(e.replays)
+ color: LTe,
+ rows: Bse(e.replays)
})] });
}
-function exe({ attribution: e }) {
+function KTe({ attribution: e }) {
let t = e.videos;
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, D.jsx)(s9, {
+ /* @__PURE__ */ (0, O.jsx)(Q7, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, D.jsx)(s9, {
+ /* @__PURE__ */ (0, O.jsx)(Q7, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, D.jsx)(s9, {
+ /* @__PURE__ */ (0, O.jsx)(Q7, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, D.jsx)(s9, {
+ /* @__PURE__ */ (0, O.jsx)(Q7, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, D.jsx)(s9, {
+ /* @__PURE__ */ (0, O.jsx)(Q7, {
term: "已探测时长",
value: e.duration,
total: t
@@ -60460,38 +63386,38 @@ function exe({ attribution: e }) {
]
});
}
-function txe({ volume: e }) {
+function qTe({ volume: e }) {
let t = e.total, r = e.used ?? 0;
- return /* @__PURE__ */ (0, D.jsxs)("article", {
+ return /* @__PURE__ */ (0, O.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
children: [
- /* @__PURE__ */ (0, D.jsxs)("header", {
+ /* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "min-w-0 break-words",
children: e.label
- }), t == null ? /* @__PURE__ */ (0, D.jsx)("span", {
+ }), t == null ? /* @__PURE__ */ (0, O.jsx)("span", {
className: "whitespace-nowrap text-text-secondary",
children: e.online ? "容量未取得" : "离线"
- }) : /* @__PURE__ */ (0, D.jsxs)("b", {
+ }) : /* @__PURE__ */ (0, O.jsxs)("b", {
className: "whitespace-nowrap tabular-nums",
- children: [n(r), /* @__PURE__ */ (0, D.jsxs)("span", {
+ children: [n(r), /* @__PURE__ */ (0, O.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [CF(r, t), "%"]
+ children: [SL(r, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, D.jsx)(Cw, {
+ t == null ? null : /* @__PURE__ */ (0, O.jsx)(ww, {
label: `${e.label}空间使用率`,
value: r,
max: Math.max(t, 1)
}),
- /* @__PURE__ */ (0, D.jsxs)("p", {
+ /* @__PURE__ */ (0, O.jsxs)("p", {
className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 break-words",
children: e.root ?? "未映射"
- }), t == null ? null : /* @__PURE__ */ (0, D.jsx)("span", {
+ }), t == null ? null : /* @__PURE__ */ (0, O.jsx)("span", {
className: "whitespace-nowrap tabular-nums",
children: `可用 ${n(e.free ?? 0)} · 共 ${n(t)}`
})]
@@ -60499,155 +63425,155 @@ function txe({ volume: e }) {
]
});
}
-function nxe({ volumes: e, configurable: t, openMediaSettings: n }) {
- return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {
+function JTe({ volumes: e, configurable: t, openMediaSettings: n }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, D.jsx)(txe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsx)(qTe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: ES,
+ icon: mS,
title: "还没有存储来源",
- actions: t ? /* @__PURE__ */ (0, D.jsx)(G, {
+ actions: t ? /* @__PURE__ */ (0, O.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: Zbe
+ children: UTe
});
}
-function rxe({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, D.jsx)(Z7, {
- previewCount: Wbe,
+function YTe({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)(H7, {
+ previewCount: ITe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
- children: e.map((e, r) => /* @__PURE__ */ (0, D.jsx)("li", {
+ children: e.map((e, r) => /* @__PURE__ */ (0, O.jsx)("li", {
className: "min-w-0",
- children: /* @__PURE__ */ (0, D.jsxs)("button", {
+ children: /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
onClick: () => n(e.k),
className: "flex min-h-11 w-full min-w-0 cursor-pointer items-center gap-2.5 rounded-lg px-3 py-2 text-left outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "min-w-0 grow text-body-2-regular break-words text-text-primary",
children: t(e.k)
}),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-2-medium tabular-nums text-text-secondary",
children: e.n.toLocaleString()
})
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: OS,
+ icon: gS,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, D.jsx)(oA, {
+ actions: /* @__PURE__ */ (0, O.jsx)(lA, {
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: Jbe
+ children: BTe
});
}
-function ixe({ rows: e }) {
- return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {
+function XTe({ rows: e }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = TF(e);
- return /* @__PURE__ */ (0, D.jsxs)("article", {
+ let t = wL(e);
+ return /* @__PURE__ */ (0, O.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "min-w-0 grow basis-64",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
- children: /* @__PURE__ */ (0, D.jsx)("a", {
- href: OF(e),
+ children: /* @__PURE__ */ (0, O.jsx)("a", {
+ href: DL(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
- }), /* @__PURE__ */ (0, D.jsxs)("p", {
+ }), /* @__PURE__ */ (0, O.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, D.jsx)("span", { children: DF(e) })]
+ children: [/* @__PURE__ */ (0, O.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, O.jsx)("span", { children: EL(e) })]
})]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, D.jsx)(Cw, {
+ children: [/* @__PURE__ */ (0, O.jsx)(ww, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
- }), /* @__PURE__ */ (0, D.jsx)("small", {
+ }), /* @__PURE__ */ (0, O.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${EF(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${TL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: DS,
+ icon: hS,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, D.jsx)(oA, {
+ actions: /* @__PURE__ */ (0, O.jsx)(lA, {
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: Ybe
+ children: VTe
});
}
-function axe({ sources: e, videos: t }) {
- return e.length ? /* @__PURE__ */ (0, D.jsx)("div", {
+function ZTe({ sources: e, videos: t }) {
+ return e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
- children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("article", {
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5",
children: [
- /* @__PURE__ */ (0, D.jsxs)("header", {
+ /* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex items-baseline justify-between gap-3",
- children: [/* @__PURE__ */ (0, D.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, O.jsx)("h3", {
className: "min-w-0 text-body-2-medium break-words text-text-primary",
children: e.k
- }), /* @__PURE__ */ (0, D.jsxs)("b", {
+ }), /* @__PURE__ */ (0, O.jsxs)("b", {
className: "text-body-2-medium whitespace-nowrap text-text-primary",
- children: [e.assets.toLocaleString(), /* @__PURE__ */ (0, D.jsx)("small", {
+ children: [e.assets.toLocaleString(), /* @__PURE__ */ (0, O.jsx)("small", {
className: "ml-1 text-caption-1-regular font-normal text-text-secondary",
children: "个视频"
})]
})]
}),
- /* @__PURE__ */ (0, D.jsx)(Cw, {
+ /* @__PURE__ */ (0, O.jsx)(ww, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
}),
- /* @__PURE__ */ (0, D.jsxs)("small", {
+ /* @__PURE__ */ (0, O.jsxs)("small", {
className: "text-caption-1-regular text-text-secondary",
children: [e.n.toLocaleString(), " 条标签"]
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: OS,
+ icon: gS,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, D.jsx)(oA, {
+ actions: /* @__PURE__ */ (0, O.jsx)(lA, {
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: Xbe
+ children: HTe
});
}
-function u9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, D.jsx)(wO, {
+function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+ return /* @__PURE__ */ (0, O.jsx)(BD, {
id: e,
- className: Gk({
+ className: rA({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, D.jsx)(qk, {
+ children: /* @__PURE__ */ (0, O.jsx)(sA, {
label: t,
icon: i,
accent: a,
@@ -60656,138 +63582,138 @@ function u9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function oxe(e) {
- let t = ft({
- queryKey: bF,
- queryFn: ({ signal: e }) => xF(e)
+function QTe(e) {
+ let t = ht({
+ queryKey: yL,
+ queryFn: ({ signal: e }) => bL(e)
}), r = t.data;
- if (!r) return /* @__PURE__ */ (0, D.jsx)(xw, { children: /* @__PURE__ */ (0, D.jsx)(q, {
+ if (!r) return /* @__PURE__ */ (0, O.jsx)(xw, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取统计失败"
}) });
- let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = CF(r.tag_cov, r.attribution.videos);
- return /* @__PURE__ */ (0, D.jsxs)(xw, { children: [
- /* @__PURE__ */ (0, D.jsx)("p", {
+ let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = SL(r.tag_cov, r.attribution.videos);
+ return /* @__PURE__ */ (0, O.jsxs)(xw, { children: [
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${n(s)}`
}),
- /* @__PURE__ */ (0, D.jsxs)(bO, {
+ /* @__PURE__ */ (0, O.jsxs)(RD, {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, D.jsxs)(SO, {
+ /* @__PURE__ */ (0, O.jsxs)(zD, {
"aria-label": "统计视图",
- className: Kk,
+ className: iA,
children: [
- /* @__PURE__ */ (0, D.jsx)(u9, {
+ /* @__PURE__ */ (0, O.jsx)(t9, {
id: "inventory",
label: "馆藏视频",
- icon: SS,
+ icon: uS,
accent: 0,
figure: o.toLocaleString(),
detail: n(s)
}),
- /* @__PURE__ */ (0, D.jsx)(u9, {
+ /* @__PURE__ */ (0, O.jsx)(t9, {
id: "viewing",
label: "看过",
- icon: TS,
+ icon: pS,
accent: 1,
figure: i.played.toLocaleString(),
- detail: wF(i.play_seconds)
+ detail: CL(i.play_seconds)
}),
- /* @__PURE__ */ (0, D.jsx)(u9, {
+ /* @__PURE__ */ (0, O.jsx)(t9, {
id: "coverage",
label: "内容标签",
- icon: OS,
+ icon: gS,
accent: 2,
figure: `${c}%`,
detail: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`
}),
- /* @__PURE__ */ (0, D.jsx)(u9, {
+ /* @__PURE__ */ (0, O.jsx)(t9, {
id: "storage",
label: "使用空间",
- icon: ES,
+ icon: mS,
accent: 3,
figure: `${a.online} 个卷`,
detail: a.measured ? `已用 ${n(a.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "inventory",
- children: /* @__PURE__ */ (0, D.jsx)(Qbe, {
+ children: /* @__PURE__ */ (0, O.jsx)(WTe, {
data: r,
...e
})
}),
- /* @__PURE__ */ (0, D.jsxs)(TO, {
+ /* @__PURE__ */ (0, O.jsxs)(VD, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, D.jsx)(l9, {
- headline: /* @__PURE__ */ (0, D.jsx)(c9, {
+ children: [/* @__PURE__ */ (0, O.jsx)(e9, {
+ headline: /* @__PURE__ */ (0, O.jsx)($7, {
term: "观看",
figure: i.played.toLocaleString(),
unit: "个作品有播放记录"
}),
- children: /* @__PURE__ */ (0, D.jsxs)("div", {
+ children: /* @__PURE__ */ (0, O.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "馆藏观看",
value: i.library_played
}),
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "在线直接观看",
value: i.online_played
}),
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "高潮计数",
value: i.o_total
}),
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "快进扫过",
value: i.skimmed
}),
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "喜欢",
value: i.liked
}),
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "明确不喜欢",
value: i.dislike
}),
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "看过了",
value: i.seen
}),
- /* @__PURE__ */ (0, D.jsx)(o9, {
+ /* @__PURE__ */ (0, O.jsx)(Z7, {
term: "回收站",
value: i.trash
})
]
})
- }), /* @__PURE__ */ (0, D.jsx)($be, { data: r })]
+ }), /* @__PURE__ */ (0, O.jsx)(GTe, { data: r })]
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "coverage",
- children: /* @__PURE__ */ (0, D.jsx)(l9, {
- headline: /* @__PURE__ */ (0, D.jsx)(c9, {
+ children: /* @__PURE__ */ (0, O.jsx)(e9, {
+ headline: /* @__PURE__ */ (0, O.jsx)($7, {
term: "内容标签覆盖",
figure: `${c}%`,
unit: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, D.jsx)(exe, { attribution: r.attribution })
+ children: /* @__PURE__ */ (0, O.jsx)(KTe, { attribution: r.attribution })
})
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "storage",
- children: /* @__PURE__ */ (0, D.jsx)(l9, {
- headline: /* @__PURE__ */ (0, D.jsx)(c9, {
+ children: /* @__PURE__ */ (0, O.jsx)(e9, {
+ headline: /* @__PURE__ */ (0, O.jsx)($7, {
term: "使用空间",
figure: String(a.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, D.jsx)(nxe, {
+ children: /* @__PURE__ */ (0, O.jsx)(JTe, {
volumes: r.storage_volumes,
...e
})
@@ -60795,50 +63721,50 @@ function oxe(e) {
})
]
}),
- /* @__PURE__ */ (0, D.jsxs)(bO, {
- className: `${vw({ padding: "none" })} flex flex-col`,
+ /* @__PURE__ */ (0, O.jsxs)(RD, {
+ className: `${_w({ padding: "none" })} flex flex-col`,
children: [
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, D.jsxs)(SO, {
+ children: /* @__PURE__ */ (0, O.jsxs)(zD, {
"aria-label": "统计维度",
- className: Uk,
+ className: kM,
children: [
- /* @__PURE__ */ (0, D.jsx)(wO, {
+ /* @__PURE__ */ (0, O.jsx)(BD, {
id: "tags",
- className: Wk,
+ className: AM,
children: "内容标签"
}),
- /* @__PURE__ */ (0, D.jsx)(wO, {
+ /* @__PURE__ */ (0, O.jsx)(BD, {
id: "recent",
- className: Wk,
+ className: AM,
children: "最近看过"
}),
- /* @__PURE__ */ (0, D.jsx)(wO, {
+ /* @__PURE__ */ (0, O.jsx)(BD, {
id: "sources",
- className: Wk,
+ className: AM,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, D.jsx)(rxe, {
+ children: /* @__PURE__ */ (0, O.jsx)(YTe, {
tags: r.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, D.jsx)(ixe, { rows: r.recent })
+ children: /* @__PURE__ */ (0, O.jsx)(XTe, { rows: r.recent })
}),
- /* @__PURE__ */ (0, D.jsx)(TO, {
+ /* @__PURE__ */ (0, O.jsx)(VD, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, D.jsx)(axe, {
+ children: /* @__PURE__ */ (0, O.jsx)(ZTe, {
sources: r.tag_source,
videos: r.attribution.videos
})
@@ -60849,66 +63775,66 @@ function oxe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function sxe(e, t) {
+function $Te(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function d9(e) {
+function n9(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
-function f9(e, t) {
- return m9(e.source, t.source) || e.index - t.index;
+function r9(e, t) {
+ return a9(e.source, t.source) || e.index - t.index;
}
-function p9(e, t) {
- return m9(e.target, t.target) || e.index - t.index;
+function i9(e, t) {
+ return a9(e.target, t.target) || e.index - t.index;
}
-function m9(e, t) {
+function a9(e, t) {
return e.y0 - t.y0;
}
-function h9(e) {
+function o9(e) {
return e.value;
}
-function cxe(e) {
+function eEe(e) {
return e.index;
}
-function lxe(e) {
+function tEe(e) {
return e.nodes;
}
-function uxe(e) {
+function nEe(e) {
return e.links;
}
-function g9(e, t) {
+function s9(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function _9({ nodes: e }) {
+function c9({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function dxe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = cxe, c = sxe, l, u, d = lxe, f = uxe, p = 6;
+function rEe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = eEe, c = $Te, l, u, d = tEe, f = nEe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), _9(e), e;
+ return h(e), g(e), _(e), v(e), x(e), c9(e), e;
}
m.update = function(e) {
- return _9(e), e;
+ return c9(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : d9(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : n9(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : d9(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : n9(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -60916,9 +63842,9 @@ function dxe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : d9(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : n9(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : d9(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : n9(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -60934,12 +63860,12 @@ function dxe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = g9(n, t)), typeof i != "object" && (i = r.target = g9(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = s9(n, t)), typeof i != "object" && (i = r.target = s9(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(Oq(t.sourceLinks, h9), Oq(t.targetLinks, h9)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(NY(t.sourceLinks, o9), NY(t.targetLinks, o9)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -60964,7 +63890,7 @@ function dxe() {
}
}
function y({ nodes: t }) {
- let r = xq(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = EY(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -60973,7 +63899,7 @@ function dxe() {
return o;
}
function b(e) {
- let n = Sq(e, (e) => (r - t - (e.length - 1) * o) / Oq(e, h9));
+ let n = DY(e, (e) => (r - t - (e.length - 1) * o) / NY(e, o9));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -60990,7 +63916,7 @@ function dxe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (xq(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (EY(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -61009,7 +63935,7 @@ function dxe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(m9), w(i, n);
+ l === void 0 && i.sort(a9), w(i, n);
}
}
function C(e, t, n) {
@@ -61025,7 +63951,7 @@ function dxe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(m9), w(i, n);
+ l === void 0 && i.sort(a9), w(i, n);
}
}
function w(e, n) {
@@ -61046,12 +63972,12 @@ function dxe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(p9);
- for (let { target: { targetLinks: t } } of e) t.sort(f9);
+ for (let { source: { sourceLinks: e } } of t) e.sort(i9);
+ for (let { target: { targetLinks: t } } of e) t.sort(r9);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(p9), n.sort(f9);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(i9), n.sort(r9);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -61081,15 +64007,15 @@ function dxe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var v9 = Math.PI, y9 = 2 * v9, b9 = 1e-6, fxe = y9 - b9;
-function x9() {
+var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, iEe = u9 - d9;
+function f9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function S9() {
- return new x9();
+function p9() {
+ return new f9();
}
-x9.prototype = S9.prototype = {
- constructor: x9,
+f9.prototype = p9.prototype = {
+ constructor: f9,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -61110,11 +64036,11 @@ x9.prototype = S9.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > b9) {
- if (!(Math.abs(u * s - c * l) > b9) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > d9) {
+ if (!(Math.abs(u * s - c * l) > d9) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((v9 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > b9 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((l9 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > d9 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -61122,7 +64048,7 @@ x9.prototype = S9.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) > b9 || Math.abs(this._y1 - l) > b9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % y9 + y9), d > fxe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > b9 && (this._ += "A" + n + "," + n + ",0," + +(d >= v9) + "," + 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 > iEe ? 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";
@@ -61133,90 +64059,90 @@ x9.prototype = S9.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function C9(e) {
+function m9(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function pxe(e) {
+function aEe(e) {
return e[0];
}
-function mxe(e) {
+function oEe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var hxe = Array.prototype.slice;
+var sEe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function gxe(e) {
+function cEe(e) {
return e.source;
}
-function _xe(e) {
+function lEe(e) {
return e.target;
}
-function vxe(e) {
- var t = gxe, n = _xe, r = pxe, i = mxe, a = null;
+function uEe(e) {
+ var t = cEe, n = lEe, r = aEe, i = oEe, a = null;
function o() {
- var o, s = hxe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = S9(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = sEe.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) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : C9(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : m9(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : C9(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : m9(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function yxe(e, t, n, r, i) {
+function dEe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function bxe() {
- return vxe(yxe);
+function fEe() {
+ return uEe(dEe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function xxe(e) {
+function pEe(e) {
return [e.source.x1, e.y0];
}
-function Sxe(e) {
+function mEe(e) {
return [e.target.x0, e.y1];
}
-function Cxe() {
- return bxe().source(xxe).target(Sxe);
+function hEe() {
+ return fEe().source(pEe).target(mEe);
}
//#endregion
//#region src/react/taste/taste.ts
-var wxe = "/api/taste", w9 = "/api/taste/refresh", Txe = "/api/taste/import", Exe = "/api/taste/source", T9 = (e) => ["taste", e], Dxe = ["taste", "refresh"], Oxe = [
+var gEe = "/api/taste", h9 = "/api/taste/refresh", _Ee = "/api/taste/import", vEe = "/api/taste/source", g9 = (e) => ["taste", e], yEe = ["taste", "refresh"], bEe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], E9 = (e, t) => gw(`${wxe}?window=${e}`, t), kxe = (e) => gw(w9, e);
-async function Axe(e, t) {
- await Tw.fetchQuery({
- queryKey: T9(e),
- queryFn: () => E9(e, t)
+], _9 = (e, t) => lw(`${gEe}?window=${e}`, t), xEe = (e) => lw(h9, e);
+async function SEe(e, t) {
+ await X.fetchQuery({
+ queryKey: g9(e),
+ queryFn: () => _9(e, t)
});
}
-var jxe = (e) => _w(w9, {
+var CEe = (e) => q(h9, {
window: e,
background: !0
-}), Mxe = (e, t) => _w(Exe, {
+}), wEe = (e, t) => q(vEe, {
operation: "remove",
source_key: e,
window: t
});
-async function Nxe(e) {
- let t = await fetch(Txe, {
+async function TEe(e) {
+ let t = await fetch(_Ee, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -61230,39 +64156,39 @@ async function Nxe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new mw(e || `导入失败(${t.status})`, t.status, n);
+ throw new sw(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var Pxe = 1e4, D9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Fxe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Ixe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function Lxe(e) {
+var EEe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", DEe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, OEe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function kEe(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 Rxe(e) {
- let t = e.map(Ixe), n = Math.max(1, ...t);
+function AEe(e) {
+ let t = e.map(OEe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var O9 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+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 zxe(e) {
- let t = O9(e, 6);
+function jEe(e) {
+ let t = y9(e, 6);
return t.length < 3 ? [] : t;
}
-var k9 = {
+var b9 = {
width: 720,
height: 435
-}, A9 = {
+}, x9 = {
source: 145,
target: 545
};
-function Bxe(e = []) {
+function MEe(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 = dxe().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 = rEe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -61277,7 +64203,7 @@ function Bxe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = Cxe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = hEe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -61307,11 +64233,11 @@ function Bxe(e = []) {
total: a
};
}
-var Vxe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, j9 = E.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
- let c = E.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
+var NEe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = D.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+ let c = D.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, D.jsx)(N9, {
+ case "border": return /* @__PURE__ */ (0, O.jsx)(w9, {
cx: e,
cy: t,
dotId: c,
@@ -61320,7 +64246,7 @@ var Vxe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, j9 = E.memo(functio
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, D.jsx)(P9, {
+ case "colored-border": return /* @__PURE__ */ (0, O.jsx)(T9, {
cx: e,
cy: t,
dotId: c,
@@ -61329,7 +64255,7 @@ var Vxe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, j9 = E.memo(functio
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, D.jsx)(M9, {
+ default: return /* @__PURE__ */ (0, O.jsx)(C9, {
cx: e,
cy: t,
dotId: c,
@@ -61339,17 +64265,17 @@ var Vxe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, j9 = E.memo(functio
maskId: s
});
}
-}), M9 = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {
+}), C9 = D.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, O.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
- children: [/* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)("clipPath", {
+ children: [/* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)("clipPath", {
id: `dot-clip-${n}`,
- children: /* @__PURE__ */ (0, D.jsx)("circle", {
+ children: /* @__PURE__ */ (0, O.jsx)("circle", {
cx: e,
cy: t,
r: 3
})
- }) }), /* @__PURE__ */ (0, D.jsx)("rect", {
+ }) }), /* @__PURE__ */ (0, O.jsx)("rect", {
x: "0",
y: t - 3,
width: "100%",
@@ -61359,26 +64285,26 @@ var Vxe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, j9 = E.memo(functio
clipPath: `url(#dot-clip-${n})`
})]
}));
-M9.displayName = "DefaultDot";
-var N9 = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {
- className: l7(a, "text-background"),
+C9.displayName = "DefaultDot";
+var w9 = D.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, O.jsxs)("g", {
+ className: e7(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
- /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)("clipPath", {
+ /* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)("clipPath", {
id: `dot-clip-${n}`,
- children: /* @__PURE__ */ (0, D.jsx)("circle", {
+ children: /* @__PURE__ */ (0, O.jsx)("circle", {
cx: e,
cy: t,
r: 6
})
}) }),
- /* @__PURE__ */ (0, D.jsx)("circle", {
+ /* @__PURE__ */ (0, O.jsx)("circle", {
cx: e,
cy: t,
r: 6,
fill: "currentColor"
}),
- /* @__PURE__ */ (0, D.jsx)("rect", {
+ /* @__PURE__ */ (0, O.jsx)("rect", {
x: "0",
y: t - (6 - 5 / 2),
width: "100%",
@@ -61387,9 +64313,9 @@ var N9 = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
fillOpacity: r,
clipPath: `url(#dot-clip-inner-${n})`
}),
- /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)("clipPath", {
+ /* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)("clipPath", {
id: `dot-clip-inner-${n}`,
- children: /* @__PURE__ */ (0, D.jsx)("circle", {
+ children: /* @__PURE__ */ (0, O.jsx)("circle", {
cx: e,
cy: t,
r: 6 - 5 / 2
@@ -61397,20 +64323,20 @@ var N9 = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}) })
]
}));
-N9.displayName = "PrimaryBorderDot";
-var P9 = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, D.jsxs)("g", {
- className: l7(a, "text-background"),
+w9.displayName = "PrimaryBorderDot";
+var T9 = D.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, O.jsxs)("g", {
+ className: e7(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
- /* @__PURE__ */ (0, D.jsx)("defs", { children: /* @__PURE__ */ (0, D.jsx)("clipPath", {
+ /* @__PURE__ */ (0, O.jsx)("defs", { children: /* @__PURE__ */ (0, O.jsx)("clipPath", {
id: `dot-clip-${n}`,
- children: /* @__PURE__ */ (0, D.jsx)("circle", {
+ children: /* @__PURE__ */ (0, O.jsx)("circle", {
cx: e,
cy: t,
r: 3.5
})
}) }),
- /* @__PURE__ */ (0, D.jsx)("rect", {
+ /* @__PURE__ */ (0, O.jsx)("rect", {
x: "0",
y: t - 3 - 1 / 2,
width: "100%",
@@ -61419,7 +64345,7 @@ var P9 = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
fillOpacity: r,
clipPath: `url(#dot-clip-${n})`
}),
- /* @__PURE__ */ (0, D.jsx)("circle", {
+ /* @__PURE__ */ (0, O.jsx)("circle", {
cx: e,
cy: t,
r: 3 - 1 / 2,
@@ -61427,19 +64353,19 @@ var P9 = E.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
})
]
}));
-P9.displayName = "ColoredBorderDot";
+T9.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var Hxe = 1, Uxe = .3, Wxe = 6, F9 = 1500, I9 = "value", L9 = (0, E.createContext)(null);
-function R9() {
- let e = (0, E.use)(L9);
+var PEe = 1, FEe = .3, IEe = 6, E9 = 1500, D9 = "value", O9 = (0, D.createContext)(null);
+function k9() {
+ let e = (0, D.use)(O9);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function z9({ 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, E.useId)().replace(/:/g, ""), [d, f] = (0, E.useState)(o), p = rSe(c, l), m = (0, E.useCallback)((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, D.useId)().replace(/:/g, ""), [d, f] = (0, D.useState)(o), p = YEe(c, l), m = (0, D.useCallback)((e) => {
f(e), s?.(e);
- }, [s]), h = (0, E.useMemo)(() => ({
+ }, [s]), h = (0, D.useMemo)(() => ({
config: e,
isLoading: c,
selectedDataKey: d,
@@ -61450,37 +64376,37 @@ function z9({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, D.jsx)(L9, {
+ return /* @__PURE__ */ (0, O.jsx)(O9, {
value: h,
- children: /* @__PURE__ */ (0, D.jsxs)(m7, {
+ children: /* @__PURE__ */ (0, O.jsxs)(a7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, D.jsx)(h7, { isLoading: c }), /* @__PURE__ */ (0, D.jsxs)(kye, {
+ children: [/* @__PURE__ */ (0, O.jsx)(o7, { isLoading: c }), /* @__PURE__ */ (0, O.jsxs)(bwe, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, D.jsx)(E7, { variant: a }),
+ a && /* @__PURE__ */ (0, O.jsx)(_7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, D.jsx)(iSe, {})
+ c && /* @__PURE__ */ (0, O.jsx)(XEe, {})
]
})]
})
});
}
-function Gxe({ dataKey: e, variant: t = "filled", fillOpacity: n = Uxe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = R9(), d = (0, E.useId)().replace(/:/g, "");
+function LEe({ dataKey: e, variant: t = "filled", fillOpacity: n = FEe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = k9(), d = (0, D.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 } = Zxe(a, d, e, p.dot);
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)(Q3, {
+ }, m = t === "filled", { dot: h, activeDot: g } = UEe(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)(W3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: Hxe,
+ strokeWidth: PEe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -61492,31 +64418,31 @@ function Gxe({ dataKey: e, variant: t = "filled", fillOpacity: n = Uxe, isGlowin
i && u(l === e ? null : e);
},
...o
- }), /* @__PURE__ */ (0, D.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, D.jsx)(Qxe, {
+ }), /* @__PURE__ */ (0, O.jsxs)("defs", { children: [
+ /* @__PURE__ */ (0, O.jsx)(WEe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, D.jsx)($xe, {
+ /* @__PURE__ */ (0, O.jsx)(GEe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, D.jsx)(eSe, {
+ m && /* @__PURE__ */ (0, O.jsx)(KEe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, D.jsx)(tSe, {
+ r && /* @__PURE__ */ (0, O.jsx)(qEe, {
id: d,
dataKey: e
})
] })] });
}
-var B9 = () => null, V9 = () => null;
-function Kxe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, D.jsx)(G4, {
+var j9 = () => null, M9 = () => null;
+function REe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, O.jsx)(L4, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -61524,47 +64450,47 @@ function Kxe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function qxe({ tick: e = {
+function zEe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = R9();
- return r ? null : /* @__PURE__ */ (0, D.jsx)(a3, {
+ let { isLoading: r } = k9();
+ return r ? null : /* @__PURE__ */ (0, O.jsx)(Z4, {
tick: e,
tickLine: t,
...n
});
}
-function Jxe({ tick: e = {
+function BEe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = R9();
- return i ? null : /* @__PURE__ */ (0, D.jsx)($4, {
+ let { isLoading: i } = k9();
+ return i ? null : /* @__PURE__ */ (0, O.jsx)(G4, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function Yxe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = R9();
- return r ? null : /* @__PURE__ */ (0, D.jsx)(b7, {
+function VEe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = k9();
+ return r ? null : /* @__PURE__ */ (0, O.jsx)(d7, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, D.jsx)(y7, {
+ content: /* @__PURE__ */ (0, O.jsx)(u7, {
selected: i,
roundness: t,
variant: e
})
});
}
-function Xxe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = R9();
- return i ? null : /* @__PURE__ */ (0, D.jsx)(S7, {
+function HEe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = k9();
+ return i ? null : /* @__PURE__ */ (0, O.jsx)(p7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, D.jsx)(x7, {
+ content: /* @__PURE__ */ (0, O.jsx)(f7, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -61572,22 +64498,22 @@ function Xxe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var Zxe = (e, t, n, r) => {
+var UEe = (e, t, n, r) => {
let i = !1, a = !1;
- return E.Children.forEach(e, (e) => {
- if ((0, E.isValidElement)(e)) {
- if (e.type === B9) {
+ return D.Children.forEach(e, (e) => {
+ if ((0, D.isValidElement)(e)) {
+ if (e.type === j9) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, D.jsx)(j9, {
+ i = /* @__PURE__ */ (0, O.jsx)(S9, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === V9) {
+ if (e.type === M9) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, D.jsx)(j9, {
+ a = /* @__PURE__ */ (0, O.jsx)(S9, {
type: i,
dataKey: n,
chartId: t,
@@ -61599,81 +64525,81 @@ var Zxe = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, H9 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsx)("stop", {
+}, N9 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
-}), /* @__PURE__ */ (0, D.jsx)("stop", {
+}), /* @__PURE__ */ (0, O.jsx)("stop", {
offset: "100%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[n.length - 1]
-})] }) : /* @__PURE__ */ (0, D.jsx)(D.Fragment, { children: Array.from({ length: t }, (r, i) => {
+})] }) : /* @__PURE__ */ (0, O.jsx)(O.Fragment, { children: Array.from({ length: t }, (r, i) => {
let a = `${i / (t - 1) * 100}%`;
- return /* @__PURE__ */ (0, D.jsx)("stop", {
+ return /* @__PURE__ */ (0, O.jsx)("stop", {
offset: a,
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), Qxe = ({ id: e, dataKey: t, config: n }) => {
- let r = v7(n[t] ?? {});
- return /* @__PURE__ */ (0, D.jsx)("linearGradient", {
+}) }), WEe = ({ id: e, dataKey: t, config: n }) => {
+ let r = l7(n[t] ?? {});
+ return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, D.jsx)(H9, {
+ children: /* @__PURE__ */ (0, O.jsx)(N9, {
dataKey: t,
colorsCount: r
})
});
-}, $xe = ({ id: e, dataKey: t, config: n }) => {
- let r = v7(n[t] ?? {});
- return /* @__PURE__ */ (0, D.jsx)("linearGradient", {
+}, GEe = ({ id: e, dataKey: t, config: n }) => {
+ let r = l7(n[t] ?? {});
+ return /* @__PURE__ */ (0, O.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, D.jsx)(H9, {
+ children: /* @__PURE__ */ (0, O.jsx)(N9, {
dataKey: t,
colorsCount: r
})
});
-}, eSe = ({ id: e, dataKey: t, config: n }) => {
- let r = v7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
- return /* @__PURE__ */ (0, D.jsx)("radialGradient", {
+}, KEe = ({ 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, O.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, D.jsx)(H9, {
+ children: /* @__PURE__ */ (0, O.jsx)(N9, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, tSe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, D.jsxs)("filter", {
+}, qEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, O.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
width: "200%",
height: "200%",
children: [
- /* @__PURE__ */ (0, D.jsx)("feGaussianBlur", {
+ /* @__PURE__ */ (0, O.jsx)("feGaussianBlur", {
in: "SourceGraphic",
stdDeviation: "4",
result: "blur"
}),
- /* @__PURE__ */ (0, D.jsx)("feColorMatrix", {
+ /* @__PURE__ */ (0, O.jsx)("feColorMatrix", {
in: "blur",
type: "matrix",
values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.6 0",
result: "glow"
}),
- /* @__PURE__ */ (0, D.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, D.jsx)("feMergeNode", { in: "SourceGraphic" })] })
+ /* @__PURE__ */ (0, O.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, O.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, O.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), nSe = (e) => [
+}), JEe = (e) => [
"A",
"B",
"C",
@@ -61682,20 +64608,20 @@ var Zxe = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [I9]: 30 + Math.random() * 70
+ [D9]: 30 + Math.random() * 70
}));
-function rSe(e, t = Wxe) {
- let [n, r] = (0, E.useState)(0);
- return (0, E.useEffect)(() => {
+function YEe(e, t = IEe) {
+ let [n, r] = (0, D.useState)(0);
+ return (0, D.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, F9);
+ }, E9);
return () => clearInterval(t);
- }, [e]), (0, E.useMemo)(() => nSe(t), [t, n]);
+ }, [e]), (0, D.useMemo)(() => JEe(t), [t, n]);
}
-var iSe = () => /* @__PURE__ */ (0, D.jsx)(Q3, {
- dataKey: I9,
+var XEe = () => /* @__PURE__ */ (0, O.jsx)(W3, {
+ dataKey: D9,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -61703,123 +64629,125 @@ var iSe = () => /* @__PURE__ */ (0, D.jsx)(Q3, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: F9,
+ animationDuration: E9,
animationEasing: "ease-in-out"
});
-z9.Radar = Gxe, z9.Dot = B9, z9.ActiveDot = V9, z9.PolarGrid = Kxe, z9.PolarAngleAxis = qxe, z9.PolarRadiusAxis = Jxe, z9.Tooltip = Yxe, z9.Legend = Xxe;
+A9.Radar = LEe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = REe, A9.PolarAngleAxis = zEe, A9.PolarRadiusAxis = BEe, A9.Tooltip = VEe, A9.Legend = HEe;
//#endregion
//#region src/react/taste/charts.tsx
-var aSe = [
+var ZEe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], oSe = [
+], QEe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], U9 = { value: {
+], P9 = { value: {
label: "标签命中",
- colors: F7(P7[3])
-} }, sSe = [
- "h-24",
- "h-24",
- "h-24",
- "h-32",
- "h-40",
- "h-48",
- "h-52",
- "h-60",
- "h-64"
-], cSe = { radius: U9.value }, lSe = (e, t) => Math.sqrt(e / t);
-function uSe({ rows: e, label: t }) {
- let n = zxe(e);
+ colors: E7(T7[3])
+} }, $Ee = [
+ "min-h-24",
+ "min-h-24",
+ "min-h-24",
+ "min-h-32",
+ "min-h-40",
+ "min-h-48",
+ "min-h-52",
+ "min-h-60",
+ "min-h-64"
+], eDe = 26, tDe = { radius: P9.value }, nDe = (e, t) => Math.sqrt(e / t);
+function rDe({ rows: e, label: t }) {
+ let n = jEe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: lSe(e.value, r)
+ radius: nDe(e.value, r)
}));
- return /* @__PURE__ */ (0, D.jsx)("div", {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, D.jsxs)(z9, {
+ children: /* @__PURE__ */ (0, O.jsxs)(A9, {
data: i,
- config: cSe,
+ config: tDe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, D.jsx)(z9.PolarGrid, {}),
- /* @__PURE__ */ (0, D.jsx)(z9.PolarAngleAxis, { dataKey: "name" }),
- /* @__PURE__ */ (0, D.jsx)(z9.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, O.jsx)(A9.PolarGrid, {}),
+ /* @__PURE__ */ (0, O.jsx)(A9.PolarAngleAxis, { dataKey: "name" }),
+ /* @__PURE__ */ (0, O.jsx)(A9.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, D.jsx)(z9.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, D.jsx)(B7, { valueKey: "value" })
+ /* @__PURE__ */ (0, O.jsx)(A9.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, O.jsx)(j7, { valueKey: "value" })
]
})
});
}
-function dSe({ rows: e, label: t }) {
- let n = O9(e, 8);
- return n.length ? /* @__PURE__ */ (0, D.jsx)("section", {
+function iDe({ rows: e, label: t }) {
+ let n = y9(e, 8);
+ return n.length ? /* @__PURE__ */ (0, O.jsx)("section", {
"aria-label": t,
- children: /* @__PURE__ */ (0, D.jsxs)(A7, {
+ className: `flex grow flex-col ${$Ee[n.length]}`,
+ children: /* @__PURE__ */ (0, O.jsxs)(x7, {
data: n,
- config: U9,
+ config: P9,
layout: "horizontal",
barRadius: 4,
- className: `aspect-auto text-text-secondary ${sSe[n.length]}`,
+ chartProps: { maxBarSize: eDe },
+ className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, D.jsx)(A7.YAxis, {
+ /* @__PURE__ */ (0, O.jsx)(x7.YAxis, {
dataKey: "name",
interval: 0
}),
- /* @__PURE__ */ (0, D.jsx)(A7.XAxis, {
+ /* @__PURE__ */ (0, O.jsx)(x7.XAxis, {
hide: !0,
- domain: V7
+ domain: M7
}),
- /* @__PURE__ */ (0, D.jsx)(A7.Bar, {
+ /* @__PURE__ */ (0, O.jsx)(x7.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: H7("right")
+ label: N7("right")
}
}),
- /* @__PURE__ */ (0, D.jsx)(B7, {})
+ /* @__PURE__ */ (0, O.jsx)(j7, {})
]
})
}) : null;
}
-function fSe({ flows: e }) {
- let [t, n] = (0, E.useState)(null), r = Bxe(e);
+function aDe({ flows: e }) {
+ let [t, n] = (0, D.useState)(null), r = MEe(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, D.jsxs)("section", {
- className: M7,
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: C7,
children: [
- /* @__PURE__ */ (0, D.jsx)(N7, {
+ /* @__PURE__ */ (0, O.jsx)(w7, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
}),
- /* @__PURE__ */ (0, D.jsx)("div", {
+ /* @__PURE__ */ (0, O.jsx)("div", {
className: "min-w-0 overflow-x-auto",
- children: /* @__PURE__ */ (0, D.jsxs)("svg", {
- viewBox: `0 0 ${k9.width} ${k9.height}`,
+ children: /* @__PURE__ */ (0, O.jsxs)("svg", {
+ viewBox: `0 0 ${b9.width} ${b9.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
className: "block h-auto max-h-130 min-w-160 w-full",
onPointerLeave: () => n(null),
- children: [/* @__PURE__ */ (0, D.jsx)("g", { children: r.links.map((e) => /* @__PURE__ */ (0, D.jsx)("path", {
+ children: [/* @__PURE__ */ (0, O.jsx)("g", { children: r.links.map((e) => /* @__PURE__ */ (0, O.jsx)("path", {
d: e.d,
strokeWidth: e.width,
tabIndex: 0,
@@ -61827,7 +64755,7 @@ function fSe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${aSe[e.color]}`,
+ className: `outline-none transition-opacity ${ZEe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -61839,7 +64767,7 @@ function fSe({ flows: e }) {
node: null
}),
onBlur: () => n(null)
- }, e.key)) }), /* @__PURE__ */ (0, D.jsx)("g", { children: r.nodes.map((e) => /* @__PURE__ */ (0, D.jsxs)("g", {
+ }, e.key)) }), /* @__PURE__ */ (0, O.jsx)("g", { children: r.nodes.map((e) => /* @__PURE__ */ (0, O.jsxs)("g", {
tabIndex: 0,
role: "img",
"aria-label": `${e.name}:${e.value} 条线索`,
@@ -61855,21 +64783,21 @@ function fSe({ flows: e }) {
node: e.index
}),
onBlur: () => n(null),
- children: [/* @__PURE__ */ (0, D.jsx)("rect", {
+ children: [/* @__PURE__ */ (0, O.jsx)("rect", {
x: e.x,
y: e.y,
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? oSe[e.color] : "fill-text-secondary"
- }), /* @__PURE__ */ (0, D.jsxs)("text", {
- x: A9[e.side],
+ className: e.side === "source" ? QEe[e.color] : "fill-text-secondary"
+ }), /* @__PURE__ */ (0, O.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: [Vxe(e.name), /* @__PURE__ */ (0, D.jsx)("tspan", {
- x: A9[e.side],
+ children: [NEe(e.name), /* @__PURE__ */ (0, O.jsx)("tspan", {
+ x: x9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -61877,20 +64805,20 @@ function fSe({ flows: e }) {
}, e.id)) })]
})
}),
- /* @__PURE__ */ (0, D.jsxs)("footer", {
+ /* @__PURE__ */ (0, O.jsxs)("footer", {
className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, D.jsx)("span", { children: "创作者 · 线索占比" })]
+ children: [/* @__PURE__ */ (0, O.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, O.jsx)("span", { children: "创作者 · 线索占比" })]
})
]
});
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var pSe = 10, W9 = lw(Qk, $k, "text-body-2-medium"), G9 = `${vw()} flex flex-col gap-4`, K9 = "rounded-xl bg-background-primary-default p-3", mSe = "读取运行 Peach 的这台电脑上的浏览记录", hSe = "导入或读取浏览记录后,这里会列出已采集设备。", gSe = "馆藏里暂时没有对得上浏览信号的标签。", _Se = "采集浏览记录后,这里会显示聚合后的口味证据。", vSe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", ySe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", bSe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", xSe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", SSe = "这个数据源将不再用于口味分析。原始导出文件保留。", q9 = "peach-taste-guide-dismissed";
-function J9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
- return /* @__PURE__ */ (0, D.jsx)("div", {
- className: Gk(),
- children: /* @__PURE__ */ (0, D.jsx)(qk, {
+var oDe = 10, F9 = tw(dA, fA, "text-body-2-medium"), I9 = `${_w()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", sDe = "读取运行 Peach 的这台电脑上的浏览记录", cDe = "导入或读取浏览记录后,这里会列出已采集设备。", lDe = "馆藏里暂时没有对得上浏览信号的标签。", uDe = "采集浏览记录后,这里会显示聚合后的口味证据。", dDe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", fDe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", pDe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", mDe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", hDe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
+function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+ return /* @__PURE__ */ (0, O.jsx)("div", {
+ className: rA(),
+ children: /* @__PURE__ */ (0, O.jsx)(sA, {
label: t,
icon: e,
accent: i,
@@ -61899,10 +64827,10 @@ function J9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function Y9({ name: e, domain: t }) {
- return /* @__PURE__ */ (0, D.jsxs)("span", {
+function B9({ name: e, domain: t }) {
+ return /* @__PURE__ */ (0, O.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
- children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, D.jsx)("img", {
+ children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, O.jsx)("img", {
src: a({ domain: t }),
alt: "",
loading: "lazy",
@@ -61913,76 +64841,76 @@ function Y9({ name: e, domain: t }) {
})]
});
}
-function CSe({ html: e }) {
- return /* @__PURE__ */ (0, D.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 [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",
+function gDe({ html: e }) {
+ return /* @__PURE__ */ (0, O.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 ${LF}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function wSe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, D.jsx)(yw, {
+function _De({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: jS,
+ icon: yS,
title: "暂无足够证据",
children: r
});
- let o = Rxe(e);
- return /* @__PURE__ */ (0, D.jsx)(Z7, {
- previewCount: pSe,
+ let o = AEe(e);
+ return /* @__PURE__ */ (0, O.jsx)(H7, {
+ previewCount: oDe,
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, D.jsxs)(D.Fragment, { children: [
- /* @__PURE__ */ (0, D.jsx)("svg", {
+ let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [
+ /* @__PURE__ */ (0, O.jsx)("svg", {
viewBox: "0 0 100 1",
preserveAspectRatio: "none",
"aria-hidden": !0,
className: "absolute inset-0 -z-10 size-full overflow-hidden rounded-lg opacity-15",
- children: /* @__PURE__ */ (0, D.jsx)("rect", {
+ children: /* @__PURE__ */ (0, O.jsx)("rect", {
width: o[r],
height: 1,
className: "fill-chart-4"
})
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, D.jsx)(Y9, {
+ n === "domain" ? /* @__PURE__ */ (0, O.jsx)(B9, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, D.jsx)(Y9, {
+ n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, O.jsx)(B9, {
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, D.jsx)(CSe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, O.jsx)(gDe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
} : null, e.has_avatar ? e.representative_asset_id ?? null : null, n === "creator" ? "creator" : t || "performer") }) : null,
- /* @__PURE__ */ (0, D.jsxs)("span", {
+ /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, D.jsx)("b", {
+ children: [/* @__PURE__ */ (0, O.jsx)("b", {
className: "min-w-0 text-body-medium break-words text-text-primary",
children: e.name
- }), /* @__PURE__ */ (0, D.jsx)("small", {
+ }), /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: Lxe(e)
+ children: kEe(e)
})]
}),
- s ? /* @__PURE__ */ (0, D.jsx)(_S, {
+ s ? /* @__PURE__ */ (0, O.jsx)(aS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
] }), u = "relative isolate flex min-h-11 w-full min-w-0 items-center gap-2.5 rounded-lg px-3 py-2 text-left";
- return /* @__PURE__ */ (0, D.jsx)("li", {
+ return /* @__PURE__ */ (0, O.jsx)("li", {
className: "min-w-0",
- children: s ? /* @__PURE__ */ (0, D.jsx)("button", {
+ children: s ? /* @__PURE__ */ (0, O.jsx)("button", {
type: "button",
onClick: () => i(t, e.name),
className: `${u} cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: l
- }) : /* @__PURE__ */ (0, D.jsx)("div", {
+ }) : /* @__PURE__ */ (0, O.jsx)("div", {
className: u,
children: l
})
@@ -61990,24 +64918,24 @@ function wSe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
})
});
}
-function X9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, D.jsxs)(bO, {
- className: `${vw({ padding: "none" })} flex flex-col`,
- children: [/* @__PURE__ */ (0, D.jsx)("div", {
+function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
+ return /* @__PURE__ */ (0, O.jsxs)(RD, {
+ className: `${_w({ padding: "none" })} flex flex-col`,
+ children: [/* @__PURE__ */ (0, O.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, D.jsx)(SO, {
+ children: /* @__PURE__ */ (0, O.jsx)(zD, {
"aria-label": e,
- className: Uk,
- children: t.map((e) => /* @__PURE__ */ (0, D.jsx)(wO, {
+ className: kM,
+ children: t.map((e) => /* @__PURE__ */ (0, O.jsx)(BD, {
id: e.id,
- className: Wk,
+ className: AM,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, D.jsx)(TO, {
+ }), t.map((e) => /* @__PURE__ */ (0, O.jsx)(VD, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, D.jsx)(wSe, {
+ children: /* @__PURE__ */ (0, O.jsx)(_De, {
...e.props,
onSignal: n,
avatarInner: r
@@ -62015,7 +64943,7 @@ function X9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function TSe({ data: e, onSignal: t, navigate: n }) {
+function vDe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -62029,102 +64957,102 @@ function TSe({ data: e, onSignal: t, navigate: n }) {
detail: e.detail,
act: () => n(e.route)
}))];
- return /* @__PURE__ */ (0, D.jsxs)("section", {
- className: G9,
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: I9,
"aria-label": "口味总结",
children: [
- /* @__PURE__ */ (0, D.jsxs)("header", {
+ /* @__PURE__ */ (0, O.jsxs)("header", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
+ /* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: "口味总结"
}),
- /* @__PURE__ */ (0, D.jsx)("p", {
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "max-w-prose text-title-2-regular text-text-primary",
children: r.headline
}),
- /* @__PURE__ */ (0, D.jsxs)("p", {
+ /* @__PURE__ */ (0, O.jsxs)("p", {
className: "flex flex-wrap items-center gap-2 text-body-2-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsx)("i", {
+ children: [/* @__PURE__ */ (0, O.jsx)("i", {
"aria-hidden": !0,
className: `size-2 shrink-0 rounded-full ${i.level === "high" ? "bg-status-lime-text" : i.level === "medium" ? "bg-status-yellow-text" : "bg-text-tertiary"}`
}), i.label || "仍在学习"]
})
]
}),
- r.points?.length ? /* @__PURE__ */ (0, D.jsx)("div", {
+ r.points?.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
- children: r.points.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${K9}`,
- children: [/* @__PURE__ */ (0, D.jsx)("span", {
+ children: r.points.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: `flex min-w-0 flex-col gap-1 ${L9}`,
+ children: [/* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
- }), /* @__PURE__ */ (0, D.jsx)("b", {
+ }), /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-2-medium break-words text-text-primary",
children: e.text
})]
}, e.label))
}) : null,
- a.length ? /* @__PURE__ */ (0, D.jsx)("div", {
+ a.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, D.jsxs)("button", {
+ children: a.map((e) => /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${K9} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
- children: [/* @__PURE__ */ (0, D.jsxs)("span", {
+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${L9} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ children: [/* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
- children: [/* @__PURE__ */ (0, D.jsx)("b", {
+ children: [/* @__PURE__ */ (0, O.jsx)("b", {
className: "text-body-2-medium text-text-primary",
children: e.title
- }), /* @__PURE__ */ (0, D.jsx)("small", {
+ }), /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, D.jsx)(_S, {
+ }), /* @__PURE__ */ (0, O.jsx)(aS, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: jS,
+ icon: yS,
title: "还没有可探索的入口",
- children: gSe
+ children: lDe
})
]
});
}
-function ESe({ onboarding: e, done: t }) {
- let [n, r] = (0, E.useState)(() => {
+function yDe({ onboarding: e, done: t }) {
+ let [n, r] = (0, D.useState)(() => {
try {
- return localStorage.getItem(q9) === "1";
+ return localStorage.getItem(R9) === "1";
} catch {
return !1;
}
});
- return t || n ? null : /* @__PURE__ */ (0, D.jsx)("div", {
- className: vw({
+ return t || n ? null : /* @__PURE__ */ (0, O.jsx)("div", {
+ className: _w({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, D.jsxs)(_A, {
+ children: /* @__PURE__ */ (0, O.jsxs)(MA, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
- /* @__PURE__ */ (0, D.jsx)("p", {
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ySe
+ children: fDe
}),
- /* @__PURE__ */ (0, D.jsx)("p", {
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: bSe
+ children: pDe
}),
- /* @__PURE__ */ (0, D.jsxs)("ul", {
+ /* @__PURE__ */ (0, O.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, D.jsxs)("li", { children: [
+ children: [/* @__PURE__ */ (0, O.jsxs)("li", { children: [
"Chrome:在 ",
- /* @__PURE__ */ (0, D.jsx)("a", {
+ /* @__PURE__ */ (0, O.jsx)("a", {
href: "https://takeout.google.com/",
target: "_blank",
rel: "noopener noreferrer",
@@ -62133,9 +65061,9 @@ function ESe({ onboarding: e, done: t }) {
}),
" ",
"选择 Chrome 历史记录,下载 ZIP 后直接导入。"
- ] }), /* @__PURE__ */ (0, D.jsxs)("li", { children: [
+ ] }), /* @__PURE__ */ (0, O.jsxs)("li", { children: [
"其他浏览器:用 ",
- /* @__PURE__ */ (0, D.jsx)("a", {
+ /* @__PURE__ */ (0, O.jsx)("a", {
href: "https://github.com/purarue/browserexport",
target: "_blank",
rel: "noopener noreferrer",
@@ -62146,18 +65074,18 @@ function ESe({ onboarding: e, done: t }) {
"导出历史记录,再导入导出文件。"
] })]
}),
- /* @__PURE__ */ (0, D.jsx)("p", {
+ /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: xSe
+ children: mDe
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, D.jsx)(G, {
+ children: /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
onClick: () => {
try {
- localStorage.setItem(q9, "1");
+ localStorage.setItem(R9, "1");
} catch {}
r(!0);
},
@@ -62168,52 +65096,52 @@ function ESe({ onboarding: e, done: t }) {
})
});
}
-function DSe({ busy: e, onRefresh: t, onImport: n }) {
- let r = (0, E.useRef)(null), [i, a] = (0, E.useState)(!1), o = (e) => {
+function bDe({ busy: e, onRefresh: t, onImport: n }) {
+ let r = (0, D.useRef)(null), [i, a] = (0, D.useState)(!1), o = (e) => {
a(!1), e();
};
- return /* @__PURE__ */ (0, D.jsxs)(D.Fragment, { children: [/* @__PURE__ */ (0, D.jsxs)("span", {
+ return /* @__PURE__ */ (0, O.jsxs)(O.Fragment, { children: [/* @__PURE__ */ (0, O.jsxs)("span", {
"data-button-group": !0,
"data-split-button": !0,
"data-variant": "primary",
- children: [/* @__PURE__ */ (0, D.jsx)(G, {
- leadingIcon: xS,
- title: mSe,
+ children: [/* @__PURE__ */ (0, O.jsx)(G, {
+ leadingIcon: lS,
+ title: sDe,
onClick: t,
- ...J(e),
+ ...Y(e),
children: "读取浏览器历史"
- }), /* @__PURE__ */ (0, D.jsx)(G, {
+ }), /* @__PURE__ */ (0, O.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: hS,
+ leadingIcon: rS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
onClick: () => a(!0)
})]
- }), /* @__PURE__ */ (0, D.jsx)(IE, {
+ }), /* @__PURE__ */ (0, O.jsx)(eD, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: Zk,
- children: /* @__PURE__ */ (0, D.jsxs)(BE, {
+ className: uA,
+ children: /* @__PURE__ */ (0, O.jsxs)(nD, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: [/* @__PURE__ */ (0, D.jsxs)("button", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
- className: W9,
+ className: F9,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, D.jsx)(xS, {
+ children: [/* @__PURE__ */ (0, O.jsx)(lS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
- }), /* @__PURE__ */ (0, D.jsxs)("button", {
+ }), /* @__PURE__ */ (0, O.jsxs)("button", {
type: "button",
- className: W9,
+ className: F9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, D.jsx)(MS, {
+ children: [/* @__PURE__ */ (0, O.jsx)(bS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -62221,61 +65149,61 @@ function DSe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function OSe({ sources: e, window: t, toast: n }) {
- let r = pt({
- mutationFn: (e) => Mxe(e, t),
+function xDe({ sources: e, window: t, toast: n }) {
+ let r = gt({
+ mutationFn: (e) => wEe(e, t),
onSuccess: (e) => {
- Tw.setQueryData(T9(t), e.dashboard), n("已移除口味数据源");
+ X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
}
});
- return /* @__PURE__ */ (0, D.jsxs)("section", {
- className: G9,
+ return /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: I9,
"aria-label": "数据源",
children: [
- /* @__PURE__ */ (0, D.jsx)("h3", {
+ /* @__PURE__ */ (0, O.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: "数据源"
}),
- r.error ? /* @__PURE__ */ (0, D.jsx)(q, {
+ r.error ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: K(r.error)
}) : null,
- e.length ? /* @__PURE__ */ (0, D.jsx)("div", {
+ e.length ? /* @__PURE__ */ (0, O.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
- children: e.map((e) => /* @__PURE__ */ (0, D.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${K9}`,
+ children: e.map((e) => /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: `flex min-w-0 items-center gap-3 ${L9}`,
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, D.jsx)(MS, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, O.jsx)(bS, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, D.jsx)(SS, {
+ }) : /* @__PURE__ */ (0, O.jsx)(uS, {
"aria-hidden": !0,
className: "size-4"
})
}),
- /* @__PURE__ */ (0, D.jsxs)("span", {
+ /* @__PURE__ */ (0, O.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, D.jsx)("b", {
+ children: [/* @__PURE__ */ (0, O.jsx)("b", {
className: "min-w-0 text-body-2-medium break-words text-text-primary",
children: e.profile
- }), /* @__PURE__ */ (0, D.jsx)("small", {
+ }), /* @__PURE__ */ (0, O.jsx)("small", {
className: "min-w-0 text-caption-1-regular break-words text-text-secondary",
children: `${e.browser} · ${e.host} · ${Number(e.visits || 0).toLocaleString()} 条`
})]
}),
- /* @__PURE__ */ (0, D.jsx)(G, {
+ /* @__PURE__ */ (0, O.jsx)(G, {
variant: "secondary",
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: CS,
- ...J(r.isPending),
+ leadingIcon: dS,
+ ...Y(r.isPending),
onClick: () => {
r.isPending || c({
title: "移除口味数据源",
- body: SSe,
+ body: hDe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -62283,32 +65211,32 @@ function OSe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: SS,
+ icon: uS,
title: "还没有数据源",
- children: hSe
+ children: cDe
})
]
});
}
-function kSe(e) {
- let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, E.useState)("all"), [l, u] = (0, E.useState)("browser"), d = (0, E.useRef)(null), f = ft({
- queryKey: T9(s),
- queryFn: ({ signal: e }) => E9(s, e),
+function SDe(e) {
+ let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, D.useState)("all"), [l, u] = (0, D.useState)("browser"), d = (0, D.useRef)(null), f = ht({
+ queryKey: g9(s),
+ queryFn: ({ signal: e }) => _9(s, e),
placeholderData: me
- }), { job: p, running: m, outcome: h, start: g } = tA({
- queryKey: Dxe,
- queryFn: ({ signal: e }) => kxe(e),
- start: () => jxe(s),
- idlePollMs: Pxe,
+ }), { job: p, running: m, outcome: h, start: g } = BA({
+ queryKey: yEe,
+ queryFn: ({ signal: e }) => xEe(e),
+ start: () => CEe(s),
+ idlePollMs: EEe,
onFinish: (e) => {
- e.status !== "failed" && (Tw.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));
+ e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));
}
- }), _ = pt({
- mutationFn: (e) => Nxe(e),
+ }), _ = gt({
+ mutationFn: (e) => TEe(e),
onSuccess: (e) => {
- Tw.setQueryData(T9("all"), e.dashboard), c("all"), i("已导入口味数据");
+ X.setQueryData(g9("all"), e.dashboard), c("all"), i("已导入口味数据");
}
}), v = (e) => {
let t = e.currentTarget.files?.[0];
@@ -62316,52 +65244,52 @@ function kSe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, D.jsx)(xw, { children: /* @__PURE__ */ (0, D.jsx)(q, {
+ if (!b) return /* @__PURE__ */ (0, O.jsx)(xw, { children: /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
title: "读取失败",
children: f.error ? K(f.error) : "读取口味分析失败"
}) });
- let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], O = b.gaps || [], k = S.tagged || 0, A = S.identified || 0, j = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, D.jsxs)(xw, { children: [
- /* @__PURE__ */ (0, D.jsxs)(bO, {
+ let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], k = S.tagged || 0, A = S.identified || 0, j = g.error ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
+ return /* @__PURE__ */ (0, O.jsxs)(xw, { children: [
+ /* @__PURE__ */ (0, O.jsxs)(RD, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, D.jsxs)(SO, {
+ children: [/* @__PURE__ */ (0, O.jsxs)(zD, {
"aria-label": "口味证据来源",
- className: Uk,
- children: [/* @__PURE__ */ (0, D.jsx)(wO, {
+ className: kM,
+ children: [/* @__PURE__ */ (0, O.jsx)(BD, {
id: "browser",
- className: Wk,
+ className: AM,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, D.jsx)(wO, {
+ }), /* @__PURE__ */ (0, O.jsx)(BD, {
id: "peach",
- className: Wk,
+ className: AM,
children: "Peach 内部"
})]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, D.jsx)(Bj, {
+ /* @__PURE__ */ (0, O.jsx)(LA, {
"aria-label": "分析范围",
selectedKey: s,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: Oxe.map(([e, t]) => /* @__PURE__ */ (0, D.jsx)(Vj, {
+ children: bEe.map(([e, t]) => /* @__PURE__ */ (0, O.jsx)(RA, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, D.jsx)(DSe, {
+ /* @__PURE__ */ (0, O.jsx)(bDe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
}),
- /* @__PURE__ */ (0, D.jsx)("input", {
+ /* @__PURE__ */ (0, O.jsx)("input", {
ref: d,
type: "file",
tabIndex: -1,
@@ -62372,101 +65300,101 @@ function kSe(e) {
]
})]
}),
- /* @__PURE__ */ (0, D.jsx)(ESe, {
+ /* @__PURE__ */ (0, O.jsx)(yDe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
- /* @__PURE__ */ (0, D.jsxs)("div", {
+ /* @__PURE__ */ (0, O.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- m ? p?.total ? /* @__PURE__ */ (0, D.jsxs)("div", {
+ m ? p?.total ? /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, D.jsx)(Cw, {
+ children: [/* @__PURE__ */ (0, O.jsx)(ww, {
label: p.message || "正在读取浏览记录",
value: p.checked || 0,
max: p.total
- }), /* @__PURE__ */ (0, D.jsx)("p", {
+ }), /* @__PURE__ */ (0, O.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
})]
- }) : /* @__PURE__ */ (0, D.jsx)(bw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, D.jsx)(bw, { label: "正在导入历史文件" }) : null,
- j ? /* @__PURE__ */ (0, D.jsx)(q, {
+ }) : /* @__PURE__ */ (0, O.jsx)(bw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, O.jsx)(bw, { label: "正在导入历史文件" }) : null,
+ j ? /* @__PURE__ */ (0, O.jsx)(J, {
tone: "error",
children: j
}) : null
]
}),
- /* @__PURE__ */ (0, D.jsxs)(TO, {
+ /* @__PURE__ */ (0, O.jsxs)(VD, {
id: "browser",
className: "flex flex-col gap-5",
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
- className: Kk,
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: iA,
children: [
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 0,
- icon: DS,
+ icon: hS,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
- detail: `${x.history_sources || 0} 个数据源 · ${D9(x.range_start)}—${D9(x.range_end)}`
+ detail: `${x.history_sources || 0} 个数据源 · ${v9(x.range_start)}—${v9(x.range_end)}`
}),
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 1,
- icon: OS,
+ icon: gS,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 2,
- icon: jS,
+ icon: yS,
term: "浏览候选",
- figure: O.length.toLocaleString()
+ figure: E.length.toLocaleString()
}),
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 3,
- icon: SS,
+ icon: uS,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: n(w.bytes || 0)
})
]
}),
- /* @__PURE__ */ (0, D.jsxs)("section", {
- className: `${G9} md:flex-row md:gap-6`,
+ /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: `${I9} md:flex-row md:gap-6`,
"aria-label": "浏览器画像",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, D.jsx)(uSe, {
+ /* @__PURE__ */ (0, O.jsx)(rDe, {
rows: T,
label: "主要口味维度"
}),
- /* @__PURE__ */ (0, D.jsx)("small", {
+ /* @__PURE__ */ (0, O.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: b.updated_at ? `更新于 ${D9(b.updated_at)}` : "尚未采集浏览记录"
+ children: b.updated_at ? `更新于 ${v9(b.updated_at)}` : "尚未采集浏览记录"
})
]
- }), /* @__PURE__ */ (0, D.jsx)("div", {
- className: "min-w-0 grow",
- children: T.length ? /* @__PURE__ */ (0, D.jsx)(dSe, {
+ }), /* @__PURE__ */ (0, O.jsx)("div", {
+ className: "flex min-w-0 grow flex-col",
+ children: T.length ? /* @__PURE__ */ (0, O.jsx)(iDe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, D.jsx)(yw, {
+ }) : /* @__PURE__ */ (0, O.jsx)(yw, {
shell: "plain",
- icon: jS,
+ icon: yS,
title: "暂无口味维度",
- children: _Se
+ children: uDe
})
})]
}),
- /* @__PURE__ */ (0, D.jsx)(X7, {
+ /* @__PURE__ */ (0, O.jsx)(V7, {
activity: b.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -62478,8 +65406,8 @@ function kSe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, D.jsx)(fSe, { flows: b.creator_flows }),
- /* @__PURE__ */ (0, D.jsx)(X9, {
+ /* @__PURE__ */ (0, O.jsx)(aDe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, O.jsx)(V9, {
label: "浏览器口味维度",
onSignal: t,
avatarInner: a,
@@ -62518,83 +65446,83 @@ function kSe(e) {
id: "gaps",
name: "浏览候选",
props: {
- rows: O,
+ rows: E,
kind: "",
visual: "none",
- empty: vSe
+ empty: dDe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, D.jsxs)(TO, {
+ /* @__PURE__ */ (0, O.jsxs)(VD, {
id: "peach",
className: "flex flex-col gap-5",
children: [
- /* @__PURE__ */ (0, D.jsxs)("div", {
- className: Kk,
+ /* @__PURE__ */ (0, O.jsxs)("div", {
+ className: iA,
children: [
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 0,
- icon: TS,
+ icon: pS,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: Fxe(x.peach_seconds || 0)
+ detail: DEe(x.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 1,
- icon: Ote,
+ icon: Gte,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 2,
- icon: Dte,
+ icon: Wte,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, D.jsx)(J9, {
+ /* @__PURE__ */ (0, O.jsx)(z9, {
accent: 3,
- icon: OS,
+ icon: gS,
term: "有标签",
figure: k.toLocaleString()
})
]
}),
- /* @__PURE__ */ (0, D.jsxs)("section", {
- className: `${G9} md:flex-row md:gap-6`,
+ /* @__PURE__ */ (0, O.jsxs)("section", {
+ className: `${I9} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
- children: [/* @__PURE__ */ (0, D.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
children: [
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "Peach 观看"
}),
- /* @__PURE__ */ (0, D.jsx)("b", {
+ /* @__PURE__ */ (0, O.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: Number(x.peach_items || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, D.jsx)("span", {
+ /* @__PURE__ */ (0, O.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "个作品有内部行为证据"
})
]
- }), /* @__PURE__ */ (0, D.jsxs)("div", {
+ }), /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, D.jsx)(Z9, {
+ children: [/* @__PURE__ */ (0, O.jsx)(H9, {
term: "有标签",
value: k,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, D.jsx)(Z9, {
+ }), /* @__PURE__ */ (0, O.jsx)(H9, {
term: "有身份",
value: A,
rest: S.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, D.jsx)(X9, {
+ /* @__PURE__ */ (0, O.jsx)(V9, {
label: "Peach 口味维度",
onSignal: t,
avatarInner: a,
@@ -62635,32 +65563,32 @@ function kSe(e) {
})
]
}),
- /* @__PURE__ */ (0, D.jsx)(TSe, {
+ /* @__PURE__ */ (0, O.jsx)(vDe, {
data: b,
onSignal: t,
navigate: r
}),
- /* @__PURE__ */ (0, D.jsx)(OSe, {
+ /* @__PURE__ */ (0, O.jsx)(xDe, {
sources: b.sources || [],
window: s,
toast: i
})
] });
}
-function Z9({ term: e, value: t, rest: n }) {
+function H9({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
- return /* @__PURE__ */ (0, D.jsxs)("div", {
+ return /* @__PURE__ */ (0, O.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
- children: [/* @__PURE__ */ (0, D.jsxs)("p", {
+ children: [/* @__PURE__ */ (0, O.jsxs)("p", {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
- children: [/* @__PURE__ */ (0, D.jsx)("span", { children: e }), /* @__PURE__ */ (0, D.jsxs)("b", {
+ children: [/* @__PURE__ */ (0, O.jsx)("span", { children: e }), /* @__PURE__ */ (0, O.jsxs)("b", {
className: "tabular-nums",
- children: [t.toLocaleString(), /* @__PURE__ */ (0, D.jsx)("span", {
+ children: [t.toLocaleString(), /* @__PURE__ */ (0, O.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, D.jsx)(Cw, {
+ }), /* @__PURE__ */ (0, O.jsx)(ww, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -62668,82 +65596,756 @@ function Z9({ term: e, value: t, rest: n }) {
});
}
//#endregion
-//#region src/react/entry.tsx
-var Q9 = null;
-function ASe() {
+//#region node_modules/sonner/dist/index.mjs
+function CDe(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 wDe = (e) => {
+ switch (e) {
+ case "success": return DDe;
+ case "info": return kDe;
+ case "warning": return ODe;
+ case "error": return ADe;
+ default: return null;
+ }
+}, TDe = Array(12).fill(0), EDe = ({ visible: e, className: t }) => /*#__PURE__*/ D.createElement("div", {
+ className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
+ "data-visible": e
+}, /*#__PURE__*/ D.createElement("div", { className: "sonner-spinner" }, TDe.map((e, t) => /*#__PURE__*/ D.createElement("div", {
+ className: "sonner-loading-bar",
+ key: `spinner-bar-${t}`
+})))), DDe = /*#__PURE__*/ D.createElement("svg", {
+ xmlns: "http://www.w3.org/2000/svg",
+ viewBox: "0 0 20 20",
+ fill: "currentColor",
+ height: "20",
+ width: "20",
+ "aria-hidden": "true"
+}, /*#__PURE__*/ D.createElement("path", {
+ 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"
+})), ODe = /*#__PURE__*/ D.createElement("svg", {
+ xmlns: "http://www.w3.org/2000/svg",
+ viewBox: "0 0 24 24",
+ fill: "currentColor",
+ height: "20",
+ width: "20",
+ "aria-hidden": "true"
+}, /*#__PURE__*/ D.createElement("path", {
+ 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"
+})), kDe = /*#__PURE__*/ D.createElement("svg", {
+ xmlns: "http://www.w3.org/2000/svg",
+ viewBox: "0 0 20 20",
+ fill: "currentColor",
+ height: "20",
+ width: "20",
+ "aria-hidden": "true"
+}, /*#__PURE__*/ D.createElement("path", {
+ 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"
+})), ADe = /*#__PURE__*/ D.createElement("svg", {
+ xmlns: "http://www.w3.org/2000/svg",
+ viewBox: "0 0 20 20",
+ fill: "currentColor",
+ height: "20",
+ width: "20",
+ "aria-hidden": "true"
+}, /*#__PURE__*/ D.createElement("path", {
+ 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"
+})), jDe = /*#__PURE__*/ D.createElement("svg", {
+ xmlns: "http://www.w3.org/2000/svg",
+ width: "12",
+ height: "12",
+ viewBox: "0 0 24 24",
+ fill: "none",
+ stroke: "currentColor",
+ strokeWidth: "1.5",
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ "aria-hidden": "true"
+}, /*#__PURE__*/ D.createElement("line", {
+ x1: "18",
+ y1: "6",
+ x2: "6",
+ y2: "18"
+}), /*#__PURE__*/ D.createElement("line", {
+ x1: "6",
+ y1: "6",
+ x2: "18",
+ y2: "18"
+})), MDe = () => {
+ let [e, t] = D.useState(document.hidden);
+ return D.useEffect(() => {
+ let e = () => {
+ t(document.hidden);
+ };
+ return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
+ }, []), e;
+}, NDe = 1, PDe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : NDe++, W9 = new class {
+ constructor() {
+ this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
+ let t = this.subscribers.indexOf(e);
+ this.subscribers.splice(t, 1);
+ }), this.publish = (e) => {
+ this.subscribers.forEach((t) => t(e));
+ }, this.addToast = (e) => {
+ this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
+ }, this.trimHistory = () => {
+ let e = this.toasts.length - PDe;
+ 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);
+ i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
+ let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
+ return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
+ ...n,
+ ...e,
+ id: r,
+ title: t
+ }), {
+ ...n,
+ ...e,
+ id: r,
+ dismissible: o,
+ title: t
+ }) : n) : this.addToast({
+ title: t,
+ ...n,
+ dismissible: o,
+ id: r
+ }), r;
+ }, this.dismiss = (e) => {
+ if (e == null) return this.getActiveToasts().forEach((e) => {
+ this.dismissedToasts.add(e.id), this.subscribers.forEach((t) => t({
+ id: e.id,
+ dismiss: !0
+ }));
+ }), e;
+ this.dismissedToasts.add(e);
+ let t = this.pendingDismissals.get(e);
+ return t !== void 0 && cancelAnimationFrame(t), this.pendingDismissals.set(e, requestAnimationFrame(() => {
+ this.pendingDismissals.delete(e), this.subscribers.forEach((t) => t({
+ id: e,
+ dismiss: !0
+ }));
+ })), e;
+ }, this.message = (e, t) => this.create({
+ ...t,
+ message: e,
+ type: void 0
+ }), this.error = (e, t) => this.create({
+ ...t,
+ message: e,
+ type: "error"
+ }), this.success = (e, t) => this.create({
+ ...t,
+ type: "success",
+ message: e
+ }), this.info = (e, t) => this.create({
+ ...t,
+ type: "info",
+ message: e
+ }), this.warning = (e, t) => this.create({
+ ...t,
+ type: "warning",
+ message: e
+ }), this.loading = (e, t) => this.create({
+ ...t,
+ type: "loading",
+ message: e
+ }), this.promise = (e, t) => {
+ if (!t) return;
+ let n;
+ t.loading !== void 0 && (n = this.create({
+ ...t,
+ promise: e,
+ type: "loading",
+ message: t.loading,
+ description: typeof t.description == "function" ? void 0 : t.description
+ }));
+ let r = Promise.resolve(e instanceof Function ? e() : e), i = n !== void 0, a, o = r.then(async (e) => {
+ if (a = ["resolve", e], D.isValidElement(e)) i = !1, this.create({
+ id: n,
+ type: "default",
+ message: e
+ });
+ else if (IDe(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" && !D.isValidElement(r) ? r : { message: r };
+ this.create({
+ id: n,
+ type: "error",
+ description: a,
+ ...o
+ });
+ } else if (e instanceof Error) {
+ i = !1;
+ let r = typeof t.error == "function" ? await t.error(e) : t.error, a = typeof t.description == "function" ? await t.description(e) : t.description, o = typeof r == "object" && !D.isValidElement(r) ? r : { message: r };
+ this.create({
+ id: n,
+ type: "error",
+ description: a,
+ ...o
+ });
+ } else if (t.success !== void 0) {
+ i = !1;
+ let r = typeof t.success == "function" ? await t.success(e) : t.success, a = typeof t.description == "function" ? await t.description(e) : t.description, o = typeof r == "object" && !D.isValidElement(r) ? r : { message: r };
+ this.create({
+ id: n,
+ type: "success",
+ description: a,
+ ...o
+ });
+ }
+ }).catch(async (e) => {
+ if (a = ["reject", e], t.error !== void 0) {
+ i = !1;
+ let r = typeof t.error == "function" ? await t.error(e) : t.error, a = typeof t.description == "function" ? await t.description(e) : t.description, o = typeof r == "object" && !D.isValidElement(r) ? r : { message: r };
+ this.create({
+ id: n,
+ type: "error",
+ description: a,
+ ...o
+ });
+ }
+ }).finally(() => {
+ i && (this.dismiss(n), n = void 0), t.finally == null || t.finally.call(t);
+ }), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
+ return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
+ }, this.custom = (e, t) => {
+ let n = U9(t);
+ return this.create({
+ ...t,
+ jsx: e(n),
+ id: n,
+ type: void 0
+ }), 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();
+ }
+}(), FDe = (e, t) => W9.message(e, t), IDe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(FDe, {
+ success: W9.success,
+ info: W9.info,
+ warning: W9.warning,
+ error: W9.error,
+ custom: W9.custom,
+ message: W9.message,
+ promise: W9.promise,
+ dismiss: W9.dismiss,
+ loading: W9.loading
+}, {
+ getHistory: () => W9.toasts,
+ getToasts: () => W9.getActiveToasts()
+});
+CDe("[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 LDe = 3, RDe = "24px", zDe = "16px", q9 = 4e3, BDe = 356, VDe = 14, HDe = 45, UDe = 200;
+function J9(...e) {
+ return e.filter(Boolean).join(" ");
+}
+function WDe(e) {
+ let [t, n] = e.split("-"), r = [];
+ return t && r.push(t), n && r.push(n), r;
+}
+var GDe = (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, O] = D.useState(null), [k, A] = D.useState(null), [j, M] = D.useState(!1), [N, P] = D.useState(!1), [F, I] = D.useState(!1), [ee, te] = D.useState(!1), [ne, L] = D.useState(!1), [re, ie] = D.useState(0), [ae, oe] = D.useState(0), se = D.useRef(n.duration || y || q9), ce = D.useRef(null), le = D.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = D.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = D.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = D.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = D.useRef(0), ye = D.useRef(0), be = D.useRef(0), xe = D.useRef(null), [Se, Ce] = b.split("-"), we = D.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = MDe(), Ee = D.useMemo(() => e.swipeDirections ?? WDe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+ ye.current = D.useMemo(() => he * x + we, [he, we]), D.useEffect(() => {
+ se.current = _e;
+ }, [_e]), D.useEffect(() => {
+ M(!0);
+ }, []), D.useEffect(() => {
+ let e = le.current;
+ if (e) {
+ let t = e.getBoundingClientRect().height;
+ return oe(t), a((e) => [{
+ toastId: n.id,
+ height: t,
+ position: n.position
+ }, ...e]), () => a((e) => e.filter((e) => e.toastId !== n.id));
+ }
+ }, [a, n.id]), D.useLayoutEffect(() => {
+ if (!j) return;
+ let e = le.current, t = e.style.height;
+ e.style.height = "auto";
+ let r = e.getBoundingClientRect().height;
+ e.style.height = t, oe(r), a((e) => e.find((e) => e.toastId === n.id) ? e.map((e) => e.toastId === n.id ? {
+ ...e,
+ height: r
+ } : e) : [{
+ toastId: n.id,
+ height: r,
+ position: n.position
+ }, ...e]);
+ }, [
+ j,
+ n.title,
+ n.description,
+ a,
+ n.id,
+ n.jsx,
+ n.action,
+ n.cancel
+ ]);
+ let ke = D.useCallback(() => {
+ P(!0), ie(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
+ d(n);
+ }, UDe);
+ }, [
+ n,
+ d,
+ a,
+ ye
+ ]);
+ D.useEffect(() => {
+ if (n.promise && z === "loading" || n.duration === Infinity || n.type === "loading") return;
+ let e;
+ return u || i || Te ? (() => {
+ if (be.current < ve.current) {
+ let e = (/* @__PURE__ */ new Date()).getTime() - ve.current;
+ se.current -= e;
+ }
+ be.current = (/* @__PURE__ */ new Date()).getTime();
+ })() : se.current !== Infinity && (ve.current = (/* @__PURE__ */ new Date()).getTime(), e = setTimeout(() => {
+ n.onAutoClose == null || n.onAutoClose.call(n, n), ke();
+ }, se.current)), () => clearTimeout(e);
+ }, [
+ u,
+ i,
+ n,
+ z,
+ Te,
+ ke
+ ]), D.useEffect(() => {
+ n.delete && (ke(), n.onDismiss == null || n.onDismiss.call(n, n));
+ }, [ke, n.delete]);
+ function Ae() {
+ return w?.loading ? /*#__PURE__*/ D.createElement("div", {
+ className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
+ "data-visible": z === "loading"
+ }, w.loading) : /*#__PURE__*/ D.createElement(EDe, {
+ className: J9(C?.loader, n?.classNames?.loader),
+ visible: z === "loading"
+ });
+ }
+ let je = n.icon || w?.[z] || wDe(z);
+ return /*#__PURE__*/ D.createElement("li", {
+ tabIndex: 0,
+ ref: le,
+ className: J9(_, pe, C?.toast, n?.classNames?.toast, C?.[de], n?.classNames?.[de]),
+ "data-sonner-toast": "",
+ "data-rich-colors": n.richColors ?? f,
+ "data-styled": !(n.jsx || n.unstyled || r),
+ "data-mounted": j,
+ "data-promise": !!n.promise,
+ "data-swiped": ne,
+ "data-removed": N,
+ "data-visible": R,
+ "data-y-position": Se,
+ "data-x-position": Ce,
+ "data-index": c,
+ "data-front": ue,
+ "data-swiping": F,
+ "data-dismissible": fe,
+ "data-type": z,
+ "data-invert": De,
+ "data-swipe-out": ee,
+ "data-swipe-direction": k,
+ "data-expanded": !!(u || S && j),
+ "data-testid": n.testId,
+ style: {
+ "--index": c,
+ "--toasts-before": c,
+ "--z-index": l.length - c,
+ "--offset": `${N ? re : ye.current}px`,
+ "--initial-height": S ? "auto" : `${ae}px`,
+ ...m,
+ ...n.style
+ },
+ onDragEnd: () => {
+ I(!1), O(null), xe.current = null;
+ },
+ onPointerDown: (e) => {
+ e.button !== 2 && (Oe || !fe || (ce.current = /* @__PURE__ */ new Date(), ie(ye.current), e.target.setPointerCapture(e.pointerId), e.target.tagName !== "BUTTON" && (I(!0), xe.current = {
+ x: e.clientX,
+ y: e.clientY
+ })));
+ },
+ onPointerUp: () => {
+ if (ee || !fe) return;
+ xe.current = null;
+ let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = 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) >= HDe || a > .11)) {
+ ie(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), A(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), te(!0);
+ return;
+ }
+ var o, s;
+ (o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), L(!1), I(!1), O(null);
+ },
+ onPointerMove: (e) => {
+ var t, n;
+ if (!xe.current || !fe || window.getSelection()?.toString().length > 0) return;
+ let r = e.clientY - xe.current.y, i = e.clientX - xe.current.x;
+ !E && (Math.abs(i) > 1 || Math.abs(r) > 1) && O(Math.abs(i) > Math.abs(r) ? "x" : "y");
+ let a = {
+ x: 0,
+ y: 0
+ }, o = (e) => 1 / (1.5 + Math.abs(e) / 20);
+ if (E === "y") {
+ if (Ee.includes("top") || Ee.includes("bottom")) {
+ if (Ee.includes("top") && r < 0 || Ee.includes("bottom") && r > 0) a.y = r;
+ else {
+ let e = r * o(r);
+ a.y = Math.abs(e) < Math.abs(r) ? e : r;
+ }
+ }
+ } else if (E === "x" && (Ee.includes("left") || Ee.includes("right"))) {
+ if (Ee.includes("left") && i < 0 || Ee.includes("right") && i > 0) a.x = i;
+ else {
+ let e = i * o(i);
+ a.x = Math.abs(e) < Math.abs(i) ? e : i;
+ }
+ }
+ (Math.abs(a.x) > 0 || Math.abs(a.y) > 0) && L(!0), (t = le.current) == null || t.style.setProperty("--swipe-amount-x", `${a.x}px`), (n = le.current) == null || n.style.setProperty("--swipe-amount-y", `${a.y}px`);
+ }
+ }, ge && !n.jsx && z !== "loading" ? /*#__PURE__*/ D.createElement("button", {
+ "aria-label": T,
+ "data-disabled": Oe,
+ "data-close-button": !0,
+ onClick: Oe || !fe ? () => {} : () => {
+ ke(), n.onDismiss == null || n.onDismiss.call(n, n);
+ },
+ className: J9(C?.closeButton, n?.classNames?.closeButton)
+ }, w?.close ?? jDe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ D.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__*/ D.createElement("div", {
+ "data-content": "",
+ className: J9(C?.content, n?.classNames?.content)
+ }, /*#__PURE__*/ D.createElement("div", {
+ "data-title": "",
+ className: J9(C?.title, n?.classNames?.title)
+ }, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ D.createElement("div", {
+ "data-description": "",
+ className: J9(v, me, C?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ D.isValidElement(n.cancel) ? n.cancel : n.cancel && K9(n.cancel) ? /*#__PURE__*/ D.createElement("button", {
+ "data-button": !0,
+ "data-cancel": !0,
+ style: n.cancelButtonStyle || h,
+ onClick: (e) => {
+ K9(n.cancel) && fe && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), ke());
+ },
+ className: J9(C?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ D.isValidElement(n.action) ? n.action : n.action && K9(n.action) ? /*#__PURE__*/ D.createElement("button", {
+ "data-button": !0,
+ "data-action": !0,
+ style: n.actionButtonStyle || g,
+ onClick: (e) => {
+ K9(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && ke());
+ },
+ className: J9(C?.actionButton, n?.classNames?.actionButton)
+ }, n.action.label) : null);
+};
+function Y9() {
+ if (typeof window > "u" || typeof document > "u") return "ltr";
+ let e = document.documentElement.getAttribute("dir");
+ return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
+}
+function KDe(e, t) {
+ let n = {};
+ return [e, t].forEach((e, t) => {
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? zDe : RDe;
+ function o(e) {
+ [
+ "top",
+ "right",
+ "bottom",
+ "left"
+ ].forEach((t) => {
+ n[`${i}-${t}`] = typeof e == "number" ? `${e}px` : e;
+ });
+ }
+ typeof e == "number" || typeof e == "string" ? o(e) : typeof e == "object" ? [
+ "top",
+ "right",
+ "bottom",
+ "left"
+ ].forEach((t) => {
+ e[t] === void 0 ? n[`${i}-${t}`] = a : n[`${i}-${t}`] = typeof e[t] == "number" ? `${e[t]}px` : e[t];
+ }) : o(a);
+ }), n;
+}
+var qDe = /*#__PURE__*/ D.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 = LDe, toastOptions: g, dir: _ = Y9(), gap: v = VDe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = D.useState([]), w = D.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = D.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, O] = D.useState([]), [k, A] = D.useState(!1), [j, M] = D.useState(!1), [N, P] = D.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = D.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = D.useRef(null), te = D.useRef(!1), ne = D.useCallback((e) => {
+ C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+ }, []);
+ return D.useEffect(() => W9.subscribe((e) => {
+ if (e.dismiss) {
+ requestAnimationFrame(() => {
+ C((t) => t.map((t) => t.id === e.id ? {
+ ...t,
+ delete: !0
+ } : t));
+ });
+ return;
+ }
+ setTimeout(() => {
+ nh.flushSync(() => {
+ C((t) => {
+ let n = t.findIndex((t) => t.id === e.id);
+ return n === -1 ? [e, ...t] : [
+ ...t.slice(0, n),
+ {
+ ...t[n],
+ ...e
+ },
+ ...t.slice(n + 1)
+ ];
+ });
+ });
+ });
+ }), []), D.useEffect(() => {
+ if (d !== "system") {
+ P(d);
+ return;
+ }
+ if (d === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? P("dark") : P("light")), typeof window > "u") return;
+ let e = window.matchMedia("(prefers-color-scheme: dark)");
+ try {
+ e.addEventListener("change", ({ matches: e }) => {
+ P(e ? "dark" : "light");
+ });
+ } catch {
+ e.addListener(({ matches: e }) => {
+ try {
+ P(e ? "dark" : "light");
+ } catch (e) {
+ console.error(e);
+ }
+ });
+ }
+ }, [d]), D.useEffect(() => {
+ S.length <= 1 && A(!1);
+ }, [S]), D.useEffect(() => {
+ let e = (e) => {
+ if (a.length > 0 && a.every((t) => e[t] || e.code === t)) {
+ var t;
+ A(!0), (t = F.current) == null || t.focus();
+ }
+ e.code === "Escape" && (document.activeElement === F.current || F.current?.contains(document.activeElement)) && A(!1);
+ };
+ return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
+ }, [a]), D.useEffect(() => {
+ if (F.current) return () => {
+ ee.current && (ee.current.focus({ preventScroll: !0 }), ee.current = null, te.current = !1);
+ };
+ }, [F.current]), /*#__PURE__*/ D.createElement("section", {
+ ref: t,
+ "aria-label": b ?? `${x} ${I}`,
+ tabIndex: -1,
+ "aria-live": "polite",
+ "aria-relevant": "additions text",
+ "aria-atomic": "false",
+ suppressHydrationWarning: !0,
+ "data-react-aria-top-layer": !0
+ }, T.map((t, n) => {
+ let [i, a] = t.split("-");
+ return w.length ? /*#__PURE__*/ D.createElement("ol", {
+ key: t,
+ dir: _ === "auto" ? Y9() : _,
+ tabIndex: -1,
+ ref: F,
+ className: c,
+ "data-sonner-toaster": !0,
+ "data-sonner-theme": N,
+ "data-y-position": i,
+ "data-x-position": a,
+ style: {
+ "--front-toast-height": `${E[0]?.height || 0}px`,
+ "--width": `${BDe}px`,
+ "--gap": `${v}px`,
+ ...m,
+ ...KDe(l, u)
+ },
+ onBlur: (e) => {
+ te.current && !e.currentTarget.contains(e.relatedTarget) && (te.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));
+ },
+ onFocus: (e) => {
+ e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || te.current || (te.current = !0, ee.current = e.relatedTarget);
+ },
+ onMouseEnter: () => A(!0),
+ onMouseMove: () => A(!0),
+ onMouseLeave: () => {
+ j || A(!1);
+ },
+ onDragEnd: () => A(!1),
+ onPointerDown: (e) => {
+ e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
+ },
+ onPointerUp: () => M(!1)
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ D.createElement(GDe, {
+ key: n.id,
+ icons: y,
+ index: i,
+ toast: n,
+ defaultRichColors: f,
+ duration: g?.duration ?? p,
+ className: g?.className,
+ descriptionClassName: g?.descriptionClassName,
+ invert: r,
+ visibleToasts: h,
+ closeButton: g?.closeButton ?? s,
+ interacting: j,
+ position: t,
+ style: g?.style,
+ unstyled: g?.unstyled,
+ classNames: g?.classNames,
+ cancelButtonStyle: g?.cancelButtonStyle,
+ actionButtonStyle: g?.actionButtonStyle,
+ closeButtonAriaLabel: g?.closeButtonAriaLabel,
+ removeToast: ne,
+ toasts: w.filter((e) => e.position == n.position),
+ heights: E.filter((e) => e.position == n.position),
+ setHeights: O,
+ expandByDefault: o,
+ gap: v,
+ expanded: k,
+ swipeDirections: e.swipeDirections
+ }))) : null;
+ }));
+}), X9 = (e, t) => /* @__PURE__ */ (0, O.jsx)("span", {
+ "data-toast-glyph": t ? "draw" : "still",
+ "aria-hidden": "true",
+ dangerouslySetInnerHTML: { __html: e }
+}), Z9 = !1, JDe = (e, t) => {
+ Z9 || (Z9 = !0, (0, nS.createRoot)(e).render(/* @__PURE__ */ (0, O.jsx)(qDe, {
+ position: "bottom-right",
+ closeButton: !0,
+ gap: 8,
+ style: { "--width": "400px" },
+ offset: {
+ right: 24,
+ bottom: "var(--toast-bottom, 24px)"
+ },
+ mobileOffset: {
+ right: 16,
+ left: 16,
+ bottom: "var(--toast-bottom, 16px)"
+ },
+ toastOptions: { closeButtonAriaLabel: "关闭提示" },
+ containerAriaLabel: "通知",
+ icons: {
+ success: X9(t.success, !0),
+ error: X9(t.error, !1)
+ }
+ })));
+}, YDe = (e, t) => {
+ let n = t.alert ? G9.error : G9.success, r = t.action;
+ n(/* @__PURE__ */ (0, O.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
+ id: e,
+ duration: t.timeout || Infinity,
+ action: r ? {
+ label: r.label,
+ onClick: (e) => {
+ e.preventDefault(), r.run(e.currentTarget);
+ }
+ } : void 0
+ });
+}, Q9 = null;
+function XDe() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
return (t, n) => {
- let r = (0, fte.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, D.jsx)(A, {
- client: Tw,
- children: /* @__PURE__ */ (0, D.jsx)(gu, {
+ let r = (0, nS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, O.jsx)(j, {
+ client: X,
+ children: /* @__PURE__ */ (0, O.jsx)(bu, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, D.jsx)(Xv, {
- getContainer: ASe,
- children: /* @__PURE__ */ (0, D.jsx)(e, { ...t })
+ children: /* @__PURE__ */ (0, O.jsx)(ny, {
+ getContainer: XDe,
+ children: /* @__PURE__ */ (0, O.jsx)(e, { ...t })
})
})
}));
- return (0, Zm.flushSync)(() => i(n)), {
+ return (0, nh.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};
};
}
-var jSe = {
+var ZDe = {
activity: {
- prefetch: (e, t) => Xte(t),
- mount: $9(cne)
+ prefetch: (e, t) => Pw(t),
+ mount: $9(nT)
},
"avatar-picker": {
prefetch: async () => {},
- mount: $9(Xne)
+ mount: $9(Ure)
},
"cover-crop": {
prefetch: async () => {},
- mount: $9(ore)
+ mount: $9($re)
},
configuration: {
- prefetch: (e, t) => TP(t),
- mount: $9(gF)
+ prefetch: (e, t) => wI(t),
+ mount: $9(hL)
},
"configuration-summary": {
- prefetch: (e, t) => TP(t),
- mount: $9(vF)
+ prefetch: (e, t) => wI(t),
+ mount: $9(_L)
+ },
+ "data-cleanup": {
+ prefetch: (e, t) => sae(t),
+ mount: $9(Dj)
+ },
+ duplicates: {
+ prefetch: (e, t) => oie(t),
+ mount: $9(Gj)
},
"follow-manage": {
- prefetch: (e, t) => Wre(t, e.tab),
- mount: $9(eM)
+ prefetch: (e, t) => yoe(t, e.tab),
+ mount: $9(UN)
+ },
+ index: {
+ prefetch: (e, t) => dP(e, t),
+ mount: $9(BP)
},
"library-processing": {
- prefetch: (e, t) => iM(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, D.jsx)(WM, { ...e }) : /* @__PURE__ */ (0, D.jsx)(BM, { ...e }))
+ prefetch: (e, t) => OO(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, O.jsx)(KP, { ...e }) : /* @__PURE__ */ (0, O.jsx)(FA, { ...e }))
},
- "media-repair": {
- prefetch: (e, t) => CM(t),
- mount: $9(jM)
+ playlists: {
+ prefetch: (e, t) => ZP(t),
+ mount: $9(EF)
},
"quality-goals": {
- prefetch: (e, t) => JM(t),
- mount: $9(ZM)
+ prefetch: (e, t) => wie(t),
+ mount: $9(OF)
},
review: {
- prefetch: (e, t) => DN(t),
- mount: $9(QN)
+ prefetch: (e, t) => Vie(t),
+ mount: $9(ZF)
},
scraping: {
- prefetch: (e, t) => fP(t),
- mount: $9(bP)
+ prefetch: (e, t) => dI(t),
+ mount: $9(yI)
},
stats: {
- prefetch: (e, t) => SF(t),
- mount: $9(oxe)
+ prefetch: (e, t) => xL(t),
+ mount: $9(QTe)
},
taste: {
- prefetch: (e, t) => Axe("all", t),
- mount: $9(kSe)
+ prefetch: (e, t) => SEe("all", t),
+ mount: $9(SDe)
}
};
//#endregion
-export { jSe as pages };
+export { JDe as mountToaster, ZDe as pages, YDe as showToast };