Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 设置页折叠恢复高度动画,检查频率说明并进行内

longmeidao85cf9e303691
diff --git a/frontend/src/legacy/ui.d.ts b/frontend/src/legacy/ui.d.ts
index 097431a2e..36164f1ff 100644
--- a/frontend/src/legacy/ui.d.ts
+++ b/frontend/src/legacy/ui.d.ts
@@ -25,6 +25,8 @@ export declare function selectFieldHtml(items: string[][], current: string,
options?: { label?: string; attr?: string; className?: string }): string;
export declare function wireSelectField(root: Element): HTMLElement & { value: string; disabled: boolean };
export declare function wireCollapse(root: ParentNode, selector: string, idPrefix: string, triggerSelector?: string): void;
+/** 共用 Collapse 的开合:`body` 是带 `.fcollapse` 的那层,高度按它的过渡长到或收到位。 */
+export declare function setCollapseOpen(details: HTMLDetailsElement, body: HTMLElement, expanded: boolean): void;
/** 一排里标出「当前是哪一个」的那块底板换位;`from` 给 null 只落位不动画。 */
export declare function moveGlidePane(
pane: HTMLElement,
diff --git a/frontend/src/react/boardui/ORIGIN.md b/frontend/src/react/boardui/ORIGIN.md
index 6523ba2d3..270698682 100644
--- a/frontend/src/react/boardui/ORIGIN.md
+++ b/frontend/src/react/boardui/ORIGIN.md
@@ -40,5 +40,5 @@
| 提交键忙态 | 写 `aria-busy` 与 `aria-disabled`,不画 Spinner | `button` 条目没有加载态 |
| 行内提示 | `../settings/section.tsx` 的 `Note` 按语气取 `status-yellow`、`background-tertiary-error`、`notification-*` token 组合 | 注册表里没有行内 Note 组件;`notification` 条目是带关闭键和动效的浮动通知 |
| 进度条 | `../settings/section.tsx` 的 `Progress` 用 SVG 矩形画 | 注册表里没有进度组件 |
-| 折叠 | `../settings/section.tsx` 的 `Disclosure` 用原生 `details` | 注册表里没有折叠组件 |
+| 折叠 | `../settings/section.tsx` 的 `Disclosure` 用原生 `details`,开合调 `/js/ui-components.js` 的 `setCollapseOpen`,高度按共用 Collapse 的 `.fcollapse` 过渡(`.2s ease-in-out`) | 注册表里没有折叠组件;原生 `details` 不过渡高度 |
| 图标选择 | `../settings/library-icon-picker.tsx` 用 React Aria 的 `Popover`、`RadioGroup` 组合,面板取 `menu-styles.ts` 的外观 | 注册表里没有网格单选的弹出面板 |
diff --git a/frontend/src/react/settings/maintenance-settings.tsx b/frontend/src/react/settings/maintenance-settings.tsx
index f9f0d338c..b897cf6aa 100644
--- a/frontend/src/react/settings/maintenance-settings.tsx
+++ b/frontend/src/react/settings/maintenance-settings.tsx
@@ -56,17 +56,14 @@ export function AutomaticUpdates({ initial, receipt }: { initial: AutomaticUpdat
isDisabled={!initial.available || !initial.download_available || mode === 'off'}
onChange={(on) => setMode(on ? 'download' : 'check')} />
</SettingsRow>
- <SettingsRow label="检查频率">
+ <SettingsRow label="检查频率" description={help}>
<Select aria-label="检查频率" selectedKey={String(hours)} isDisabled={!initial.available}
onSelectionChange={(key) => { if (key !== null) setHours(Number(key)); }}>
{INTERVALS.map(([key, name]) => <SelectItem key={key} id={key}>{name}</SelectItem>)}
</Select>
</SettingsRow>
</Rows>
- <Stack divided>
- <Help>{help}</Help>
- {action.error ? <ErrorText>{action.error}</ErrorText> : null}
- </Stack>
+ {action.error ? <Stack divided><ErrorText>{action.error}</ErrorText></Stack> : null}
<Footer>
<Button variant="secondary" type="submit" disabled={!initial.available} {...busyProps(action.busy === 'save')}>保存自动更新</Button>
</Footer>
diff --git a/frontend/src/react/settings/section.tsx b/frontend/src/react/settings/section.tsx
index e3f83715e..0c4a19293 100644
--- a/frontend/src/react/settings/section.tsx
+++ b/frontend/src/react/settings/section.tsx
@@ -2,8 +2,10 @@
*
* 外框取 BoardUI 设置弹层的 `SettingsSectionLabel` + `SettingsCard`,开关行直接用 `SettingsRow`。
* 注册表里没有行内提示、进度条和折叠,这三样用 BoardUI token 组合,差异登记在 `boardui/ORIGIN.md`。 */
-import type { FormEvent, ReactNode } from 'react';
+import { useId, useRef, useState } from 'react';
+import type { FormEvent, MouseEvent, ReactNode } from 'react';
import { RiArrowRightSLine, RiExternalLinkLine } from '@remixicon/react';
+import { setCollapseOpen } from '@peach/legacy/ui';
import { SettingsCard, SettingsSectionLabel } from '@/components/application/settings/settings-rows';
import { LinkButton } from '@/components/base/buttons/link-button';
@@ -124,15 +126,29 @@ export function Progress({ label, value, max = 100, stops = [] }: { label: strin
);
}
-/** 展开正文。原生 `details`:键盘、状态与无障碍语义都由浏览器给。 */
+/** 展开正文。原生 `details` 给键盘与无障碍语义;开合交给共用 Collapse 的 `setCollapseOpen`,
+ * 它给正文外层挂上旧样式表的 `.fcollapse` 让高度过渡。内边距放在里层,高度才能收到 0。 */
export function Disclosure({ summary, children }: { summary: string; children: ReactNode }) {
+ const id = useId();
+ const details = useRef<HTMLDetailsElement>(null);
+ const body = useRef<HTMLDivElement>(null);
+ const [open, setOpen] = useState(false);
+ const toggle = (event: MouseEvent) => {
+ event.preventDefault();
+ if (!details.current || !body.current) return;
+ setCollapseOpen(details.current, body.current, !open);
+ setOpen(!open);
+ };
return (
- <details className="group">
- <summary 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">
- <RiArrowRightSLine aria-hidden className="size-4 shrink-0 transition-transform group-open:rotate-90" />
+ <details ref={details}>
+ <summary aria-expanded={open} aria-controls={id} onClick={toggle}
+ 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">
+ <RiArrowRightSLine aria-hidden className={open ? 'size-4 shrink-0 rotate-90 transition-transform' : 'size-4 shrink-0 transition-transform'} />
{summary}
</summary>
- <div className="flex flex-col gap-2 pt-3">{children}</div>
+ <div ref={body} id={id} inert={!open}>
+ <div className="flex flex-col gap-2 pt-3">{children}</div>
+ </div>
</details>
);
}
diff --git a/frontend/test/grow-collapse.test.ts b/frontend/test/grow-collapse.test.ts
index 623bfd18b..4550d2455 100644
--- a/frontend/test/grow-collapse.test.ts
+++ b/frontend/test/grow-collapse.test.ts
@@ -1,6 +1,6 @@
import { afterEach, expect, it, vi } from 'vitest';
// @ts-expect-error 遗留模块由浏览器直接加载,此测试调用实际实现。
-import { growCollapse } from '../../web/js/ui-components.js';
+import { growCollapse, setCollapseOpen } from '../../web/js/ui-components.js';
afterEach(() => { vi.useRealTimers(); document.body.replaceChildren(); });
@@ -28,3 +28,39 @@ it('过渡途中又被收起时不收尾', () => {
expect(body.style.height).toBe('0px');
expect(body.classList.contains('fcollapse-settled')).toBe(false);
});
+
+const collapse = () => {
+ const details = document.createElement('details');
+ const body = document.createElement('div');
+ details.append(document.createElement('summary'), body); document.body.append(details);
+ return { details, body };
+};
+
+it('收起时高度先收到 0,过渡跑完才合上 details', () => {
+ vi.useFakeTimers();
+ const { details, body } = collapse();
+ setCollapseOpen(details, body, true);
+ expect(details.open).toBe(true);
+ expect(body.classList.contains('fcollapse')).toBe(true);
+ vi.advanceTimersByTime(260);
+ setCollapseOpen(details, body, false);
+ expect(body.style.height).toBe('0px');
+ expect(body.inert).toBe(true);
+ expect(details.open).toBe(true);
+ vi.advanceTimersByTime(260);
+ expect(details.open).toBe(false);
+ expect(body.style.height).toBe('');
+});
+
+it('收到一半又点开时,收起那次的收尾不再合上 details', () => {
+ vi.useFakeTimers();
+ const { details, body } = collapse();
+ setCollapseOpen(details, body, true);
+ vi.advanceTimersByTime(260);
+ setCollapseOpen(details, body, false);
+ setCollapseOpen(details, body, true);
+ vi.advanceTimersByTime(260);
+ expect(details.open).toBe(true);
+ expect(body.inert).toBe(false);
+ expect(body.style.height).toBe('auto');
+});
diff --git a/frontend/test/react/maintenance-settings.test.tsx b/frontend/test/react/maintenance-settings.test.tsx
index 7a5505576..c5efdd195 100644
--- a/frontend/test/react/maintenance-settings.test.tsx
+++ b/frontend/test/react/maintenance-settings.test.tsx
@@ -55,12 +55,13 @@ describe('自动更新', () => {
expect(receipt).toHaveBeenCalledTimes(2);
});
- it('源码运行锁住自动下载,失败原因留在分区里且不报成功', async () => {
+ it('源码运行锁住自动下载,说明写在检查频率那一行里,失败原因留在分区里且不报成功', async () => {
vi.stubGlobal('fetch', fetchMock(400, { detail: '设置正在保存' }));
const receipt = vi.fn();
const host = await mount(<AutomaticUpdates initial={{ ...automatic, mode: 'check', download_available: false }} receipt={receipt} />);
expect(switches(host)[1]!.disabled).toBe(true);
- expect(host.textContent).toContain('源码运行请前往发布页获取新版本。');
+ const interval = [...host.querySelectorAll('p')].find((p) => p.textContent === '检查频率');
+ expect(interval?.nextElementSibling?.textContent).toBe('开启后一分钟内开始检查。源码运行请前往发布页获取新版本。');
await submit(host.querySelector('form'));
await settle();
expect(host.querySelector('[role="alert"]')?.textContent).toContain('设置正在保存');
diff --git a/frontend/test/react/media-settings.test.tsx b/frontend/test/react/media-settings.test.tsx
index eab871155..0264ed267 100644
--- a/frontend/test/react/media-settings.test.tsx
+++ b/frontend/test/react/media-settings.test.tsx
@@ -1,3 +1,4 @@
+import { act } from 'react';
import { describe, expect, it, vi } from 'vitest';
import { CONFIGURATION_URL, PICK_FOLDER_URL } from '../../src/configuration-endpoints';
@@ -205,3 +206,24 @@ it('CloudDrive 建议按硬盘分三档,页内只留怎么填,原理链到
'https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md',
]);
});
+
+it('折叠开合走共用 Collapse:点开长到内容高度,收起时高度收回 0 并锁住正文', async () => {
+ vi.useFakeTimers();
+ const host = await mount(<CloudDriveGuide />);
+ const details = host.querySelector('details')!;
+ const summary = details.querySelector('summary')!;
+ const body = document.getElementById(summary.getAttribute('aria-controls')!)!;
+ expect(body.parentElement).toBe(details);
+ expect(body.inert).toBe(true);
+ await click(summary);
+ expect(details.open).toBe(true);
+ expect(summary.getAttribute('aria-expanded')).toBe('true');
+ expect(body.classList.contains('fcollapse')).toBe(true);
+ expect(body.inert).toBe(false);
+ await act(async () => { vi.advanceTimersByTime(260); });
+ expect(body.style.height).toBe('auto');
+ await click(summary);
+ expect(summary.getAttribute('aria-expanded')).toBe('false');
+ expect(body.style.height).toBe('0px');
+ expect(body.inert).toBe(true);
+});
diff --git a/frontend/test/stubs/legacy-ui.ts b/frontend/test/stubs/legacy-ui.ts
index d2b67030a..bac1e0def 100644
--- a/frontend/test/stubs/legacy-ui.ts
+++ b/frontend/test/stubs/legacy-ui.ts
@@ -12,8 +12,8 @@ export const emptyStateHtml = (
+ `<div class="es-icon" data-icon="${iconName}"></div>`
+ `<div class="es-copy"><h3>${title}</h3><p>${description}</p></div>${options.actions || ''}</div>`;
-// @ts-expect-error 横幅复用正式模板。
-export {projectBannerHtml, collectionSummaryHtml, wireAnchoredMenu} from '../../../web/js/ui-components.js';
+// @ts-expect-error 横幅复用正式模板,折叠开合用正式实现。
+export {projectBannerHtml, collectionSummaryHtml, wireAnchoredMenu, setCollapseOpen} from '../../../web/js/ui-components.js';
export const fieldsetTitle = (id: string, title: string): string =>
`<h3 class="geist-fieldset-title" id="${id}">${title}</h3>`;
export const loadingDotsHtml = (label: string): string => `<span>${label}</span>`;
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index e4d8578e9..f418fd82e 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-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-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-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-duration:initial;--tw-ease:initial;--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;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--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;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--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-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-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-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{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}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.container{width:100%}@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}.mr-auto{margin-right:auto}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.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-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.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-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.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}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-full{height:100%}.h-max{height:max-content}.max-h-\[240px\]{max-height:240px}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.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)}.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,)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\[5px\]{gap:5px}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.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-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.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-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-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.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-separator-border{border-color:var(--color-separator-border)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-transparent{background-color:#0000}.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))}.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))}.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)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.p-0{padding:0}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.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-3{padding-inline:calc(var(--spacing) * 3)}.px-\[7px\]{padding-inline:7px}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.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)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-left{text-align:left}.text-right{text-align:right}.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-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-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-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))}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-accent-600{color:var(--color-accent-600)}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.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-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.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-white{color:var(--color-text-white)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.opacity-50{opacity:.5}.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-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:0 1px 1px 0 var(--tw-shadow-color,#0000000a), 0 4px 4px 0 var(--tw-shadow-color,#00000005);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 2px 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\/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-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)}.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,)}.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-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-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-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}.group-open\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover{background-color:var(--color-background-primary-hover)}.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-text-primary:hover{color:var(--color-text-primary)}.hover\:underline:hover{text-decoration-line:underline}}.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\: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-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)}.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-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-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.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\: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-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.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%}@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))}}@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)}}:root{--font-inter:"Inter Variable", "Inter"}.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-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-800)}@keyframes check-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}.animate-check-draw{stroke-dasharray:1;stroke-dashoffset:1px;animation:.2s cubic-bezier(.65,0,.35,1) forwards check-draw}@media (prefers-reduced-motion:reduce){.animate-check-draw{stroke-dashoffset:0;animation:none}}@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-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-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-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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@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}
+@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-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-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-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-duration:initial;--tw-ease:initial;--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;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--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;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--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-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-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-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{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}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.container{width:100%}@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}.mr-auto{margin-right:auto}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.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-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.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-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.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}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-full{height:100%}.h-max{height:max-content}.max-h-\[240px\]{max-height:240px}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.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)}.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,)}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\[5px\]{gap:5px}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.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-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xs{border-radius:var(--radius-xs)}.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-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-solid{--tw-border-style:solid;border-style:solid}.border-accent-600{border-color:var(--color-accent-600)}.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-separator-border{border-color:var(--color-separator-border)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-transparent{background-color:#0000}.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))}.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))}.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)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.p-0{padding:0}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.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-3{padding-inline:calc(var(--spacing) * 3)}.px-\[7px\]{padding-inline:7px}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.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)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-left{text-align:left}.text-right{text-align:right}.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-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-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-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))}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-accent-600{color:var(--color-accent-600)}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.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-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.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-white{color:var(--color-text-white)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.opacity-50{opacity:.5}.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-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:0 1px 1px 0 var(--tw-shadow-color,#0000000a), 0 4px 4px 0 var(--tw-shadow-color,#00000005);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 2px 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\/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-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)}.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,)}.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-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-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}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover{background-color:var(--color-background-primary-hover)}.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-text-primary:hover{color:var(--color-text-primary)}.hover\:underline:hover{text-decoration-line:underline}}.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\: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-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)}.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-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-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.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\: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-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.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%}@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))}}@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)}}:root{--font-inter:"Inter Variable", "Inter"}.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-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-800)}@keyframes check-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}.animate-check-draw{stroke-dasharray:1;stroke-dashoffset:1px;animation:.2s cubic-bezier(.65,0,.35,1) forwards check-draw}@media (prefers-reduced-motion:reduce){.animate-check-draw{stroke-dashoffset:0;animation:none}}@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-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-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-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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@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}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index b2ac789b5..032ad01b2 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -1,16 +1,16 @@
import { requestErrorMessage as e } from "/js/core.js";
-import { MEDIA_SOURCE_ICONS as t, confirmModal as n } from "/js/ui-components.js";
+import { MEDIA_SOURCE_ICONS as t, confirmModal as n, setCollapseOpen as r } from "/js/ui-components.js";
//#region \0rolldown/runtime.js
-var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = Object.getOwnPropertyNames, s = Object.getPrototypeOf, c = Object.prototype.hasOwnProperty, l = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), u = (e, t, n, r) => {
- if (t && typeof t == "object" || typeof t == "function") for (var s = o(t), l = 0, u = s.length, d; l < u; l++) d = s[l], !c.call(e, d) && d !== n && i(e, d, {
+var i = Object.create, a = Object.defineProperty, o = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, c = Object.getPrototypeOf, l = Object.prototype.hasOwnProperty, u = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), d = (e, t, n, r) => {
+ if (t && typeof t == "object" || typeof t == "function") for (var i = s(t), c = 0, u = i.length, d; c < u; c++) d = i[c], !l.call(e, d) && d !== n && a(e, d, {
get: ((e) => t[e]).bind(null, d),
- enumerable: !(r = a(t, d)) || r.enumerable
+ enumerable: !(r = o(t, d)) || r.enumerable
});
return e;
-}, d = (e, t, n) => (n = e == null ? {} : r(s(e)), u(t || !e || !e.__esModule || !c.call(e, "default") ? i(n, "default", {
+}, f = (e, t, n) => (n = e == null ? {} : i(c(e)), d(t || !e || !e.__esModule || !l.call(e, "default") ? a(n, "default", {
value: e,
enumerable: !0
-}) : n, e)), f = class {
+}) : n, e)), p = 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;
}
@@ -25,22 +25,22 @@ var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescr
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, p = class extends f {
+}, m = class extends p {
filter(e, t, n) {
- let [r, i] = _(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = v(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends f {
+(class extends p {
static {
this.type = "header";
}
});
-var m = class extends f {
+var h = class extends p {
static {
this.type = "loader";
}
-}, h = class extends p {
+}, g = class extends m {
static {
this.type = "item";
}
@@ -52,7 +52,7 @@ var m = class extends f {
return null;
}
};
-(class extends p {
+(class extends m {
static {
this.type = "section";
}
@@ -65,7 +65,7 @@ var m = class extends f {
return null;
}
});
-var g = class {
+var _ = class {
get size() {
return this.itemCount;
}
@@ -140,14 +140,14 @@ var g = class {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = _(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = v(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 _(e, t, n, r) {
+function v(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -162,7 +162,7 @@ function _(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var v = class {
+var y = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -243,7 +243,7 @@ var v = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, y = class e extends v {
+}, b = class e extends y {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -294,7 +294,7 @@ var v = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, b = class extends v {
+}, x = class extends y {
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;
}
@@ -302,7 +302,7 @@ var v = class {
return !0;
}
createElement(e) {
- return new y(e, this);
+ return new b(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -324,8 +324,8 @@ var v = class {
return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof y && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof y ? (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 b && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof b ? (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() {
@@ -341,7 +341,7 @@ var v = class {
resetAfterSSR() {
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
}
-}, x = /* @__PURE__ */ l(((e) => {
+}, S = /* @__PURE__ */ u(((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);
@@ -377,8 +377,8 @@ var v = class {
A: null,
T: null,
S: null
- }, E = Object.prototype.hasOwnProperty;
- function D(e, n, r) {
+ }, ee = Object.prototype.hasOwnProperty;
+ function E(e, n, r) {
var i = r.ref;
return {
$$typeof: t,
@@ -388,13 +388,13 @@ var v = class {
props: r
};
}
- function O(e, t) {
- return D(e.type, t, e.props);
+ function D(e, t) {
+ return E(e.type, t, e.props);
}
- function k(e) {
+ function O(e) {
return typeof e == "object" && !!e && e.$$typeof === t;
}
- function A(e) {
+ function k(e) {
var t = {
"=": "=0",
":": "=2"
@@ -403,11 +403,11 @@ var v = class {
return t[e];
});
}
- var j = /\/+/g;
- function M(e, t) {
- return typeof e == "object" && e && e.key != null ? A("" + e.key) : t.toString(36);
+ var A = /\/+/g;
+ function j(e, t) {
+ return typeof e == "object" && e && e.key != null ? k("" + e.key) : t.toString(36);
}
- function N(e) {
+ function M(e) {
switch (e.status) {
case "fulfilled": return e.value;
case "rejected": throw e.reason;
@@ -422,7 +422,7 @@ var v = class {
}
throw e;
}
- function ee(e, r, i, a, o) {
+ function te(e, r, i, a, o) {
var s = typeof e;
(s === "undefined" || s === "boolean") && (e = null);
var c = !1;
@@ -438,30 +438,30 @@ var v = class {
case n:
c = !0;
break;
- case d: return c = e._init, ee(c(e._payload), r, i, a, o);
+ case d: return c = e._init, te(c(e._payload), r, i, a, o);
}
}
- if (c) return o = o(e), c = a === "" ? "." + M(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(j, "$&/") + "/"), ee(o, r, i, "", function(e) {
+ if (c) return o = o(e), c = a === "" ? "." + j(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(A, "$&/") + "/"), te(o, r, i, "", function(e) {
return e;
- })) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(j, "$&/") + "/") + c)), r.push(o)), 1;
+ })) : o != null && (O(o) && (o = D(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(A, "$&/") + "/") + c)), r.push(o)), 1;
c = 0;
var l = a === "" ? "." : a + ":";
- if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + M(a, u), c += ee(a, r, i, s, o);
- else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + M(a, u++), c += ee(a, r, i, s, o);
+ if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + j(a, u), c += te(a, r, i, s, o);
+ else if (u = h(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + j(a, u++), c += te(a, r, i, s, o);
else if (s === "object") {
- if (typeof e.then == "function") return ee(N(e), r, i, a, o);
+ if (typeof e.then == "function") return te(M(e), r, i, a, o);
throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");
}
return c;
}
- function te(e, t, n) {
+ function ne(e, t, n) {
if (e == null) return e;
var r = [], i = 0;
- return ee(e, r, "", "", function(e) {
+ return te(e, r, "", "", function(e) {
return t.call(n, e, i++);
}), r;
}
- function P(e) {
+ function N(e) {
if (e._status === -1) {
var t = e._result, n = t();
n.then(function(t) {
@@ -473,7 +473,7 @@ var v = class {
if (e._status === 1) return e._result.default;
throw e._result;
}
- var ne = typeof reportError == "function" ? reportError : function(e) {
+ var re = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -488,54 +488,54 @@ var v = class {
}
console.error(e);
};
- function re(e) {
+ function ie(e) {
var t = T.T, n = {};
n.types = t === null ? null : t.types, T.T = n;
try {
var r = e(), i = T.S;
- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, ne);
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, re);
} catch (e) {
- ne(e);
+ re(e);
} finally {
t !== null && n.types !== null && (t.types = n.types), T.T = t;
}
}
- function ie(e) {
+ function ae(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 re(ie.bind(null, e));
+ } else ie(ae.bind(null, e));
}
- var ae = {
- map: te,
+ var oe = {
+ map: ne,
forEach: function(e, t, n) {
- te(e, function() {
+ ne(e, function() {
t.apply(this, arguments);
}, n);
},
count: function(e) {
var t = 0;
- return te(e, function() {
+ return ne(e, function() {
t++;
}), t;
},
toArray: function(e) {
- return te(e, function(e) {
+ return ne(e, function(e) {
return e;
}) || [];
},
only: function(e) {
- if (!k(e)) throw Error("React.Children.only expected to receive a single React element child.");
+ if (!O(e)) throw Error("React.Children.only expected to receive a single React element child.");
return e;
}
};
- e.Activity = f, e.Children = ae, 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 = oe, 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 = ie, e.cache = function(e) {
+ }, e.addTransitionType = ae, e.cache = function(e) {
return function() {
return e.apply(null, arguments);
};
@@ -544,14 +544,14 @@ var v = class {
}, e.cloneElement = function(e, t, n) {
if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");
var r = _({}, e.props), i = e.key;
- if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !E.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);
+ if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !ee.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);
var a = arguments.length - 2;
if (a === 1) r.children = n;
else if (1 < a) {
for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];
r.children = o;
}
- return D(e.type, i, r);
+ return E(e.type, i, r);
}, e.createContext = function(e) {
return e = {
$$typeof: s,
@@ -566,7 +566,7 @@ var v = class {
}, e;
}, e.createElement = function(e, t, n) {
var r, i = {}, a = null;
- if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) E.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);
+ if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) ee.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);
var o = arguments.length - 2;
if (o === 1) i.children = n;
else if (1 < o) {
@@ -574,7 +574,7 @@ var v = class {
i.children = s;
}
if (e && e.defaultProps) for (r in o = e.defaultProps, o) i[r] === void 0 && (i[r] = o[r]);
- return D(e, a, i);
+ return E(e, a, i);
}, e.createRef = function() {
return { current: null };
}, e.forwardRef = function(e) {
@@ -582,14 +582,14 @@ var v = class {
$$typeof: c,
render: e
};
- }, e.isValidElement = k, e.lazy = function(e) {
+ }, e.isValidElement = O, e.lazy = function(e) {
return {
$$typeof: d,
_payload: {
_status: -1,
_result: e
},
- _init: P
+ _init: N
};
}, e.memo = function(e, t) {
return {
@@ -597,7 +597,7 @@ var v = class {
type: e,
compare: t === void 0 ? null : t
};
- }, e.startTransition = re, e.unstable_useCacheRefresh = function() {
+ }, e.startTransition = ie, e.unstable_useCacheRefresh = function() {
return T.H.useCacheRefresh();
}, e.use = function(e) {
return T.H.use(e);
@@ -636,22 +636,22 @@ var v = class {
}, e.useTransition = function() {
return T.H.useTransition();
}, e.version = "19.3.0";
-})), S = /* @__PURE__ */ l(((e, t) => {
- t.exports = x();
-})), C = /* @__PURE__ */ d(S(), 1);
-function w(e) {
- let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, C.useMemo)(() => void 0, [t]), s = (0, C.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
- return (0, C.useMemo)(() => {
+})), C = /* @__PURE__ */ u(((e, t) => {
+ t.exports = S();
+})), w = /* @__PURE__ */ f(C(), 1);
+function T(e) {
+ let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, w.useMemo)(() => void 0, [t]), s = (0, w.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
+ return (0, w.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = T(a) ? a : null, o = n ? s.get(n) : null;
+ let n = ee(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, C.cloneElement)(o, i ? {
+ o = (0, w.cloneElement)(o, i ? {
key: l,
id: c,
value: a
@@ -670,7 +670,7 @@ function w(e) {
i
]);
}
-function T(e) {
+function ee(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -717,20 +717,20 @@ function A(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var j = (e) => ee(e) ? e.document : te(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), M = (e) => j(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function N(e) {
+var j = (e) => ne(e) ? e.document : N(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), M = (e) => j(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function te(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function ee(e) {
+function ne(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function te(e) {
- return N(e) && e.nodeType === 9;
+function N(e) {
+ return te(e) && e.nodeType === 9;
}
-function P(e) {
- return N(e) && e.nodeType === 11 && "host" in e;
+function re(e) {
+ return te(e) && e.nodeType === 11 && "host" in e;
}
-function ne(e, t, n, r) {
+function ie(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);
@@ -738,7 +738,7 @@ function ne(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function re(e, t, n, r) {
+function ae(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -753,45 +753,45 @@ function re(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var ie = !1;
-function ae() {
- return ie;
+var oe = !1;
+function P() {
+ return oe;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
function F(e, t) {
- if (!ae()) return t && e ? e.contains(t) : !1;
+ if (!P()) 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 : P(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : re(n) ? n.host : n.parentNode;
}
return !1;
}
-var I = (e = document) => {
- if (!ae()) return e.activeElement;
+var se = (e = document) => {
+ if (!P()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
-function L(e) {
- if (ae() && e.target instanceof Element && e.target.shadowRoot) {
+function I(e) {
+ if (P() && 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 oe(e, t) {
+function ce(e, t) {
if (t === null) return [];
t ??= M(e);
let n = [t];
- if (!ae() || !e || e === t) return n;
+ if (!P() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; P(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; re(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function se(e) {
+function le(e) {
if (!e) return !1;
let t = e.getRootNode(), n = M(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
@@ -800,8 +800,8 @@ function se(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var ce = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function le(e) {
+var ue = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function de(e) {
let t = M(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";
@@ -811,15 +811,15 @@ function le(e) {
}
return i;
}
-function ue(e, t) {
+function L(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 R(e, t) {
- return ce ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && le(e) && ue(e, t) && (!e.parentElement || R(e.parentElement, e));
+ return ue ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && de(e) && L(e, t) && (!e.parentElement || R(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var z = [
+var fe = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -834,16 +834,16 @@ var z = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], de = z.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-z.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var fe = z.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function pe(e, t) {
- return e.matches(de) && !he(e) && (t?.skipVisibilityCheck || R(e));
+], pe = fe.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+fe.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var me = fe.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function he(e, t) {
+ return e.matches(pe) && !_e(e) && (t?.skipVisibilityCheck || R(e));
}
-function me(e) {
- return e.matches(fe) && R(e) && !he(e);
+function ge(e) {
+ return e.matches(me) && R(e) && !_e(e);
}
-function he(e) {
+function _e(e) {
let t = e;
for (; t != null;) {
if (t instanceof M(t).HTMLElement && t.inert) return !0;
@@ -853,41 +853,41 @@ function he(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var B = typeof document < "u" ? C.useLayoutEffect : () => {};
+var z = typeof document < "u" ? w.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function ge(e) {
+function ve(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function _e(e, t) {
+function ye(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function ve(e) {
- let t = (0, C.useRef)({
+function be(e) {
+ let t = (0, w.useRef)({
isFocused: !1,
observer: null
});
- return B(() => {
+ return z(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
};
- }, []), (0, C.useCallback)((n) => {
- let r = L(n);
+ }, []), (0, w.useCallback)((n) => {
+ let r = I(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 = ge(r);
+ let t = ve(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 === I() ? null : I();
+ let e = n === se() ? null : se();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -900,83 +900,83 @@ function ve(e) {
}
}, [e]);
}
-var ye = !1;
-function be(e) {
- for (; e && !pe(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = I(M(e).document);
+var xe = !1;
+function Se(e) {
+ for (; e && !he(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = se(M(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && P(n) ? n : M(e), i = (t) => t === e || t != null && F(e, t), a = (e) => e === t || t != null && e != null && F(t, e);
- ye = !0;
+ let n = e?.getRootNode(), r = n != null && re(n) ? n : M(e), i = (t) => t === e || t != null && F(e, t), a = (e) => e === t || t != null && e != null && F(t, e);
+ xe = !0;
let o = !1, s = (e) => {
- (a(L(e)) || o) && e.stopImmediatePropagation();
+ (a(I(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(L(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, E(t), d()));
+ (a(I(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, E(t), d()));
}, l = (e) => {
- (i(L(e)) || o) && e.stopImmediatePropagation();
+ (i(I(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(L(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, E(t), d()));
+ (i(I(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, E(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), ye = !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), xe = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function xe(e) {
+function Ce(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 Se(e) {
+function we(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function Ce(e) {
+function Te(e) {
let t = null;
return () => (t ??= e(), t);
}
-var we = Ce(function() {
- return Se(/^Mac/i);
-}), Te = Ce(function() {
- return Se(/^iPhone/i);
-}), Ee = Ce(function() {
- return Se(/^iPad/i) || we() && navigator.maxTouchPoints > 1;
-}), De = Ce(function() {
- return Te() || Ee();
-}), Oe = Ce(function() {
- return we() || De();
-}), ke = Ce(function() {
- return xe(/AppleWebKit/i) && (De() || !Ae());
-}), Ae = Ce(function() {
- return xe(/Chrome|CriOS|CrMo/i);
-}), je = Ce(function() {
- return xe(/Android/i);
-}), Me = Ce(function() {
- return xe(/(Firefox|FxiOS)/i);
+var Ee = Te(function() {
+ return we(/^Mac/i);
+}), De = Te(function() {
+ return we(/^iPhone/i);
+}), Oe = Te(function() {
+ return we(/^iPad/i) || Ee() && navigator.maxTouchPoints > 1;
+}), ke = Te(function() {
+ return De() || Oe();
+}), Ae = Te(function() {
+ return Ee() || ke();
+}), je = Te(function() {
+ return Ce(/AppleWebKit/i) && (ke() || !Me());
+}), Me = Te(function() {
+ return Ce(/Chrome|CriOS|CrMo/i);
+}), Ne = Te(function() {
+ return Ce(/Android/i);
+}), Pe = Te(function() {
+ return Ce(/(Firefox|FxiOS)/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function Ne(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : je() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function Fe(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : Ne() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function Pe(e) {
- return !je() && e.width === 0 && e.height === 0 || je() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function Ie(e) {
+ return !Ne() && e.width === 0 && e.height === 0 || Ne() && 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 Fe = /*#__PURE__*/ (0, C.createContext)({
+var Le = /*#__PURE__*/ (0, w.createContext)({
isNative: !0,
- open: ze,
+ open: Ve,
useHref: (e) => e
});
-function Ie() {
- return (0, C.useContext)(Fe);
+function Re() {
+ return (0, w.useContext)(Le);
}
-function Le(e, t, n = !0) {
+function ze(e, t, n = !0) {
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
- !ke() && Me() && window.event?.type?.startsWith("key") && e.target === "_blank" && (we() ? r = !0 : i = !0);
- let s = ke() && we() && !Ee() ? new KeyboardEvent("keydown", {
+ !je() && Pe() && window.event?.type?.startsWith("key") && e.target === "_blank" && (Ee() ? r = !0 : i = !0);
+ let s = je() && Ee() && !Oe() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -991,21 +991,21 @@ function Le(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- Le.isOpening = n, E(e), e.dispatchEvent(s), Le.isOpening = !1;
+ ze.isOpening = n, E(e), e.dispatchEvent(s), ze.isOpening = !1;
}
-Le.isOpening = !1;
-function Re(e, t) {
+ze.isOpening = !1;
+function Be(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 ze(e, t) {
- Re(e, (e) => Le(e, t));
+function Ve(e, t) {
+ Be(e, (e) => ze(e, t));
}
-function Be(e) {
- let t = Ie().useHref(e?.href ?? ""), n = {};
+function He(e) {
+ let t = Re().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -1018,121 +1018,121 @@ function Be(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var Ve = {
+var Ue = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, He = /*#__PURE__*/ C.createContext(Ve), Ue = /*#__PURE__*/ C.createContext(!1);
+}, We = /*#__PURE__*/ w.createContext(Ue), Ge = /*#__PURE__*/ w.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var We = /* @__PURE__ */ new WeakMap();
-function Ge(e = !1) {
- let t = (0, C.useContext)(He), n = (0, C.useRef)(null);
+var Ke = /* @__PURE__ */ new WeakMap();
+function qe(e = !1) {
+ let t = (0, w.useContext)(We), n = (0, w.useRef)(null);
if (n.current === null && !e) {
- let e = C.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
+ let e = w.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = We.get(e);
- n == null ? We.set(e, {
+ let n = Ke.get(e);
+ n == null ? Ke.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, We.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, Ke.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Ke(e) {
- let t = (0, C.useContext)(He), n = Ge(!!e), r = `react-aria${t.prefix}`;
+function Je(e) {
+ let t = (0, w.useContext)(We), n = qe(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function qe(e) {
- let t = C.useId(), [n] = (0, C.useState)(Qe()), r = n ? "react-aria" : `react-aria${Ve.prefix}`;
+function Ye(e) {
+ let t = w.useId(), [n] = (0, w.useState)(et()), r = n ? "react-aria" : `react-aria${Ue.prefix}`;
return e || `${r}-${t}`;
}
-var Je = typeof C.useId == "function" ? qe : Ke;
-function Ye() {
+var Xe = typeof w.useId == "function" ? Ye : Je;
+function Ze() {
return !1;
}
-function Xe() {
+function Qe() {
return !0;
}
-function Ze(e) {
+function $e(e) {
return () => {};
}
-function Qe() {
- return typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore(Ze, Ye, Xe) : (0, C.useContext)(Ue);
+function et() {
+ return typeof w.useSyncExternalStore == "function" ? w.useSyncExternalStore($e, Ze, Qe) : (0, w.useContext)(Ge);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var $e = null, et = /* @__PURE__ */ new Set(), tt = /* @__PURE__ */ new Map(), nt = !1, rt = !1, it = {
+var tt = null, nt = /* @__PURE__ */ new Set(), rt = /* @__PURE__ */ new Map(), it = !1, at = !1, ot = {
Tab: !0,
Escape: !0
};
-function at(e, t) {
- for (let n of et) n(e, t);
-}
-function ot(e) {
- return !(e.metaKey || !we() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
-}
-function st(e) {
- nt = !0, !Le.isOpening && ot(e) && ($e = "keyboard", at("keyboard", e));
+function st(e, t) {
+ for (let n of nt) n(e, t);
}
function ct(e) {
- $e = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (nt = !0, at("pointer", e));
+ return !(e.metaKey || !Ee() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
function lt(e) {
- !Le.isOpening && Ne(e) && (nt = !0, $e = "virtual");
+ it = !0, !ze.isOpening && ct(e) && (tt = "keyboard", st("keyboard", e));
}
function ut(e) {
- if (ye) return;
- let t = L(e), n = M(t), r = j(t);
+ tt = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (it = !0, st("pointer", e));
+}
+function dt(e) {
+ !ze.isOpening && Fe(e) && (it = !0, tt = "virtual");
+}
+function ft(e) {
+ if (xe) return;
+ let t = I(e), n = M(t), r = j(t);
if (t === n) {
- rt = !0;
+ at = !0;
return;
}
- t === r || !e.isTrusted || (!nt && !rt && ($e = "virtual", at("virtual", e)), nt = !1, rt = !1);
+ t === r || !e.isTrusted || (!it && !at && (tt = "virtual", st("virtual", e)), it = !1, at = !1);
}
-function dt() {
- ye || (nt = !1, rt = !0);
+function pt() {
+ xe || (it = !1, at = !0);
}
-function ft(e) {
+function mt(e) {
if (typeof window > "u" || typeof document > "u") return;
let t = M(e), n = j(e);
- if (tt.get(t)) return;
+ if (rt.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- nt = !0, r.apply(this, arguments);
+ it = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", st, !0), n.addEventListener("keyup", st, !0), n.addEventListener("click", lt, !0), t.addEventListener("focus", ut, !0), t.addEventListener("blur", dt, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", ct, !0), n.addEventListener("pointermove", ct, !0), n.addEventListener("pointerup", ct, !0)), t.addEventListener("beforeunload", () => {
- pt(e);
- }, { once: !0 }), tt.set(t, { focus: r });
+ }), n.addEventListener("keydown", lt, !0), n.addEventListener("keyup", lt, !0), n.addEventListener("click", dt, !0), t.addEventListener("focus", ft, !0), t.addEventListener("blur", pt, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", ut, !0), n.addEventListener("pointermove", ut, !0), n.addEventListener("pointerup", ut, !0)), t.addEventListener("beforeunload", () => {
+ ht(e);
+ }, { once: !0 }), rt.set(t, { focus: r });
}
-var pt = (e, t) => {
+var ht = (e, t) => {
let n = M(e), r = j(e);
- t && r.removeEventListener("DOMContentLoaded", t), tt.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+ t && r.removeEventListener("DOMContentLoaded", t), rt.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: tt.get(n).focus
- }), r.removeEventListener("keydown", st, !0), r.removeEventListener("keyup", st, !0), r.removeEventListener("click", lt, !0), n.removeEventListener("focus", ut, !0), n.removeEventListener("blur", dt, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", ct, !0), r.removeEventListener("pointermove", ct, !0), r.removeEventListener("pointerup", ct, !0)), tt.delete(n));
+ value: rt.get(n).focus
+ }), r.removeEventListener("keydown", lt, !0), r.removeEventListener("keyup", lt, !0), r.removeEventListener("click", dt, !0), n.removeEventListener("focus", ft, !0), n.removeEventListener("blur", pt, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", ut, !0), r.removeEventListener("pointermove", ut, !0), r.removeEventListener("pointerup", ut, !0)), rt.delete(n));
};
-function mt(e) {
+function gt(e) {
let t = j(e), n;
return t.readyState === "loading" ? (n = () => {
- ft(e);
- }, t.addEventListener("DOMContentLoaded", n)) : ft(e), () => pt(e, n);
+ mt(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : mt(e), () => ht(e, n);
}
-typeof document < "u" && mt();
-function ht() {
- return $e !== "pointer";
+typeof document < "u" && gt();
+function _t() {
+ return tt !== "pointer";
}
-function gt() {
- return $e;
+function vt() {
+ return tt;
}
-function _t(e) {
- $e = e, at(e, null);
+function yt(e) {
+ tt = e, st(e, null);
}
-var vt = /* @__PURE__ */ new Set([
+var bt = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -1143,78 +1143,78 @@ var vt = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function yt(e, t, n) {
- let r = n ? L(n) : void 0, i = j(r), a = M(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 = I(i);
- return e = e || u instanceof o && !vt.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !it[n.key]);
+function xt(e, t, n) {
+ let r = n ? I(n) : void 0, i = j(r), a = M(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 = se(i);
+ return e = e || u instanceof o && !bt.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !ot[n.key]);
}
-function bt(e, t, n) {
- ft(), (0, C.useEffect)(() => {
+function St(e, t, n) {
+ mt(), (0, w.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- yt(!!n?.isTextInput, t, r) && e(ht());
+ xt(!!n?.isTextInput, t, r) && e(_t());
};
- return et.add(t), () => {
- et.delete(t);
+ return nt.add(t), () => {
+ nt.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var xt = /* @__PURE__ */ new Map(), St = /* @__PURE__ */ new Set();
-function Ct() {
+var Ct = /* @__PURE__ */ new Map(), wt = /* @__PURE__ */ new Set();
+function Tt() {
if (typeof window > "u") return;
function e(e) {
return "propertyName" in e;
}
let t = (t) => {
- let r = L(t);
+ let r = I(t);
if (!e(t) || !r) return;
- let i = xt.get(r);
- i || (i = /* @__PURE__ */ new Set(), xt.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
+ let i = Ct.get(r);
+ i || (i = /* @__PURE__ */ new Set(), Ct.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
}, n = (t) => {
- let r = L(t);
+ let r = I(t);
if (!e(t) || !r) return;
- let i = xt.get(r);
- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), xt.delete(r)), xt.size === 0)) {
- for (let e of St) e();
- St.clear();
+ let i = Ct.get(r);
+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), Ct.delete(r)), Ct.size === 0)) {
+ for (let e of wt) e();
+ wt.clear();
}
};
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
}
-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Ct) : Ct());
-function wt() {
- for (let [e] of xt) "isConnected" in e && !e.isConnected && xt.delete(e);
+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Tt) : Tt());
+function Et() {
+ for (let [e] of Ct) "isConnected" in e && !e.isConnected && Ct.delete(e);
}
-function Tt(e) {
+function Dt(e) {
requestAnimationFrame(() => {
- wt(), xt.size === 0 ? e() : St.add(e);
+ Et(), Ct.size === 0 ? e() : wt.add(e);
});
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function Et(e) {
+function Ot(e) {
if (!e.isConnected) return;
let t = j(e);
- if (gt() === "virtual") {
- let n = I(t);
- Tt(() => {
- let r = I(t);
+ if (vt() === "virtual") {
+ let n = se(t);
+ Dt(() => {
+ let r = se(t);
(r === n || r === t.body) && e.isConnected && E(e);
});
} else E(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function Dt(...e) {
+function kt(...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 Ot(e) {
- let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(t), i = (0, C.useRef)(null), a = (0, C.useRef)(() => {
+function At(e) {
+ let [t, n] = (0, w.useState)(e), r = (0, w.useRef)(t), i = (0, w.useRef)(null), a = (0, w.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
if (e.done) {
@@ -1223,51 +1223,51 @@ function Ot(e) {
}
r.current === e.value ? a.current() : n(e.value);
});
- return B(() => {
+ return z(() => {
r.current = t, i.current && a.current();
- }), [t, (0, C.useCallback)((e) => {
+ }), [t, (0, w.useCallback)((e) => {
i.current = e(r.current), a.current();
}, [a])];
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var kt = !!(typeof window < "u" && window.document && window.document.createElement), At = /* @__PURE__ */ new Map(), jt;
-typeof FinalizationRegistry < "u" && (jt = new FinalizationRegistry((e) => {
- At.delete(e);
+var jt = !!(typeof window < "u" && window.document && window.document.createElement), Mt = /* @__PURE__ */ new Map(), Nt;
+typeof FinalizationRegistry < "u" && (Nt = new FinalizationRegistry((e) => {
+ Mt.delete(e);
}));
-var Mt = /* @__PURE__ */ new WeakMap();
-function Nt(e) {
- let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(null), i = Je(t), a = (0, C.useRef)(null), o = Mt.get(a);
- if (jt && o !== i && (o != null && jt.unregister(a), jt.register(a, i, a), Mt.set(a, i)), kt) {
- let e = At.get(i);
- e && !e.includes(r) ? e.push(r) : At.set(i, [r]);
- }
- return B(() => {
+var Pt = /* @__PURE__ */ new WeakMap();
+function Ft(e) {
+ let [t, n] = (0, w.useState)(e), r = (0, w.useRef)(null), i = Xe(t), a = (0, w.useRef)(null), o = Pt.get(a);
+ if (Nt && o !== i && (o != null && Nt.unregister(a), Nt.register(a, i, a), Pt.set(a, i)), jt) {
+ let e = Mt.get(i);
+ e && !e.includes(r) ? e.push(r) : Mt.set(i, [r]);
+ }
+ return z(() => {
let e = i;
return () => {
- jt && (jt.unregister(a), Mt.delete(a)), At.delete(e);
+ Nt && (Nt.unregister(a), Pt.delete(a)), Mt.delete(e);
};
- }, [i]), (0, C.useEffect)(() => {
+ }, [i]), (0, w.useEffect)(() => {
let e = r.current;
return e && n(e), () => {
e && (r.current = null);
};
}), i;
}
-function Pt(e, t) {
+function It(e, t) {
if (e === t) return e;
- let n = At.get(e);
+ let n = Mt.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = At.get(t);
+ let r = Mt.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function Ft(e = []) {
- let t = Nt(), [n, r] = Ot(t), i = (0, C.useCallback)(() => {
+function Lt(e = []) {
+ let t = Ft(), [n, r] = At(t), i = (0, w.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return B(i, [
+ return z(i, [
t,
i,
...e
@@ -1275,60 +1275,60 @@ function Ft(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function It(...e) {
+function Rt(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = Lt(e, t);
+ let r = zt(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : Lt(e[n], null);
+ typeof t == "function" ? t() : zt(e[n], null);
});
};
};
}
-function Lt(e, t) {
+function zt(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Rt(e) {
+function Bt(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 = Rt(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Bt(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function zt() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Rt(e)) && (r && (r += " "), r += t);
+function Vt() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Bt(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs
-function V(...e) {
+function B(...e) {
let t = { ...e[0] };
for (let n = 1; n < e.length; n++) {
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] = Dt(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = zt(n, i) : e === "id" && n && i ? t.id = Pt(n, i) : e === "ref" && n && i ? t.ref = It(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] = kt(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Vt(n, i) : e === "id" && n && i ? t.id = It(n, i) : e === "ref" && n && i ? t.ref = Rt(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Bt(e) {
- let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, C.useCallback)((e) => {
- if (L(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = ve(a), s = (0, C.useCallback)((e) => {
- let t = L(e), r = j(t), a = r ? I(r) : I();
+function V(e) {
+ let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, w.useCallback)((e) => {
+ if (I(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
+ }, [r, i]), o = be(a), s = (0, w.useCallback)((e) => {
+ let t = I(e), r = j(t), a = r ? se(r) : se();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -1342,7 +1342,7 @@ function Bt(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function H(e) {
+function Ht(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -1367,33 +1367,33 @@ function H(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Vt = /* @__PURE__ */ new Set([
+var Ut = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Ht = [
+]), Wt = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Ut(e) {
+function Gt(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(we() ? "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(Ee() ? "Meta" : "Control"), t;
}
-function Wt(e) {
+function Kt(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 Gt(e) {
- return Ht.filter((t) => e.has(t));
+function qt(e) {
+ return Wt.filter((t) => e.has(t));
}
-function Kt(e) {
+function Jt(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Vt.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 Ut.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,
@@ -1405,10 +1405,10 @@ function Kt(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 qt(e) {
+function Yt(e) {
return e.toLowerCase();
}
-var Jt = {
+var Xt = {
space: " ",
esc: "escape",
del: "delete",
@@ -1420,26 +1420,26 @@ var Jt = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Yt(e) {
- let t = qt(e);
- return Jt[t] ?? t;
+function Zt(e) {
+ let t = Yt(e);
+ return Xt[t] ?? t;
}
-function Xt(e) {
- let t = Gt(Ut(e)), n = Yt(e.key);
+function Qt(e) {
+ let t = qt(Gt(e)), n = Zt(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function Zt(e) {
- let t = Gt(Wt(e)), n = qt(e.key);
+function $t(e) {
+ let t = qt(Kt(e)), n = Yt(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Qt(e) {
+function en(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Kt(n);
- t.set(Xt(e), r);
+ let e = Jt(n);
+ t.set(Qt(e), r);
}
return (e) => {
- let n = Zt(e), r = t.get(n), i = r?.(e);
+ let n = $t(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -1451,11 +1451,11 @@ function Qt(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function $t(e) {
+function tn(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Qt(t), s = H((e) => {
- if (!F(e.currentTarget, L(e))) {
+ let o = en(t), s = Ht((e) => {
+ if (!F(e.currentTarget, I(e))) {
e.continuePropagation();
return;
}
@@ -1464,8 +1464,8 @@ function $t(e) {
return;
}
o(e);
- }), c = H((e) => {
- if (!F(e.currentTarget, L(e))) {
+ }), c = Ht((e) => {
+ if (!F(e.currentTarget, I(e))) {
e.continuePropagation();
return;
}
@@ -1475,8 +1475,8 @@ function $t(e) {
}
e.continuePropagation();
});
- i = e.onKeyDown ? Dt(e.onKeyDown, s) : s, a = e.onKeyUp ? Dt(e.onKeyUp, c) : c;
- } else i = H(e.onKeyDown), a = H(e.onKeyUp);
+ i = e.onKeyDown ? kt(e.onKeyDown, s) : s, a = e.onKeyUp ? kt(e.onKeyUp, c) : c;
+ } else i = Ht(e.onKeyDown), a = Ht(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -1484,8 +1484,8 @@ function $t(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function en(e) {
- let t = (0, C.useRef)(null), n = (0, C.useRef)(void 0), r = (0, C.useCallback)((t) => {
+function nn(e) {
+ let t = (0, w.useRef)(null), n = (0, w.useRef)(void 0), r = (0, w.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
return () => {
@@ -1496,7 +1496,7 @@ function en(e) {
e.current = null;
};
}, [e]);
- return (0, C.useMemo)(() => ({
+ return (0, w.useMemo)(() => ({
get current() {
return t.current;
},
@@ -1507,8 +1507,8 @@ function en(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function tn(e, t) {
- B(() => {
+function rn(e, t) {
+ z(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -1516,20 +1516,20 @@ function tn(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var nn = /*#__PURE__*/ C.createContext(null);
-function rn(e) {
- let t = (0, C.useContext)(nn) || {};
- tn(t, e);
+var an = /*#__PURE__*/ w.createContext(null);
+function on(e) {
+ let t = (0, w.useContext)(an) || {};
+ rn(t, e);
let { ref: n, ...r } = t;
return r;
}
-function an(e, t) {
- let { focusProps: n } = Bt(e), { keyboardProps: r } = $t(e), i = V(n, r), a = rn(t), o = e.isDisabled ? {} : a, s = (0, C.useRef)(e.autoFocus);
- (0, C.useEffect)(() => {
- s.current && t.current && Et(t.current), s.current = !1;
+function sn(e, t) {
+ let { focusProps: n } = V(e), { keyboardProps: r } = tn(e), i = B(n, r), a = on(t), o = e.isDisabled ? {} : a, s = (0, w.useRef)(e.autoFocus);
+ (0, w.useEffect)(() => {
+ s.current && t.current && Ot(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
- return e.isDisabled && (c = void 0), { focusableProps: V({
+ return e.isDisabled && (c = void 0), { focusableProps: B({
...i,
tabIndex: c
}, o) };
@@ -1561,23 +1561,23 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var on = /*#__PURE__*/ (0, C.createContext)(!1);
-function sn(e) {
- if ((0, C.useContext)(on)) return /*#__PURE__*/ C.createElement(C.Fragment, null, e.children);
- let t = /*#__PURE__*/ C.createElement(on.Provider, { value: !0 }, e.children);
- return /*#__PURE__*/ C.createElement("template", null, t);
+var cn = /*#__PURE__*/ (0, w.createContext)(!1);
+function ln(e) {
+ if ((0, w.useContext)(cn)) return /*#__PURE__*/ w.createElement(w.Fragment, null, e.children);
+ let t = /*#__PURE__*/ w.createElement(cn.Provider, { value: !0 }, e.children);
+ return /*#__PURE__*/ w.createElement("template", null, t);
}
-function cn(e) {
- let t = (t, n) => (0, C.useContext)(on) ? null : e(t, n);
- return t.displayName = e.displayName || e.name, (0, C.forwardRef)(t);
+function un(e) {
+ let t = (t, n) => (0, w.useContext)(cn) ? null : e(t, n);
+ return t.displayName = e.displayName || e.name, (0, w.forwardRef)(t);
}
-function ln() {
- return (0, C.useContext)(on);
+function dn() {
+ return (0, w.useContext)(cn);
}
//#endregion
//#region node_modules/react-dom/cjs/react-dom.production.js
-var un = /* @__PURE__ */ l(((e) => {
- var t = S();
+var fn = /* @__PURE__ */ u(((e) => {
+ var t = C();
function n(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -1704,7 +1704,7 @@ var un = /* @__PURE__ */ l(((e) => {
}, e.useFormStatus = function() {
return l.H.useHostTransitionStatus();
}, e.version = "19.3.0";
-})), dn = /* @__PURE__ */ l(((e, t) => {
+})), pn = /* @__PURE__ */ u(((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);
@@ -1712,9 +1712,9 @@ var un = /* @__PURE__ */ l(((e) => {
console.error(e);
}
}
- n(), t.exports = un();
-})), fn = /* @__PURE__ */ l(((e) => {
- var t = S();
+ n(), t.exports = fn();
+})), mn = /* @__PURE__ */ u(((e) => {
+ var t = C();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -1751,48 +1751,48 @@ var un = /* @__PURE__ */ l(((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;
-})), pn = /* @__PURE__ */ l(((e, t) => {
- t.exports = fn();
-})), mn = /* @__PURE__ */ d(dn(), 1), hn = pn(), gn = /*#__PURE__*/ (0, C.createContext)(!1), _n = /*#__PURE__*/ (0, C.createContext)(null);
-function vn(e) {
- if ((0, C.useContext)(_n)) return e.content;
- let { collection: t, document: n } = Sn(e.createCollection);
- return /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(sn, null, /*#__PURE__*/ C.createElement(_n.Provider, { value: n }, e.content)), /*#__PURE__*/ C.createElement(yn, {
+})), hn = /* @__PURE__ */ u(((e, t) => {
+ t.exports = mn();
+})), gn = /* @__PURE__ */ f(pn(), 1), _n = hn(), vn = /*#__PURE__*/ (0, w.createContext)(!1), yn = /*#__PURE__*/ (0, w.createContext)(null);
+function bn(e) {
+ if ((0, w.useContext)(yn)) return e.content;
+ let { collection: t, document: n } = wn(e.createCollection);
+ return /*#__PURE__*/ w.createElement(w.Fragment, null, /*#__PURE__*/ w.createElement(ln, null, /*#__PURE__*/ w.createElement(yn.Provider, { value: n }, e.content)), /*#__PURE__*/ w.createElement(xn, {
render: e.children,
collection: t
}));
}
-function yn({ collection: e, render: t }) {
+function xn({ collection: e, render: t }) {
return t(e);
}
-function bn(e, t, n) {
- let r = Qe(), i = (0, C.useRef)(r);
+function Sn(e, t, n) {
+ let r = et(), i = (0, w.useRef)(r);
i.current = r;
- let a = (0, C.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, hn.useSyncExternalStore)(e, a);
+ let a = (0, w.useCallback)(() => i.current ? n() : t(), [t, n]);
+ return (0, _n.useSyncExternalStore)(e, a);
}
-var xn = typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore : bn;
-function Sn(e) {
- let [t] = (0, C.useState)(() => new b(e?.() || new g()));
+var Cn = typeof w.useSyncExternalStore == "function" ? w.useSyncExternalStore : Sn;
+function wn(e) {
+ let [t] = (0, w.useState)(() => new x(e?.() || new _()));
return {
- collection: xn((0, C.useCallback)((e) => t.subscribe(e), [t]), (0, C.useCallback)(() => {
+ collection: Cn((0, w.useCallback)((e) => t.subscribe(e), [t]), (0, w.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
- }, [t]), (0, C.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
+ }, [t]), (0, w.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var Cn = /*#__PURE__*/ (0, C.createContext)(null);
-function wn(e) {
- return class extends f {
+var Tn = /*#__PURE__*/ (0, w.createContext)(null);
+function En(e) {
+ return class extends p {
static {
this.type = e;
}
};
}
-function Tn(e, t, n, r, i, a) {
- typeof e == "string" && (e = wn(e));
- let o = (0, C.useCallback)((i) => {
+function Dn(e, t, n, r, i, a) {
+ typeof e == "string" && (e = En(e));
+ let o = (0, w.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
t,
@@ -1800,77 +1800,77 @@ function Tn(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, C.useContext)(Cn);
+ ]), s = (0, w.useContext)(Tn);
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__*/ C.createElement(Cn.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__*/ w.createElement(Tn.Provider, { value: o }, i) : null;
}
- return /*#__PURE__*/ C.createElement(e.type, { ref: o }, i);
+ return /*#__PURE__*/ w.createElement(e.type, { ref: o }, i);
}
-function En(e, t) {
- let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, C.forwardRef)((r, i) => {
- let a = (0, C.useContext)(nn);
- if (!(0, C.useContext)(gn)) {
+function On(e, t) {
+ let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, w.forwardRef)((r, i) => {
+ let a = (0, w.useContext)(an);
+ if (!(0, w.useContext)(vn)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return Tn(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ C.createElement(nn.Provider, { value: a }, /*#__PURE__*/ C.createElement(n, { node: e })));
+ return Dn(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ w.createElement(an.Provider, { value: a }, /*#__PURE__*/ w.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function Dn(e) {
- return w({
+function kn(e) {
+ return T({
...e,
addIdAndValue: !0
});
}
-var On = /*#__PURE__*/ (0, C.createContext)(null);
-function kn(e) {
- let t = (0, C.useContext)(On), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Dn({
+var An = /*#__PURE__*/ (0, w.createContext)(null);
+function jn(e) {
+ let t = (0, w.useContext)(An), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = kn({
...e,
idScope: r,
dependencies: n
});
- return (0, C.useContext)(_n) && (i = /*#__PURE__*/ C.createElement(An, null, i)), t = (0, C.useMemo)(() => ({
+ return (0, w.useContext)(yn) && (i = /*#__PURE__*/ w.createElement(Mn, null, i)), t = (0, w.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ C.createElement(On.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ w.createElement(An.Provider, { value: t }, i);
}
-function An({ children: e }) {
- let t = (0, C.useContext)(_n), n = (0, C.useMemo)(() => /*#__PURE__*/ C.createElement(_n.Provider, { value: null }, /*#__PURE__*/ C.createElement(gn.Provider, { value: !0 }, e)), [e]);
- return Qe() ? /*#__PURE__*/ C.createElement(Cn.Provider, { value: t }, n) : /*#__PURE__*/ (0, mn.createPortal)(n, t);
+function Mn({ children: e }) {
+ let t = (0, w.useContext)(yn), n = (0, w.useMemo)(() => /*#__PURE__*/ w.createElement(yn.Provider, { value: null }, /*#__PURE__*/ w.createElement(vn.Provider, { value: !0 }, e)), [e]);
+ return et() ? /*#__PURE__*/ w.createElement(Tn.Provider, { value: t }, n) : /*#__PURE__*/ (0, gn.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var jn = "react-aria-clear-focus", Mn = "react-aria-focus";
+var Nn = "react-aria-clear-focus", Pn = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Nn(e) {
- let t = In(j(e));
- t !== e && (t && Pn(t, e), e && Fn(e, t));
+function Fn(e) {
+ let t = Rn(j(e));
+ t !== e && (t && In(t, e), e && Ln(e, t));
}
-function Pn(e, t) {
+function In(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function Fn(e, t) {
+function Ln(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function In(e) {
- let t = I(e), n = t?.getAttribute("aria-activedescendant");
+function Rn(e) {
+ let t = se(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-function Ln(e) {
- return we() ? e.metaKey : e.ctrlKey;
+function zn(e) {
+ return Ee() ? e.metaKey : e.ctrlKey;
}
-var Rn = /* @__PURE__ */ new Set([
+var Bn = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -1881,27 +1881,27 @@ var Rn = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function zn(e) {
- return e instanceof HTMLInputElement && !Rn.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
+function Vn(e) {
+ return e instanceof HTMLInputElement && !Bn.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Bn = C.useInsertionEffect ?? B;
-function Vn(e) {
- let t = (0, C.useRef)(null);
- return Bn(() => {
+var Hn = w.useInsertionEffect ?? z;
+function Un(e) {
+ let t = (0, w.useRef)(null);
+ return Hn(() => {
t.current = e;
- }, [e]), (0, C.useCallback)((...e) => {
+ }, [e]), (0, w.useCallback)((...e) => {
let n = t.current;
return n?.(...e);
}, []);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Hn(e, t, n, r) {
- let i = Vn(n), a = n == null;
- (0, C.useEffect)(() => {
- if (!(a || e.current == null)) return ne(e.current, t, i, r);
+function Wn(e, t, n, r) {
+ let i = Un(n), a = n == null;
+ (0, w.useEffect)(() => {
+ if (!(a || e.current == null)) return ie(e.current, t, i, r);
}, [
e,
t,
@@ -1911,9 +1911,9 @@ function Hn(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Un(e, t) {
+function Gn(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Nt(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 = Ft(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
@@ -1921,7 +1921,7 @@ function Un(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var Wn = /* @__PURE__ */ new Set([
+var Kn = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -1932,7 +1932,7 @@ var Wn = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), Gn = /* @__PURE__ */ new Set([
+]), qn = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -1953,20 +1953,20 @@ var Wn = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Kn(e) {
+function Jn(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 Wn.has(t.script);
+ if (t.script) return Kn.has(t.script);
}
let t = e.split("-")[0];
- return Gn.has(t);
+ return qn.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var qn = Symbol.for("react-aria.i18n.locale");
-function Jn() {
- let e = typeof window < "u" && window[qn] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Yn = Symbol.for("react-aria.i18n.locale");
+function Xn() {
+ let e = typeof window < "u" && window[Yn] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -1974,33 +1974,33 @@ function Jn() {
}
return {
locale: e,
- direction: Kn(e) ? "rtl" : "ltr"
+ direction: Jn(e) ? "rtl" : "ltr"
};
}
-var Yn = Jn(), Xn = /* @__PURE__ */ new Set();
-function Zn() {
- Yn = Jn();
- for (let e of Xn) e(Yn);
+var Zn = Xn(), Qn = /* @__PURE__ */ new Set();
+function $n() {
+ Zn = Xn();
+ for (let e of Qn) e(Zn);
}
-function Qn() {
- let e = Qe(), [t, n] = (0, C.useState)(Yn);
- return (0, C.useEffect)(() => (Xn.size === 0 && window.addEventListener("languagechange", Zn), Xn.add(n), () => {
- Xn.delete(n), Xn.size === 0 && window.removeEventListener("languagechange", Zn);
+function er() {
+ let e = et(), [t, n] = (0, w.useState)(Zn);
+ return (0, w.useEffect)(() => (Qn.size === 0 && window.addEventListener("languagechange", $n), Qn.add(n), () => {
+ Qn.delete(n), Qn.size === 0 && window.removeEventListener("languagechange", $n);
}), []), e ? {
- locale: typeof window < "u" && window[qn] || "en-US",
+ locale: typeof window < "u" && window[Yn] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var $n = /*#__PURE__*/ C.createContext(null);
-function er() {
- let e = Qn();
- return (0, C.useContext)($n) || e;
+var tr = /*#__PURE__*/ w.createContext(null);
+function nr() {
+ let e = er();
+ return (0, w.useContext)(tr) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var tr = Symbol.for("react-aria.i18n.locale"), nr = Symbol.for("react-aria.i18n.strings"), rr = void 0, ir = class e {
+var rr = Symbol.for("react-aria.i18n.locale"), ir = Symbol.for("react-aria.i18n.strings"), ar = void 0, or = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -2011,39 +2011,39 @@ var tr = Symbol.for("react-aria.i18n.locale"), nr = Symbol.for("react-aria.i18n.
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = ar(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = sr(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[tr];
- if (rr === void 0) {
- let t = window[nr];
+ let n = window[rr];
+ if (ar === void 0) {
+ let t = window[ir];
if (!t) return null;
- rr = {};
- for (let r in t) rr[r] = new e({ [n]: t[r] }, n);
+ ar = {};
+ for (let r in t) ar[r] = new e({ [n]: t[r] }, n);
}
- let r = rr?.[t];
+ let r = ar?.[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 ar(e, t, n = "en-US") {
+function sr(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = or(e), i = sr(e);
+ let r = cr(e), i = lr(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 or(e) {
+function cr(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function sr(e) {
+function lr(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var cr = /* @__PURE__ */ new Map(), lr = /* @__PURE__ */ new Map(), ur = class {
+var ur = /* @__PURE__ */ new Map(), dr = /* @__PURE__ */ new Map(), fr = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -2054,37 +2054,37 @@ var cr = /* @__PURE__ */ new Map(), lr = /* @__PURE__ */ new Map(), ur = class {
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = cr.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), cr.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = ur.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), ur.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = lr.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), lr.set(this.locale, t)), t.format(e);
+ let t = dr.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), dr.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, dr = /* @__PURE__ */ new WeakMap();
-function fr(e) {
- let t = dr.get(e);
- return t || (t = new ir(e), dr.set(e, t)), t;
+}, pr = /* @__PURE__ */ new WeakMap();
+function mr(e) {
+ let t = pr.get(e);
+ return t || (t = new or(e), pr.set(e, t)), t;
}
-function pr(e, t) {
- return t && ir.getGlobalDictionaryForPackage(t) || fr(e);
+function hr(e, t) {
+ return t && or.getGlobalDictionaryForPackage(t) || mr(e);
}
-function mr(e, t) {
- let { locale: n } = er(), r = pr(e, t);
- return (0, C.useMemo)(() => new ur(n, r), [n, r]);
+function gr(e, t) {
+ let { locale: n } = nr(), r = hr(e, t);
+ return (0, w.useMemo)(() => new fr(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var hr = /* @__PURE__ */ new Set(["id"]), gr = /* @__PURE__ */ new Set([
+var _r = /* @__PURE__ */ new Set(["id"]), vr = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), _r = /* @__PURE__ */ new Set([
+]), yr = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -2092,52 +2092,52 @@ var hr = /* @__PURE__ */ new Set(["id"]), gr = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), vr = /* @__PURE__ */ new Set([
+]), br = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), yr = /* @__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(".")), br = /^(data-.*)$/;
-function xr(e, t = {}) {
+]), xr = /* @__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(".")), Sr = /^(data-.*)$/;
+function Cr(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) && (hr.has(t) || n && gr.has(t) || r && _r.has(t) || i && vr.has(t) || a && (yr.has(t) || t.endsWith("Capture") && yr.has(t.slice(0, -7))) || o?.has(t) || br.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (_r.has(t) || n && vr.has(t) || r && yr.has(t) || i && br.has(t) || a && (xr.has(t) || t.endsWith("Capture") && xr.has(t.slice(0, -7))) || o?.has(t) || Sr.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Sr = "default", Cr = "", wr = /* @__PURE__ */ new WeakMap();
-function Tr(e) {
- if (De() && ke()) {
- if (Sr === "default") {
+var wr = "default", Tr = "", Er = /* @__PURE__ */ new WeakMap();
+function Dr(e) {
+ if (ke() && je()) {
+ if (wr === "default") {
let t = j(e);
- Cr = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ Tr = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
}
- Sr = "disabled";
+ wr = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- wr.set(e, e.style[t]), e.style[t] = "none";
+ Er.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Er(e) {
- if (De() && ke()) {
- if (Sr !== "disabled") return;
- Sr = "restoring", setTimeout(() => {
- Tt(() => {
- if (Sr === "restoring") {
+function Or(e) {
+ if (ke() && je()) {
+ if (wr !== "disabled") return;
+ wr = "restoring", setTimeout(() => {
+ Dt(() => {
+ if (wr === "restoring") {
let t = j(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Cr || ""), Cr = "", Sr = "default";
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Tr || ""), Tr = "", wr = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && wr.has(e)) {
- let t = wr.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), wr.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Er.has(e)) {
+ let t = Er.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Er.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Dr(e, t) {
+function kr(e, t) {
let n = M(t), r = j(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
@@ -2145,19 +2145,19 @@ function Dr(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var Or = /* @__PURE__ */ new WeakMap();
-function kr(e) {
- let t = j(e), n = Or.get(t);
- return n ??= Dr("csp-nonce", t), n !== void 0 && Or.set(t, n), n;
+var Ar = /* @__PURE__ */ new WeakMap();
+function jr(e) {
+ let t = j(e), n = Ar.get(t);
+ return n ??= kr("csp-nonce", t), n !== void 0 && Ar.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var Ar = C.createContext({ register: () => {} });
-Ar.displayName = "PressResponderContext";
+var Mr = w.createContext({ register: () => {} });
+Mr.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function jr() {
- let e = (0, C.useRef)(/* @__PURE__ */ new Map()), t = (0, C.useCallback)((t, n, r, i) => {
+function Nr() {
+ let e = (0, w.useRef)(/* @__PURE__ */ new Map()), t = (0, w.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
} : r;
@@ -2167,15 +2167,15 @@ function jr() {
fn: a,
options: i
}), t.addEventListener(n, a, i);
- }, []), n = (0, C.useCallback)((t, n, r, i) => {
+ }, []), n = (0, w.useCallback)((t, n, r, i) => {
let a = e.current.get(r)?.fn || r;
t.removeEventListener(n, a, i), e.current.delete(r);
- }, []), r = (0, C.useCallback)(() => {
+ }, []), r = (0, w.useCallback)(() => {
e.current.forEach((e, t) => {
n(e.eventTarget, e.type, t, e.options);
});
}, [n]);
- return (0, C.useEffect)(() => r, [r]), {
+ return (0, w.useEffect)(() => r, [r]), {
addGlobalListener: t,
removeGlobalListener: n,
removeAllGlobalListeners: r
@@ -2183,15 +2183,15 @@ function jr() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Mr(e) {
- let t = (0, C.useContext)(Ar);
+function Pr(e) {
+ let t = (0, w.useContext)(Mr);
if (t) {
let { register: n, ref: r, ...i } = t;
- e = V(i, e), n();
+ e = B(i, e), n();
}
- return tn(t, e.ref), e;
+ return rn(t, e.ref), e;
}
-var Nr = class {
+var Fr = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -2204,9 +2204,9 @@ var Nr = class {
get shouldStopPropagation() {
return this.#e;
}
-}, Pr = Symbol("linkClicked"), Fr = "react-aria-pressable-style", Ir = "data-react-aria-pressable";
-function Lr(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 } = Mr(e), [m, h] = (0, C.useState)(!1), g = (0, C.useRef)({
+}, Ir = Symbol("linkClicked"), Lr = "react-aria-pressable-style", Rr = "data-react-aria-pressable";
+function zr(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 } = Pr(e), [m, h] = (0, w.useState)(!1), g = (0, w.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -2216,12 +2216,12 @@ function Lr(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = jr(), y = (0, C.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = Nr(), y = (0, w.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new Nr("pressstart", t, e);
+ let n = new Fr("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -2229,17 +2229,17 @@ function Lr(e) {
s,
r,
n
- ]), b = (0, C.useCallback)((e, r, a = !0) => {
+ ]), b = (0, w.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 Nr("pressend", r, e);
+ let t = new Fr("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new Nr("press", r, e);
+ let n = new Fr("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -2248,19 +2248,19 @@ function Lr(e) {
i,
n,
t
- ]), x = Vn(b), S = Vn((0, C.useCallback)((e, t) => {
+ ]), x = Un(b), S = Un((0, w.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new Nr("pressup", t, e);
+ let r = new Fr("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
- }, [s, a])), w = (0, C.useCallback)((e) => {
+ }, [s, a])), C = (0, w.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(Br(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Er(t.target);
+ t.didFirePressStart && t.pointerType != null && b(Hr(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Or(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -2268,8 +2268,8 @@ function Lr(e) {
d,
v,
b
- ]), T = Vn(w);
- (0, C.useEffect)(() => {
+ ]), T = Un(C);
+ (0, w.useEffect)(() => {
s && g.current.isPressed && T({
currentTarget: g.current.target,
shiftKey: !1,
@@ -2278,46 +2278,46 @@ function Lr(e) {
altKey: !1
});
}, [s]);
- let D = (0, C.useCallback)((e) => {
- u && w(e);
- }, [u, w]), O = (0, C.useCallback)((e) => {
+ let ee = (0, w.useCallback)((e) => {
+ u && C(e);
+ }, [u, C]), D = (0, w.useCallback)((e) => {
s || o?.(e);
- }, [s, o]), k = (0, C.useCallback)((e, t) => {
+ }, [s, o]), O = (0, w.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- _e(n, t), o(ge(n));
+ ye(n, t), o(ve(n));
}
- }, [s, o]), A = (0, C.useMemo)(() => {
+ }, [s, o]), k = (0, w.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (zr(t.nativeEvent, t.currentTarget) && F(t.currentTarget, L(t))) {
- Hr(L(t), t.key) && t.preventDefault();
+ if (Vr(t.nativeEvent, t.currentTarget) && F(t.currentTarget, I(t))) {
+ Wr(I(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;
- _(j(t.currentTarget), "keyup", Dt((t) => {
- zr(t, i) && !t.repeat && F(i, L(t)) && e.target && S(Br(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && we() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(j(t.currentTarget), "keyup", kt((t) => {
+ Vr(t, i) && !t.repeat && F(i, I(t)) && e.target && S(Hr(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && Ee() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if (!(t && !F(t.currentTarget, L(t))) && t && t.button === 0 && !e.isTriggeringEvent && !Le.isOpening) {
+ if (!(t && !F(t.currentTarget, I(t))) && t && t.button === 0 && !e.isTriggeringEvent && !ze.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Ne(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Fe(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
- O(t), n = e && r && i;
+ D(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Br(t.currentTarget, t), r), a = x(Br(t.currentTarget, t), r, !0);
- n = i && a, e.isOverTarget = !1, O(t), T(t);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Hr(t.currentTarget, t), r), a = x(Hr(t.currentTarget, t), r, !0);
+ n = i && a, e.isOverTarget = !1, D(t), T(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && zr(t, e.target)) {
- Hr(L(t), t.key) && t.preventDefault();
- let n = L(t), r = F(e.target, n);
- x(Br(e.target, t), "keyboard", r), r && k(t, e.target), v(), t.key !== "Enter" && Rr(e.target) && F(e.target, n) && !t[Pr] && (t[Pr] = !0, Le(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && Vr(t, e.target)) {
+ Wr(I(t), t.key) && t.preventDefault();
+ let n = I(t), r = F(e.target, n);
+ x(Hr(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Br(e.target) && F(e.target, n) && !t[Ir] && (t[Ir] = !0, ze(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;
@@ -2326,37 +2326,37 @@ function Lr(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !F(t.currentTarget, L(t))) return;
- if (Pe(t.nativeEvent)) {
+ if (t.button !== 0 || !F(t.currentTarget, I(t))) return;
+ if (Ie(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 || Tr(e.target), i = y(t, e.pointerType);
- let a = L(t);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Dr(e.target), i = y(t, e.pointerType);
+ let a = I(t);
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(j(t.currentTarget), "pointerup", n, !1), _(j(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (F(t.currentTarget, L(t)) && t.button === 0) {
+ if (F(t.currentTarget, I(t)) && t.button === 0) {
if (l) {
- let n = be(t.target);
+ let n = Se(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- !F(t.currentTarget, L(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ !F(t.currentTarget, I(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(Br(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Hr(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Br(e.target, t), e.pointerType, !1), D(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Hr(e.target, t), e.pointerType, !1), ee(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (F(e.target, L(t)) && e.pointerType != null) {
+ if (F(e.target, I(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (E(e.target), e.target.click()));
}, 80);
@@ -2368,7 +2368,7 @@ function Lr(e) {
T(e);
};
t.onDragStart = (e) => {
- F(e.currentTarget, L(e)) && T(e);
+ F(e.currentTarget, I(e)) && T(e);
};
}
return t;
@@ -2378,45 +2378,45 @@ function Lr(e) {
l,
v,
d,
- D,
+ ee,
y,
- O,
- k
+ D,
+ O
]);
- return (0, C.useEffect)(() => {
+ return (0, w.useEffect)(() => {
if (!f) return;
let e = j(f.current);
- if (!e || !e.head || e.getElementById(Fr)) return;
+ if (!e || !e.head || e.getElementById(Lr)) return;
let t = e.createElement("style");
- t.id = Fr;
- let n = kr(e);
+ t.id = Lr;
+ let n = jr(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${Ir}] {
+ [${Rr}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
`.trim(), e.head.prepend(t);
- }, [f]), (0, C.useEffect)(() => {
+ }, [f]), (0, w.useEffect)(() => {
let e = g.current;
return () => {
- d || Er(e.target ?? void 0);
+ d || Or(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: V(p, A, { [Ir]: !0 })
+ pressProps: B(p, k, { [Rr]: !0 })
};
}
-function Rr(e) {
+function Br(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function zr(e, t) {
+function Vr(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof M(i).HTMLInputElement && !Wr(i, n) || i instanceof M(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Rr(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof M(i).HTMLInputElement && !Kr(i, n) || i instanceof M(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Br(i)) && n !== "Enter");
}
-function Br(e, t) {
+function Hr(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -2429,13 +2429,13 @@ function Br(e, t) {
key: t.key
};
}
-function Vr(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Rr(e);
+function Ur(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Br(e);
}
-function Hr(e, t) {
- return we() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Wr(e, t) : Vr(e);
+function Wr(e, t) {
+ return Ee() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Kr(e, t) : Ur(e);
}
-var Ur = /* @__PURE__ */ new Set([
+var Gr = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -2446,12 +2446,12 @@ var Ur = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Wr(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Ur.has(e.type);
+function Kr(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Gr.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function Gr(e, t) {
+function qr(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,
@@ -2473,7 +2473,7 @@ function Gr(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = Lr({
+ let { pressProps: _, isPressed: v } = zr({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -2483,12 +2483,12 @@ function Gr(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = an(e, t);
+ }), { focusableProps: y } = sn(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = V(y, _, xr(e, { labelable: !0 }));
+ let b = B(y, _, Cr(e, { labelable: !0 }));
return {
isPressed: v,
- buttonProps: V(g, b, {
+ buttonProps: B(g, b, {
"aria-haspopup": e["aria-haspopup"],
"aria-expanded": e["aria-expanded"],
"aria-controls": e["aria-controls"],
@@ -2500,7 +2500,7 @@ function Gr(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Kr = class {
+var Jr = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -2603,202 +2603,202 @@ var Kr = class {
return null;
}
};
-function qr(e, t, n, r) {
- return ae() ? new Kr(e, t, n, r) : e.createTreeWalker(t, n, r);
+function Yr(e, t, n, r) {
+ return P() ? new Jr(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Jr = /*#__PURE__*/ C.createContext(null), Yr = "react-aria-focus-scope-restore", Xr = null;
-function Zr(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useRef)([]), { parentNode: c } = (0, C.useContext)(Jr) || {}, l = (0, C.useMemo)(() => new yi({ scopeRef: s }), [s]);
- B(() => {
- let e = c || bi.root;
- if (bi.getTreeNode(e.scopeRef) && Xr && !ci(Xr, e.scopeRef)) {
- let t = bi.getTreeNode(Xr);
+var Xr = /*#__PURE__*/ w.createContext(null), Zr = "react-aria-focus-scope-restore", H = null;
+function Qr(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, w.useRef)(null), o = (0, w.useRef)(null), s = (0, w.useRef)([]), { parentNode: c } = (0, w.useContext)(Xr) || {}, l = (0, w.useMemo)(() => new bi({ scopeRef: s }), [s]);
+ z(() => {
+ let e = c || xi.root;
+ if (xi.getTreeNode(e.scopeRef) && H && !li(H, e.scopeRef)) {
+ let t = xi.getTreeNode(H);
t && (e = t);
}
- e.addChild(l), bi.addNode(l);
- }, [l, c]), B(() => {
- let e = bi.getTreeNode(s);
+ e.addChild(l), xi.addNode(l);
+ }, [l, c]), z(() => {
+ let e = xi.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), B(() => {
+ }, [n]), z(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Yr, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Zr, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Yr, n);
+ for (let e of t) e.removeEventListener(Zr, n);
};
- }, [t]), pi(s, r, n), ri(s, n), hi(s, r, n), fi(s, i), (0, C.useEffect)(() => {
- let e = I(j(s.current ? s.current[0] : void 0)), t = null;
- if (ai(e, s.current)) {
- for (let n of bi.traverse()) n.scopeRef && ai(e, n.scopeRef.current) && (t = n);
- t === bi.getTreeNode(s) && (Xr = t.scopeRef);
- }
- }, [s]), B(() => () => {
- let e = bi.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Xr || ci(s, Xr)) && (!e || bi.getTreeNode(e)) && (Xr = e), bi.removeTreeNode(s);
+ }, [t]), mi(s, r, n), ii(s, n), gi(s, r, n), pi(s, i), (0, w.useEffect)(() => {
+ let e = se(j(s.current ? s.current[0] : void 0)), t = null;
+ if (oi(e, s.current)) {
+ for (let n of xi.traverse()) n.scopeRef && oi(e, n.scopeRef.current) && (t = n);
+ t === xi.getTreeNode(s) && (H = t.scopeRef);
+ }
+ }, [s]), z(() => () => {
+ let e = xi.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === H || li(s, H)) && (!e || xi.getTreeNode(e)) && (H = e), xi.removeTreeNode(s);
}, [s]);
- let u = (0, C.useMemo)(() => Qr(s), []), d = (0, C.useMemo)(() => ({
+ let u = (0, w.useMemo)(() => $r(s), []), d = (0, w.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ C.createElement(Jr.Provider, { value: d }, /*#__PURE__*/ C.createElement("span", {
+ return /*#__PURE__*/ w.createElement(Xr.Provider, { value: d }, /*#__PURE__*/ w.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
- }), t, /*#__PURE__*/ C.createElement("span", {
+ }), t, /*#__PURE__*/ w.createElement("span", {
"data-focus-scope-end": !0,
hidden: !0,
ref: o
}));
}
-function Qr(e) {
+function $r(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || I(j(n[0] ?? void 0)), c = n[0].previousElementSibling, l = _i($r(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || se(j(n[0] ?? void 0)), c = n[0].previousElementSibling, l = vi(ei(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = ai(s, n) ? s : c;
+ l.currentNode = oi(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && li(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && ui(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || I(j(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = _i($r(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || se(j(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = vi(ei(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = ai(s, n) ? s : c;
+ l.currentNode = oi(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && li(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && ui(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = _i($r(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = vi(ei(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && li(o, !0), o;
+ return o && ui(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = _i($r(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = vi(ei(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && li(o, !0), o;
+ return o && ui(o, !0), o;
}
};
}
-function $r(e) {
+function ei(e) {
return e[0].parentElement;
}
-function ei(e) {
- let t = bi.getTreeNode(Xr);
+function ti(e) {
+ let t = xi.getTreeNode(H);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function ti(e) {
+function ni(e) {
if (!e.form) return Array.from(j(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
let t = e.form.elements.namedItem(e.name), n = M(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function ni(e) {
+function ri(e) {
if (e.checked) return !0;
- let t = ti(e);
+ let t = ni(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function ri(e, t) {
- let n = (0, C.useRef)(void 0), r = (0, C.useRef)(void 0);
- B(() => {
+function ii(e, t) {
+ let n = (0, w.useRef)(void 0), r = (0, w.useRef)(void 0);
+ z(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
let a = j(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ei(e) || t.isComposing) return;
- let n = I(a), r = e.current;
- if (!r || !ai(n, r)) return;
- let i = _i($r(r), { tabbable: !0 }, r);
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ti(e) || t.isComposing) return;
+ let n = se(a), r = e.current;
+ if (!r || !oi(n, r)) return;
+ let i = vi(ei(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 && (li(o, !0), o instanceof M(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 && (ui(o, !0), o instanceof M(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Xr || ci(Xr, e)) && ai(L(t), e.current) ? (Xr = e, n.current = L(t)) : ei(e) && !oi(L(t), e) ? n.current ? li(n.current) : Xr && Xr.current && di(Xr.current) : ei(e) && (n.current = L(t));
+ (!H || li(H, e)) && oi(I(t), e.current) ? (H = e, n.current = I(t)) : ti(e) && !si(I(t), e) ? n.current ? ui(n.current) : H && H.current && fi(H.current) : ti(e) && (n.current = I(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = gt(), i = (r === "virtual" || r === null) && je() && Ae(), o = I(a);
- if (!i && o && ei(e) && !oi(o, e)) {
- Xr = e;
- let r = L(t);
- r && r.isConnected ? (n.current = r, li(n.current)) : Xr.current && di(Xr.current);
+ let r = vt(), i = (r === "virtual" || r === null) && Ne() && Me(), o = se(a);
+ if (!i && o && ti(e) && !si(o, e)) {
+ H = e;
+ let r = I(t);
+ r && r.isConnected ? (n.current = r, ui(n.current)) : H.current && fi(H.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]), B(() => () => {
+ }, [e, t]), z(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function ii(e) {
- return oi(e);
+function ai(e) {
+ return si(e);
}
-function ai(e, t) {
+function oi(e, t) {
return !e || !t ? !1 : t.some((t) => F(t, e));
}
-function oi(e, t = null) {
+function si(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of bi.traverse(bi.getTreeNode(t))) if (n && ai(e, n.current)) return !0;
+ for (let { scopeRef: n } of xi.traverse(xi.getTreeNode(t))) if (n && oi(e, n.current)) return !0;
return !1;
}
-function si(e) {
- return oi(e, Xr);
+function ci(e) {
+ return si(e, H);
}
-function ci(e, t) {
- let n = bi.getTreeNode(t)?.parent;
+function li(e, t) {
+ let n = xi.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function li(e, t = !1) {
+function ui(e, t = !1) {
if (e != null && !t) try {
- Et(e);
+ Ot(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function ui(e, t = !0) {
- let n = e[0].previousElementSibling, r = $r(e), i = _i(r, { tabbable: t }, e);
+function di(e, t = !0) {
+ let n = e[0].previousElementSibling, r = ei(e), i = vi(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = $r(e), i = _i(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = ei(e), i = vi(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function di(e, t = !0) {
- li(ui(e, t));
+function fi(e, t = !0) {
+ ui(di(e, t));
}
-function fi(e, t) {
- let n = C.useRef(t);
- (0, C.useEffect)(() => {
- n.current && (Xr = e, !ai(I(j(e.current ? e.current[0] : void 0)), Xr.current) && e.current && di(e.current)), n.current = !1;
+function pi(e, t) {
+ let n = w.useRef(t);
+ (0, w.useEffect)(() => {
+ n.current && (H = e, !oi(se(j(e.current ? e.current[0] : void 0)), H.current) && e.current && fi(e.current)), n.current = !1;
}, [e]);
}
-function pi(e, t, n) {
- B(() => {
+function mi(e, t, n) {
+ z(() => {
if (t || n) return;
let r = e.current, i = j(r ? r[0] : void 0), a = (t) => {
- let n = L(t);
- ai(n, e.current) ? Xr = e : ii(n) || (Xr = null);
+ let n = I(t);
+ oi(n, e.current) ? H = e : ai(n) || (H = 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));
@@ -2809,43 +2809,43 @@ function pi(e, t, n) {
n
]);
}
-function mi(e) {
- let t = bi.getTreeNode(Xr);
+function hi(e) {
+ let t = xi.getTreeNode(H);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function hi(e, t, n) {
- let r = (0, C.useRef)(typeof document < "u" ? I(j(e.current ? e.current[0] : void 0)) : null);
- B(() => {
+function gi(e, t, n) {
+ let r = (0, w.useRef)(typeof document < "u" ? se(j(e.current ? e.current[0] : void 0)) : null);
+ z(() => {
let r = e.current, i = j(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Xr || ci(Xr, e)) && ai(I(i), e.current) && (Xr = e);
+ (!H || li(H, e)) && oi(se(i), e.current) && (H = 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]), B(() => {
+ }, [e, n]), z(() => {
let r = j(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ei(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !ti(e) || t.isComposing) return;
let n = r.activeElement;
- if (!oi(n, e) || !mi(e)) return;
- let i = bi.getTreeNode(e);
+ if (!si(n, e) || !hi(e)) return;
+ let i = xi.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = _i(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = vi(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 || !oi(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !si(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (oi(s, e));
- t.preventDefault(), t.stopPropagation(), s ? li(s, !0) : ii(a) ? li(a, !0) : n.blur();
+ while (si(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? ui(s, !0) : ai(a) ? ui(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -2855,31 +2855,31 @@ function hi(e, t, n) {
e,
t,
n
- ]), B(() => {
+ ]), z(() => {
let n = j(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = bi.getTreeNode(e);
+ let i = xi.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = bi.getTreeNode(e);
+ let r = xi.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = I(n);
- if (t && i && (a && oi(a, e) || a === n.body && mi(e))) {
- let t = bi.clone();
+ let i = r.nodeToRestore, a = se(n);
+ if (t && i && (a && si(a, e) || a === n.body && hi(e))) {
+ let t = xi.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- gi(n.nodeToRestore);
+ _i(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && bi.getTreeNode(n.scopeRef)) {
- let e = ui(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && xi.getTreeNode(n.scopeRef)) {
+ let e = di(n.scopeRef.current, !0);
if (e) {
- gi(e);
+ _i(e);
return;
}
}
@@ -2891,21 +2891,21 @@ function hi(e, t, n) {
};
}, [e, t]);
}
-function gi(e) {
- e.dispatchEvent(new CustomEvent(Yr, {
+function _i(e) {
+ e.dispatchEvent(new CustomEvent(Zr, {
bubbles: !0,
cancelable: !0
- })) && li(e);
+ })) && ui(e);
}
-function _i(e, t, n) {
- let r = t?.tabbable ? me : pe, i = j(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = qr(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return F(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!ni(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || ai(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function vi(e, t, n) {
+ let r = t?.tabbable ? ge : he, i = j(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Yr(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return F(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!ri(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || oi(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var vi = class e {
+var yi = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new yi({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new bi({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -2916,7 +2916,7 @@ var vi = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new yi({ scopeRef: e });
+ let i = new bi({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -2927,7 +2927,7 @@ var vi = 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 && ai(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 && oi(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);
}
@@ -2939,7 +2939,7 @@ var vi = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, yi = class {
+}, bi = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -2949,13 +2949,13 @@ var vi = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, bi = new vi(), xi = 7e3, Si = null;
-function Ci(e, t = "assertive", n = xi) {
- Si ? Si.announce(e, t, n) : (Si = new wi(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Si.announce(e, t, n) : setTimeout(() => {
- Si?.isAttached() && Si?.announce(e, t, n);
+}, xi = new yi(), Si = 7e3, Ci = null;
+function wi(e, t = "assertive", n = Si) {
+ Ci ? Ci.announce(e, t, n) : (Ci = new Ti(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Ci.announce(e, t, n) : setTimeout(() => {
+ Ci?.isAttached() && Ci?.announce(e, t, n);
}, 100));
}
-var wi = class {
+var Ti = 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,
@@ -2980,7 +2980,7 @@ var wi = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = xi) {
+ announce(e, t = "assertive", n = Si) {
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(() => {
@@ -2993,46 +2993,46 @@ var wi = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function Ti(e, t) {
+function Ei(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 Ei(e, t) {
+function Di(e, t) {
let n = e;
- for (Ti(n, t) && (n = n.parentElement); n && !Ti(n, t);) n = n.parentElement;
+ for (Ei(n, t) && (n = n.parentElement); n && !Ei(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function Di(e, t) {
+function Oi(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (Ti(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (Ei(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function Oi(e, t, n = {}) {
- e !== t && ki(e, t, t.getBoundingClientRect(), n);
-}
-function ki(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, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, ie = h + (f ? 0 : D) + C, ae = g - (f ? 0 : O) - w;
- De() && ke() || u.direction === "ltr" ? ae -= te : u.direction === "rtl" && (ie += te);
- let F = k < ne || A > re, I = j < ie || M > ae;
- if (F && i === "start") o += k - ne;
- else if (F && i === "center") o += (k + A) / 2 - (ne + re) / 2;
- else if (F && i === "end") o += A - re;
- else if (F && i === "nearest") {
- let e = k - ne, t = A - re;
+function ki(e, t, n = {}) {
+ e !== t && Ai(e, t, t.getBoundingClientRect(), n);
+}
+function Ai(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, ee = parseFloat(u.borderBottomWidth) || 0, E = parseFloat(u.borderLeftWidth) || 0, D = parseFloat(u.borderRightWidth) || 0, O = n.top - _, k = n.bottom + v, A = n.left - y, j = n.right + b, M = e === d ? 0 : E + D, te = e === d ? 0 : T + ee, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - M, N = e === d ? 0 : e.offsetHeight - e.clientHeight - te, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : ee) - S - N, ae = h + (f ? 0 : E) + C, oe = g - (f ? 0 : D) - w;
+ ke() && je() || u.direction === "ltr" ? oe -= ne : u.direction === "rtl" && (ae += ne);
+ let P = O < re || k > ie, F = A < ae || j > oe;
+ if (P && i === "start") o += O - re;
+ else if (P && i === "center") o += (O + k) / 2 - (re + ie) / 2;
+ else if (P && i === "end") o += k - ie;
+ else if (P && i === "nearest") {
+ let e = O - re, t = k - ie;
o += Math.abs(e) <= Math.abs(t) ? e : t;
}
- if (I && a === "start") s += j - ie;
- else if (I && a === "center") s += (j + M) / 2 - (ie + ae) / 2;
- else if (I && a === "end") s += M - ae;
- else if (I && a === "nearest") {
- let e = j - ie, t = M - ae;
+ if (F && a === "start") s += A - ae;
+ else if (F && a === "center") s += (A + j) / 2 - (ae + oe) / 2;
+ else if (F && a === "end") s += j - oe;
+ else if (F && a === "nearest") {
+ let e = A - ae, t = j - oe;
s += Math.abs(e) <= Math.abs(t) ? e : t;
}
e.scrollTo({
@@ -3040,7 +3040,7 @@ function ki(e, t, n, r = {}) {
top: o
});
}
-function Ai(e, t = {}) {
+function ji(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -3053,50 +3053,50 @@ function Ai(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = Di(e, !0);
- for (let t of i) Oi(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = Oi(e, !0);
+ for (let t of i) ki(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? Di(n, !0) : [];
- for (let e of i) Oi(e, n, {
+ i = n ? Oi(n, !0) : [];
+ for (let e of i) ki(e, n, {
block: "center",
inline: "center"
});
- for (let t of Di(e, !0)) Oi(t, e);
+ for (let t of Oi(e, !0)) ki(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var ji = 0, Mi = /* @__PURE__ */ new Map();
-function Ni(e) {
- let [t, n] = (0, C.useState)();
- return B(() => {
+var Mi = 0, Ni = /* @__PURE__ */ new Map();
+function Pi(e) {
+ let [t, n] = (0, w.useState)();
+ return z(() => {
if (!e) return;
- let t = Mi.get(e);
+ let t = Ni.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${ji++}`;
+ let r = `react-aria-description-${Mi++}`;
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
- }, Mi.set(e, t);
+ }, Ni.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), Mi.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), Ni.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function Pi(e, t, n) {
- let r = Vn((e) => {
+function Fi(e, t, n) {
+ let r = Un((e) => {
n && !e.defaultPrevented && n(t);
});
- (0, C.useEffect)(() => {
+ (0, w.useEffect)(() => {
let t = e?.current?.form;
return t?.addEventListener("reset", r), () => {
t?.removeEventListener("reset", r);
@@ -3105,35 +3105,35 @@ function Pi(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function Fi(e, t, n) {
+function Ii(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- B(() => {
+ z(() => {
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(Li(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Ri(n.current));
}
});
- let a = (0, C.useRef)(!1), o = Vn(() => {
+ let a = (0, w.useRef)(!1), o = Un(() => {
a.current || t.resetValidation();
- }), s = Vn((e) => {
+ }), s = Un((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && Ri(r) === n.current && (i ? i() : n.current?.focus(), _t("keyboard")), e.preventDefault();
- }), c = Vn(() => {
+ !e.defaultPrevented && n && r && zi(r) === n.current && (i ? i() : n.current?.focus(), yt("keyboard")), e.preventDefault();
+ }), c = Un(() => {
t.commitValidation();
});
- (0, C.useEffect)(() => {
+ (0, w.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" && L(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
+ a.current = !window.event || window.event.type === "message" && I(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 Ii(e) {
+function Li(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -3149,14 +3149,14 @@ function Ii(e) {
valid: t.valid
};
}
-function Li(e) {
+function Ri(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: Ii(e),
+ validationDetails: Li(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function Ri(e) {
+function zi(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -3165,16 +3165,16 @@ function Ri(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function zi(e = !0) {
- let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(!1), i = (0, C.useCallback)((e) => {
+function Bi(e = !0) {
+ let [t, n] = (0, w.useState)(e), r = (0, w.useRef)(!1), i = (0, w.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return B(() => {
+ return z(() => {
r.current || n(!1);
}, []), [i, t];
}
-function Bi(e = !0) {
- let t = Nt(), [n, r] = zi(e);
+function Vi(e = !0) {
+ let t = Ft(), [n, r] = Bi(e);
return {
id: r ? t : void 0,
ref: n
@@ -3182,7 +3182,7 @@ function Bi(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var Vi = {
+var Hi = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -3194,18 +3194,18 @@ var Vi = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, Hi = {
- ...Vi,
+}, Ui = {
+ ...Hi,
customError: !0,
valid: !1
-}, Ui = {
+}, Wi = {
isInvalid: !1,
- validationDetails: Vi,
+ validationDetails: Hi,
validationErrors: []
-}, Wi = (0, C.createContext)({}), Gi = "__reactAriaFormValidationState";
-function Ki(e) {
+}, Gi = (0, w.createContext)({}), Ki = "__reactAriaFormValidationState";
+function qi(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Gi];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Ki];
return {
realtimeValidation: t,
displayValidation: n,
@@ -3214,71 +3214,71 @@ function Ki(e) {
commitValidation: a
};
}
- return qi(e);
+ return Ji(e);
}
-function qi(e) {
+function Ji(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: Hi
- }, l = (0, C.useMemo)(() => !o || i == null ? null : Xi(Yi(o, i)), [o, i]);
+ validationDetails: Ui
+ }, l = (0, w.useMemo)(() => !o || i == null ? null : Zi(Xi(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, C.useContext)(Wi), d = (0, C.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Ji(u[e])) : Ji(u[r]) : [], [u, r]), [f, p] = (0, C.useState)(u), [m, h] = (0, C.useState)(!1);
+ let u = (0, w.useContext)(Gi), d = (0, w.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Yi(u[e])) : Yi(u[r]) : [], [u, r]), [f, p] = (0, w.useState)(u), [m, h] = (0, w.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, C.useMemo)(() => Xi(m ? [] : d), [m, d]), _ = (0, C.useRef)(Ui), [v, y] = (0, C.useState)(Ui), b = (0, C.useRef)(Ui), x = () => {
+ let g = (0, w.useMemo)(() => Zi(m ? [] : d), [m, d]), _ = (0, w.useRef)(Wi), [v, y] = (0, w.useState)(Wi), b = (0, w.useRef)(Wi), x = () => {
if (!S) return;
- w(!1);
+ C(!1);
let e = l || a || _.current;
- Zi(e, b.current) || (b.current = e, y(e));
- }, [S, w] = (0, C.useState)(!1);
- return (0, C.useEffect)(x), {
- realtimeValidation: c || g || l || a || Ui,
+ Qi(e, b.current) || (b.current = e, y(e));
+ }, [S, C] = (0, w.useState)(!1);
+ return (0, w.useEffect)(x), {
+ realtimeValidation: c || g || l || a || Wi,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !Zi(v, e) ? y(e) : _.current = e;
+ s === "aria" && !Qi(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = Ui;
- Zi(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);
+ let e = Wi;
+ Qi(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
- s === "native" && w(!0), h(!0);
+ s === "native" && C(!0), h(!0);
}
};
}
-function Ji(e) {
+function Yi(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Yi(e, t) {
+function Xi(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return Ji(n);
+ if (n && typeof n != "boolean") return Yi(n);
}
return [];
}
-function Xi(e) {
+function Zi(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: Hi
+ validationDetails: Ui
} : null;
}
-function Zi(e, t) {
+function Qi(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 Qi(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 = Ki({
+function $i(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 = qi({
...e,
value: t.isSelected
- }), { isInvalid: x, validationErrors: S, validationDetails: w } = b.displayValidation;
- Fi(e, b, n);
+ }), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
+ Ii(e, b, n);
let T = (e) => {
- e.stopPropagation(), t.setSelected(L(e).checked);
- }, { pressProps: E, isPressed: D } = Lr({
+ e.stopPropagation(), t.setSelected(I(e).checked);
+ }, { pressProps: ee, isPressed: E } = zr({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -3286,20 +3286,20 @@ function Qi(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, C.useState)(!1), { pressProps: A } = Lr({
+ }), [D, O] = (0, w.useState)(!1), { pressProps: k } = zr({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
return;
}
- m?.(e), g?.(!0), k(!0);
+ m?.(e), g?.(!0), O(!0);
},
onPressEnd(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
return;
}
- h?.(e), g?.(!1), k(!1);
+ h?.(e), g?.(!1), O(!1);
},
onPressUp(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
@@ -3315,16 +3315,16 @@ function Qi(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [Gi]: i } = e, { commitValidation: a } = i || b;
+ let { [Ki]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = an(e, n), M = V(E, j), N = xr(e, { labelable: !0 });
- Pi(n, t.defaultSelected, t.setSelected);
- let ee = Bi(), te = Bi();
+ }), { focusableProps: A } = sn(e, n), j = B(ee, A), M = Cr(e, { labelable: !0 });
+ Fi(n, t.defaultSelected, t.setSelected);
+ let te = Vi(), ne = Vi();
return {
- labelProps: V(A, { onClick: (e) => e.preventDefault() }),
- inputProps: V(N, {
+ labelProps: B(k, { onClick: (e) => e.preventDefault() }),
+ inputProps: B(M, {
checked: t.isSelected,
"aria-required": l && u === "aria" || void 0,
required: l && u === "native",
@@ -3333,8 +3333,8 @@ function Qi(e, t, n) {
"aria-controls": e["aria-controls"],
"aria-readonly": i || void 0,
"aria-describedby": [
- ee.id,
te.id,
+ ne.id,
p
].filter(Boolean).join(" ") || void 0,
onChange: T,
@@ -3343,27 +3343,27 @@ function Qi(e, t, n) {
name: o,
form: s,
type: "checkbox",
- ...M
+ ...j
}),
- descriptionProps: ee,
- errorMessageProps: te,
+ descriptionProps: te,
+ errorMessageProps: ne,
isSelected: t.isSelected,
- isPressed: D || O,
+ isPressed: E || D,
isDisabled: r,
isReadOnly: i,
isInvalid: x || e.validationState === "invalid",
validationErrors: S,
- validationDetails: w
+ validationDetails: C
};
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function $i(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 } = Qi(e, t, n), { isIndeterminate: m } = e;
- return (0, C.useEffect)(() => {
+function ea(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 } = $i(e, t, n), { isIndeterminate: m } = e;
+ return (0, w.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
- labelProps: V(r, (0, C.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
+ labelProps: B(r, (0, w.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
inputProps: i,
descriptionProps: a,
errorMessageProps: o,
@@ -3378,18 +3378,18 @@ function $i(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var ea = /* @__PURE__ */ new WeakMap();
+var U = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function U(e) {
+function ta(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Nt(t);
- let o = Nt(), s = {};
+ t = Ft(t);
+ let o = Ft(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Un({
+ let c = Gn({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -3401,19 +3401,19 @@ function U(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function ta(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = U(e), s = Ft([
+function na(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ta(e), s = Lt([
!!t,
!!n,
r,
i
- ]), c = Ft([
+ ]), c = Lt([
!!t,
!!n,
r,
i
]);
- return o = V(o, { "aria-describedby": [
+ return o = B(o, { "aria-describedby": [
s,
c,
e["aria-describedby"]
@@ -3426,26 +3426,26 @@ function ta(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function na(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, C.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = jr(), c = (0, C.useCallback)((e) => {
- F(e.currentTarget, L(e)) && a.current.isFocusWithin && !F(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function ra(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, w.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Nr(), c = (0, w.useCallback)((e) => {
+ F(e.currentTarget, I(e)) && a.current.isFocusWithin && !F(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = ve(c), u = (0, C.useCallback)((e) => {
- if (!F(e.currentTarget, L(e))) return;
- let t = L(e), n = j(t), s = I(n);
+ ]), l = be(c), u = (0, w.useCallback)((e) => {
+ if (!F(e.currentTarget, I(e))) return;
+ let t = I(e), n = j(t), s = se(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 = L(e);
+ let r = I(e);
if (a.current.isFocusWithin && !F(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- _e(e, t);
- let i = ge(e);
+ ye(e, t);
+ let i = ve(e);
c(i);
}
}, { capture: !0 });
@@ -3467,26 +3467,26 @@ function na(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var ra = typeof document < "u" ? C.useInsertionEffect ?? C.useLayoutEffect : () => {};
-function ia(e, t, n) {
- let [r, i] = (0, C.useState)(e || t), a = (0, C.useRef)(r), o = (0, C.useRef)(e !== void 0), s = e !== void 0;
- (0, C.useEffect)(() => {
+var ia = typeof document < "u" ? w.useInsertionEffect ?? w.useLayoutEffect : () => {};
+function aa(e, t, n) {
+ let [r, i] = (0, w.useState)(e || t), a = (0, w.useRef)(r), o = (0, w.useRef)(e !== void 0), s = e !== void 0;
+ (0, w.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- ra(() => {
+ ia(() => {
a.current = c;
});
- let [, l] = (0, C.useReducer)(() => ({}), {});
- return [c, (0, C.useCallback)((e, ...t) => {
+ let [, l] = (0, w.useReducer)(() => ({}), {});
+ return [c, (0, w.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 aa(e = {}) {
- let { isReadOnly: t } = e, [n, r] = ia(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, C.useState)(n);
+function oa(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = aa(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, w.useState)(n);
function a(e) {
t || r(e);
}
@@ -3502,26 +3502,26 @@ function aa(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function oa(e, t, n) {
- let r = aa({
+function sa(e, t, n) {
+ let r = oa({
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 } = ea.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = U.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = Ki({
+ let { realtimeValidation: l } = qi({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, C.useRef)(Ui), d = () => {
+ }), u = (0, w.useRef)(Wi), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
- (0, C.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = $i({
+ (0, w.useEffect)(d);
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = ea({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -3529,7 +3529,7 @@ function oa(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [Gi]: {
+ [Ki]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -3553,12 +3553,12 @@ function oa(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function sa(e, t = -Infinity, n = Infinity) {
+function ca(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 ca = {
+var la = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -3570,40 +3570,40 @@ var ca = {
width: "1px",
whiteSpace: "nowrap"
};
-function la(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, C.useState)(!1), { focusWithinProps: a } = na({
+function ua(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, w.useState)(!1), { focusWithinProps: a } = ra({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
- }), o = (0, C.useMemo)(() => r ? t : t ? {
- ...ca,
+ }), o = (0, w.useMemo)(() => r ? t : t ? {
+ ...la,
...t
- } : ca, [r]);
+ } : la, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function ua(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = la(e);
- return /*#__PURE__*/ C.createElement(n, V(a, o), t);
+function da(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = ua(e);
+ return /*#__PURE__*/ w.createElement(n, B(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function da(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = ia(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = an(e, t), d = Ki({
+function fa(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = aa(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = sn(e, t), d = qi({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = ta({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = na({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = xr(e, { labelable: !0 }), b = {
+ }), y = Cr(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
- }, [x] = (0, C.useState)(c);
- return Pi(t, e.defaultValue ?? x, l), Fi(e, d, t), {
+ }, [x] = (0, w.useState)(c);
+ return Fi(t, e.defaultValue ?? x, l), Ii(e, d, t), {
labelProps: h,
- inputProps: V(y, n === "input" ? b : void 0, {
+ inputProps: B(y, n === "input" ? b : void 0, {
disabled: r,
readOnly: a,
required: i && s === "native",
@@ -3615,7 +3615,7 @@ function da(e, t) {
"aria-haspopup": e["aria-haspopup"],
"aria-controls": e["aria-controls"],
value: c,
- onChange: (e) => l(L(e).value),
+ onChange: (e) => l(I(e).value),
autoComplete: e.autoComplete,
autoCapitalize: e.autoCapitalize,
maxLength: e.maxLength,
@@ -3648,20 +3648,20 @@ function da(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var fa = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function pa(e) {
+var pa = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function ma(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var ma = /* @__PURE__ */ new WeakMap(), ha = [];
-function ga(e, t) {
- let n = M(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && fa, 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 ha = /* @__PURE__ */ new WeakMap(), ga = [];
+function _a(e, t) {
+ let n = M(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && pa, 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 (ae()) {
+ if (P()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; P(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; re(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
@@ -3670,20 +3670,20 @@ function ga(e, t) {
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 (F(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = qr(j(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = Yr(j(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 = ma.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), ma.set(e, t + 1));
+ let t = ha.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), ha.set(e, t + 1));
};
- ha.length && ha[ha.length - 1].disconnect(), d(i);
+ ga.length && ga[ga.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) => F(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pa(e) ? o.add(e) : e instanceof Element && d(e);
- if (ae()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => F(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ma(e) ? o.add(e) : e instanceof Element && d(e);
+ if (P()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -3696,11 +3696,11 @@ function ga(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (ae()) for (let e of u) {
+ if (P()) 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) => F(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pa(e) ? o.add(e) : e instanceof Element && d(e);
- if (ae()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => F(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ma(e) ? o.add(e) : e instanceof Element && d(e);
+ if (P()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -3726,59 +3726,59 @@ function ga(e, t) {
p.disconnect();
}
};
- return ha.push(h), () => {
- if (p.disconnect(), ae()) for (let e of m) e.disconnect();
+ return ga.push(h), () => {
+ if (p.disconnect(), P()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = ma.get(e);
- t != null && (t === 1 ? (l(e, !1), ma.delete(e)) : ma.set(e, t - 1));
+ let t = ha.get(e);
+ t != null && (t === 1 ? (l(e, !1), ha.delete(e)) : ha.set(e, t - 1));
}
- h === ha[ha.length - 1] ? (ha.pop(), ha.length && ha[ha.length - 1].observe()) : ha.splice(ha.indexOf(h), 1);
+ h === ga[ga.length - 1] ? (ga.pop(), ga.length && ga[ga.length - 1].observe()) : ga.splice(ga.indexOf(h), 1);
};
}
-function _a(e) {
- let t = ha[ha.length - 1];
+function va(e) {
+ let t = ga[ga.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 va = /* @__PURE__ */ new WeakMap();
-function ya(e) {
+var ya = /* @__PURE__ */ new WeakMap();
+function ba(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function ba(e, t) {
- let n = va.get(e);
+function xa(e, t) {
+ let n = ya.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${ya(t)}`;
+ return `${n.id}-option-${ba(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function xa(e) {
- return Oe() ? e.altKey : e.ctrlKey;
+function Sa(e) {
+ return Ae() ? e.altKey : e.ctrlKey;
}
-function Sa(e, t) {
+function Ca(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 Ca = /* @__PURE__ */ new WeakMap();
-function wa(e) {
- let t = Nt();
- return Ca.set(e, t), t;
-}
+var wa = /* @__PURE__ */ new WeakMap();
function Ta(e) {
- return Ca.get(e);
+ let t = Ft();
+ return wa.set(e, t), t;
+}
+function Ea(e) {
+ return wa.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var Ea = class {
+var Da = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : Sa(this.ref, e);
+ let n = e == null ? null : Ca(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -3804,12 +3804,12 @@ var Ea = class {
height: e?.clientHeight ?? 0
};
}
-}, Da = class {
+}, Oa = 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 Ea(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 Ea(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 Da(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 Da(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -3849,14 +3849,14 @@ var Ea = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = Sa(this.ref, e);
+ let t = this.getNextKey(e), n = Ca(this.ref, e);
if (t != null) {
- let e = Sa(this.ref, t);
+ let e = Ca(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = Sa(this.ref, r);
+ let e = Ca(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -3890,7 +3890,7 @@ var Ea = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !Ti(t)) return this.getFirstKey();
+ if (t && !Ei(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -3905,7 +3905,7 @@ var Ea = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !Ti(t)) return this.getLastKey();
+ if (t && !Ei(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);
@@ -3928,184 +3928,184 @@ var Ea = class {
}
return null;
}
-}, Oa = {};
-Oa = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, ka = {};
+ka = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var ka = {};
-ka = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var Aa = {};
+Aa = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Aa = {};
-Aa = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var ja = {};
+ja = { 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 ja = {};
-ja = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Ma = {};
+Ma = { 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 Ma = {};
-Ma = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Na = {};
+Na = { 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 Na = {};
-Na = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Pa = {};
+Pa = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var Pa = {};
-Pa = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var Fa = {};
+Fa = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var Fa = {};
-Fa = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Ia = {};
+Ia = { 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 Ia = {};
-Ia = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var La = {};
+La = { 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 La = {};
-La = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var Ra = {};
+Ra = { 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 Ra = {};
-Ra = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var za = {};
+za = { 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 za = {};
-za = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Ba = {};
+Ba = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var Ba = {};
-Ba = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var Va = {};
+Va = { 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 Va = {};
-Va = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Ha = {};
+Ha = { 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 Ha = {};
-Ha = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Ua = {};
+Ua = { 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 Ua = {};
-Ua = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var Wa = {};
+Wa = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var Wa = {};
-Wa = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var Ga = {};
+Ga = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Ga = {};
-Ga = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Ka = {};
+Ka = { 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 Ka = {};
-Ka = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var qa = {};
+qa = { 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 qa = {};
-qa = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Ja = {};
+Ja = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Ja = {};
-Ja = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Ya = {};
+Ya = { 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 Ya = {};
-Ya = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Xa = {};
+Xa = { 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 Xa = {};
-Xa = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Za = {};
+Za = { 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 Za = {};
-Za = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Qa = {};
+Qa = { 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 Qa = {};
-Qa = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var $a = {};
+$a = { 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 $a = {};
-$a = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var eo = {};
+eo = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var eo = {};
-eo = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var to = {};
+to = { 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 to = {};
-to = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var no = {};
+no = { 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 no = {};
-no = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var ro = {};
+ro = { 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 ro = {};
-ro = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var io = {};
+io = { 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 io = {};
-io = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var ao = {};
+ao = { 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 ao = {};
-ao = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var oo = {};
+oo = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var oo = {};
-oo = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var so = {};
+so = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var so = {};
-so = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var co = {};
+co = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var co = {};
-co = {
- "ar-AE": Oa,
- "bg-BG": ka,
- "cs-CZ": Aa,
- "da-DK": ja,
- "de-DE": Ma,
- "el-GR": Na,
- "en-US": Pa,
- "es-ES": Fa,
- "et-EE": Ia,
- "fi-FI": La,
- "fr-FR": Ra,
- "he-IL": za,
- "hr-HR": Ba,
- "hu-HU": Va,
- "it-IT": Ha,
- "ja-JP": Ua,
- "ko-KR": Wa,
- "lt-LT": Ga,
- "lv-LV": Ka,
- "nb-NO": qa,
- "nl-NL": Ja,
- "pl-PL": Ya,
- "pt-BR": Xa,
- "pt-PT": Za,
- "ro-RO": Qa,
- "ru-RU": $a,
- "sk-SK": eo,
- "sl-SI": to,
- "sr-SP": no,
- "sv-SE": ro,
- "tr-TR": io,
- "uk-UA": ao,
- "zh-CN": oo,
- "zh-TW": so
+var lo = {};
+lo = {
+ "ar-AE": ka,
+ "bg-BG": Aa,
+ "cs-CZ": ja,
+ "da-DK": Ma,
+ "de-DE": Na,
+ "el-GR": Pa,
+ "en-US": Fa,
+ "es-ES": Ia,
+ "et-EE": La,
+ "fi-FI": Ra,
+ "fr-FR": za,
+ "he-IL": Ba,
+ "hr-HR": Va,
+ "hu-HU": Ha,
+ "it-IT": Ua,
+ "ja-JP": Wa,
+ "ko-KR": Ga,
+ "lt-LT": Ka,
+ "lv-LV": qa,
+ "nb-NO": Ja,
+ "nl-NL": Ya,
+ "pl-PL": Xa,
+ "pt-BR": Za,
+ "pt-PT": Qa,
+ "ro-RO": $a,
+ "ru-RU": eo,
+ "sk-SK": to,
+ "sl-SI": no,
+ "sr-SP": ro,
+ "sv-SE": io,
+ "tr-TR": ao,
+ "uk-UA": oo,
+ "zh-CN": so,
+ "zh-TW": co
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var lo = 500;
-function uo(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = lo, accessibilityDescription: s } = e, c = (0, C.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = jr(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Lr({
+var uo = 500;
+function fo(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = uo, accessibilityDescription: s } = e, c = (0, w.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Nr(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = zr({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -4133,12 +4133,12 @@ function uo(e) {
});
}
});
- return { longPressProps: V(f, Ni(a && !t ? s : void 0)) };
+ return { longPressProps: B(f, Pi(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function fo(e) {
- let { onContextMenu: t } = e, n = (0, C.useRef)(!1), { longPressProps: r } = uo({
+function po(e) {
+ let { onContextMenu: t } = e, n = (0, w.useRef)(!1), { longPressProps: r } = fo({
onLongPressStart() {
n.current = !1;
},
@@ -4150,7 +4150,7 @@ function fo(e) {
});
}
});
- return t ? { contextMenuProps: V(De() ? r : {}, {
+ return t ? { contextMenuProps: B(ke() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -4161,7 +4161,7 @@ function fo(e) {
});
},
onKeyDown(e) {
- if (we() && e.ctrlKey && e.key === "Enter") {
+ if (Ee() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -4181,13 +4181,13 @@ function fo(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var po = /* @__PURE__ */ new WeakMap();
-function mo(e) {
+var mo = /* @__PURE__ */ new WeakMap();
+function ho(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, C.useEffect)(() => !n || r === null ? void 0 : ne(oe(t.current), "scroll", (e) => {
- let n = L(e);
+ (0, w.useEffect)(() => !n || r === null ? void 0 : ie(ce(t.current), "scroll", (e) => {
+ let n = I(e);
if (!t.current || n instanceof Node && !F(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || po.get(t.current);
+ let i = r || mo.get(t.current);
i && i();
}, !0), [
n,
@@ -4197,14 +4197,14 @@ function mo(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function ho(e, t, n) {
+function go(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
- (0, C.useEffect)(() => {
- n && n.current && po.set(n.current, t.close);
+ (0, w.useEffect)(() => {
+ n && n.current && mo.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Nt();
+ let o = Ft();
return {
triggerProps: {
"aria-haspopup": a,
@@ -4217,14 +4217,14 @@ function ho(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function go(e) {
+function _o(e) {
return e && e.__esModule ? e.default : e;
}
-function _o(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Nt(), { triggerProps: s, overlayProps: c } = ho({ type: r }, t, n), l = (e, n, r = "first") => {
+function vo(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Ft(), { triggerProps: s, overlayProps: c } = go({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = $t({
+ }, { keyboardProps: u } = tn({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -4236,7 +4236,7 @@ function _o(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = mr(go(co), "@react-aria/menu"), { longPressProps: f } = uo({
+ }), d = gr(_o(lo), "@react-aria/menu"), { longPressProps: f } = fo({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -4255,17 +4255,17 @@ function _o(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = fo({ onContextMenu(e) {
+ let { contextMenuProps: m } = po({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
y: n.y + e.y
}), t.open();
} });
- (0, C.useEffect)(() => {
+ (0, w.useEffect)(() => {
if (t.isOpen && a === "contextMenu") {
let e = (e) => {
- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && L(e) === document.body && t.close();
+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && I(e) === document.body && t.close();
};
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
}
@@ -4300,13 +4300,13 @@ function _o(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var vo = 1e3;
-function yo(e) {
- let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, C.useRef)({
+var yo = 1e3;
+function bo(e) {
+ let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, w.useRef)({
search: "",
timeout: void 0
});
- return (0, C.useEffect)(() => {
+ return (0, w.useEffect)(() => {
let e = i.current.timeout;
return () => {
clearTimeout(e);
@@ -4320,12 +4320,12 @@ function yo(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, vo);
+ }, yo);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = bo(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !F(e.currentTarget, L(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = xo(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !F(e.currentTarget, I(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();
@@ -4336,34 +4336,34 @@ function yo(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, vo);
+ }, yo);
}
} : void 0
} };
}
-function bo(e) {
+function xo(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function xo(e, t) {
- let n = (0, C.useRef)(!0), r = (0, C.useRef)(null);
- B(() => (n.current = !0, () => {
+function So(e, t) {
+ let n = (0, w.useRef)(!0), r = (0, w.useRef)(null);
+ z(() => (n.current = !0, () => {
n.current = !1;
- }), []), B(() => {
+ }), []), z(() => {
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 So(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 } = er(), _ = Ie(), v = (e, n, i) => {
+function Co(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 } = nr(), _ = Re(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !xa(e)) {
- (0, mn.flushSync)(() => {
+ if (t.isLink(n) && m === "selection" && l && !Sa(e)) {
+ (0, gn.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = Sa(r, n), o = t.getItemProps(n);
+ let a = Ca(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -4375,7 +4375,7 @@ function So(e) {
t.extendSelection(n);
return;
}
- if (l && !xa(e)) {
+ if (l && !Sa(e)) {
t.replaceSelection(n);
return;
}
@@ -4402,9 +4402,9 @@ function So(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Ln(e));
+ let r = n.getFirstKey(t.focusedKey, zn(e));
if (t.setFocusedKey(r), r != null) {
- if (Ln(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (zn(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -4424,7 +4424,7 @@ function So(e) {
}
}
return !1;
- }, w = (e) => {
+ }, C = (e) => {
if (n.getKeyRightOf) {
let r = t.focusedKey == null ? n.getFirstKey?.() : n.getKeyRightOf?.(t.focusedKey);
if (r == null && a && (r = g === "rtl" ? n.getLastKey?.(t.focusedKey) : n.getFirstKey?.(t.focusedKey)), r != null) {
@@ -4436,9 +4436,9 @@ function So(e) {
}, T = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Ln(e));
+ let r = n.getLastKey(t.focusedKey, zn(e));
if (t.setFocusedKey(r), r != null) {
- if (Ln(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (zn(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -4449,85 +4449,85 @@ function So(e) {
}
}
return !1;
- }, D = (e) => {
+ }, ee = (e) => {
if (n.getKeyPageBelow && t.focusedKey != null) {
let r = n.getKeyPageBelow(t.focusedKey);
if (r != null) return v(e, r);
}
return !1;
- }, O = (e) => {
+ }, D = (e) => {
if (n.getKeyPageAbove && t.focusedKey != null) {
let r = n.getKeyPageAbove(t.focusedKey);
if (r != null) return v(e, r);
}
return !1;
- }, k = () => {
+ }, O = () => {
if (t.selectionMode === "multiple" && s !== !0) {
t.selectAll();
return;
}
return !1;
- }, A = () => {
+ }, k = () => {
if (c === "clearSelection" && !o && t.selectedKeys.size !== 0) {
t.clearSelection();
return;
}
return !1;
- }, j = () => {
+ }, A = () => {
if (!f && r.current) {
- let e = _i(r.current, { tabbable: !0 }), t, n;
+ let e = vi(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = I();
- t && (!se(t) || i && !me(i)) && E(t);
+ let i = se();
+ t && (!le(t) || i && !ge(i)) && E(t);
}
return {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
};
- }, M = () => (!f && r.current && r.current.focus(), {
+ }, j = () => (!f && r.current && r.current.focus(), {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
- }), N = (e, t) => ({
- [we() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ }), M = (e, t) => ({
+ [Ee() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [we() ? e + "+Alt" : e + "+Control"]: t,
+ [Ee() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: ee } = $t({
+ }), { keyboardProps: te } = tn({
shortcuts: {
- ...N("ArrowDown", y),
- ...N("ArrowUp", b),
- ...N("ArrowLeft", S),
- ...N("ArrowRight", w),
- ...N("PageDown", D),
- ...N("PageUp", O)
+ ...M("ArrowDown", y),
+ ...M("ArrowUp", b),
+ ...M("ArrowLeft", S),
+ ...M("ArrowRight", C),
+ ...M("PageDown", ee),
+ ...M("PageUp", D)
},
allowRepeats: !0
- }), { keyboardProps: te } = $t({ shortcuts: {
- ...N("Home", x),
- ...N("End", T),
- "Mod+A": k,
- Escape: A,
- Tab: j,
- "Tab+Shift": M
- } }), P = (0, C.useRef)({
+ }), { keyboardProps: ne } = tn({ shortcuts: {
+ ...M("Home", x),
+ ...M("End", T),
+ "Mod+A": O,
+ Escape: k,
+ Tab: A,
+ "Tab+Shift": j
+ } }), N = (0, w.useRef)({
top: 0,
left: 0
});
- Hn(p, "scroll", () => {
- P.current = {
+ Wn(p, "scroll", () => {
+ N.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
};
});
- let ne = (e) => {
+ let re = (e) => {
if (t.isFocused) {
- F(e.currentTarget, L(e)) || t.setFocused(!1);
+ F(e.currentTarget, I(e)) || t.setFocused(!1);
return;
}
- if (!F(e.currentTarget, L(e))) return;
- let i = gt();
+ if (!F(e.currentTarget, I(e))) return;
+ let i = vt();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -4536,34 +4536,34 @@ function So(e) {
else if (t.focusedKey == null) {
let r = e.relatedTarget;
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 = P.current.top, p.current.scrollLeft = P.current.left);
+ } else p.current && (p.current.scrollTop = N.current.top, p.current.scrollLeft = N.current.left);
if (t.focusedKey != null && p.current) {
- let e = Sa(r, t.focusedKey);
- e instanceof HTMLElement && (!se(e) && !d && E(e), (i === "keyboard" || h && i === "virtual") && Ai(e, { containingElement: r.current }));
+ let e = Ca(r, t.focusedKey);
+ e instanceof HTMLElement && (!le(e) && !d && E(e), (i === "keyboard" || h && i === "virtual") && ji(e, { containingElement: r.current }));
}
- }, re = (e) => {
+ }, ie = (e) => {
F(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
- }, ie = (0, C.useRef)(!1);
- Hn(r, Mn, d ? (e) => {
+ }, ae = (0, w.useRef)(!1);
+ Wn(r, Pn, d ? (e) => {
let { detail: n } = e;
- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ie.current = !0);
+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ae.current = !0);
} : void 0);
- let ae = n.getFirstKey?.() ?? null;
- xo(() => {
- if (ie.current) {
- if (ae == null) {
- let e = I();
- Nn(r.current), Fn(e, null), t.collection.size > 0 && (ie.current = !1);
- } else t.setFocusedKey(ae), ie.current = !1;
- }
- }, [ae, t.collection.size]), xo(() => {
- t.collection.size > 0 && (ie.current = !1);
- }, [t.focusedKey]), Hn(r, jn, d ? (e) => {
+ let oe = n.getFirstKey?.() ?? null;
+ So(() => {
+ if (ae.current) {
+ if (oe == null) {
+ let e = se();
+ Fn(r.current), Ln(e, null), t.collection.size > 0 && (ae.current = !1);
+ } else t.setFocusedKey(oe), ae.current = !1;
+ }
+ }, [oe, t.collection.size]), So(() => {
+ t.collection.size > 0 && (ae.current = !1);
+ }, [t.focusedKey]), Wn(r, Nn, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
- let oe = (0, C.useRef)(i), ce = (0, C.useRef)(!1);
- (0, C.useEffect)(() => {
- if (oe.current) {
+ let P = (0, w.useRef)(i), ce = (0, w.useRef)(!1);
+ (0, w.useEffect)(() => {
+ if (P.current) {
let e = null;
i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);
let a = t.selectedKeys;
@@ -4573,53 +4573,53 @@ function So(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Et(r.current), t.collection.size > 0 && (oe.current = !1, ce.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Ot(r.current), t.collection.size > 0 && (P.current = !1, ce.current = !0);
}
});
- let le = (0, C.useRef)(t.focusedKey), ue = (0, C.useRef)(null);
- (0, C.useEffect)(() => {
- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== le.current || ce.current) && p.current && r.current) {
- let e = gt(), n = Sa(r, t.focusedKey);
+ let ue = (0, w.useRef)(t.focusedKey), de = (0, w.useRef)(null);
+ (0, w.useEffect)(() => {
+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ue.current || ce.current) && p.current && r.current) {
+ let e = vt(), n = Ca(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
- (e === "keyboard" || ce.current) && (ue.current && cancelAnimationFrame(ue.current), ue.current = requestAnimationFrame(() => {
- p.current && (Oi(p.current, n), e !== "virtual" && Ai(n, { containingElement: r.current }));
+ (e === "keyboard" || ce.current) && (de.current && cancelAnimationFrame(de.current), de.current = requestAnimationFrame(() => {
+ p.current && (ki(p.current, n), e !== "virtual" && ji(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && le.current != null && r.current && Et(r.current), le.current = t.focusedKey, ce.current = !1;
- }), (0, C.useEffect)(() => () => {
- ue.current && cancelAnimationFrame(ue.current);
- }, []), Hn(r, "react-aria-focus-scope-restore", (e) => {
+ !d && t.isFocused && t.focusedKey == null && ue.current != null && r.current && Ot(r.current), ue.current = t.focusedKey, ce.current = !1;
+ }), (0, w.useEffect)(() => () => {
+ de.current && cancelAnimationFrame(de.current);
+ }, []), Wn(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
- let R = {
- ...V(te, ee),
- onFocus: ne,
- onBlur: re,
+ let L = {
+ ...B(ne, te),
+ onFocus: re,
+ onBlur: ie,
onMouseDown(e) {
- p.current === L(e) && e.preventDefault();
+ p.current === I(e) && e.preventDefault();
}
- }, { typeSelectProps: z } = yo({
+ }, { typeSelectProps: R } = bo({
keyboardDelegate: n,
selectionManager: t
});
- u || (R = V(z, R));
- let de;
- d || (de = t.focusedKey == null ? 0 : -1);
- let fe = wa(t.collection);
- return { collectionProps: V(R, {
- tabIndex: de,
- "data-collection": fe
+ u || (L = B(R, L));
+ let fe;
+ d || (fe = t.focusedKey == null ? 0 : -1);
+ let pe = Ta(t.collection);
+ return { collectionProps: B(L, {
+ tabIndex: fe,
+ "data-collection": pe
}) };
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function Co(e, t) {
+function wo(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function wo(e) {
- return To(e, 0);
+function To(e) {
+ return Eo(e, 0);
}
-function To(e, t) {
+function Eo(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -4627,96 +4627,96 @@ function To(e, t) {
n++;
}
}
-function Eo(e, t, n) {
+function Do(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Do(e, t), t], i = [...Do(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Oo(e, t), t], i = [...Oo(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 Do(e, t) {
+function Oo(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 Oo = /* @__PURE__ */ new WeakMap();
-function ko(e) {
- let t = Oo.get(e);
+var ko = /* @__PURE__ */ new WeakMap();
+function Ao(e) {
+ let t = ko.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(Co(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(wo(i, e)) : i.type === "item" && n++;
};
- return r(e), Oo.set(e, n), n;
+ return r(e), ko.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var Ao = /* @__PURE__ */ new Map();
-function jo(e) {
- let { locale: t } = er(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (Ao.has(n)) return Ao.get(n);
+var jo = /* @__PURE__ */ new Map();
+function Mo(e) {
+ let { locale: t } = nr(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (jo.has(n)) return jo.get(n);
let r = new Intl.Collator(t, e);
- return Ao.set(n, r), r;
+ return jo.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-function Mo({ children: e }) {
- let t = (0, C.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ C.createElement(Ar.Provider, { value: t }, e);
+function No({ children: e }) {
+ let t = (0, w.useMemo)(() => ({ register: () => {} }), []);
+ return /*#__PURE__*/ w.createElement(Mr.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var No = /*#__PURE__*/ (0, C.createContext)({});
-function Po(e) {
- let { getContainer: t } = e, { getContainer: n } = Fo();
- return /*#__PURE__*/ C.createElement(No.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var Po = /*#__PURE__*/ (0, w.createContext)({});
+function Fo(e) {
+ let { getContainer: t } = e, { getContainer: n } = Io();
+ return /*#__PURE__*/ w.createElement(Po.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function Fo() {
- return (0, C.useContext)(No) ?? {};
+function Io() {
+ return (0, w.useContext)(Po) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var Io = /*#__PURE__*/ C.createContext(null);
-function Lo(e) {
- let t = Qe(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, C.useState)(!1), o = (0, C.useMemo)(() => ({
+var Lo = /*#__PURE__*/ w.createContext(null);
+function Ro(e) {
+ let t = et(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, w.useState)(!1), o = (0, w.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = Fo();
+ }), [i, a]), { getContainer: s } = Io();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ C.createElement(Zr, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ w.createElement(Qr, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ C.createElement(Io.Provider, { value: o }, /*#__PURE__*/ C.createElement(Mo, null, /*#__PURE__*/ C.createElement(nn.Provider, { value: null }, c))), /*#__PURE__*/ mn.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ w.createElement(Lo.Provider, { value: o }, /*#__PURE__*/ w.createElement(No, null, /*#__PURE__*/ w.createElement(an.Provider, { value: null }, c))), /*#__PURE__*/ gn.createPortal(c, n);
}
-function Ro() {
- let e = (0, C.useContext)(Io)?.setContain;
- B(() => {
+function W() {
+ let e = (0, w.useContext)(Lo)?.setContain;
+ z(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function W(e, t) {
- let { role: n = "dialog" } = e, r = Ft();
+function zo(e, t) {
+ let { role: n = "dialog" } = e, r = Lt();
r = e["aria-label"] ? void 0 : r;
- let i = Ft();
+ let i = Lt();
i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;
- let a = (0, C.useRef)(!1);
- (0, C.useEffect)(() => {
- if (t.current && !se(t.current)) {
- Et(t.current);
+ let a = (0, w.useRef)(!1);
+ (0, w.useEffect)(() => {
+ if (t.current && !le(t.current)) {
+ Ot(t.current);
let e = setTimeout(() => {
- (I() === t.current || I() === document.body) && (a.current = !0, t.current && (t.current.blur(), Et(t.current)), a.current = !1);
+ (se() === t.current || se() === document.body) && (a.current = !0, t.current && (t.current.blur(), Ot(t.current)), a.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t]), Ro(), (0, C.useRef)(!1), (0, C.useEffect)(() => {});
+ }, [t]), W(), (0, w.useRef)(!1), (0, w.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...xr(e, { labelable: !0 }),
+ ...Cr(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -4731,23 +4731,23 @@ function W(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function G(e = {}) {
- let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, C.useRef)({
+function Bo(e = {}) {
+ let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, w.useRef)({
isFocused: !1,
- isFocusVisible: t || ht()
- }), [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, C.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, C.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = ht(), o(e), l();
+ isFocusVisible: t || _t()
+ }), [a, o] = (0, w.useState)(!1), [s, c] = (0, w.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, w.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, w.useCallback)((e) => {
+ i.current.isFocused = e, i.current.isFocusVisible = _t(), o(e), l();
}, [l]);
- bt((e) => {
+ St((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Bt({
+ let { focusProps: d } = V({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = na({
+ }), { focusWithinProps: f } = ra({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -4759,42 +4759,42 @@ function G(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function zo(e = {}) {
- let { locale: t } = er();
- return (0, C.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
+function Vo(e = {}) {
+ let { locale: t } = nr();
+ return (0, w.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var Bo = !1, Vo = 0;
-function Ho() {
- Bo = !0, setTimeout(() => {
- Bo = !1;
+var Ho = !1, Uo = 0;
+function Wo() {
+ Ho = !0, setTimeout(() => {
+ Ho = !1;
}, 500);
}
-function Uo(e) {
- e.pointerType === "touch" && Ho();
+function Go(e) {
+ e.pointerType === "touch" && Wo();
}
-function Wo() {
+function Ko() {
let e = j(null);
- if (e !== void 0) return Vo === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Uo), Vo++, () => {
- Vo--, !(Vo > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Uo);
+ if (e !== void 0) return Uo === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Go), Uo++, () => {
+ Uo--, !(Uo > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Go);
};
}
-function Go(e) {
- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, C.useState)(!1), s = (0, C.useRef)({
+function qo(e) {
+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, w.useState)(!1), s = (0, w.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, C.useEffect)(Wo, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = jr(), { hoverProps: u, triggerHoverEnd: d } = (0, C.useMemo)(() => {
+ (0, w.useEffect)(Ko, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = Nr(), { hoverProps: u, triggerHoverEnd: d } = (0, w.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !F(e.currentTarget, L(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !F(e.currentTarget, I(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(j(L(e)), "pointerover", (e) => {
- s.isHovered && s.target && !F(s.target, L(e)) && a(e, e.pointerType);
+ s.target = l, c(j(I(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !F(s.target, I(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -4809,9 +4809,9 @@ function Go(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- Bo && t.pointerType === "mouse" || e(t, t.pointerType);
+ Ho && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && F(e.currentTarget, L(e)) && a(e, e.pointerType);
+ !i && F(e.currentTarget, I(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -4825,7 +4825,7 @@ function Go(e) {
c,
l
]);
- return (0, C.useEffect)(() => {
+ return (0, w.useEffect)(() => {
i && d({ currentTarget: s.target }, s.pointerType);
}, [i]), {
hoverProps: u,
@@ -4834,22 +4834,22 @@ function Go(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Ko(e) {
- let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, C.useRef)({
+function Jo(e) {
+ let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, w.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Vn((e) => {
- n && qo(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Vn((e) => {
+ }), o = Un((e) => {
+ n && Yo(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Un((e) => {
n && n(e);
});
- (0, C.useEffect)(() => {
+ (0, w.useEffect)(() => {
let e = a.current;
if (r) return;
let n = t.current, i = j(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && qo(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && Yo(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);
@@ -4857,9 +4857,9 @@ function Ko(e) {
}
}, [t, r]);
}
-function qo(e, t) {
+function Yo(e, t) {
if (e.button > 0) return !1;
- let n = L(e);
+ let n = I(e);
if (n) {
let e = n.ownerDocument;
if (!e || !F(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
@@ -4868,11 +4868,11 @@ function qo(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function Jo(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = jo({
+function Xo(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Mo({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, C.useMemo)(() => a || new Da({
+ }), l = t.disabledBehavior, u = (0, w.useMemo)(() => a || new Oa({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -4889,7 +4889,7 @@ function Jo(e) {
c,
l,
s
- ]), { collectionProps: d } = So({
+ ]), { collectionProps: d } = Co({
...e,
ref: i,
selectionManager: t,
@@ -4899,11 +4899,11 @@ function Jo(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function Yo(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 = Ie();
- t = Nt(t);
+function Zo(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 = Re();
+ t = Ft(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && xa(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Sa(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -4914,11 +4914,11 @@ function Yo(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 && (Ln(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 && (zn(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
- (0, C.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Nn(i.current) : s ? s() : I() !== i.current && i.current && Et(i.current));
+ (0, w.useEffect)(() => {
+ r === n.focusedKey && n.isFocused && (o ? Fn(i.current) : s ? s() : se() !== i.current && i.current && Ot(i.current));
}, [
i,
r,
@@ -4931,96 +4931,96 @@ function Yo(e) {
!o && !c ? m = {
tabIndex: r === n.focusedKey ? 0 : -1,
onFocus(e) {
- L(e) === i.current && n.setFocusedKey(r);
+ I(e) === i.current && n.setFocusedKey(r);
}
} : c && (m.onMouseDown = (e) => {
e.preventDefault();
- }), (0, C.useEffect)(() => {
+ }), (0, w.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, w = (0, C.useRef)(null), T = S && v, E = (0, C.useRef)(!1), D = (0, C.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) => {
- w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!S || Zo(e.key)) && p(e);
- }, u ? (A.onPressUp = b ? void 0 : (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, w.useRef)(null), T = S && v, ee = (0, w.useRef)(!1), E = (0, w.useRef)(!1), D = n.getItemProps(r), O = (e) => {
+ l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
+ }, k = { ref: i };
+ a ? (k.onPressStart = (e) => {
+ C.current = e.pointerType, ee.current = T, e.pointerType === "keyboard" && (!S || $o(e.key)) && p(e);
+ }, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
- }, A.onPress = b ? k : (e) => {
+ }, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
- }) : A.onPress = (e) => {
+ }) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !Xo(e.key)) return;
- k(e);
+ if (e.pointerType === "keyboard" && !Qo(e.key)) return;
+ O(e);
} else e.pointerType !== "keyboard" && v && p(e);
- }) : (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Zo(e.key))) && p(e);
- }, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Xo(e.key) || e.pointerType === "mouse" && D.current) && (S ? k(e) : v && p(e));
+ }) : (k.onPressStart = (e) => {
+ C.current = e.pointerType, ee.current = T, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || $o(e.key))) && p(e);
+ }, k.onPress = (e) => {
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Qo(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let j = Ta(n.collection);
- if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = V(A, {
+ let A = Ea(n.collection);
+ if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = B(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
},
onPress(e) {
e.pointerType === "touch" && (n.setFocused(!0), n.setFocusedKey(r));
}
- })), O) for (let e of [
+ })), D) for (let e of [
"onPressStart",
"onPressEnd",
"onPressChange",
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = Dt(A[e], O[e]));
- let { pressProps: M, isPressed: N } = Lr(A), ee = x ? (e) => {
- w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: te } = uo({
+ ]) D[e] && (k[e] = kt(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = zr(k), te = x ? (e) => {
+ C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
+ } : void 0, { longPressProps: ne } = fo({
isDisabled: !T,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
}
- }), P = (e) => {
- w.current === "touch" && E.current && e.preventDefault();
- }, ne = d !== "none" && n.isLink(r) ? (e) => {
- Le.isOpening || e.preventDefault();
- } : void 0, re = V(m, v || b || o && !c ? M : {}, T ? te : {}, {
- onDoubleClick: ee,
- onDragStartCapture: P,
- onClick: ne,
+ }), N = (e) => {
+ C.current === "touch" && ee.current && e.preventDefault();
+ }, re = d !== "none" && n.isLink(r) ? (e) => {
+ ze.isOpening || e.preventDefault();
+ } : void 0, ie = B(m, v || b || o && !c ? j : {}, T ? ne : {}, {
+ onDoubleClick: te,
+ onDragStartCapture: N,
+ onClick: re,
id: t
- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ie = (e) => {
+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ae = (e) => {
let t = e;
for (; t && t !== i.current;) {
let e = t.getAttribute("data-collection");
- if (e != null) return e !== j;
+ if (e != null) return e !== A;
t = t.parentElement;
}
- return me(e);
- }, ae = re.onPointerDown;
- re.onPointerDown = (e) => {
- let t = L(e);
- if (t && t !== i.current && ie(t)) {
+ return ge(e);
+ }, oe = ie.onPointerDown;
+ ie.onPointerDown = (e) => {
+ let t = I(e);
+ if (t && t !== i.current && ae(t)) {
e.stopPropagation();
return;
}
- ae?.(e);
+ oe?.(e);
};
- let F = re.onMouseDown;
- return re.onMouseDown = (e) => {
- let t = L(e);
- if (t && t !== i.current && ie(t)) {
+ let P = ie.onMouseDown;
+ return ie.onMouseDown = (e) => {
+ let t = I(e);
+ if (t && t !== i.current && ae(t)) {
e.stopPropagation();
return;
}
- F?.(e);
+ P?.(e);
}, {
- itemProps: re,
- isPressed: N,
+ itemProps: ie,
+ isPressed: M,
isSelected: n.isSelected(r),
isFocused: n.isFocused && n.focusedKey === r,
isDisabled: c,
@@ -5028,30 +5028,30 @@ function Yo(e) {
hasAction: S
};
}
-function Xo(e) {
+function Qo(e) {
return e === "Enter";
}
-function Zo(e) {
+function $o(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Qo(e, t, n) {
- let r = xr(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function es(e, t, n) {
+ let r = Cr(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 } = Jo({
+ let { listProps: s } = Xo({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = na({
+ }), { focusWithinProps: c } = ra({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Nt(e.id);
- va.set(t, {
+ }), l = Ft(e.id);
+ ya.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -5061,24 +5061,24 @@ function Qo(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = U({
+ let { labelProps: u, fieldProps: d } = ta({
...e,
id: l,
labelElementType: "span"
});
return {
labelProps: u,
- listBoxProps: V(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
+ listBoxProps: B(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
role: "listbox",
"aria-orientation": a,
- ...V(d, s)
+ ...B(d, s)
})
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function $o(e) {
- let { heading: t, "aria-label": n } = e, r = Nt();
+function ts(e) {
+ let { heading: t, "aria-label": n } = e, r = Ft();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -5097,8 +5097,8 @@ function $o(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function es(e, t, n) {
- let { key: r } = e, i = va.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 = Ft(), f = Ft(), p = {
+function ns(e, t, n) {
+ let { key: r } = e, i = ya.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 = Lt(), f = Lt(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -5108,9 +5108,9 @@ function es(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"] = ko(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Ao(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = ba(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Yo({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = xa(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Zo({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -5119,28 +5119,28 @@ function es(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? Dt(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? kt(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = Go({
+ }), { hoverProps: S } = qo({
isDisabled: a || !c,
onHoverStart() {
- ht() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ _t() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = xr(m?.props);
+ }), C = Cr(m?.props);
delete C.id;
- let w = Be(m?.props);
+ let w = He(m?.props);
return {
optionProps: {
...p,
- ...V(C, _, S, w),
+ ...B(C, _, S, w),
id: g
},
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && ht(),
+ isFocusVisible: y && t.selectionManager.isFocused && _t(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -5150,15 +5150,15 @@ function es(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function ts() {
+function rs() {
return window.ResizeObserver !== void 0;
}
-function ns(e) {
- let { ref: t, box: n, onResize: r } = e, i = Vn(r);
- (0, C.useEffect)(() => {
+function is(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Un(r);
+ (0, w.useEffect)(() => {
let e = t?.current;
if (e) {
- if (ts()) {
+ if (rs()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -5174,189 +5174,189 @@ function ns(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var rs = {};
-rs = { dismiss: "تجاهل" };
+var as = {};
+as = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var is = {};
-is = { dismiss: "Отхвърляне" };
+var os = {};
+os = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var as = {};
-as = { dismiss: "Odstranit" };
+var ss = {};
+ss = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var os = {};
-os = { dismiss: "Luk" };
+var cs = {};
+cs = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var ss = {};
-ss = { dismiss: "Schließen" };
+var ls = {};
+ls = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var cs = {};
-cs = { dismiss: "Απόρριψη" };
+var us = {};
+us = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var ls = {};
-ls = { dismiss: "Dismiss" };
+var ds = {};
+ds = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var us = {};
-us = { dismiss: "Descartar" };
+var fs = {};
+fs = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var ds = {};
-ds = { dismiss: "Lõpeta" };
+var ps = {};
+ps = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var fs = {};
-fs = { dismiss: "Hylkää" };
+var ms = {};
+ms = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var ps = {};
-ps = { dismiss: "Rejeter" };
+var hs = {};
+hs = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var ms = {};
-ms = { dismiss: "התעלם" };
+var gs = {};
+gs = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var hs = {};
-hs = { dismiss: "Odbaci" };
+var _s = {};
+_s = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var gs = {};
-gs = { dismiss: "Elutasítás" };
+var vs = {};
+vs = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var _s = {};
-_s = { dismiss: "Ignora" };
+var ys = {};
+ys = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var vs = {};
-vs = { dismiss: "閉じる" };
+var bs = {};
+bs = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var ys = {};
-ys = { dismiss: "무시" };
+var xs = {};
+xs = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var bs = {};
-bs = { dismiss: "Atmesti" };
+var Ss = {};
+Ss = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var xs = {};
-xs = { dismiss: "Nerādīt" };
+var Cs = {};
+Cs = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Ss = {};
-Ss = { dismiss: "Lukk" };
+var ws = {};
+ws = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Cs = {};
-Cs = { dismiss: "Negeren" };
+var Ts = {};
+Ts = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var ws = {};
-ws = { dismiss: "Zignoruj" };
+var Es = {};
+Es = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Ts = {};
-Ts = { dismiss: "Descartar" };
+var Ds = {};
+Ds = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Es = {};
-Es = { dismiss: "Dispensar" };
+var Os = {};
+Os = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Ds = {};
-Ds = { dismiss: "Revocare" };
+var ks = {};
+ks = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Os = {};
-Os = { dismiss: "Пропустить" };
+var As = {};
+As = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var ks = {};
-ks = { dismiss: "Zrušiť" };
+var js = {};
+js = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var As = {};
-As = { dismiss: "Opusti" };
+var Ms = {};
+Ms = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var js = {};
-js = { dismiss: "Odbaci" };
+var Ns = {};
+Ns = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Ms = {};
-Ms = { dismiss: "Avvisa" };
+var Ps = {};
+Ps = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Ns = {};
-Ns = { dismiss: "Kapat" };
+var Fs = {};
+Fs = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Ps = {};
-Ps = { dismiss: "Скасувати" };
+var Is = {};
+Is = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Fs = {};
-Fs = { dismiss: "取消" };
+var Ls = {};
+Ls = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Is = {};
-Is = { dismiss: "關閉" };
+var Rs = {};
+Rs = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Ls = {};
-Ls = {
- "ar-AE": rs,
- "bg-BG": is,
- "cs-CZ": as,
- "da-DK": os,
- "de-DE": ss,
- "el-GR": cs,
- "en-US": ls,
- "es-ES": us,
- "et-EE": ds,
- "fi-FI": fs,
- "fr-FR": ps,
- "he-IL": ms,
- "hr-HR": hs,
- "hu-HU": gs,
- "it-IT": _s,
- "ja-JP": vs,
- "ko-KR": ys,
- "lt-LT": bs,
- "lv-LV": xs,
- "nb-NO": Ss,
- "nl-NL": Cs,
- "pl-PL": ws,
- "pt-BR": Ts,
- "pt-PT": Es,
- "ro-RO": Ds,
- "ru-RU": Os,
- "sk-SK": ks,
- "sl-SI": As,
- "sr-SP": js,
- "sv-SE": Ms,
- "tr-TR": Ns,
- "uk-UA": Ps,
- "zh-CN": Fs,
- "zh-TW": Is
+var zs = {};
+zs = {
+ "ar-AE": as,
+ "bg-BG": os,
+ "cs-CZ": ss,
+ "da-DK": cs,
+ "de-DE": ls,
+ "el-GR": us,
+ "en-US": ds,
+ "es-ES": fs,
+ "et-EE": ps,
+ "fi-FI": ms,
+ "fr-FR": hs,
+ "he-IL": gs,
+ "hr-HR": _s,
+ "hu-HU": vs,
+ "it-IT": ys,
+ "ja-JP": bs,
+ "ko-KR": xs,
+ "lt-LT": Ss,
+ "lv-LV": Cs,
+ "nb-NO": ws,
+ "nl-NL": Ts,
+ "pl-PL": Es,
+ "pt-BR": Ds,
+ "pt-PT": Os,
+ "ro-RO": ks,
+ "ru-RU": As,
+ "sk-SK": js,
+ "sl-SI": Ms,
+ "sr-SP": Ns,
+ "sv-SE": Ps,
+ "tr-TR": Fs,
+ "uk-UA": Is,
+ "zh-CN": Ls,
+ "zh-TW": Rs
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Rs(e) {
+function Bs(e) {
return e && e.__esModule ? e.default : e;
}
-function zs(e) {
- let { onDismiss: t, ...n } = e, r = Un(n, mr(Rs(Ls), "@react-aria/overlays").format("dismiss")), i = () => {
+function Vs(e) {
+ let { onDismiss: t, ...n } = e, r = Gn(n, gr(Bs(zs), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ C.createElement(ua, null, /*#__PURE__*/ C.createElement("button", {
+ return /*#__PURE__*/ w.createElement(da, null, /*#__PURE__*/ w.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -5368,38 +5368,38 @@ function zs(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Bs = [];
-function Vs(e, t) {
- let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, C.useRef)(void 0);
- (0, C.useEffect)(() => {
- if (i && !Bs.includes(t)) return Bs.push(t), () => {
- let e = Bs.indexOf(t);
- e >= 0 && Bs.splice(e, 1);
+var Hs = [];
+function Us(e, t) {
+ let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, w.useRef)(void 0);
+ (0, w.useEffect)(() => {
+ if (i && !Hs.includes(t)) return Hs.push(t), () => {
+ let e = Hs.indexOf(t);
+ e >= 0 && Hs.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Bs[Bs.length - 1] === t && n && n();
+ Hs[Hs.length - 1] === t && n && n();
}, u = (e) => {
- let n = Bs[Bs.length - 1];
- c.current = n, (!s || s(L(e))) && n === t && e.stopPropagation();
+ let n = Hs[Hs.length - 1];
+ c.current = n, (!s || s(I(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(L(e))) && (Bs[Bs.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = $t({ shortcuts: { Escape: () => {
+ (!s || s(I(e))) && (Hs[Hs.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = tn({ shortcuts: { Escape: () => {
if (!o) {
l();
return;
}
return !1;
} } });
- Ko({
+ Jo({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = na({
+ let { focusWithinProps: p } = ra({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || si(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || ci(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -5412,26 +5412,26 @@ function Vs(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Hs = typeof document < "u" && window.visualViewport, Us = 0, Ws;
-function Gs(e = {}) {
+var Ws = typeof document < "u" && window.visualViewport, Gs = 0, Ks;
+function qs(e = {}) {
let { isDisabled: t } = e;
- B(() => {
- if (!t) return Us++, Us === 1 && (Ws = De() && ke() ? qs() : Ks()), () => {
- Us--, Us === 0 && Ws();
+ z(() => {
+ if (!t) return Gs++, Gs === 1 && (Ks = ke() && je() ? Ys() : Js()), () => {
+ Gs--, Gs === 0 && Ks();
};
}, [t]);
}
-function Ks() {
+function Js() {
let e = window.innerWidth - document.documentElement.clientWidth;
- return Dt(e > 0 && ("scrollbarGutter" in document.documentElement.style ? re(document.documentElement, "scrollbar-gutter", "stable") : re(document.documentElement, "padding-right", `${e}px`)), re(document.documentElement, "overflow", "hidden"));
+ return kt(e > 0 && ("scrollbarGutter" in document.documentElement.style ? ae(document.documentElement, "scrollbar-gutter", "stable") : ae(document.documentElement, "padding-right", `${e}px`)), ae(document.documentElement, "overflow", "hidden"));
}
-function qs() {
- let e = re(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
- let r = L(e);
- t = Ti(r) ? r : Ei(r, !0), n = !1;
+function Ys() {
+ let e = ae(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+ let r = I(e);
+ t = Ei(r) ? r : Di(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 = kr();
+ }, i = document.createElement("style"), a = jr();
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)) {
@@ -5442,27 +5442,27 @@ function qs() {
t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();
}
}, s = (e) => {
- let t = L(e), n = e.relatedTarget;
- n && zn(n) ? (n.focus({ preventScroll: !0 }), Js(n, zn(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ let t = I(e), n = e.relatedTarget;
+ n && Vn(n) ? (n.focus({ preventScroll: !0 }), Xs(n, Vn(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 = I(), n = t != null && zn(t);
+ let t = se(), n = t != null && Vn(t);
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && Js(this, n);
+ }), (!e || !e.preventScroll) && Xs(this, n);
}
});
- let l = Dt(ne(document, "touchstart", r, {
+ let l = kt(ie(document, "touchstart", r, {
passive: !1,
capture: !0
- }), ne(document, "touchmove", o, {
+ }), ie(document, "touchmove", o, {
passive: !1,
capture: !0
- }), ne(document, "blur", s, !0));
+ }), ie(document, "blur", s, !0));
return () => {
e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -5471,18 +5471,18 @@ function qs() {
});
};
}
-function Js(e, t) {
- t || !Hs ? Ys(e) : Hs.addEventListener("resize", () => Ys(e), { once: !0 });
+function Xs(e, t) {
+ t || !Ws ? Zs(e) : Ws.addEventListener("resize", () => Zs(e), { once: !0 });
}
-function Ys(e) {
+function Zs(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = Ei(n);
+ let e = Di(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- Hs && (n = Math.min(n, Hs.offsetTop + Hs.height));
+ Ws && (n = Math.min(n, Ws.offsetTop + Ws.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -5495,33 +5495,33 @@ function Ys(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Xs = {
+var Qs = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Zs = {
+}, $s = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Qs = {
+}, ec = {
top: "left",
left: "top"
-}, $s = {
+}, tc = {
top: "height",
left: "width"
-}, ec = {
+}, nc = {
width: "totalWidth",
height: "totalHeight"
-}, tc = {}, nc = () => typeof document < "u" ? window.visualViewport : null;
-function rc(e, t) {
+}, rc = {}, ic = () => typeof document < "u" ? window.visualViewport : null;
+function ac(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} = mc(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return ke() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = gc(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return je() && (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,
@@ -5531,7 +5531,7 @@ function rc(e, t) {
left: s
};
}
-function ic(e) {
+function oc(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -5539,11 +5539,11 @@ function ic(e) {
height: e.scrollHeight
};
}
-function ac(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[$s[e]], l = o[e] + r.scroll[Xs[e]] + a, u = o[e] + r.scroll[Xs[e]] + c - a, d = t - s + r.scroll[Xs[e]] + o[e] - r[Xs[e]], f = t - s + n + r.scroll[Xs[e]] + o[e] - r[Xs[e]];
+function sc(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[tc[e]], l = o[e] + r.scroll[Qs[e]] + a, u = o[e] + r.scroll[Qs[e]] + c - a, d = t - s + r.scroll[Qs[e]] + o[e] - r[Qs[e]], f = t - s + n + r.scroll[Qs[e]] + o[e] - r[Qs[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function oc(e) {
+function cc(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -5552,79 +5552,79 @@ function oc(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function sc(e) {
- if (tc[e]) return tc[e];
- let [t, n] = e.split(" "), r = Xs[t] || "right", i = Qs[r];
- Xs[n] || (n = "center");
- let a = $s[r], o = $s[i];
- return tc[e] = {
+function lc(e) {
+ if (rc[e]) return rc[e];
+ let [t, n] = e.split(" "), r = Qs[t] || "right", i = ec[r];
+ Qs[n] || (n = "center");
+ let a = tc[r], o = tc[i];
+ return rc[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, tc[e];
+ }, rc[e];
}
-function cc(e, t, n, r, i, a, o, s, c, l, u) {
+function uc(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] = sa(_[m], v, y), d === p) {
- let t = s ? u[h] : u[ec[h]];
- _[Zs[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = ca(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[nc[h]];
+ _[$s[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function lc(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[ec.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function dc(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[nc.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function uc(e, t, n, r, i, a, o, s) {
+function fc(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[Zs[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[Zs[l]] - i);
-}
-function dc(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = sc(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = cc(t, s, n, v, u, d, l, f, m, h, c), T = u, E = uc(s, l, t, i, a + u, v, c, g);
- if (o && n[y] > E) {
- let e = sc(`${Zs[S]} ${C}`), r = cc(t, s, n, e, u, d, l, f, m, h, c);
- uc(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
- }
- let D = "bottom";
- v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = ac(b, w[b], n[x], s, c, a, l);
- w[b] += O;
- let k = lc(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = cc(t, s, n, v, T, d, l, f, m, h, c), O = ac(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Xs[b]], M = j + .5 * t[x], N = m / 2 + h, ee = Xs[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
- A[b] = sa(sa(M, t[b] + m / 2 - (w[b] + i[Xs[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Xs[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
- let P = S === "left" || S === "top" ? n[y] : 0, ne = {
- x: S === "top" || S === "bottom" ? j : P,
- y: S === "left" || S === "right" ? j : P
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[$s[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[$s[l]] - i);
+}
+function pc(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = lc(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = uc(t, s, n, v, u, d, l, f, m, h, c), T = u, ee = fc(s, l, t, i, a + u, v, c, g);
+ if (o && n[y] > ee) {
+ let e = lc(`${$s[S]} ${C}`), r = uc(t, s, n, e, u, d, l, f, m, h, c);
+ fc(s, l, t, i, a + u, e, c, g) > ee && (v = e, w = r, T = u);
+ }
+ let E = "bottom";
+ v.axis === "top" ? v.placement === "top" ? E = "top" : v.placement === "bottom" && (E = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? E = "bottom" : v.crossPlacement === "bottom" && (E = "top"));
+ let D = sc(b, w[b], n[x], s, c, a, l);
+ w[b] += D;
+ let O = dc(w, s, l, f, i, a, n.height, E, c, g, _);
+ p && p < O && (O = p), n.height = Math.min(n.height, O), w = uc(t, s, n, v, T, d, l, f, m, h, c), D = sc(b, w[b], n[x], s, c, a, l), w[b] += D;
+ let k = {}, A = t[b] - w[b] - i[Qs[b]], j = A + .5 * t[x], M = m / 2 + h, te = Qs[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;
+ k[b] = ca(ca(j, t[b] + m / 2 - (w[b] + i[Qs[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Qs[b]])), M, ne), {placement: S, crossPlacement: C} = v, m ? A = k[b] : C === "right" ? A += t[x] : C === "center" && (A += t[x] / 2);
+ let N = S === "left" || S === "top" ? n[y] : 0, re = {
+ x: S === "top" || S === "bottom" ? A : N,
+ y: S === "left" || S === "right" ? A : N
};
return {
position: w,
- maxHeight: k,
- arrowOffsetLeft: A.left,
- arrowOffsetTop: A.top,
+ maxHeight: O,
+ arrowOffsetLeft: k.left,
+ arrowOffsetTop: k.top,
placement: S,
- triggerAnchorPoint: ne
+ triggerAnchorPoint: re
};
}
-function fc(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 = nc(), h = r instanceof HTMLElement ? gc(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? mc(n, !1, p) : hc(n, h, !1, p);
+function mc(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 = ic(), h = r instanceof HTMLElement ? vc(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? gc(n, !1, p) : _c(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 = mc(r, !0), x = oc(r);
+ let b = gc(r, !0), x = cc(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = ic(i), C = rc(s, m), w = rc(h, m), T;
+ let S = oc(i), C = ac(s, m), w = ac(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = pc(h, !1);
+ let e = hc(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -5636,11 +5636,11 @@ function fc(e) {
left: 0,
width: 0,
height: 0
- } : hc(s, h, !1);
- let E = F(s, h);
- return dc(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : _c(s, h, !1);
+ let ee = F(s, h);
+ return pc(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, ee, m);
}
-function pc(e, t) {
+function hc(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -5649,8 +5649,8 @@ function pc(e, t) {
height: a
};
}
-function mc(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || pc(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function gc(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || hc(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -5658,30 +5658,30 @@ function mc(e, t, n) {
height: o
};
}
-function hc(e, t, n, r) {
+function _c(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || pc(e, n);
+ if (i.position === "fixed") a = r || hc(e, n);
else {
- a = mc(e, n, r);
- let i = mc(t, n), o = window.getComputedStyle(t);
+ a = gc(e, n, r);
+ let i = gc(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function gc(e) {
+function vc(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !_c(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !_c(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !yc(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !yc(t);) t = t.parentElement;
return t || document.documentElement;
}
-function _c(e) {
+function yc(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var vc = typeof document < "u" ? window.visualViewport : null;
-function yc(e) {
- let { direction: t } = er(), { 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, C.useState)(null), x = [
+var bc = typeof document < "u" ? window.visualViewport : null;
+function xc(e) {
+ let { direction: t } = nr(), { 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, w.useState)(null), x = [
p,
s,
i.current,
@@ -5698,15 +5698,15 @@ function yc(e) {
g,
_,
n
- ], S = (0, C.useRef)(vc?.scale);
- (0, C.useEffect)(() => {
- m && (S.current = vc?.scale);
+ ], S = (0, w.useRef)(bc?.scale);
+ (0, w.useEffect)(() => {
+ m && (S.current = bc?.scale);
}, [m]);
- let w = (0, C.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || vc?.scale !== S.current) return;
+ let C = (0, w.useCallback)(() => {
+ if (p === !1 || !m || !i.current || !r.current || !u || bc?.scale !== S.current) return;
let e = null;
- if (o.current && se(o.current)) {
- let t = I()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && le(o.current)) {
+ let t = se()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -5714,8 +5714,8 @@ function yc(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 = fc({
- placement: xc(s, t),
+ let y = mc({
+ placement: Cc(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -5725,48 +5725,48 @@ function yc(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? pc(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? hc(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let x = I();
+ let x = se();
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);
- B(w, x), bc(w), ns({
+ z(C, x), Sc(C), is({
ref: i,
- onResize: w
- }), ns({
+ onResize: C
+ }), is({
ref: r,
- onResize: w
+ onResize: C
});
- let T = (0, C.useRef)(!1);
- B(() => {
+ let T = (0, w.useRef)(!1);
+ z(() => {
let e, t = () => {
T.current = !0, clearTimeout(e), e = setTimeout(() => {
T.current = !1;
- }, 500), w();
+ }, 500), C();
}, n = () => {
T.current && t();
};
- vc?.addEventListener("resize", t), vc?.addEventListener("scroll", n);
- let r = ne(oe(window), "scroll", n);
+ bc?.addEventListener("resize", t), bc?.addEventListener("scroll", n);
+ let r = ie(ce(window), "scroll", n);
return () => {
- vc?.removeEventListener("resize", t), vc?.removeEventListener("scroll", n), r();
+ bc?.removeEventListener("resize", t), bc?.removeEventListener("scroll", n), r();
};
- }, [w]);
- let E = (0, C.useCallback)(() => {
+ }, [C]);
+ let ee = (0, w.useCallback)(() => {
T.current || h?.();
}, [h, T]);
- return mo({
+ return ho({
triggerRef: r,
isOpen: m,
- onClose: h && E
+ onClose: h && ee
}), {
overlayProps: { style: {
position: y ? "absolute" : "fixed",
@@ -5786,28 +5786,28 @@ function yc(e) {
top: y?.arrowOffsetTop
}
},
- updatePosition: w
+ updatePosition: C
};
}
-function bc(e) {
- B(() => (window.addEventListener("resize", e, !1), () => {
+function Sc(e) {
+ z(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function xc(e, t) {
+function Cc(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 Sc(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 } = Vs({
+function wc(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 } = Us({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = yc({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = xc({
...c,
targetRef: n,
overlayRef: r,
@@ -5815,17 +5815,17 @@ function Sc(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)
});
- Gs({ isDisabled: a || !t.isOpen }), (0, C.useEffect)(() => {
- if (t.isOpen && r.current) return a ? _a(i?.current ?? r.current) : ga([i?.current ?? r.current], { shouldUseInert: !0 });
+ qs({ isDisabled: a || !t.isOpen }), (0, w.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? va(i?.current ?? r.current) : _a([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = na(e);
+ let { focusWithinProps: g } = ra(e);
return {
- popoverProps: V(u, f, g),
+ popoverProps: B(u, f, g),
arrowProps: p,
underlayProps: d,
placement: m,
@@ -5834,13 +5834,13 @@ function Sc(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var Cc = /* @__PURE__ */ new WeakMap();
+var Tc = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function wc(e, t, n) {
+function Ec(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: _ } = Lr({
+ }, { pressProps: g, isPressed: _ } = zr({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -5848,7 +5848,7 @@ function wc(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = Lr({
+ }), { pressProps: v, isPressed: y } = zr({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -5858,35 +5858,35 @@ function wc(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = an(V(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = V(g, b), S = xr(e, { labelable: !0 }), w = -1;
- t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);
- let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = Cc.get(t);
- Pi(n, t.defaultSelectedValue, t.setSelectedValue), Fi({ validationBehavior: k }, t, n);
- let A = Bi();
+ }), { focusableProps: b } = sn(B(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = B(g, b), S = Cr(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: T, form: ee, descriptionId: E, errorMessageId: D, validationBehavior: O } = Tc.get(t);
+ Fi(n, t.defaultSelectedValue, t.setSelectedValue), Ii({ validationBehavior: O }, t, n);
+ let k = Vi();
return {
- labelProps: V(v, (0, C.useMemo)(() => ({
+ labelProps: B(v, (0, w.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
onMouseDown: (e) => e.preventDefault()
}), [])),
- inputProps: V(S, {
+ inputProps: B(S, {
...x,
type: "radio",
name: T,
- form: E,
- tabIndex: w,
+ form: ee,
+ tabIndex: C,
disabled: p,
- required: t.isRequired && k === "native",
+ required: t.isRequired && O === "native",
checked: m,
value: r,
onChange: h,
"aria-describedby": [
e["aria-describedby"],
- A.id,
- t.isInvalid ? O : null,
- D
+ k.id,
+ t.isInvalid ? D : null,
+ E
].filter(Boolean).join(" ") || void 0
}),
- descriptionProps: A,
+ descriptionProps: k,
isDisabled: p,
isSelected: m,
isPressed: _ || y
@@ -5894,13 +5894,13 @@ function wc(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function Tc(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = er(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = ta({
+function Dc(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = nr(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = na({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = xr(e, { labelable: !0 }), { focusWithinProps: v } = na({
+ }), _ = Cr(e, { labelable: !0 }), { focusWithinProps: v } = ra({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -5908,13 +5908,13 @@ function Tc(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = _i(n.currentTarget, {
- from: L(n),
+ let r = vi(n.currentTarget, {
+ from: I(n),
accept: (e) => e instanceof M(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 } = $t({
+ let { keyboardProps: b } = tn({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -5922,15 +5922,15 @@ function Tc(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Nt(n);
- return Cc.set(t, {
+ }), x = Ft(n);
+ return Tc.set(t, {
name: x,
form: r,
descriptionId: h.id,
errorMessageId: g.id,
validationBehavior: c
}), {
- radioGroupProps: V(_, {
+ radioGroupProps: B(_, {
role: "radiogroup",
...b,
"aria-invalid": t.isInvalid || void 0,
@@ -5952,21 +5952,21 @@ function Tc(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var Ec = /* @__PURE__ */ new WeakMap();
-function Dc(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = jo({
+var Oc = /* @__PURE__ */ new WeakMap();
+function kc(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Mo({
usage: "search",
sensitivity: "base"
- }), u = (0, C.useMemo)(() => r || new Da(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, w.useMemo)(() => r || new Oa(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = _o({
+ ]), { menuTriggerProps: d, menuProps: f } = vo({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = $t({
+ }, t, n), { keyboardProps: p } = tn({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -5982,21 +5982,21 @@ function Dc(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = yo({
+ }), { typeSelectProps: m } = bo({
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 } = ta({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = na({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = xr(e, { labelable: !0 }), w = V(m, d, y), T = Nt();
- return Ec.set(t, {
+ let S = Cr(e, { labelable: !0 }), C = B(m, d, y), T = Ft();
+ return Oc.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -6006,18 +6006,18 @@ function Dc(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), _t("keyboard"));
+ e.isDisabled || (n.current?.focus(), yt("keyboard"));
}
},
- triggerProps: V(S, {
- ...w,
+ triggerProps: B(S, {
+ ...C,
isDisabled: i,
- onKeyDown: Dt(w.onKeyDown, p.onKeyDown),
+ onKeyDown: kt(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
T,
- w["aria-labelledby"],
- w["aria-label"] && !w["aria-labelledby"] ? w.id : null
+ C["aria-labelledby"],
+ C["aria-label"] && !C["aria-labelledby"] ? C.id : null
].filter(Boolean).join(" "),
onFocus(n) {
t.isFocused || (e.onFocus && e.onFocus(n), e.onFocusChange && e.onFocusChange(!0), t.setFocused(!0));
@@ -6038,7 +6038,7 @@ function Dc(e, t, n) {
onBlur: (n) => {
F(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
- "aria-labelledby": [y["aria-labelledby"], w["aria-label"] && !y["aria-labelledby"] ? w.id : null].filter(Boolean).join(" ")
+ "aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
descriptionProps: b,
errorMessageProps: x,
@@ -6057,18 +6057,18 @@ function Dc(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function Oc(e, t, n) {
- let r = Ec.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = la({ style: {
+function Ac(e, t, n) {
+ let r = Oc.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = ua({ style: {
position: "fixed",
top: 0,
left: 0
} });
- Pi(e.selectRef, t.defaultValue, t.setValue), Fi({
+ Fi(e.selectRef, t.defaultValue, t.setValue), Ii({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
- let d = t.setValue, f = (0, C.useCallback)((e) => {
- let t = L(e);
+ let d = t.setValue, f = (0, w.useCallback)((e) => {
+ let t = I(e);
t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);
}, [d]);
return {
@@ -6093,32 +6093,32 @@ function Oc(e, t, n) {
}
};
}
-function kc(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, C.useRef)(null), c = (0, C.useRef)(null), { containerProps: l, selectProps: u } = Oc({
+function jc(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, w.useRef)(null), c = (0, w.useRef)(null), { containerProps: l, selectProps: u } = Ac({
...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__*/ C.createElement("div", {
+ if (t.collection.size <= 300) return /*#__PURE__*/ w.createElement("div", {
...l,
"data-testid": "hidden-select-container"
- }, /*#__PURE__*/ C.createElement("label", null, r, /*#__PURE__*/ C.createElement("select", {
+ }, /*#__PURE__*/ w.createElement("label", null, r, /*#__PURE__*/ w.createElement("select", {
...u,
ref: s
- }, /*#__PURE__*/ C.createElement("option", {
+ }, /*#__PURE__*/ w.createElement("option", {
value: "",
label: "\xA0"
}, "\xA0"), [...t.collection.getKeys()].map((e) => {
let n = t.collection.getItem(e);
- if (n && n.type === "item") return /*#__PURE__*/ C.createElement("option", {
+ if (n && n.type === "item") return /*#__PURE__*/ w.createElement("option", {
key: n.key,
value: n.key
}, n.textValue);
- }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ C.createElement("option", {
+ }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ w.createElement("option", {
key: t,
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Ec.get(t) || {};
+ let { validationBehavior: e } = Oc.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -6129,7 +6129,7 @@ function kc(e) {
disabled: o,
value: t ?? ""
};
- return e === "native" ? /*#__PURE__*/ C.createElement("input", {
+ return e === "native" ? /*#__PURE__*/ w.createElement("input", {
key: n,
...r,
ref: n === 0 ? c : null,
@@ -6137,20 +6137,20 @@ function kc(e) {
type: "text",
required: n === 0 && u.required,
onChange: () => {}
- }) : /*#__PURE__*/ C.createElement("input", {
+ }) : /*#__PURE__*/ w.createElement("input", {
key: n,
...r,
ref: n === 0 ? c : null
});
});
- return /*#__PURE__*/ C.createElement(C.Fragment, null, n);
+ return /*#__PURE__*/ w.createElement(w.Fragment, null, n);
}
return null;
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Ac(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = Qi(e, t, n);
+function Mc(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = $i(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -6164,7 +6164,7 @@ function Ac(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var jc = /* @__PURE__ */ l(((e) => {
+var Nc = /* @__PURE__ */ u(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -6217,18 +6217,18 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function x(e) {
if (h = !1, b(e), !m) {
- if (n(c) !== null) m = !0, S || (S = !0, O());
+ if (n(c) !== null) m = !0, S || (S = !0, D());
else {
var t = n(l);
- t !== null && j(x, t.startTime - e);
+ t !== null && A(x, t.startTime - e);
}
}
}
var S = !1, C = -1, w = 5, T = -1;
- function E() {
+ function ee() {
return g ? !0 : !(e.unstable_now() - T < w);
}
- function D() {
+ function E() {
if (g = !1, S) {
var t = e.unstable_now();
T = t;
@@ -6239,7 +6239,7 @@ var jc = /* @__PURE__ */ l(((e) => {
var a = f;
try {
b: {
- for (b(t), d = n(c); d !== null && !(d.expirationTime > t && E());) {
+ for (b(t), d = n(c); d !== null && !(d.expirationTime > t && ee());) {
var o = d.callback;
if (typeof o == "function") {
d.callback = null, f = d.priorityLevel;
@@ -6255,7 +6255,7 @@ var jc = /* @__PURE__ */ l(((e) => {
if (d !== null) i = !0;
else {
var u = n(l);
- u !== null && j(x, u.startTime - t), i = !1;
+ u !== null && A(x, u.startTime - t), i = !1;
}
}
break a;
@@ -6265,23 +6265,23 @@ var jc = /* @__PURE__ */ l(((e) => {
i = void 0;
}
} finally {
- i ? O() : S = !1;
+ i ? D() : S = !1;
}
}
}
- var O;
- if (typeof y == "function") O = function() {
- y(D);
+ var D;
+ if (typeof y == "function") D = function() {
+ y(E);
};
else if (typeof MessageChannel < "u") {
- var k = new MessageChannel(), A = k.port2;
- k.port1.onmessage = D, O = function() {
- A.postMessage(null);
+ var O = new MessageChannel(), k = O.port2;
+ O.port1.onmessage = E, D = function() {
+ k.postMessage(null);
};
- } else O = function() {
- _(D, 0);
+ } else D = function() {
+ _(E, 0);
};
- function j(t, n) {
+ function A(t, n) {
C = _(function() {
t(e.unstable_now());
}, n);
@@ -6350,8 +6350,8 @@ var jc = /* @__PURE__ */ l(((e) => {
startTime: a,
expirationTime: s,
sortIndex: -1
- }, a > o ? (r.sortIndex = a, t(l, r), n(c) === null && r === n(l) && (h ? (v(C), C = -1) : h = !0, j(x, a - o))) : (r.sortIndex = s, t(c, r), m || p || (m = !0, S || (S = !0, O()))), r;
- }, e.unstable_shouldYield = E, e.unstable_wrapCallback = function(e) {
+ }, a > o ? (r.sortIndex = a, t(l, r), n(c) === null && r === n(l) && (h ? (v(C), C = -1) : h = !0, A(x, a - o))) : (r.sortIndex = s, t(c, r), m || p || (m = !0, S || (S = !0, D()))), r;
+ }, e.unstable_shouldYield = ee, e.unstable_wrapCallback = function(e) {
var t = f;
return function() {
var n = f;
@@ -6363,10 +6363,10 @@ var jc = /* @__PURE__ */ l(((e) => {
}
};
};
-})), Mc = /* @__PURE__ */ l(((e, t) => {
- t.exports = jc();
-})), Nc = /* @__PURE__ */ l(((e) => {
- var t = Mc(), n = S(), r = dn();
+})), Pc = /* @__PURE__ */ u(((e, t) => {
+ t.exports = Nc();
+})), Fc = /* @__PURE__ */ u(((e) => {
+ var t = Pc(), n = C(), r = pn();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -6517,7 +6517,7 @@ var jc = /* @__PURE__ */ l(((e) => {
function x(e, t, n) {
return e === n ? (y = e, !1) : e === t && (y !== null && (v = e), !0);
}
- function C(e) {
+ function S(e) {
if (e === null) return null;
do
e = e === null ? null : e.return;
@@ -6536,58 +6536,58 @@ var jc = /* @__PURE__ */ l(((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"), ee = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), ae = Symbol.for("react.legacy_hidden"), F = Symbol.for("react.memo_cache_sentinel"), I = Symbol.for("react.view_transition"), L = 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);
+ var T = Object.assign, ee = Symbol.for("react.element"), E = Symbol.for("react.transitional.element"), D = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), M = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), ne = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), ie = Symbol.for("react.lazy"), ae = Symbol.for("react.activity"), oe = Symbol.for("react.legacy_hidden"), P = Symbol.for("react.memo_cache_sentinel"), F = Symbol.for("react.view_transition"), se = Symbol.for("react.recoverable"), I = Symbol.iterator;
+ function ce(e) {
+ return typeof e != "object" || !e ? null : (e = I && e[I] || e["@@iterator"], typeof e == "function" ? e : null);
}
- var ce = Symbol.for("react.client.reference");
- function le(e) {
+ var le = Symbol.for("react.client.reference");
+ function ue(e) {
if (e == null) return null;
- if (typeof e == "function") return e.$$typeof === ce ? null : e.displayName || e.name || null;
+ if (typeof e == "function") return e.$$typeof === le ? null : e.displayName || e.name || null;
if (typeof e == "string") return e;
switch (e) {
- case k: return "Fragment";
- case j: return "Profiler";
- case A: return "StrictMode";
- case te: return "Suspense";
- case P: return "SuspenseList";
- case ie: return "Activity";
- case I: return "ViewTransition";
+ case O: return "Fragment";
+ case A: return "Profiler";
+ case k: return "StrictMode";
+ case ne: return "Suspense";
+ case N: return "SuspenseList";
+ case ae: return "Activity";
+ case F: return "ViewTransition";
}
if (typeof e == "object") switch (e.$$typeof) {
- case O: return "Portal";
- case N: return e.displayName || "Context";
- case M: return (e._context.displayName || "Context") + ".Consumer";
- case ee:
+ case D: return "Portal";
+ case M: return e.displayName || "Context";
+ case j: return (e._context.displayName || "Context") + ".Consumer";
+ case te:
var t = e.render;
return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
- case ne: return t = e.displayName || null, t === null ? le(e.type) || "Memo" : t;
- case re:
+ case re: return t = e.displayName || null, t === null ? ue(e.type) || "Memo" : t;
+ case ie:
t = e._payload, e = e._init;
try {
- return le(e(t));
+ return ue(e(t));
} catch {}
}
return null;
}
- 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 = {
+ var de = Array.isArray, L = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, R = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, fe = {
pending: !1,
data: null,
method: null,
action: null
- }, fe = [], pe = -1;
- function me(e) {
+ }, pe = [], me = -1;
+ function he(e) {
return { current: e };
}
- function he(e) {
- 0 > pe || (e.current = fe[pe], fe[pe] = null, pe--);
+ function ge(e) {
+ 0 > me || (e.current = pe[me], pe[me] = null, me--);
}
- function B(e, t) {
- pe++, fe[pe] = e.current, e.current = t;
+ function _e(e, t) {
+ me++, pe[me] = e.current, e.current = t;
}
- var ge = me(null), _e = me(null), ve = me(null), ye = me(null);
- function be(e, t) {
- switch (B(ve, t), B(_e, e), B(ge, null), t.nodeType) {
+ var z = he(null), ve = he(null), ye = he(null), be = he(null);
+ function xe(e, t) {
+ switch (_e(ye, t), _e(ve, e), _e(z, null), t.nodeType) {
case 9:
case 11:
e = (e = t.documentElement) && (e = e.namespaceURI) ? up(e) : 0;
@@ -6603,34 +6603,34 @@ var jc = /* @__PURE__ */ l(((e) => {
default: e = 0;
}
}
- he(ge), B(ge, e);
+ ge(z), _e(z, e);
}
- function xe() {
- he(ge), he(_e), he(ve);
+ function Se() {
+ ge(z), ge(ve), ge(ye);
}
- function Se(e) {
+ function Ce(e) {
var t = e.memoizedState;
- t !== null && (sh._currentValue = t.memoizedState, B(ye, e)), t = ge.current;
+ t !== null && (sh._currentValue = t.memoizedState, _e(be, e)), t = z.current;
var n = dp(t, e.type);
- t !== n && (B(_e, e), B(ge, n));
+ t !== n && (_e(ve, e), _e(z, n));
}
- function Ce(e) {
- _e.current === e && (he(ge), he(_e)), ye.current === e && (he(ye), sh._currentValue = de);
+ function we(e) {
+ ve.current === e && (ge(z), ge(ve)), be.current === e && (ge(be), sh._currentValue = fe);
}
- var we, Te;
- function Ee(e) {
- if (we === 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 )?)/);
- we = t && t[1] || "", Te = -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" + we + e + Te;
+ return "\n" + Te + e + Ee;
}
- var De = !1;
- function Oe(e, t) {
- if (!e || De) return "";
- De = !0;
+ var Oe = !1;
+ function ke(e, t) {
+ if (!e || Oe) return "";
+ Oe = !0;
var n = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
@@ -6701,50 +6701,50 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
} finally {
- De = !1, Error.prepareStackTrace = n;
+ Oe = !1, Error.prepareStackTrace = n;
}
- return (n = e ? e.displayName || e.name : "") ? Ee(n) : "";
+ return (n = e ? e.displayName || e.name : "") ? De(n) : "";
}
- function ke(e, t) {
+ function Ae(e, t) {
switch (e.tag) {
case 26:
case 27:
- case 5: return Ee(e.type);
- case 16: return Ee("Lazy");
- case 13: return e.child !== t && t !== null ? Ee("Suspense Fallback") : Ee("Suspense");
- case 19: return Ee("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 Oe(e.type, !1);
- case 11: return Oe(e.type.render, !1);
- case 1: return Oe(e.type, !0);
- case 31: return Ee("Activity");
- case 30: return Ee("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 Ae(e) {
+ function je(e) {
try {
var t = "", n = null;
do
- t += ke(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 je = Object.prototype.hasOwnProperty, Me = t.unstable_scheduleCallback, Ne = t.unstable_cancelCallback, Pe = t.unstable_shouldYield, Fe = t.unstable_requestPaint, Ie = t.unstable_now, Le = t.unstable_getCurrentPriorityLevel, Re = t.unstable_ImmediatePriority, ze = t.unstable_UserBlockingPriority, Be = t.unstable_NormalPriority, Ve = t.unstable_LowPriority, He = t.unstable_IdlePriority, Ue = t.log, We = t.unstable_setDisableYieldValue, Ge = null, Ke = null;
- function qe(e) {
- if (typeof Ue == "function" && We(e), Ke && typeof Ke.setStrictMode == "function") try {
- Ke.setStrictMode(Ge, 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 Je = Math.clz32 ? Math.clz32 : Ze, Ye = Math.log, Xe = Math.LN2;
- function Ze(e) {
- return e >>>= 0, e === 0 ? 32 : 31 - (Ye(e) / Xe | 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 Qe = 256, $e = 262144, et = 4194304;
- function tt(e) {
+ var $e = 256, et = 262144, tt = 4194304;
+ function nt(e) {
var t = e & 42;
if (t !== 0) return t;
switch (e & -e) {
@@ -6782,27 +6782,27 @@ var jc = /* @__PURE__ */ l(((e) => {
default: return e;
}
}
- function nt(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 = tt(n))) : i = tt(o) : i = tt(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = tt(n))) : i = tt(o)) : i = tt(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 rt(e, t) {
+ function it(e, t) {
return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;
}
- function it(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 - Je(n), i = 1 << r;
+ var r = 31 - Ye(n), i = 1 << r;
t |= e[r], n &= ~i;
}
return t;
}
- function at(e, t) {
+ function ot(e, t) {
switch (e) {
case 1:
case 2:
@@ -6838,23 +6838,23 @@ var jc = /* @__PURE__ */ l(((e) => {
default: return -1;
}
}
- function ot() {
- var e = et;
- return et <<= 1, !(et & 62914560) && (et = 4194304), e;
+ function st() {
+ var e = tt;
+ return tt <<= 1, !(tt & 62914560) && (tt = 4194304), e;
}
- function st(e) {
+ function ct(e) {
for (var t = [], n = 0; 31 > n; n++) t.push(e);
return t;
}
- function ct(e, t) {
+ function lt(e, t) {
e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);
}
- function lt(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 - Je(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++) {
@@ -6863,25 +6863,25 @@ var jc = /* @__PURE__ */ l(((e) => {
}
n &= ~d;
}
- r !== 0 && ut(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 ut(e, t, n) {
+ function dt(e, t, n) {
e.pendingLanes |= t, e.suspendedLanes &= ~t;
- var r = 31 - Je(t);
+ var r = 31 - Ye(t);
e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;
}
- function dt(e, t) {
+ function ft(e, t) {
var n = e.entangledLanes |= t;
for (e = e.entanglements; n;) {
- var r = 31 - Je(n), i = 1 << r;
+ var r = 31 - Ye(n), i = 1 << r;
i & t | e[r] & t && (e[r] |= t), n &= ~i;
}
}
- function ft(e, t) {
+ function pt(e, t) {
var n = t & -t;
- return n = n & 42 ? 1 : pt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
+ return n = n & 42 ? 1 : mt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
}
- function pt(e) {
+ function mt(e) {
switch (e) {
case 2:
e = 1;
@@ -6919,32 +6919,32 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return e;
}
- function mt(e) {
+ function ht(e) {
return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;
}
- function ht() {
- var e = z.p;
+ function gt() {
+ var e = R.p;
return e === 0 ? (e = window.event, e === void 0 ? 32 : Ch(e.type)) : e;
}
- function gt(e, t) {
- var n = z.p;
+ function _t(e, t) {
+ var n = R.p;
try {
- return z.p = e, t();
+ return R.p = e, t();
} finally {
- z.p = n;
+ R.p = n;
}
}
- var _t = Math.random().toString(36).slice(2), vt = "__reactFiber$" + _t, yt = "__reactProps$" + _t, bt = "__reactContainer$" + _t, xt = "__reactEvents$" + _t, St = "__reactListeners$" + _t, Ct = "__reactHandles$" + _t, wt = "__reactResources$" + _t, Tt = "__reactMarker$" + _t, Et = "__reactLoad$" + _t;
- function Dt(e) {
- delete e[vt], delete e[yt], delete e[St], delete e[Ct];
- }
+ 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 kt(e) {
var t;
- if (t = e[vt]) return t;
+ if (t = e[yt]) return t;
for (var n = e.parentNode; n;) {
- if (t = n[bt] || n[vt]) {
+ if (t = n[xt] || n[yt]) {
if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = fm(e); e !== null;) {
- if (n = e[vt]) return n;
+ if (n = e[yt]) return n;
e = fm(e);
}
return t;
@@ -6953,49 +6953,49 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return null;
}
- function kt(e) {
- if (e = e[vt] || e[bt]) {
+ 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 At(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 jt(e) {
- var t = e[wt];
- return t ||= e[wt] = {
+ function Mt(e) {
+ var t = e[Tt];
+ return t ||= e[Tt] = {
hoistableStyles: /* @__PURE__ */ new Map(),
hoistableScripts: /* @__PURE__ */ new Map()
}, t;
}
- function Mt(e) {
- e[Tt] = !0;
- }
function Nt(e) {
- e[Et] = void 0;
+ e[Et] = !0;
}
- var Pt = /* @__PURE__ */ new Set(), Ft = {};
- function It(e, t) {
- Lt(e, t), Lt(e + "Capture", t);
+ function Pt(e) {
+ e[Dt] = void 0;
}
+ var Ft = /* @__PURE__ */ new Set(), It = {};
function Lt(e, t) {
- for (Ft[e] = t, e = 0; e < t.length; e++) Pt.add(t[e]);
+ Rt(e, t), Rt(e + "Capture", t);
+ }
+ function Rt(e, t) {
+ for (It[e] = t, e = 0; e < t.length; e++) Ft.add(t[e]);
}
- var Rt = 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]*$"), zt = {}, V = {};
- function Bt(e) {
- return je.call(V, e) ? !0 : je.call(zt, e) ? !1 : Rt.test(e) ? V[e] = !0 : (zt[e] = !0, !1);
+ 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 B(e) {
+ return Me.call(Vt, e) ? !0 : Me.call(Bt, e) ? !1 : zt.test(e) ? Vt[e] = !0 : (Bt[e] = !0, !1);
}
- var H = !1;
- function Vt() {
- var e = H;
- return H = !1, e;
+ var V = !1;
+ function Ht() {
+ var e = V;
+ return V = !1, e;
}
- function Ht(e, t, n) {
- if (Bt(t)) {
+ function Ut(e, t, n) {
+ if (B(t)) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -7015,7 +7015,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
}
- function Ut(e, t, n) {
+ function Wt(e, t, n) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -7029,7 +7029,7 @@ var jc = /* @__PURE__ */ l(((e) => {
e.setAttribute(t, n);
}
}
- function Wt(e, t, n, r) {
+ function Gt(e, t, n, r) {
if (r === null) e.removeAttribute(n);
else {
switch (typeof r) {
@@ -7043,7 +7043,7 @@ var jc = /* @__PURE__ */ l(((e) => {
e.setAttributeNS(t, n, r);
}
}
- function Gt(e) {
+ function Kt(e) {
switch (typeof e) {
case "bigint":
case "boolean":
@@ -7054,11 +7054,11 @@ var jc = /* @__PURE__ */ l(((e) => {
default: return "";
}
}
- function Kt(e) {
+ function qt(e) {
var t = e.type;
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
}
- function qt(e, t, n) {
+ function Jt(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;
@@ -7083,48 +7083,48 @@ var jc = /* @__PURE__ */ l(((e) => {
};
}
}
- function Jt(e) {
+ function Yt(e) {
if (!e._valueTracker) {
- var t = Kt(e) ? "checked" : "value";
- e._valueTracker = qt(e, t, "" + e[t]);
+ var t = qt(e) ? "checked" : "value";
+ e._valueTracker = Jt(e, t, "" + e[t]);
}
}
- function Yt(e) {
+ function Xt(e) {
if (!e) return !1;
var t = e._valueTracker;
if (!t) return !0;
var n = t.getValue(), r = "";
- return e && (r = Kt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
+ return e && (r = qt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
}
- var Xt = /[\n"\\]/g;
- function Zt(e) {
- return e.replace(Xt, function(e) {
+ var Zt = /[\n"\\]/g;
+ function Qt(e) {
+ return e.replace(Zt, function(e) {
return "\\" + e.charCodeAt(0).toString(16) + " ";
});
}
- function Qt(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 = "" + Gt(t)) : e.value !== "" + Gt(t) && (e.value = "" + Gt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : en(e, Gt(n)) : o === "number" && e.value == t ? en(e, Gt(e.value)) : en(e, Gt(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 = "" + Gt(s) : e.removeAttribute("name");
- }
function $t(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 = "" + Kt(t)) : e.value !== "" + Kt(t) && (e.value = "" + Kt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : tn(e, Kt(n)) : o === "number" && e.value == t ? tn(e, Kt(e.value)) : tn(e, Kt(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 = "" + Kt(s) : e.removeAttribute("name");
+ }
+ function en(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)) {
- Jt(e);
+ Yt(e);
return;
}
- n = n == null ? "" : "" + Gt(n), t = t == null ? n : "" + Gt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
+ n = n == null ? "" : "" + Kt(n), t = t == null ? n : "" + Kt(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), Jt(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), Yt(e);
}
- function en(e, t) {
+ function tn(e, t) {
e.defaultValue !== "" + t && (e.defaultValue = "" + t);
}
- function tn(e, t, n, r) {
+ function nn(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 = "" + Gt(n), t = null, i = 0; i < e.length; i++) {
+ for (n = "" + Kt(n), t = null, i = 0; i < e.length; i++) {
if (e[i].value === n) {
e[i].selected = !0, r && (e[i].defaultSelected = !0);
return;
@@ -7134,18 +7134,18 @@ var jc = /* @__PURE__ */ l(((e) => {
t !== null && (t.selected = !0);
}
}
- function nn(e, t, n) {
- if (t != null && (t = "" + Gt(t), t !== e.value && (e.value = t), n == null)) {
+ function rn(e, t, n) {
+ if (t != null && (t = "" + Kt(t), t !== e.value && (e.value = t), n == null)) {
e.defaultValue !== t && (e.defaultValue = t);
return;
}
- e.defaultValue = n == null ? "" : "" + Gt(n);
+ e.defaultValue = n == null ? "" : "" + Kt(n);
}
- function rn(e, t, n, r) {
+ function an(e, t, n, r) {
if (t == null) {
if (r != null) {
if (n != null) throw Error(i(92));
- if (ue(r)) {
+ if (de(r)) {
if (1 < r.length) throw Error(i(93));
r = r[0];
}
@@ -7153,9 +7153,9 @@ var jc = /* @__PURE__ */ l(((e) => {
}
n ??= "", t = n;
}
- n = Gt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Jt(e);
+ n = Kt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Yt(e);
}
- function an(e, t) {
+ function on(e, t) {
if (t) {
var n = e.firstChild;
if (n && n === e.lastChild && n.nodeType === 3) {
@@ -7165,19 +7165,19 @@ var jc = /* @__PURE__ */ l(((e) => {
}
e.textContent = t;
}
- var on = 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 sn(e, t, n) {
+ var sn = 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 cn(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 || on.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 || sn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
}
- function cn(e, t, n) {
+ function ln(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] = "", H = !0);
- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (sn(e, a, r), H = !0);
- } else for (var o in t) t.hasOwnProperty(o) && sn(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] = "", V = !0);
+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (cn(e, a, r), V = !0);
+ } else for (var o in t) t.hasOwnProperty(o) && cn(e, o, t[o]);
}
- function ln(e) {
+ function un(e) {
if (e.indexOf("-") === -1) return !1;
switch (e) {
case "annotation-xml":
@@ -7191,7 +7191,7 @@ var jc = /* @__PURE__ */ l(((e) => {
default: return !0;
}
}
- var un = /* @__PURE__ */ new Map([
+ var dn = /* @__PURE__ */ new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"],
@@ -7272,55 +7272,55 @@ var jc = /* @__PURE__ */ l(((e) => {
["xmlnsXlink", "xmlns:xlink"],
["xHeight", "x-height"]
]), fn = /^[\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 pn(e) {
+ function mn(e) {
return fn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
}
- function mn() {}
- var hn = null;
- function gn(e) {
+ function hn() {}
+ var gn = null;
+ function _n(e) {
return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
}
- var _n = null, vn = null;
- function yn(e) {
- var t = kt(e);
+ var vn = null, yn = null;
+ function bn(e) {
+ var t = At(e);
if (t && (e = t.stateNode)) {
- var n = e[yt] || null;
+ var n = e[bt] || null;
a: switch (e = t.stateNode, t.type) {
case "input":
- if (Qt(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
+ if ($t(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=\"" + Zt("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
+ for (n = n.querySelectorAll("input[name=\"" + Qt("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
var r = n[t];
if (r !== e && r.form === e.form) {
- var a = r[yt] || null;
+ var a = r[bt] || null;
if (!a) throw Error(i(90));
- Qt(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
+ $t(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 && Yt(r);
+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Xt(r);
}
break a;
case "textarea":
- nn(e, n.value, n.defaultValue);
+ rn(e, n.value, n.defaultValue);
break a;
- case "select": t = n.value, t != null && tn(e, !!n.multiple, t, !1);
+ case "select": t = n.value, t != null && nn(e, !!n.multiple, t, !1);
}
}
}
- var bn = !1;
- function xn(e, t, n) {
- if (bn) return e(t, n);
- bn = !0;
+ var xn = !1;
+ function Sn(e, t, n) {
+ if (xn) return e(t, n);
+ xn = !0;
try {
return e(t);
} finally {
- if (bn = !1, (_n !== null || vn !== null) && (Ld(), _n && (t = _n, e = vn, vn = _n = null, yn(t), e))) for (t = 0; t < e.length; t++) yn(e[t]);
+ if (xn = !1, (vn !== null || yn !== null) && (Ld(), vn && (t = vn, e = yn, yn = vn = null, bn(t), e))) for (t = 0; t < e.length; t++) bn(e[t]);
}
}
- function Sn(e, t) {
+ function Cn(e, t) {
var n = e.stateNode;
if (n === null) return null;
- var r = n[yt] || null;
+ var r = n[bt] || null;
if (r === null) return null;
n = r[t];
a: switch (t) {
@@ -7343,54 +7343,54 @@ var jc = /* @__PURE__ */ l(((e) => {
if (n && typeof n != "function") throw Error(i(231, t, typeof n));
return n;
}
- var Cn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), wn = !1;
- if (Cn) try {
- var Tn = {};
- Object.defineProperty(Tn, "passive", { get: function() {
- wn = !0;
- } }), window.addEventListener("test", Tn, Tn), window.removeEventListener("test", Tn, Tn);
+ var wn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), Tn = !1;
+ if (wn) try {
+ var En = {};
+ Object.defineProperty(En, "passive", { get: function() {
+ Tn = !0;
+ } }), window.addEventListener("test", En, En), window.removeEventListener("test", En, En);
} catch {
- wn = !1;
+ Tn = !1;
}
- var En = null, Dn = null, On = null;
- function kn() {
- if (On) return On;
- var e, t = Dn, n = t.length, r, i = "value" in En ? En.value : En.textContent, a = i.length;
+ var Dn = null, On = null, kn = null;
+ function An() {
+ if (kn) return kn;
+ var e, t = On, n = t.length, r, i = "value" in Dn ? Dn.value : Dn.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 On = i.slice(e, 1 < r ? 1 - r : void 0);
+ return kn = i.slice(e, 1 < r ? 1 - r : void 0);
}
- function An(e) {
+ function jn(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 jn() {
+ function Mn() {
return !0;
}
- function Mn() {
+ function Nn() {
return !1;
}
- function Nn(e) {
+ function Pn(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) ? jn : Mn, this.isPropagationStopped = Mn, this;
+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Mn : Nn, this.isPropagationStopped = Nn, 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 = jn);
+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Mn);
},
stopPropagation: function() {
var e = this.nativeEvent;
- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = jn);
+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Mn);
},
persist: function() {},
- isPersistent: jn
+ isPersistent: Mn
}), t;
}
- var Pn = {
+ var Fn = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
@@ -7399,10 +7399,10 @@ var jc = /* @__PURE__ */ l(((e) => {
},
defaultPrevented: 0,
isTrusted: 0
- }, Fn = Nn(Pn), In = T({}, Pn, {
+ }, In = Pn(Fn), Ln = T({}, Fn, {
view: 0,
detail: 0
- }), Ln = Nn(In), Rn, zn, Bn, Vn = T({}, In, {
+ }), Rn = Pn(Ln), zn, Bn, Vn, Hn = T({}, Ln, {
screenX: 0,
screenY: 0,
clientX: 0,
@@ -7413,25 +7413,25 @@ var jc = /* @__PURE__ */ l(((e) => {
shiftKey: 0,
altKey: 0,
metaKey: 0,
- getModifierState: Qn,
+ 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 !== Bn && (Bn && e.type === "mousemove" ? (Rn = e.screenX - Bn.screenX, zn = e.screenY - Bn.screenY) : zn = Rn = 0, Bn = e), Rn);
+ return "movementX" in e ? e.movementX : (e !== Vn && (Vn && e.type === "mousemove" ? (zn = e.screenX - Vn.screenX, Bn = e.screenY - Vn.screenY) : Bn = zn = 0, Vn = e), zn);
},
movementY: function(e) {
- return "movementY" in e ? e.movementY : zn;
+ return "movementY" in e ? e.movementY : Bn;
}
- }), Hn = Nn(Vn), Un = Nn(T({}, Vn, { dataTransfer: 0 })), Wn = Nn(T({}, In, { relatedTarget: 0 })), Gn = Nn(T({}, Pn, {
+ }), Un = Pn(Hn), Wn = Pn(T({}, Hn, { dataTransfer: 0 })), Gn = Pn(T({}, Ln, { relatedTarget: 0 })), Kn = Pn(T({}, Fn, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), Kn = Nn(T({}, Pn, { clipboardData: function(e) {
+ })), qn = Pn(T({}, Fn, { clipboardData: function(e) {
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
- } })), qn = Nn(T({}, Pn, { data: 0 })), Jn = {
+ } })), Jn = Pn(T({}, Fn, { data: 0 })), Yn = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
@@ -7444,7 +7444,7 @@ var jc = /* @__PURE__ */ l(((e) => {
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
- }, Yn = {
+ }, Xn = {
8: "Backspace",
9: "Tab",
12: "Clear",
@@ -7481,26 +7481,26 @@ var jc = /* @__PURE__ */ l(((e) => {
144: "NumLock",
145: "ScrollLock",
224: "Meta"
- }, Xn = {
+ }, Zn = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
- function Zn(e) {
+ function Qn(e) {
var t = this.nativeEvent;
- return t.getModifierState ? t.getModifierState(e) : (e = Xn[e]) ? !!t[e] : !1;
+ return t.getModifierState ? t.getModifierState(e) : (e = Zn[e]) ? !!t[e] : !1;
}
- function Qn() {
- return Zn;
+ function $n() {
+ return Qn;
}
- var $n = Nn(T({}, In, {
+ var er = Pn(T({}, Ln, {
key: function(e) {
if (e.key) {
- var t = Jn[e.key] || e.key;
+ var t = Yn[e.key] || e.key;
if (t !== "Unidentified") return t;
}
- return e.type === "keypress" ? (e = An(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Yn[e.keyCode] || "Unidentified" : "";
+ return e.type === "keypress" ? (e = jn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Xn[e.keyCode] || "Unidentified" : "";
},
code: 0,
location: 0,
@@ -7510,17 +7510,17 @@ var jc = /* @__PURE__ */ l(((e) => {
metaKey: 0,
repeat: 0,
locale: 0,
- getModifierState: Qn,
+ getModifierState: $n,
charCode: function(e) {
- return e.type === "keypress" ? An(e) : 0;
+ return e.type === "keypress" ? jn(e) : 0;
},
keyCode: function(e) {
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
},
which: function(e) {
- return e.type === "keypress" ? An(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
+ return e.type === "keypress" ? jn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
}
- })), er = Nn(T({}, Vn, {
+ })), tr = Pn(T({}, Hn, {
pointerId: 0,
width: 0,
height: 0,
@@ -7531,7 +7531,7 @@ var jc = /* @__PURE__ */ l(((e) => {
twist: 0,
pointerType: 0,
isPrimary: 0
- })), tr = Nn(T({}, Pn, { submitter: 0 })), nr = Nn(T({}, In, {
+ })), nr = Pn(T({}, Fn, { submitter: 0 })), rr = Pn(T({}, Ln, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
@@ -7539,12 +7539,12 @@ var jc = /* @__PURE__ */ l(((e) => {
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
- getModifierState: Qn
- })), rr = Nn(T({}, Pn, {
+ getModifierState: $n
+ })), ir = Pn(T({}, Fn, {
propertyName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), ir = Nn(T({}, Vn, {
+ })), ar = Pn(T({}, Hn, {
deltaX: function(e) {
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
},
@@ -7553,21 +7553,21 @@ var jc = /* @__PURE__ */ l(((e) => {
},
deltaZ: 0,
deltaMode: 0
- })), ar = Nn(T({}, Pn, {
+ })), or = Pn(T({}, Fn, {
newState: 0,
oldState: 0,
source: 0
- })), or = [
+ })), sr = [
9,
13,
27,
32
- ], sr = Cn && "CompositionEvent" in window, cr = null;
- Cn && "documentMode" in document && (cr = document.documentMode);
- var lr = Cn && "TextEvent" in window && !cr, ur = Cn && (!sr || cr && 8 < cr && 11 >= cr), dr = " ", fr = !1;
- function pr(e, t) {
+ ], cr = wn && "CompositionEvent" in window, lr = null;
+ wn && "documentMode" in document && (lr = document.documentMode);
+ var ur = wn && "TextEvent" in window && !lr, dr = wn && (!cr || lr && 8 < lr && 11 >= lr), fr = " ", pr = !1;
+ function mr(e, t) {
switch (e) {
- case "keyup": return or.indexOf(t.keyCode) !== -1;
+ case "keyup": return sr.indexOf(t.keyCode) !== -1;
case "keydown": return t.keyCode !== 229;
case "keypress":
case "mousedown":
@@ -7575,20 +7575,20 @@ var jc = /* @__PURE__ */ l(((e) => {
default: return !1;
}
}
- function mr(e) {
+ function hr(e) {
return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
}
- var hr = !1;
- function gr(e, t) {
+ var gr = !1;
+ function _r(e, t) {
switch (e) {
- case "compositionend": return mr(t);
- case "keypress": return t.which === 32 ? (fr = !0, dr) : null;
- case "textInput": return e = t.data, e === dr && fr ? 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 _r(e, t) {
- if (hr) return e === "compositionend" || !sr && pr(e, t) ? (e = kn(), On = Dn = En = null, hr = !1, e) : null;
+ function vr(e, t) {
+ if (gr) return e === "compositionend" || !cr && mr(e, t) ? (e = An(), kn = On = Dn = null, gr = !1, e) : null;
switch (e) {
case "paste": return null;
case "keypress":
@@ -7597,11 +7597,11 @@ var jc = /* @__PURE__ */ l(((e) => {
if (t.which) return String.fromCharCode(t.which);
}
return null;
- case "compositionend": return ur && t.locale !== "ko" ? null : t.data;
+ case "compositionend": return dr && t.locale !== "ko" ? null : t.data;
default: return null;
}
}
- var vr = {
+ var yr = {
color: !0,
date: !0,
datetime: !0,
@@ -7618,76 +7618,76 @@ var jc = /* @__PURE__ */ l(((e) => {
url: !0,
week: !0
};
- function yr(e) {
+ function br(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
- return t === "input" ? !!vr[e.type] : t === "textarea";
+ return t === "input" ? !!yr[e.type] : t === "textarea";
}
- function br(e, t, n, r) {
- _n ? vn ? vn.push(r) : vn = [r] : _n = r, t = qf(t, "onChange"), 0 < t.length && (n = new Fn("onChange", "change", null, n, r), e.push({
+ function xr(e, t, n, r) {
+ vn ? yn ? yn.push(r) : yn = [r] : vn = r, t = qf(t, "onChange"), 0 < t.length && (n = new In("onChange", "change", null, n, r), e.push({
event: n,
listeners: t
}));
}
- var xr = null, Sr = null;
- function Cr(e) {
+ var Sr = null, Cr = null;
+ function wr(e) {
Bf(e, 0);
}
- function wr(e) {
- if (Yt(At(e))) return e;
+ function Tr(e) {
+ if (Xt(jt(e))) return e;
}
- function Tr(e, t) {
+ function Er(e, t) {
if (e === "change") return t;
}
- var Er = !1;
- if (Cn) {
- var Dr;
- if (Cn) {
- var Or = "oninput" in document;
- if (!Or) {
- var kr = document.createElement("div");
- kr.setAttribute("oninput", "return;"), Or = typeof kr.oninput == "function";
+ var Dr = !1;
+ if (wn) {
+ var Or;
+ if (wn) {
+ var kr = "oninput" in document;
+ if (!kr) {
+ var Ar = document.createElement("div");
+ Ar.setAttribute("oninput", "return;"), kr = typeof Ar.oninput == "function";
}
- Dr = Or;
- } else Dr = !1;
- Er = Dr && (!document.documentMode || 9 < document.documentMode);
+ Or = kr;
+ } else Or = !1;
+ Dr = Or && (!document.documentMode || 9 < document.documentMode);
}
- function Ar() {
- xr && (xr.detachEvent("onpropertychange", jr), Sr = xr = null);
+ function jr() {
+ Sr && (Sr.detachEvent("onpropertychange", Mr), Cr = Sr = null);
}
- function jr(e) {
- if (e.propertyName === "value" && wr(Sr)) {
+ function Mr(e) {
+ if (e.propertyName === "value" && Tr(Cr)) {
var t = [];
- br(t, Sr, e, gn(e)), xn(Cr, t);
+ xr(t, Cr, e, _n(e)), Sn(wr, t);
}
}
- function Mr(e, t, n) {
- e === "focusin" ? (Ar(), xr = t, Sr = n, xr.attachEvent("onpropertychange", jr)) : e === "focusout" && Ar();
+ function Nr(e, t, n) {
+ e === "focusin" ? (jr(), Sr = t, Cr = n, Sr.attachEvent("onpropertychange", Mr)) : e === "focusout" && jr();
}
- function Nr(e) {
- if (e === "selectionchange" || e === "keyup" || e === "keydown") return wr(Sr);
- }
- function Pr(e, t) {
- if (e === "click") return wr(t);
+ function Pr(e) {
+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return Tr(Cr);
}
function Fr(e, t) {
- if (e === "input" || e === "change") return wr(t);
+ if (e === "click") return Tr(t);
}
function Ir(e, t) {
+ if (e === "input" || e === "change") return Tr(t);
+ }
+ function Lr(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
- var Lr = typeof Object.is == "function" ? Object.is : Ir;
- function Rr(e, t) {
- if (Lr(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 (!je.call(t, i) || !Lr(e[i], t[i])) return !1;
+ if (!Me.call(t, i) || !Rr(e[i], t[i])) return !1;
}
return !0;
}
- function zr(e) {
+ function Br(e) {
if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;
try {
return e.activeElement || e.body;
@@ -7695,12 +7695,12 @@ var jc = /* @__PURE__ */ l(((e) => {
return e.body;
}
}
- function Br(e) {
+ function Vr(e) {
for (; e && e.firstChild;) e = e.firstChild;
return e;
}
- function Vr(e, t) {
- var n = Br(e);
+ function Hr(e, t) {
+ var n = Vr(e);
e = 0;
for (var r; n;) {
if (n.nodeType === 3) {
@@ -7720,15 +7720,15 @@ var jc = /* @__PURE__ */ l(((e) => {
}
n = void 0;
}
- n = Br(n);
+ n = Vr(n);
}
}
- function Hr(e, t) {
- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Hr(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 Ur(e) {
+ function Wr(e) {
e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;
- for (var t = zr(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 {
@@ -7736,18 +7736,18 @@ var jc = /* @__PURE__ */ l(((e) => {
}
if (n) e = t.contentWindow;
else break;
- t = zr(e.document);
+ t = Br(e.document);
}
return t;
}
- function Wr(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 Gr = Cn && "documentMode" in document && 11 >= document.documentMode, Kr = null, qr = null, Jr = null, Yr = !1;
- function Xr(e, t, n) {
+ var Kr = wn && "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;
- Yr || Kr == null || Kr !== zr(r) || (r = Kr, "selectionStart" in r && Wr(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 = {
@@ -7755,25 +7755,25 @@ var jc = /* @__PURE__ */ l(((e) => {
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset
- }), Jr && Rr(Jr, r) || (Jr = r, r = qf(qr, "onSelect"), 0 < r.length && (t = new Fn("onSelect", "select", null, t, n), e.push({
+ }), Yr && zr(Yr, r) || (Yr = r, r = qf(Jr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({
event: t,
listeners: r
- }), t.target = Kr)));
+ }), t.target = qr)));
}
- function Zr(e, t) {
+ function H(e, t) {
var n = {};
return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;
}
var Qr = {
- animationend: Zr("Animation", "AnimationEnd"),
- animationiteration: Zr("Animation", "AnimationIteration"),
- animationstart: Zr("Animation", "AnimationStart"),
- transitionrun: Zr("Transition", "TransitionRun"),
- transitionstart: Zr("Transition", "TransitionStart"),
- transitioncancel: Zr("Transition", "TransitionCancel"),
- transitionend: Zr("Transition", "TransitionEnd")
+ animationend: H("Animation", "AnimationEnd"),
+ animationiteration: H("Animation", "AnimationIteration"),
+ animationstart: H("Animation", "AnimationStart"),
+ transitionrun: H("Transition", "TransitionRun"),
+ transitionstart: H("Transition", "TransitionStart"),
+ transitioncancel: H("Transition", "TransitionCancel"),
+ transitionend: H("Transition", "TransitionEnd")
}, $r = {}, ei = {};
- Cn && (ei = document.createElement("div").style, "AnimationEvent" in window || (delete Qr.animationend.animation, delete Qr.animationiteration.animation, delete Qr.animationstart.animation), "TransitionEvent" in window || delete Qr.transitionend.transition);
+ wn && (ei = document.createElement("div").style, "AnimationEvent" in window || (delete Qr.animationend.animation, delete Qr.animationiteration.animation, delete Qr.animationstart.animation), "TransitionEvent" in window || delete Qr.transitionend.transition);
function ti(e) {
if ($r[e]) return $r[e];
if (!Qr[e]) return e;
@@ -7784,7 +7784,7 @@ var jc = /* @__PURE__ */ l(((e) => {
var ni = ti("animationend"), ri = ti("animationiteration"), ii = ti("animationstart"), ai = ti("transitionrun"), oi = ti("transitionstart"), si = ti("transitioncancel"), ci = ti("transitionend"), li = /* @__PURE__ */ new Map(), ui = "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(" ");
ui.push("scrollEnd");
function di(e, t) {
- li.set(e, t), It(t, [e]);
+ li.set(e, t), Lt(t, [e]);
}
var fi = 0;
function pi(e, t) {
@@ -7854,7 +7854,7 @@ var jc = /* @__PURE__ */ l(((e) => {
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 - Je(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 Ti(e) {
if (50 < Dd) throw Dd = 0, Od = null, Error(i(185));
@@ -7889,18 +7889,18 @@ var jc = /* @__PURE__ */ l(((e) => {
function Mi(e, t, n, r, a, o) {
var s = 0;
if (r = e, typeof r == "function") ki(r) && (s = 1);
- else if (typeof r == "string") s = qm(e, n, ge.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
+ else if (typeof r == "string") s = qm(e, n, z.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
else a: switch (r) {
- case ie: return e = Oi(31, n, t, a), e.elementType = ie, e.lanes = o, e;
- case k: return Ni(n.children, a, o, t);
- case A:
+ case ae: return e = Oi(31, n, t, a), e.elementType = ae, e.lanes = o, e;
+ case O: return Ni(n.children, a, o, t);
+ case k:
s = 8, a |= 24;
break;
- case j: return e = Oi(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;
- case te: return e = Oi(13, n, t, a), e.elementType = te, e.lanes = o, e;
- case P: return e = Oi(19, n, t, a), e.elementType = P, e.lanes = o, e;
- case ae:
- case I: return e = a | 32, e = Oi(30, n, t, e), e.elementType = I, e.lanes = o, e.stateNode = {
+ case A: return e = Oi(12, n, t, a | 2), e.elementType = A, e.lanes = o, e;
+ case ne: return e = Oi(13, n, t, a), e.elementType = ne, e.lanes = o, e;
+ case N: return e = Oi(19, n, t, a), e.elementType = N, e.lanes = o, e;
+ case oe:
+ case F: return e = a | 32, e = Oi(30, n, t, e), e.elementType = F, e.lanes = o, e.stateNode = {
autoName: null,
paired: null,
clones: null,
@@ -7908,19 +7908,19 @@ var jc = /* @__PURE__ */ l(((e) => {
}, e;
default:
if (typeof r == "object" && r) switch (r.$$typeof) {
- case N:
+ case M:
s = 10;
break a;
- case M:
+ case j:
s = 9;
break a;
- case ee:
+ case te:
s = 11;
break a;
- case ne:
+ case re:
s = 14;
break a;
- case re:
+ case ie:
s = 16, r = null;
break a;
}
@@ -7952,13 +7952,13 @@ var jc = /* @__PURE__ */ l(((e) => {
return n === void 0 ? (t = {
value: e,
source: t,
- stack: Ae(t)
+ stack: je(t)
}, Li.set(e, t), t) : n;
}
return {
value: e,
source: t,
- stack: Ae(t)
+ stack: je(t)
};
}
var zi = [], Bi = 0, Vi = null, Hi = 0, Ui = [], Wi = 0, Gi = null, Ki = 1, qi = "";
@@ -7969,12 +7969,12 @@ var jc = /* @__PURE__ */ l(((e) => {
Ui[Wi++] = Ki, Ui[Wi++] = qi, Ui[Wi++] = Gi, Gi = e;
var r = Ki;
e = qi;
- var i = 32 - Je(r) - 1;
+ var i = 32 - Ye(r) - 1;
r &= ~(1 << i), n += 1;
- var a = 32 - Je(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, Ki = 1 << 32 - Je(t) + i | n << i | r, qi = a + e;
+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ki = 1 << 32 - Ye(t) + i | n << i | r, qi = a + e;
} else Ki = 1 << a | n << i | r, qi = e;
}
function Xi(e) {
@@ -7993,7 +7993,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function aa(e) {
var t = e.stateNode, n = e.type, r = e.memoizedProps;
- switch (t[vt] = e, t[yt] = r, n) {
+ switch (t[yt] = e, t[bt] = r, n) {
case "dialog":
$("cancel", t), $("close", t);
break;
@@ -8018,14 +8018,14 @@ var jc = /* @__PURE__ */ l(((e) => {
$("toggle", t);
break;
case "input":
- $("invalid", t), $t(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
+ $("invalid", t), en(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
break;
case "select":
$("invalid", t);
break;
- case "textarea": $("invalid", t), rn(t, r.value, r.defaultValue, r.children);
+ case "textarea": $("invalid", t), an(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 || $f(t.textContent, n) ? (r.popover != null && ($("beforetoggle", t), $("toggle", t)), r.onScroll != null && $("scroll", t), r.onScrollEnd != null && $("scrollend", t), r.onClick != null && (t.onclick = mn), t = !0) : t = !1, t || ia(e, !0);
+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || $f(t.textContent, n) ? (r.popover != null && ($("beforetoggle", t), $("toggle", t)), r.onScroll != null && $("scroll", t), r.onScrollEnd != null && $("scrollend", t), r.onClick != null && (t.onclick = hn), t = !0) : t = !1, t || ia(e, !0);
}
function oa(e) {
for ($i = e.return; $i;) switch ($i.tag) {
@@ -8064,12 +8064,12 @@ var jc = /* @__PURE__ */ l(((e) => {
function ua(e) {
ta === null ? ta = [e] : ta.push(e);
}
- var da = me(null), fa = null, pa = null;
+ var da = he(null), fa = null, pa = null;
function ma(e, t, n) {
- B(da, t._currentValue), t._currentValue = n;
+ _e(da, t._currentValue), t._currentValue = n;
}
function ha(e) {
- e._currentValue = da.current, he(da);
+ e._currentValue = da.current, ge(da);
}
function ga(e, t, n) {
for (; e !== null;) {
@@ -8125,9 +8125,9 @@ var jc = /* @__PURE__ */ l(((e) => {
if (s === null) throw Error(i(387));
if (s = s.memoizedProps, s !== null) {
var c = a.type;
- Lr(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 === ye.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 = [sh] : e.push(sh));
}
@@ -8137,7 +8137,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function ya(e) {
for (e = e.firstContext; e !== null;) {
- if (!Lr(e.context._currentValue, e.memoizedValue)) return !0;
+ if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;
e = e.next;
}
return !1;
@@ -8179,7 +8179,7 @@ var jc = /* @__PURE__ */ l(((e) => {
});
};
}, Ta = t.unstable_scheduleCallback, Ea = t.unstable_NormalPriority, Da = {
- $$typeof: N,
+ $$typeof: M,
Consumer: null,
Provider: null,
_currentValue: null,
@@ -8250,9 +8250,9 @@ var jc = /* @__PURE__ */ l(((e) => {
for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);
}), r;
}
- var Ba = R.S;
- R.S = function(e, t) {
- if (pd = Ie(), typeof t == "object" && t && typeof t.then == "function" && La(e, t), ja !== null) for (var n = yf; n !== null;) Aa(n, ja), n = n.next;
+ var Ba = L.S;
+ L.S = function(e, t) {
+ if (pd = Le(), typeof t == "object" && t && typeof t.then == "function" && La(e, t), ja !== null) for (var n = yf; n !== null;) Aa(n, ja), n = n.next;
if (n = e.types, n !== null) {
for (var r = yf; r !== null;) Aa(r, n), r = r.next;
if (Fa !== 0) {
@@ -8265,13 +8265,13 @@ var jc = /* @__PURE__ */ l(((e) => {
}
Ba !== null && Ba(e, t);
};
- var Va = me(null);
+ var Va = he(null);
function Ha() {
var e = Va.current;
return e === null ? Xu.pooledCache : e;
}
function Ua(e, t) {
- t === null ? B(Va, Va.current) : B(Va, t.pool);
+ t === null ? _e(Va, Va.current) : _e(Va, t.pool);
}
function Wa() {
var e = Ha();
@@ -8285,11 +8285,11 @@ var jc = /* @__PURE__ */ l(((e) => {
return e = e.status, e === "fulfilled" || e === "rejected";
}
function Xa(e, t, n) {
- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(mn, mn), t = n), t.status) {
+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(hn, hn), t = n), t.status) {
case "fulfilled": return t.value;
case "rejected": throw e = t.reason, eo(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
default:
- if (typeof t.status == "string") t.then(mn, mn);
+ if (typeof t.status == "string") t.then(hn, hn);
else {
if (e = Xu, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
e = t, e.status = "pending", e.then(function(e) {
@@ -8337,7 +8337,7 @@ var jc = /* @__PURE__ */ l(((e) => {
t = t.props.ref, e.ref = t === void 0 ? null : t;
}
function ao(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)));
+ throw t.$$typeof === ee ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
}
function oo(e) {
function t(t, n) {
@@ -8369,7 +8369,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function l(e, t, n, r) {
var i = n.type;
- return i === k ? (e = d(e, t, n.props.children, r, n.key), io(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === re && Za(i) === t.type) ? (t = a(t, n.props), io(t, n), t.return = e, t) : (t = Mi(n.type, n.key, n.props, null, e.mode, r), io(t, n), t.return = e, t);
+ return i === O ? (e = d(e, t, n.props.children, r, n.key), io(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ie && Za(i) === t.type) ? (t = a(t, n.props), io(t, n), t.return = e, t) : (t = Mi(n.type, n.key, n.props, null, e.mode, r), io(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 = Ii(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
@@ -8381,13 +8381,13 @@ var jc = /* @__PURE__ */ l(((e) => {
if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Pi("" + t, e.mode, n), t.return = e, t;
if (typeof t == "object" && t) {
switch (t.$$typeof) {
- case D: return n = Mi(t.type, t.key, t.props, null, e.mode, n), io(n, t), n.return = e, n;
- case O: return t = Ii(t, e.mode, n), t.return = e, t;
- case re: return t = Za(t), f(e, t, n);
+ case E: return n = Mi(t.type, t.key, t.props, null, e.mode, n), io(n, t), n.return = e, n;
+ case D: return t = Ii(t, e.mode, n), t.return = e, t;
+ case ie: return t = Za(t), f(e, t, n);
}
- if (ue(t) || se(t)) return t = Ni(t, e.mode, n, null), t.return = e, t;
+ if (de(t) || ce(t)) return t = Ni(t, e.mode, n, null), t.return = e, t;
if (typeof t.then == "function") return f(e, ro(t), n);
- if (t.$$typeof === N) return f(e, Sa(e, t), n);
+ if (t.$$typeof === M) return f(e, Sa(e, t), n);
ao(e, t);
}
return null;
@@ -8397,13 +8397,13 @@ var jc = /* @__PURE__ */ l(((e) => {
if (typeof n == "string" && n !== "" || typeof n == "number" || typeof n == "bigint") return i === null ? c(e, t, "" + n, r) : null;
if (typeof n == "object" && n) {
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 re: return n = Za(n), p(e, t, n, r);
+ case E: return n.key === i ? l(e, t, n, r) : null;
+ case D: return n.key === i ? u(e, t, n, r) : null;
+ case ie: return n = Za(n), p(e, t, n, r);
}
- if (ue(n) || se(n)) return i === null ? d(e, t, n, r, null) : null;
+ if (de(n) || ce(n)) return i === null ? d(e, t, n, r, null) : null;
if (typeof n.then == "function") return p(e, t, ro(n), r);
- if (n.$$typeof === N) return p(e, t, Sa(e, n), r);
+ if (n.$$typeof === M) return p(e, t, Sa(e, n), r);
ao(e, n);
}
return null;
@@ -8412,13 +8412,13 @@ var jc = /* @__PURE__ */ l(((e) => {
if (typeof r == "string" && r !== "" || typeof r == "number" || typeof r == "bigint") return e = e.get(n) || null, c(t, e, "" + r, i);
if (typeof r == "object" && r) {
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 re: return r = Za(r), m(e, t, n, r, i);
+ case E: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
+ case D: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
+ case ie: return r = Za(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 (de(r) || ce(r)) return e = e.get(n) || null, d(t, e, r, i, null);
if (typeof r.then == "function") return m(e, t, n, ro(r), i);
- if (r.$$typeof === N) return m(e, t, n, Sa(t, r), i);
+ if (r.$$typeof === M) return m(e, t, n, Sa(t, r), i);
ao(t, r);
}
return null;
@@ -8465,18 +8465,18 @@ var jc = /* @__PURE__ */ l(((e) => {
}), U && Ji(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) {
+ if (typeof o == "object" && o && o.type === O && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {
switch (o.$$typeof) {
- case D:
+ case E:
a: {
for (var l = o.key; r !== null;) {
if (r.key === l) {
- if (l = o.type, l === k) {
+ if (l = o.type, l === O) {
if (r.tag === 7) {
n(e, r.sibling), c = a(r, o.props.children), io(c, o), c.return = e, e = c;
break a;
}
- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === re && Za(l) === r.type) {
+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ie && Za(l) === r.type) {
n(e, r.sibling), c = a(r, o.props), io(c, o), c.return = e, e = c;
break a;
}
@@ -8485,10 +8485,10 @@ var jc = /* @__PURE__ */ l(((e) => {
}
t(e, r), r = r.sibling;
}
- o.type === k ? (c = Ni(o.props.children, e.mode, c, o.key), io(c, o), c.return = e, e = c) : (c = Mi(o.type, o.key, o.props, null, e.mode, c), io(c, o), c.return = e, e = c);
+ o.type === O ? (c = Ni(o.props.children, e.mode, c, o.key), io(c, o), c.return = e, e = c) : (c = Mi(o.type, o.key, o.props, null, e.mode, c), io(c, o), c.return = e, e = c);
}
return s(e);
- case O:
+ case D:
a: {
for (l = o.key; r !== null;) {
if (r.key === l) {
@@ -8504,15 +8504,15 @@ var jc = /* @__PURE__ */ l(((e) => {
c = Ii(o, e.mode, c), c.return = e, e = c;
}
return s(e);
- case re: return o = Za(o), _(e, r, o, c);
+ case ie: return o = Za(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));
+ if (de(o)) return h(e, r, o, c);
+ if (ce(o)) {
+ if (l = ce(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, ro(o), c);
- if (o.$$typeof === N) return _(e, r, Sa(e, o), c);
+ if (o.$$typeof === M) return _(e, r, Sa(e, o), c);
ao(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 = Pi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);
@@ -8573,7 +8573,7 @@ var jc = /* @__PURE__ */ l(((e) => {
function ho(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, dt(e, n);
+ r &= e.pendingLanes, n |= r, t.lanes = n, ft(e, n);
}
}
function go(e, t) {
@@ -8680,39 +8680,39 @@ var jc = /* @__PURE__ */ l(((e) => {
var n = e.callbacks;
if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) bo(n[e], t);
}
- var So = me(null), Co = me(0);
+ var So = he(null), Co = he(0);
function wo(e, t) {
- e = nd, B(Co, e), B(So, t), nd = e | t.baseLanes;
+ e = nd, _e(Co, e), _e(So, t), nd = e | t.baseLanes;
}
function To() {
- B(Co, nd), B(So, So.current);
+ _e(Co, nd), _e(So, So.current);
}
function Eo() {
- nd = Co.current, he(So), he(Co);
+ nd = Co.current, ge(So), ge(Co);
}
- var Do = me(null), Oo = null;
+ var Do = he(null), Oo = null;
function ko(e) {
var t = e.alternate;
- B(Po, Po.current & 1), B(Do, e), Oo === null && (t === null || So.current !== null || t.memoizedState !== null) && (Oo = e);
+ _e(Po, Po.current & 1), _e(Do, e), Oo === null && (t === null || So.current !== null || t.memoizedState !== null) && (Oo = e);
}
function Ao(e) {
- B(Po, Po.current), B(Do, e), Oo === null && (Oo = e);
+ _e(Po, Po.current), _e(Do, e), Oo === null && (Oo = e);
}
function jo(e) {
- e.tag === 22 ? (B(Po, Po.current), B(Do, e), Oo === null && (Oo = e)) : Mo();
+ e.tag === 22 ? (_e(Po, Po.current), _e(Do, e), Oo === null && (Oo = e)) : Mo();
}
function Mo() {
- B(Po, Po.current), B(Do, Do.current);
+ _e(Po, Po.current), _e(Do, Do.current);
}
function No(e) {
- he(Do), Oo === e && (Oo = null), he(Po);
+ ge(Do), Oo === e && (Oo = null), ge(Po);
}
- var Po = me(0);
+ var Po = he(0);
function Fo(e, t) {
- B(Do, Do.current), B(Po, t);
+ _e(Do, Do.current), _e(Po, t);
}
function Io(e) {
- he(Po), he(Do), Oo === e && (Oo = null);
+ ge(Po), ge(Do), Oo === e && (Oo = null);
}
function Lo(e) {
for (var t = e; t !== null;) {
@@ -8734,59 +8734,59 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return null;
}
- var Ro = 0, W = null, G = null, zo = null, Bo = !1, Vo = !1, Ho = !1, Uo = 0, Wo = 0, Go = null, Ko = 0;
- function qo() {
+ var Ro = 0, W = null, zo = null, Bo = null, Vo = !1, Ho = !1, Uo = !1, Wo = 0, Go = 0, Ko = null, qo = 0;
+ function Jo() {
throw Error(i(321));
}
- function Jo(e, t) {
+ function Yo(e, t) {
if (t === null) return !1;
- for (var n = 0; n < t.length && n < e.length; n++) if (!Lr(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 Yo(e, t, n, r, i, a) {
- return Ro = a, W = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, R.H = e === null || e.memoizedState === null ? fc : pc, Ho = !1, a = n(r, i), Ho = !1, Vo && (a = Zo(t, n, r, i)), Xo(e), a;
+ function Xo(e, t, n, r, i, a) {
+ return Ro = a, W = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, L.H = e === null || e.memoizedState === null ? pc : mc, Uo = !1, a = n(r, i), Uo = !1, Ho && (a = Qo(t, n, r, i)), Zo(e), a;
}
- function Xo(e) {
- R.H = dc;
- var t = G !== null && G.next !== null;
- if (Ro = 0, zo = G = W = null, Bo = !1, Wo = 0, Go = null, t) throw Error(i(300));
- e === null || Ac || (e = e.dependencies, e !== null && ya(e) && (Ac = !0));
+ function Zo(e) {
+ L.H = fc;
+ var t = zo !== null && zo.next !== null;
+ if (Ro = 0, Bo = zo = W = null, Vo = !1, Go = 0, Ko = null, t) throw Error(i(300));
+ e === null || jc || (e = e.dependencies, e !== null && ya(e) && (jc = !0));
}
- function Zo(e, t, n, r) {
+ function Qo(e, t, n, r) {
W = e;
var a = 0;
do {
- if (Vo && (Go = null), Wo = 0, Vo = !1, 25 <= a) throw Error(i(301));
- if (a += 1, zo = G = null, e.updateQueue != null) {
+ if (Ho && (Ko = null), Go = 0, Ho = !1, 25 <= a) throw Error(i(301));
+ if (a += 1, Bo = zo = 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 = mc, o = t(n, r);
- } while (Vo);
+ L.H = hc, o = t(n, r);
+ } while (Ho);
return o;
}
- function Qo() {
- var e = R.H, t = e.useState()[0];
- return t = typeof t.then == "function" ? as(t) : t, e = e.useState()[0], (G === null ? null : G.memoizedState) !== e && (W.flags |= 1024), t;
- }
function $o() {
- var e = Uo !== 0;
- return Uo = 0, e;
+ var e = L.H, t = e.useState()[0];
+ return t = typeof t.then == "function" ? os(t) : t, e = e.useState()[0], (zo === null ? null : zo.memoizedState) !== e && (W.flags |= 1024), t;
+ }
+ function es() {
+ var e = Wo !== 0;
+ return Wo = 0, e;
}
- function es(e, t, n) {
+ function ts(e, t, n) {
t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;
}
- function ts(e) {
- if (Bo) {
+ function ns(e) {
+ if (Vo) {
for (e = e.memoizedState; e !== null;) {
var t = e.queue;
t !== null && (t.pending = null), e = e.next;
}
- Bo = !1;
+ Vo = !1;
}
- Ro = 0, zo = G = W = null, Vo = !1, Wo = Uo = 0, Go = null;
+ Ro = 0, Bo = zo = W = null, Ho = !1, Go = Wo = 0, Ko = null;
}
- function ns() {
+ function rs() {
var e = {
memoizedState: null,
baseState: null,
@@ -8794,28 +8794,28 @@ var jc = /* @__PURE__ */ l(((e) => {
queue: null,
next: null
};
- return zo === null ? W.memoizedState = zo = e : zo = zo.next = e, zo;
+ return Bo === null ? W.memoizedState = Bo = e : Bo = Bo.next = e, Bo;
}
- function rs() {
- if (G === null) {
+ function is() {
+ if (zo === null) {
var e = W.alternate;
e = e === null ? null : e.memoizedState;
- } else e = G.next;
- var t = zo === null ? W.memoizedState : zo.next;
- if (t !== null) zo = t, G = e;
+ } else e = zo.next;
+ var t = Bo === null ? W.memoizedState : Bo.next;
+ if (t !== null) Bo = t, zo = e;
else {
if (e === null) throw W.alternate === null ? Error(i(467)) : Error(i(310));
- G = e, e = {
- memoizedState: G.memoizedState,
- baseState: G.baseState,
- baseQueue: G.baseQueue,
- queue: G.queue,
+ zo = e, e = {
+ memoizedState: zo.memoizedState,
+ baseState: zo.baseState,
+ baseQueue: zo.baseQueue,
+ queue: zo.queue,
next: null
- }, zo === null ? W.memoizedState = zo = e : zo = zo.next = e;
+ }, Bo === null ? W.memoizedState = Bo = e : Bo = Bo.next = e;
}
- return zo;
+ return Bo;
}
- function is() {
+ function as() {
return {
lastEffect: null,
events: null,
@@ -8823,19 +8823,19 @@ var jc = /* @__PURE__ */ l(((e) => {
memoCache: null
};
}
- function as(e) {
- var t = Wo;
- return Wo += 1, Go === null && (Go = []), e = Xa(Go, e, t), t = W, (zo === null ? t.memoizedState : zo.next) === null && (t = t.alternate, R.H = t === null || t.memoizedState === null ? fc : pc), e;
- }
function os(e) {
+ var t = Go;
+ return Go += 1, Ko === null && (Ko = []), e = Xa(Ko, e, t), t = W, (Bo === null ? t.memoizedState : Bo.next) === null && (t = t.alternate, L.H = t === null || t.memoizedState === null ? pc : mc), e;
+ }
+ function ss(e) {
if (typeof e == "object" && e) {
- if (typeof e.then == "function") return as(e);
- if (e.$$typeof === L) return;
- if (e.$$typeof === N) return xa(e);
+ if (typeof e.then == "function") return os(e);
+ if (e.$$typeof === se) return;
+ if (e.$$typeof === M) return xa(e);
}
throw Error(i(438, String(e)));
}
- function ss(e) {
+ function cs(e) {
var t = null, n = W.updateQueue;
if (n !== null && (t = n.memoCache), t == null) {
var r = W.alternate;
@@ -8849,16 +8849,16 @@ var jc = /* @__PURE__ */ l(((e) => {
if (t ??= {
data: [],
index: 0
- }, n === null && (n = is(), W.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] = F;
+ }, n === null && (n = as(), W.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] = P;
return t.index++, n;
}
- function cs(e, t) {
+ function ls(e, t) {
return typeof t == "function" ? t(e) : t;
}
- function ls(e) {
- return us(rs(), G, e);
+ function us(e) {
+ return ds(is(), zo, e);
}
- function us(e, t, n) {
+ function ds(e, t, n) {
var r = e.queue;
if (r === null) throw Error(i(311));
r.lastRenderedReducer = n;
@@ -8899,7 +8899,7 @@ var jc = /* @__PURE__ */ l(((e) => {
eagerState: u.eagerState,
next: null
}, l === null ? (c = l = f, s = o) : l = l.next = f, W.lanes |= p, id |= p;
- f = u.action, Ho && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
+ f = u.action, Uo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
} else p = {
lane: f,
revertLane: u.revertLane,
@@ -8911,13 +8911,13 @@ var jc = /* @__PURE__ */ l(((e) => {
}, l === null ? (c = l = p, s = o) : l = l.next = p, W.lanes |= f, id |= f;
u = u.next;
} while (u !== null && u !== t);
- if (l === null ? s = o : l.next = c, !Lr(o, e.memoizedState) && (Ac = !0, d && (n = Ia, n !== null))) throw n;
+ if (l === null ? s = o : l.next = c, !Rr(o, e.memoizedState) && (jc = !0, d && (n = Ia, 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 ds(e) {
- var t = rs(), n = t.queue;
+ function fs(e) {
+ var t = is(), n = t.queue;
if (n === null) throw Error(i(311));
n.lastRenderedReducer = e;
var r = n.dispatch, a = n.pending, o = t.memoizedState;
@@ -8927,61 +8927,61 @@ var jc = /* @__PURE__ */ l(((e) => {
do
o = e(o, s.action), s = s.next;
while (s !== a);
- Lr(o, t.memoizedState) || (Ac = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
+ Rr(o, t.memoizedState) || (jc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
}
return [o, r];
}
- function fs(e, t, n) {
- var r = W, a = rs(), o = U;
+ function ps(e, t, n) {
+ var r = W, a = is(), o = U;
if (o) {
if (n === void 0) throw Error(i(407));
n = n();
} else n = t();
- var s = !Lr((G || a).memoizedState, n);
- if (s && (a.memoizedState = n, Ac = !0), a = a.queue, Ls(hs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || zo !== null && !!(zo.memoizedState.tag & 1), Ms(e ? 9 : 8, { destroy: void 0 }, ms.bind(null, r, a, n, t), null), e) {
+ var s = !Rr((zo || a).memoizedState, n);
+ if (s && (a.memoizedState = n, jc = !0), a = a.queue, Rs(gs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Bo !== null && !!(Bo.memoizedState.tag & 1), Ns(e ? 9 : 8, { destroy: void 0 }, hs.bind(null, r, a, n, t), null), e) {
if (r.flags |= 2048, Xu === null) throw Error(i(349));
- o || Ro & 127 || ps(r, t, n);
+ o || Ro & 127 || ms(r, t, n);
}
return n;
}
- function ps(e, t, n) {
+ function ms(e, t, n) {
e.flags |= 16384, e = {
getSnapshot: t,
value: n
- }, t = W.updateQueue, t === null ? (t = is(), W.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
+ }, t = W.updateQueue, t === null ? (t = as(), W.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
}
- function ms(e, t, n, r) {
- t.value = n, t.getSnapshot = r, gs(t) && _s(e);
+ function hs(e, t, n, r) {
+ t.value = n, t.getSnapshot = r, _s(t) && vs(e);
}
- function hs(e, t, n) {
+ function gs(e, t, n) {
return n(function() {
- gs(t) && _s(e);
+ _s(t) && vs(e);
});
}
- function gs(e) {
+ function _s(e) {
var t = e.getSnapshot;
e = e.value;
try {
var n = t();
- return !Lr(e, n);
+ return !Rr(e, n);
} catch {
return !0;
}
}
- function _s(e) {
+ function vs(e) {
var t = Ci(e, 2);
t !== null && Md(t, e, 2);
}
- function vs(e) {
- var t = ns();
+ function ys(e) {
+ var t = rs();
if (typeof e == "function") {
var n = e;
- if (e = n(), Ho) {
- qe(!0);
+ if (e = n(), Uo) {
+ Je(!0);
try {
n();
} finally {
- qe(!1);
+ Je(!1);
}
}
}
@@ -8989,15 +8989,15 @@ var jc = /* @__PURE__ */ l(((e) => {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: cs,
+ lastRenderedReducer: ls,
lastRenderedState: e
}, t;
}
- function ys(e, t, n, r) {
- return e.baseState = n, us(e, G, typeof r == "function" ? r : cs);
+ function bs(e, t, n, r) {
+ return e.baseState = n, ds(e, zo, typeof r == "function" ? r : ls);
}
- function bs(e, t, n, r, a) {
- if (cc(e)) throw Error(i(485));
+ function xs(e, t, n, r, a) {
+ if (lc(e)) throw Error(i(485));
if (e = t.action, e !== null) {
var o = {
payload: a,
@@ -9012,56 +9012,56 @@ var jc = /* @__PURE__ */ l(((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, xs(t, o)) : (o.next = n.next, t.pending = n.next = o);
+ L.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Ss(t, o)) : (o.next = n.next, t.pending = n.next = o);
}
}
- function xs(e, t) {
+ function Ss(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;
+ var a = L.T, o = {};
+ o.types = a === null ? null : a.types, L.T = o;
try {
- var s = n(i, r), c = R.S;
- c !== null && c(o, s), Ss(e, t, s);
+ var s = n(i, r), c = L.S;
+ c !== null && c(o, s), Cs(e, t, s);
} catch (n) {
- ws(e, t, n);
+ Ts(e, t, n);
} finally {
- a !== null && o.types !== null && (a.types = o.types), R.T = a;
+ a !== null && o.types !== null && (a.types = o.types), L.T = a;
}
} else try {
- a = n(i, r), Ss(e, t, a);
+ a = n(i, r), Cs(e, t, a);
} catch (n) {
- ws(e, t, n);
+ Ts(e, t, n);
}
}
- function Ss(e, t, n) {
+ function Cs(e, t, n) {
typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {
- Cs(e, t, n);
+ ws(e, t, n);
}, function(n) {
- return ws(e, t, n);
- }) : Cs(e, t, n);
- }
- function Cs(e, t, n) {
- t.status = "fulfilled", t.value = n, Ts(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, xs(e, n)));
+ return Ts(e, t, n);
+ }) : ws(e, t, n);
}
function ws(e, t, n) {
+ t.status = "fulfilled", t.value = n, Es(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Ss(e, n)));
+ }
+ function Ts(e, t, n) {
var r = e.pending;
if (e.pending = null, r !== null) {
r = r.next;
do
- t.status = "rejected", t.reason = n, Ts(t), t = t.next;
+ t.status = "rejected", t.reason = n, Es(t), t = t.next;
while (t !== r);
}
e.action = null;
}
- function Ts(e) {
+ function Es(e) {
e = e.listeners;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
- function Es(e, t) {
+ function Ds(e, t) {
return t;
}
- function Ds(e, t) {
+ function Os(e, t) {
if (U) {
var n = Xu.formState;
if (n !== null) {
@@ -9094,48 +9094,48 @@ var jc = /* @__PURE__ */ l(((e) => {
r && (t = n[0]);
}
}
- return n = ns(), n.memoizedState = n.baseState = t, r = {
+ return n = rs(), n.memoizedState = n.baseState = t, r = {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: Es,
+ lastRenderedReducer: Ds,
lastRenderedState: t
- }, n.queue = r, n = ac.bind(null, W, r), r.dispatch = n, r = vs(!1), a = sc.bind(null, W, !1, r.queue), r = ns(), i = {
+ }, n.queue = r, n = oc.bind(null, W, r), r.dispatch = n, r = ys(!1), a = cc.bind(null, W, !1, r.queue), r = rs(), i = {
state: t,
dispatch: null,
action: e,
pending: null
- }, r.queue = i, n = bs.bind(null, W, i, a, n), i.dispatch = n, r.memoizedState = e, [
+ }, r.queue = i, n = xs.bind(null, W, i, a, n), i.dispatch = n, r.memoizedState = e, [
t,
n,
!1
];
}
- function Os(e) {
- return ks(rs(), G, e);
+ function ks(e) {
+ return As(is(), zo, e);
}
- function ks(e, t, n) {
- if (t = us(e, t, Es)[0], e = ls(cs)[0], typeof t == "object" && t && typeof t.then == "function") try {
- var r = as(t);
+ function As(e, t, n) {
+ if (t = ds(e, t, Ds)[0], e = us(ls)[0], typeof t == "object" && t && typeof t.then == "function") try {
+ var r = os(t);
} catch (e) {
throw e === Ga ? qa : e;
}
else r = t;
- t = rs();
+ t = is();
var i = t.queue, a = i.dispatch;
- return n !== t.memoizedState && (W.flags |= 2048, Ms(9, { destroy: void 0 }, As.bind(null, i, n), null)), [
+ return n !== t.memoizedState && (W.flags |= 2048, Ns(9, { destroy: void 0 }, js.bind(null, i, n), null)), [
r,
a,
e
];
}
- function As(e, t) {
+ function js(e, t) {
e.action = t;
}
- function js(e) {
- var t = rs(), n = G;
- if (n !== null) return ks(t, n, e);
- rs(), t = t.memoizedState, n = rs();
+ function Ms(e) {
+ var t = is(), n = zo;
+ if (n !== null) return As(t, n, e);
+ is(), t = t.memoizedState, n = is();
var r = n.queue.dispatch;
return n.memoizedState = e, [
t,
@@ -9143,46 +9143,46 @@ var jc = /* @__PURE__ */ l(((e) => {
!1
];
}
- function Ms(e, t, n, r) {
+ function Ns(e, t, n, r) {
return e = {
tag: e,
create: n,
deps: r,
inst: t,
next: null
- }, t = W.updateQueue, t === null && (t = is(), W.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 = W.updateQueue, t === null && (t = as(), W.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 Ns() {
- return rs().memoizedState;
- }
- function Ps(e, t, n, r) {
- var i = ns();
- W.flags |= e, i.memoizedState = Ms(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
+ function Ps() {
+ return is().memoizedState;
}
function Fs(e, t, n, r) {
var i = rs();
+ W.flags |= e, i.memoizedState = Ns(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
+ }
+ function Is(e, t, n, r) {
+ var i = is();
r = r === void 0 ? null : r;
var a = i.memoizedState.inst;
- G !== null && r !== null && Jo(r, G.memoizedState.deps) ? i.memoizedState = Ms(t, a, n, r) : (W.flags |= e, i.memoizedState = Ms(1 | t, a, n, r));
- }
- function Is(e, t) {
- Ps(8390656, 8, e, t);
+ zo !== null && r !== null && Yo(r, zo.memoizedState.deps) ? i.memoizedState = Ns(t, a, n, r) : (W.flags |= e, i.memoizedState = Ns(1 | t, a, n, r));
}
function Ls(e, t) {
- Fs(2048, 8, e, t);
+ Fs(8390656, 8, e, t);
+ }
+ function Rs(e, t) {
+ Is(2048, 8, e, t);
}
- function Rs(e) {
+ function zs(e) {
W.flags |= 4;
var t = W.updateQueue;
- if (t === null) t = is(), W.updateQueue = t, t.events = [e];
+ if (t === null) t = as(), W.updateQueue = t, t.events = [e];
else {
var n = t.events;
n === null ? t.events = [e] : n.push(e);
}
}
- function zs(e) {
- var t = rs().memoizedState;
- return Rs({
+ function Bs(e) {
+ var t = is().memoizedState;
+ return zs({
ref: t,
nextImpl: e
}), function() {
@@ -9190,13 +9190,13 @@ var jc = /* @__PURE__ */ l(((e) => {
return t.impl.apply(void 0, arguments);
};
}
- function Bs(e, t) {
- return Fs(4, 2, e, t);
- }
function Vs(e, t) {
- return Fs(4, 4, e, t);
+ return Is(4, 2, e, t);
}
function Hs(e, t) {
+ return Is(4, 4, e, t);
+ }
+ function Us(e, t) {
if (typeof t == "function") {
e = e();
var n = t(e);
@@ -9208,76 +9208,76 @@ var jc = /* @__PURE__ */ l(((e) => {
t.current = null;
};
}
- function Us(e, t, n) {
- n = n == null ? null : n.concat([e]), Fs(4, 4, Hs.bind(null, t, e), n);
+ function Ws(e, t, n) {
+ n = n == null ? null : n.concat([e]), Is(4, 4, Us.bind(null, t, e), n);
}
- function Ws() {}
- function Gs(e, t) {
- var n = rs();
+ function Gs() {}
+ function Ks(e, t) {
+ var n = is();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- return t !== null && Jo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
+ return t !== null && Yo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
}
- function Ks(e, t) {
- var n = rs();
+ function qs(e, t) {
+ var n = is();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- if (t !== null && Jo(t, r[1])) return r[0];
- if (r = e(), Ho) {
- qe(!0);
+ if (t !== null && Yo(t, r[1])) return r[0];
+ if (r = e(), Uo) {
+ Je(!0);
try {
e();
} finally {
- qe(!1);
+ Je(!1);
}
}
return n.memoizedState = [r, t], r;
}
- function qs(e, t, n) {
+ function Js(e, t, n) {
return n === void 0 || Ro & 1073741824 && !(Q & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Ad(), W.lanes |= e, id |= e, n);
}
- function Js(e, t, n, r) {
- return Lr(n, t) ? n : So.current === null ? !(Ro & 106) || Ro & 1073741824 && !(Q & 261930) ? (Ac = !0, e.memoizedState = n) : (e = Ad(), W.lanes |= e, id |= e, t) : (e = qs(e, n, r), Lr(e, t) || (Ac = !0), e);
+ function Ys(e, t, n, r) {
+ return Rr(n, t) ? n : So.current === null ? !(Ro & 106) || Ro & 1073741824 && !(Q & 261930) ? (jc = !0, e.memoizedState = n) : (e = Ad(), W.lanes |= e, id |= e, t) : (e = Js(e, n, r), Rr(e, t) || (jc = !0), e);
}
- function Ys(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, sc(e, !1, t, n);
+ function Xs(e, t, n, r, i) {
+ var a = R.p;
+ R.p = a !== 0 && 8 > a ? a : 8;
+ var o = L.T, s = {};
+ s.types = o === null ? null : o.types, L.T = s, cc(e, !1, t, n);
try {
- var c = i(), l = R.S;
- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? oc(e, t, za(c, r), kd(e)) : oc(e, t, r, kd(e));
+ var c = i(), l = L.S;
+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? sc(e, t, za(c, r), kd(e)) : sc(e, t, r, kd(e));
} catch (n) {
- oc(e, t, {
+ sc(e, t, {
then: function() {},
status: "rejected",
reason: n
}, kd());
} finally {
- z.p = a, o !== null && s.types !== null && (o.types = s.types), R.T = o;
+ R.p = a, o !== null && s.types !== null && (o.types = s.types), L.T = o;
}
}
- function Xs() {}
- function Zs(e, t, n, r) {
+ function Zs() {}
+ function Qs(e, t, n, r) {
if (e.tag !== 5) throw Error(i(476));
- var a = Qs(e).queue;
- Ys(e, a, t, de, n === null ? Xs : function() {
- return $s(e), n(r);
+ var a = $s(e).queue;
+ Xs(e, a, t, fe, n === null ? Zs : function() {
+ return ec(e), n(r);
});
}
- function Qs(e) {
+ function $s(e) {
var t = e.memoizedState;
if (t !== null) return t;
t = {
- memoizedState: de,
- baseState: de,
+ memoizedState: fe,
+ baseState: fe,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: cs,
- lastRenderedState: de
+ lastRenderedReducer: ls,
+ lastRenderedState: fe
},
next: null
};
@@ -9290,26 +9290,26 @@ var jc = /* @__PURE__ */ l(((e) => {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: cs,
+ lastRenderedReducer: ls,
lastRenderedState: n
},
next: null
}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;
}
- function $s(e) {
- var t = Qs(e);
- t.next === null && (t = e.alternate.memoizedState), oc(e, t.next.queue, {}, kd());
- }
- function ec() {
- return xa(sh);
+ function ec(e) {
+ var t = $s(e);
+ t.next === null && (t = e.alternate.memoizedState), sc(e, t.next.queue, {}, kd());
}
function tc() {
- return rs().memoizedState;
+ return xa(sh);
}
function nc() {
- return rs().memoizedState;
+ return is().memoizedState;
+ }
+ function rc() {
+ return is().memoizedState;
}
- function rc(e) {
+ function ic(e) {
for (var t = e.return; t !== null;) {
switch (t.tag) {
case 24:
@@ -9323,7 +9323,7 @@ var jc = /* @__PURE__ */ l(((e) => {
t = t.return;
}
}
- function ic(e, t, n) {
+ function ac(e, t, n) {
var r = kd();
n = {
lane: r,
@@ -9333,12 +9333,12 @@ var jc = /* @__PURE__ */ l(((e) => {
hasEagerState: !1,
eagerState: null,
next: null
- }, cc(e) ? lc(t, n) : (n = Si(e, t, n, r), n !== null && (Md(n, e, r), uc(n, t, r)));
+ }, lc(e) ? uc(t, n) : (n = Si(e, t, n, r), n !== null && (Md(n, e, r), dc(n, t, r)));
}
- function ac(e, t, n) {
- oc(e, t, n, kd());
+ function oc(e, t, n) {
+ sc(e, t, n, kd());
}
- function oc(e, t, n, r) {
+ function sc(e, t, n, r) {
var i = {
lane: r,
revertLane: 0,
@@ -9348,18 +9348,18 @@ var jc = /* @__PURE__ */ l(((e) => {
eagerState: null,
next: null
};
- if (cc(e)) lc(t, i);
+ if (lc(e)) uc(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, Lr(s, o)) return xi(e, t, i, 0), Xu === null && bi(), !1;
+ if (i.hasEagerState = !0, i.eagerState = s, Rr(s, o)) return xi(e, t, i, 0), Xu === null && bi(), !1;
} catch {}
- if (n = Si(e, t, i, r), n !== null) return Md(n, e, r), uc(n, t, r), !0;
+ if (n = Si(e, t, i, r), n !== null) return Md(n, e, r), dc(n, t, r), !0;
}
return !1;
}
- function sc(e, t, n, r) {
+ function cc(e, t, n, r) {
if (r = {
lane: 2,
revertLane: Nf(),
@@ -9368,91 +9368,91 @@ var jc = /* @__PURE__ */ l(((e) => {
hasEagerState: !1,
eagerState: null,
next: null
- }, cc(e)) {
+ }, lc(e)) {
if (t) throw Error(i(479));
} else t = Si(e, n, r, 2), t !== null && Md(t, e, 2);
}
- function cc(e) {
+ function lc(e) {
var t = e.alternate;
return e === W || t !== null && t === W;
}
- function lc(e, t) {
- Vo = Bo = !0;
+ function uc(e, t) {
+ Ho = Vo = !0;
var n = e.pending;
n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;
}
- function uc(e, t, n) {
+ function dc(e, t, n) {
if (n & 4194048) {
var r = t.lanes;
- r &= e.pendingLanes, n |= r, t.lanes = n, dt(e, n);
+ r &= e.pendingLanes, n |= r, t.lanes = n, ft(e, n);
}
}
- var dc = {
+ var fc = {
readContext: xa,
- use: os,
- 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
- }, fc = {
+ use: ss,
+ useCallback: Jo,
+ useContext: Jo,
+ useEffect: Jo,
+ useImperativeHandle: Jo,
+ useLayoutEffect: Jo,
+ useInsertionEffect: Jo,
+ useMemo: Jo,
+ useReducer: Jo,
+ useRef: Jo,
+ useState: Jo,
+ useDebugValue: Jo,
+ useDeferredValue: Jo,
+ useTransition: Jo,
+ useSyncExternalStore: Jo,
+ useId: Jo,
+ useHostTransitionStatus: Jo,
+ useFormState: Jo,
+ useActionState: Jo,
+ useOptimistic: Jo,
+ useMemoCache: Jo,
+ useCacheRefresh: Jo,
+ useEffectEvent: Jo
+ }, pc = {
readContext: xa,
- use: os,
+ use: ss,
useCallback: function(e, t) {
- return ns().memoizedState = [e, t === void 0 ? null : t], e;
+ return rs().memoizedState = [e, t === void 0 ? null : t], e;
},
useContext: xa,
- useEffect: Is,
+ useEffect: Ls,
useImperativeHandle: function(e, t, n) {
- n = n == null ? null : n.concat([e]), Ps(4194308, 4, Hs.bind(null, t, e), n);
+ n = n == null ? null : n.concat([e]), Fs(4194308, 4, Us.bind(null, t, e), n);
},
useLayoutEffect: function(e, t) {
- return Ps(4194308, 4, e, t);
+ return Fs(4194308, 4, e, t);
},
useInsertionEffect: function(e, t) {
- Ps(4, 2, e, t);
+ Fs(4, 2, e, t);
},
useMemo: function(e, t) {
- var n = ns();
+ var n = rs();
t = t === void 0 ? null : t;
var r = e();
- if (Ho) {
- qe(!0);
+ if (Uo) {
+ Je(!0);
try {
e();
} finally {
- qe(!1);
+ Je(!1);
}
}
return n.memoizedState = [r, t], r;
},
useReducer: function(e, t, n) {
- var r = ns();
+ var r = rs();
if (n !== void 0) {
var i = n(t);
- if (Ho) {
- qe(!0);
+ if (Uo) {
+ Je(!0);
try {
n(t);
} finally {
- qe(!1);
+ Je(!1);
}
}
} else i = t;
@@ -9462,54 +9462,54 @@ var jc = /* @__PURE__ */ l(((e) => {
dispatch: null,
lastRenderedReducer: e,
lastRenderedState: i
- }, r.queue = e, e = e.dispatch = ic.bind(null, W, e), [r.memoizedState, e];
+ }, r.queue = e, e = e.dispatch = ac.bind(null, W, e), [r.memoizedState, e];
},
useRef: function(e) {
- var t = ns();
+ var t = rs();
return e = { current: e }, t.memoizedState = e;
},
useState: function(e) {
- e = vs(e);
- var t = e.queue, n = ac.bind(null, W, t);
+ e = ys(e);
+ var t = e.queue, n = oc.bind(null, W, t);
return t.dispatch = n, [e.memoizedState, n];
},
- useDebugValue: Ws,
+ useDebugValue: Gs,
useDeferredValue: function(e, t) {
- return qs(ns(), e, t);
+ return Js(rs(), e, t);
},
useTransition: function() {
- var e = vs(!1);
- return e = Ys.bind(null, W, e.queue, !0, !1), ns().memoizedState = e, [!1, e];
+ var e = ys(!1);
+ return e = Xs.bind(null, W, e.queue, !0, !1), rs().memoizedState = e, [!1, e];
},
useSyncExternalStore: function(e, t, n) {
- var r = W, a = ns();
+ var r = W, a = rs();
if (U) {
if (n === void 0) throw Error(i(407));
n = n();
} else {
if (n = t(), Xu === null) throw Error(i(349));
- Q & 127 || ps(r, t, n);
+ Q & 127 || ms(r, t, n);
}
a.memoizedState = n;
var o = {
value: n,
getSnapshot: t
};
- return a.queue = o, Is(hs.bind(null, r, o, e), [e]), r.flags |= 2048, Ms(9, { destroy: void 0 }, ms.bind(null, r, o, n, t), null), n;
+ return a.queue = o, Ls(gs.bind(null, r, o, e), [e]), r.flags |= 2048, Ns(9, { destroy: void 0 }, hs.bind(null, r, o, n, t), null), n;
},
useId: function() {
- var e = ns(), t = Xu.identifierPrefix;
+ var e = rs(), t = Xu.identifierPrefix;
if (U) {
var n = qi, r = Ki;
- n = (r & ~(1 << 32 - Je(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Uo++, 0 < n && (t += "H" + n.toString(32)), t += "_";
- } else n = Ko++, t = "_" + t + "r_" + n.toString(32) + "_";
+ n = (r & ~(1 << 32 - Ye(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Wo++, 0 < n && (t += "H" + n.toString(32)), t += "_";
+ } else n = qo++, t = "_" + t + "r_" + n.toString(32) + "_";
return e.memoizedState = t;
},
- useHostTransitionStatus: ec,
- useFormState: Ds,
- useActionState: Ds,
+ useHostTransitionStatus: tc,
+ useFormState: Os,
+ useActionState: Os,
useOptimistic: function(e) {
- var t = ns();
+ var t = rs();
t.memoizedState = t.baseState = e;
var n = {
pending: null,
@@ -9518,94 +9518,94 @@ var jc = /* @__PURE__ */ l(((e) => {
lastRenderedReducer: null,
lastRenderedState: null
};
- return t.queue = n, t = sc.bind(null, W, !0, n), n.dispatch = t, [e, t];
+ return t.queue = n, t = cc.bind(null, W, !0, n), n.dispatch = t, [e, t];
},
- useMemoCache: ss,
+ useMemoCache: cs,
useCacheRefresh: function() {
- return ns().memoizedState = rc.bind(null, W);
+ return rs().memoizedState = ic.bind(null, W);
},
useEffectEvent: function(e) {
- var t = ns(), n = { impl: e };
+ var t = rs(), n = { impl: e };
return t.memoizedState = n, function() {
if (X & 2) throw Error(i(440));
return n.impl.apply(void 0, arguments);
};
}
- }, pc = {
+ }, mc = {
readContext: xa,
- use: os,
- useCallback: Gs,
+ use: ss,
+ useCallback: Ks,
useContext: xa,
- useEffect: Ls,
- useImperativeHandle: Us,
- useInsertionEffect: Bs,
- useLayoutEffect: Vs,
- useMemo: Ks,
- useReducer: ls,
- useRef: Ns,
+ useEffect: Rs,
+ useImperativeHandle: Ws,
+ useInsertionEffect: Vs,
+ useLayoutEffect: Hs,
+ useMemo: qs,
+ useReducer: us,
+ useRef: Ps,
useState: function() {
- return ls(cs);
+ return us(ls);
},
- useDebugValue: Ws,
+ useDebugValue: Gs,
useDeferredValue: function(e, t) {
- return Js(rs(), G.memoizedState, e, t);
+ return Ys(is(), zo.memoizedState, e, t);
},
useTransition: function() {
- var e = ls(cs)[0], t = rs().memoizedState;
- return [typeof e == "boolean" ? e : as(e), t];
+ var e = us(ls)[0], t = is().memoizedState;
+ return [typeof e == "boolean" ? e : os(e), t];
},
- useSyncExternalStore: fs,
- useId: tc,
- useHostTransitionStatus: ec,
- useFormState: Os,
- useActionState: Os,
+ useSyncExternalStore: ps,
+ useId: nc,
+ useHostTransitionStatus: tc,
+ useFormState: ks,
+ useActionState: ks,
useOptimistic: function(e, t) {
- return ys(rs(), G, e, t);
+ return bs(is(), zo, e, t);
},
- useMemoCache: ss,
- useCacheRefresh: nc,
- useEffectEvent: zs
- }, mc = {
+ useMemoCache: cs,
+ useCacheRefresh: rc,
+ useEffectEvent: Bs
+ }, hc = {
readContext: xa,
- use: os,
- useCallback: Gs,
+ use: ss,
+ useCallback: Ks,
useContext: xa,
- useEffect: Ls,
- useImperativeHandle: Us,
- useInsertionEffect: Bs,
- useLayoutEffect: Vs,
- useMemo: Ks,
- useReducer: ds,
- useRef: Ns,
+ useEffect: Rs,
+ useImperativeHandle: Ws,
+ useInsertionEffect: Vs,
+ useLayoutEffect: Hs,
+ useMemo: qs,
+ useReducer: fs,
+ useRef: Ps,
useState: function() {
- return ds(cs);
+ return fs(ls);
},
- useDebugValue: Ws,
+ useDebugValue: Gs,
useDeferredValue: function(e, t) {
- var n = rs();
- return G === null ? qs(n, e, t) : Js(n, G.memoizedState, e, t);
+ var n = is();
+ return zo === null ? Js(n, e, t) : Ys(n, zo.memoizedState, e, t);
},
useTransition: function() {
- var e = ds(cs)[0], t = rs().memoizedState;
- return [typeof e == "boolean" ? e : as(e), t];
+ var e = fs(ls)[0], t = is().memoizedState;
+ return [typeof e == "boolean" ? e : os(e), t];
},
- useSyncExternalStore: fs,
- useId: tc,
- useHostTransitionStatus: ec,
- useFormState: js,
- useActionState: js,
+ useSyncExternalStore: ps,
+ useId: nc,
+ useHostTransitionStatus: tc,
+ useFormState: Ms,
+ useActionState: Ms,
useOptimistic: function(e, t) {
- var n = rs();
- return G === null ? (n.baseState = e, [e, n.queue.dispatch]) : ys(n, G, e, t);
+ var n = is();
+ return zo === null ? (n.baseState = e, [e, n.queue.dispatch]) : bs(n, zo, e, t);
},
- useMemoCache: ss,
- useCacheRefresh: nc,
- useEffectEvent: zs
+ useMemoCache: cs,
+ useCacheRefresh: rc,
+ useEffectEvent: Bs
};
- function hc(e, t, n, r) {
+ function gc(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 gc = {
+ var _c = {
enqueueSetState: function(e, t, n) {
e = e._reactInternals;
var r = kd(), i = po(r);
@@ -9622,28 +9622,28 @@ var jc = /* @__PURE__ */ l(((e) => {
r.tag = 2, t != null && (r.callback = t), t = mo(e, r, n), t !== null && (Md(t, e, n), ho(t, e, n));
}
};
- function _c(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 ? !Rr(n, r) || !Rr(i, a) : !0;
+ function vc(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 vc(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 && gc.enqueueReplaceState(t, t.state, null);
+ function yc(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 && _c.enqueueReplaceState(t, t.state, null);
}
- function yc(e, t) {
+ function bc(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 bc(e) {
+ function xc(e) {
gi(e);
}
- function xc(e) {
+ function Sc(e) {
console.error(e);
}
- function Sc(e) {
+ function Cc(e) {
gi(e);
}
- function Cc(e, t) {
+ function wc(e, t) {
try {
var n = e.onUncaughtError;
n(t.value, { componentStack: t.stack });
@@ -9653,7 +9653,7 @@ var jc = /* @__PURE__ */ l(((e) => {
});
}
}
- function wc(e, t, n) {
+ function Tc(e, t, n) {
try {
var r = e.onCaughtError;
r(n.value, {
@@ -9666,32 +9666,32 @@ var jc = /* @__PURE__ */ l(((e) => {
});
}
}
- function Tc(e, t, n) {
+ function Ec(e, t, n) {
return n = po(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
- Cc(e, t);
+ wc(e, t);
}, n;
}
- function Ec(e) {
+ function Dc(e) {
return e = po(e), e.tag = 3, e;
}
- function Dc(e, t, n, r) {
+ function Oc(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() {
- wc(t, n, r);
+ Tc(t, n, r);
};
}
var o = n.stateNode;
o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {
- wc(t, n, r), typeof i != "function" && (gd === null ? gd = /* @__PURE__ */ new Set([this]) : gd.add(this));
+ Tc(t, n, r), typeof i != "function" && (gd === null ? gd = /* @__PURE__ */ new Set([this]) : gd.add(this));
var e = r.stack;
this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });
});
}
- function Oc(e, t, n, r, a) {
+ function kc(e, t, n, r, a) {
if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {
if (t = n.alternate, t !== null && va(t, n, a, !0), n = Do.current, n !== null) {
switch (n.tag) {
@@ -9708,15 +9708,15 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return pf(e, r, a), Wd(), !1;
}
- if (U) return t = Do.current, t === null ? (r !== ra && (t = Error(i(423), { cause: r }), ua(Ri(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Ri(r, n), a = Tc(e.stateNode, r, a), go(e, a), rd !== 4 && (rd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ra && (e = Error(i(422), { cause: r }), ua(Ri(e, n)))), !1;
+ if (U) return t = Do.current, t === null ? (r !== ra && (t = Error(i(423), { cause: r }), ua(Ri(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Ri(r, n), a = Ec(e.stateNode, r, a), go(e, a), rd !== 4 && (rd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ra && (e = Error(i(422), { cause: r }), ua(Ri(e, n)))), !1;
var o = Error(i(520), { cause: r });
if (o = Ri(o, n), ld === null ? ld = [o] : ld.push(o), rd !== 4 && (rd = 2), t === null) return !0;
r = Ri(r, n), n = t;
do {
switch (n.tag) {
- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Tc(n.stateNode, r, e), go(n, e), !1;
+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Ec(n.stateNode, r, e), go(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" && (gd === null || !gd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ec(a), Dc(a, e, n, r), go(n, a), !1;
+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (gd === null || !gd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Dc(a), Oc(a, e, n, r), go(n, a), !1;
break;
case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;
}
@@ -9724,8 +9724,8 @@ var jc = /* @__PURE__ */ l(((e) => {
} while (n !== null);
return !1;
}
- var kc = Error(i(461)), Ac = !1;
- function jc(e, t, n, r) {
+ var Ac = Error(i(461)), jc = !1;
+ function Mc(e, t, n, r) {
t.child = e === null ? co(t, null, n, r) : so(t, e.child, n, r);
}
function Nc(e, t, n, r, i) {
@@ -9735,30 +9735,30 @@ var jc = /* @__PURE__ */ l(((e) => {
var o = {};
for (var s in r) s !== "ref" && (o[s] = r[s]);
} else o = r;
- return ba(t), r = Yo(e, t, n, o, a, i), s = $o(), e !== null && !Ac ? (es(e, t, i), sl(e, t, i)) : (U && s && Xi(t), t.flags |= 1, jc(e, t, r, i), t.child);
+ return ba(t), r = Xo(e, t, n, o, a, i), s = es(), e !== null && !jc ? (ts(e, t, i), cl(e, t, i)) : (U && s && Xi(t), t.flags |= 1, Mc(e, t, r, i), t.child);
}
- function Pc(e, t, n, r, i) {
+ function Fc(e, t, n, r, i) {
if (e === null) {
var a = n.type;
- return typeof a == "function" && !ki(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Fc(e, t, a, r, i)) : (e = Mi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
+ return typeof a == "function" && !ki(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Ic(e, t, a, r, i)) : (e = Mi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
}
- if (a = e.child, !cl(e, i)) {
+ if (a = e.child, !ll(e, i)) {
var o = a.memoizedProps;
- if (n = n.compare, n = n === null ? Rr : n, n(o, r) && e.ref === t.ref) return sl(e, t, i);
+ if (n = n.compare, n = n === null ? zr : n, n(o, r) && e.ref === t.ref) return cl(e, t, i);
}
return t.flags |= 1, e = Ai(a, r), e.ref = t.ref, e.return = t, t.child = e;
}
- function Fc(e, t, n, r, i) {
+ function Ic(e, t, n, r, i) {
if (e !== null) {
var a = e.memoizedProps;
- if (Rr(a, r) && e.ref === t.ref) {
- if (Ac = !1, t.pendingProps = r = a, cl(e, i)) e.flags & 131072 && (Ac = !0);
- else return t.lanes = e.lanes, sl(e, t, i);
+ if (zr(a, r) && e.ref === t.ref) {
+ if (jc = !1, t.pendingProps = r = a, ll(e, i)) e.flags & 131072 && (jc = !0);
+ else return t.lanes = e.lanes, cl(e, t, i);
}
}
- return Uc(e, t, n, r, i);
+ return Wc(e, t, n, r, i);
}
- function Ic(e, t, n, r) {
+ function Lc(e, t, n, r) {
var i = r.children, a = e === null ? null : e.memoizedState;
if (e === null && t.stateNode === null && (t.stateNode = {
_visibility: 1,
@@ -9771,17 +9771,17 @@ var jc = /* @__PURE__ */ l(((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 Rc(e, t, a, n, r);
+ return zc(e, t, a, n, r);
}
if (n & 536870912) t.memoizedState = {
baseLanes: 0,
cachePool: null
}, e !== null && Ua(t, a === null ? null : a.cachePool), a === null ? To() : wo(t, a), jo(t);
- else return r = t.lanes = 536870912, Rc(e, t, a === null ? n : a.baseLanes | n, n, r);
+ else return r = t.lanes = 536870912, zc(e, t, a === null ? n : a.baseLanes | n, n, r);
} else a === null ? (e !== null && Ua(t, null), To(), Mo()) : (Ua(t, a.cachePool), wo(t, a), Mo(), t.memoizedState = null);
- return jc(e, t, i, n), t.child;
+ return Mc(e, t, i, n), t.child;
}
- function Lc(e, t) {
+ function Rc(e, t) {
return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {
_visibility: 1,
_pendingMarkers: null,
@@ -9789,7 +9789,7 @@ var jc = /* @__PURE__ */ l(((e) => {
_transitions: null
}), t.sibling;
}
- function Rc(e, t, n, r, i) {
+ function zc(e, t, n, r, i) {
var a = Ha();
return a = a === null ? null : {
parent: Da._currentValue,
@@ -9799,23 +9799,23 @@ var jc = /* @__PURE__ */ l(((e) => {
cachePool: a
}, e !== null && Ua(t, null), To(), jo(t), e !== null && va(e, t, r, !0), t.childLanes = i, null;
}
- function zc(e, t) {
- return t = Qc({
+ function Bc(e, t) {
+ return t = $c({
mode: t.mode,
children: t.children
}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;
}
- function Bc(e, t, n) {
- return so(t, e.child, null, n), e = zc(t, t.pendingProps), e.flags |= 2, No(t), t.memoizedState = null, e;
- }
function Vc(e, t, n) {
+ return so(t, e.child, null, n), e = Bc(t, t.pendingProps), e.flags |= 2, No(t), t.memoizedState = null, e;
+ }
+ function Hc(e, t, n) {
var r = t.pendingProps, a = !!(t.flags & 128);
if (t.flags &= -129, e === null) {
if (U) {
- if (r.mode === "hidden") return e = zc(t, r), t.lanes = 536870912, e.memoizedState = {
+ if (r.mode === "hidden") return e = Bc(t, r), t.lanes = 536870912, e.memoizedState = {
baseLanes: 0,
cachePool: null
- }, Lc(null, e);
+ }, Rc(null, e);
if (Ao(t), (e = ea) ? (e = am(e, na), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
treeContext: Gi === null ? null : {
@@ -9827,22 +9827,22 @@ var jc = /* @__PURE__ */ l(((e) => {
}, n = Fi(e), n.return = t, t.child = n, $i = t, ea = null)) : e = null, e === null) throw ia(t);
return t.lanes = 536870912, null;
}
- return zc(t, r);
+ return Bc(t, r);
}
var o = e.memoizedState;
if (o !== null) {
var s = o.dehydrated;
if (Ao(t), a) {
- if (t.flags & 256) t.flags &= -257, t = Bc(e, t, n);
+ if (t.flags & 256) t.flags &= -257, t = Vc(e, t, n);
else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;
else throw Error(i(558));
- } else if (Ac || va(e, t, n, !1), a = (n & e.childLanes) !== 0, Ac || a) {
+ } else if (jc || va(e, t, n, !1), a = (n & e.childLanes) !== 0, jc || a) {
if (So.current === null) {
- if (r = Xu, r !== null && (s = ft(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ci(e, s), Md(r, e, s), kc;
+ if (r = Xu, r !== null && (s = pt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ci(e, s), Md(r, e, s), Ac;
Wd();
}
- t = Bc(e, t, n);
- } else e = o.treeContext, ea = lm(s.nextSibling), $i = t, U = !0, ta = null, na = !1, e !== null && Qi(t, e), t = zc(t, r), t.flags |= 134221824;
+ t = Vc(e, t, n);
+ } else e = o.treeContext, ea = lm(s.nextSibling), $i = t, U = !0, ta = null, na = !1, e !== null && Qi(t, e), t = Bc(t, r), t.flags |= 134221824;
return t;
}
return e = Ai(e.child, {
@@ -9850,7 +9850,7 @@ var jc = /* @__PURE__ */ l(((e) => {
children: r.children
}), e.ref = t.ref, t.child = e, e.return = t, e;
}
- function Hc(e, t) {
+ function Uc(e, t) {
var n = t.ref;
if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);
else {
@@ -9858,52 +9858,52 @@ var jc = /* @__PURE__ */ l(((e) => {
(e === null || e.ref !== n) && (t.flags |= 4194816);
}
}
- function Uc(e, t, n, r, i) {
- return ba(t), n = Yo(e, t, n, r, void 0, i), r = $o(), e !== null && !Ac ? (es(e, t, i), sl(e, t, i)) : (U && r && Xi(t), t.flags |= 1, jc(e, t, n, i), t.child);
+ function Wc(e, t, n, r, i) {
+ return ba(t), n = Xo(e, t, n, r, void 0, i), r = es(), e !== null && !jc ? (ts(e, t, i), cl(e, t, i)) : (U && r && Xi(t), t.flags |= 1, Mc(e, t, n, i), t.child);
}
- function Wc(e, t, n, r, i, a) {
- return ba(t), t.updateQueue = null, n = Zo(t, r, n, i), Xo(e), r = $o(), e !== null && !Ac ? (es(e, t, a), sl(e, t, a)) : (U && r && Xi(t), t.flags |= 1, jc(e, t, n, a), t.child);
+ function Gc(e, t, n, r, i, a) {
+ return ba(t), t.updateQueue = null, n = Qo(t, r, n, i), Zo(e), r = es(), e !== null && !jc ? (ts(e, t, a), cl(e, t, a)) : (U && r && Xi(t), t.flags |= 1, Mc(e, t, n, a), t.child);
}
- function Gc(e, t, n, r, i) {
+ function Kc(e, t, n, r, i) {
if (ba(t), t.stateNode === null) {
var a = Ei, o = n.contextType;
- typeof o == "object" && o && (a = xa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = gc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, uo(t), o = n.contextType, a.context = typeof o == "object" && o ? xa(o) : Ei, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (hc(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 && gc.enqueueReplaceState(a, a.state, null), yo(t, r, a, i), vo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
+ typeof o == "object" && o && (a = xa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = _c, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, uo(t), o = n.contextType, a.context = typeof o == "object" && o ? xa(o) : Ei, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (gc(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 && _c.enqueueReplaceState(a, a.state, null), yo(t, r, a, i), vo(), 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 = yc(n, s);
+ var s = t.memoizedProps, c = bc(n, s);
a.props = c;
var l = a.context, u = n.contextType;
o = Ei, typeof u == "object" && u && (o = xa(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) && vc(t, a, r, o), lo = !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) && yc(t, a, r, o), lo = !1;
var f = t.memoizedState;
- a.state = f, yo(t, r, a, i), vo(), l = t.memoizedState, s || f !== l || lo ? (typeof d == "function" && (hc(t, n, d, r), l = t.memoizedState), (c = lo || _c(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, yo(t, r, a, i), vo(), l = t.memoizedState, s || f !== l || lo ? (typeof d == "function" && (gc(t, n, d, r), l = t.memoizedState), (c = lo || vc(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, fo(e, t), o = t.memoizedProps, u = yc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ei, typeof l == "object" && l && (c = xa(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) && vc(t, a, r, c), lo = !1, f = t.memoizedState, a.state = f, yo(t, r, a, i), vo();
+ a = t.stateNode, fo(e, t), o = t.memoizedProps, u = bc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Ei, typeof l == "object" && l && (c = xa(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) && yc(t, a, r, c), lo = !1, f = t.memoizedState, a.state = f, yo(t, r, a, i), vo();
var p = t.memoizedState;
- o !== d || f !== p || lo || e !== null && e.dependencies !== null && ya(e.dependencies) ? (typeof s == "function" && (hc(t, n, s, r), p = t.memoizedState), (u = lo || _c(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && ya(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 || lo || e !== null && e.dependencies !== null && ya(e.dependencies) ? (typeof s == "function" && (gc(t, n, s, r), p = t.memoizedState), (u = lo || vc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && ya(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, Hc(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 = so(t, e.child, null, i), t.child = so(t, null, n, i)) : jc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = sl(e, t, i), e;
+ return a = r, Uc(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 = so(t, e.child, null, i), t.child = so(t, null, n, i)) : Mc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = cl(e, t, i), e;
}
- function Kc(e, t, n, r) {
- return ca(), t.flags |= 256, jc(e, t, n, r), t.child;
+ function qc(e, t, n, r) {
+ return ca(), t.flags |= 256, Mc(e, t, n, r), t.child;
}
- var qc = {
+ var Jc = {
dehydrated: null,
treeContext: null,
retryLane: 0,
hydrationErrors: null
};
- function Jc(e) {
+ function Yc(e) {
return {
baseLanes: e,
cachePool: Wa()
};
}
- function Yc(e, t, n) {
+ function Xc(e, t, n) {
return e = e === null ? 0 : e.childLanes & ~n, t && (e |= sd), e;
}
- function Xc(e, t, n) {
+ function Zc(e, t, n) {
var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;
if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Po.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
if (U) {
@@ -9918,75 +9918,75 @@ var jc = /* @__PURE__ */ l(((e) => {
}, n = Fi(e), n.return = t, t.child = n, $i = t, ea = null)) : e = null, e === null) throw ia(t);
return t.lanes = sm(e) ? 32 : 536870912, null;
}
- return a = r.children, r = r.fallback, i ? (Mo(), i = t.mode, a = Qc({
+ return a = r.children, r = r.fallback, i ? (Mo(), i = t.mode, a = $c({
mode: "hidden",
children: a
- }, i), r = Ni(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Jc(n), r.childLanes = Yc(e, o, n), t.memoizedState = qc, Lc(null, r)) : (ko(t), Zc(t, a));
+ }, i), r = Ni(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Yc(n), r.childLanes = Xc(e, o, n), t.memoizedState = Jc, Rc(null, r)) : (ko(t), Qc(t, a));
}
var s = e.memoizedState;
if (s !== null) {
var c = s.dehydrated;
- if (c !== null) return el(e, t, a, o, r, c, s, n);
+ if (c !== null) return tl(e, t, a, o, r, c, s, n);
}
return i ? (Mo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Ai(s, {
mode: "hidden",
children: r.children
- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ni(i, a, n, null), i.flags |= 2) : i = Ai(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Lc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Jc(n) : (a = i.cachePool, a === null ? a = Wa() : (s = Da._currentValue, a = a.parent === s ? a : {
+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ni(i, a, n, null), i.flags |= 2) : i = Ai(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Rc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Yc(n) : (a = i.cachePool, a === null ? a = Wa() : (s = Da._currentValue, a = a.parent === s ? a : {
parent: s,
pool: s
}), i = {
baseLanes: i.baseLanes | n,
cachePool: a
- }), r.memoizedState = i, r.childLanes = Yc(e, o, n), t.memoizedState = qc, Lc(e.child, r)) : (ko(t), n = e.child, e = n.sibling, n = Ai(n, {
+ }), r.memoizedState = i, r.childLanes = Xc(e, o, n), t.memoizedState = Jc, Rc(e.child, r)) : (ko(t), n = e.child, e = n.sibling, n = Ai(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 Zc(e, t) {
- return t = Qc({
+ function Qc(e, t) {
+ return t = $c({
mode: "visible",
children: t
}, e.mode), t.return = e, e.child = t;
}
- function Qc(e, t) {
+ function $c(e, t) {
return e = Oi(22, e, null, t), e.lanes = 0, e;
}
- function $c(e, t, n) {
- return so(t, e.child, null, n), e = Zc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
+ function el(e, t, n) {
+ return so(t, e.child, null, n), e = Qc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
}
- function el(e, t, n, r, a, o, s, c) {
- if (n) return t.flags & 256 ? (ko(t), t.flags &= -257, $c(e, t, c)) : t.memoizedState === null ? (Mo(), o = a.fallback, s = t.mode, a = Qc({
+ function tl(e, t, n, r, a, o, s, c) {
+ if (n) return t.flags & 256 ? (ko(t), t.flags &= -257, el(e, t, c)) : t.memoizedState === null ? (Mo(), o = a.fallback, s = t.mode, a = $c({
mode: "visible",
children: a.children
- }, s), o = Ni(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, so(t, e.child, null, c), a = t.child, a.memoizedState = Jc(c), a.childLanes = Yc(e, r, c), t.memoizedState = qc, Lc(null, a)) : (Mo(), t.child = e.child, t.flags |= 128, null);
+ }, s), o = Ni(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, so(t, e.child, null, c), a = t.child, a.memoizedState = Yc(c), a.childLanes = Xc(e, r, c), t.memoizedState = Jc, Rc(null, a)) : (Mo(), t.child = e.child, t.flags |= 128, null);
if (ko(t), sm(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, ua({
value: a,
source: null,
stack: null
- })), $c(e, t, c);
+ })), el(e, t, c);
}
- if (Ac || va(e, t, c, !1), r = (c & e.childLanes) !== 0, Ac || r) {
- if (So.current !== null) return $c(e, t, c);
- if (r = Xu, r !== null && (a = ft(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ci(e, a), Md(r, e, a), kc;
- return om(o) || Wd(), $c(e, t, c);
+ if (jc || va(e, t, c, !1), r = (c & e.childLanes) !== 0, jc || r) {
+ if (So.current !== null) return el(e, t, c);
+ if (r = Xu, r !== null && (a = pt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ci(e, a), Md(r, e, a), Ac;
+ return om(o) || Wd(), el(e, t, c);
}
- return om(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ea = lm(o.nextSibling), $i = t, U = !0, ta = null, na = !1, e !== null && Qi(t, e), t = Zc(t, a.children), t.flags |= 134221824, t);
+ return om(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ea = lm(o.nextSibling), $i = t, U = !0, ta = null, na = !1, e !== null && Qi(t, e), t = Qc(t, a.children), t.flags |= 134221824, t);
}
- function tl(e, t, n) {
+ function nl(e, t, n) {
e.lanes |= t;
var r = e.alternate;
r !== null && (r.lanes |= t), ga(e.return, t, n);
}
- function nl(e) {
+ function rl(e) {
for (var t = null; e !== null;) {
var n = e.alternate;
n !== null && Lo(n) === null && (t = e), e = e.sibling;
}
return t;
}
- function rl(e, t, n, r, i, a) {
+ function il(e, t, n, r, i, a) {
var o = e.memoizedState;
o === null ? e.memoizedState = {
isBackwards: t,
@@ -9998,22 +9998,22 @@ var jc = /* @__PURE__ */ l(((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 il(e) {
+ function al(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 al(e, t, n) {
+ function ol(e, t, n) {
var r = t.pendingProps, i = r.revealOrder, a = r.tail;
r = r.children;
var o = Po.current;
if (t.flags & 128) return Fo(t, o), null;
var s = !!(o & 2);
- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Fo(t, o), i === "backwards" && e !== null ? (il(e), jc(e, t, r, n), il(e)) : jc(e, t, r, n), r = U ? Hi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
- if (e.tag === 13) e.memoizedState !== null && tl(e, n, t);
- else if (e.tag === 19) tl(e, n, t);
+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Fo(t, o), i === "backwards" && e !== null ? (al(e), Mc(e, t, r, n), al(e)) : Mc(e, t, r, n), r = U ? Hi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
+ if (e.tag === 13) e.memoizedState !== null && nl(e, n, t);
+ else if (e.tag === 19) nl(e, n, t);
else if (e.child !== null) {
e.child.return = e, e = e.child;
continue;
@@ -10027,7 +10027,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
switch (i) {
case "backwards":
- n = nl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, il(t)), rl(t, !0, i, null, a, r);
+ n = rl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, al(t)), il(t, !0, i, null, a, r);
break;
case "unstable_legacy-backwards":
for (n = null, i = t.child, t.child = null; i !== null;) {
@@ -10037,23 +10037,23 @@ var jc = /* @__PURE__ */ l(((e) => {
}
e = i.sibling, i.sibling = n, n = i, i = e;
}
- rl(t, !0, n, null, a, r);
+ il(t, !0, n, null, a, r);
break;
case "together":
- rl(t, !1, null, null, void 0, r);
+ il(t, !1, null, null, void 0, r);
break;
case "independent":
t.memoizedState = null;
break;
- default: n = nl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), rl(t, !1, i, n, a, r);
+ default: n = rl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), il(t, !1, i, n, a, r);
}
return t.child;
}
- function ol(e, t, n) {
+ function sl(e, t, n) {
var r = t.pendingProps;
- return ma(t, t.type, r.value), jc(e, t, r.children, n), t.child;
+ return ma(t, t.type, r.value), Mc(e, t, r.children, n), t.child;
}
- function sl(e, t, n) {
+ function cl(e, t, n) {
if (e !== null && (t.dependencies = e.dependencies), id |= t.lanes, (n & t.childLanes) === 0) {
if (e !== null) {
if (va(e, t, n, !1), (n & t.childLanes) === 0) return null;
@@ -10066,20 +10066,20 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return t.child;
}
- function cl(e, t) {
+ function ll(e, t) {
return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ya(e)));
}
- function ll(e, t, n) {
+ function ul(e, t, n) {
switch (t.tag) {
case 3:
- be(t, t.stateNode.containerInfo), ma(t, Da, e.memoizedState.cache), ca();
+ xe(t, t.stateNode.containerInfo), ma(t, Da, e.memoizedState.cache), ca();
break;
case 27:
case 5:
- Se(t);
+ Ce(t);
break;
case 4:
- be(t, t.stateNode.containerInfo);
+ xe(t, t.stateNode.containerInfo);
break;
case 10:
ma(t, t.type, t.memoizedProps.value);
@@ -10093,61 +10093,61 @@ var jc = /* @__PURE__ */ l(((e) => {
if (r.dehydrated !== null) return ko(t), t.flags |= 128, null;
r = va(e, t, n, !1);
var i = t.child.childLanes;
- return r || (n & i) !== 0 ? Xc(e, t, n) : (ko(t), e = sl(e, t, n), e === null ? null : e.sibling);
+ return r || (n & i) !== 0 ? Zc(e, t, n) : (ko(t), e = cl(e, t, n), e === null ? null : e.sibling);
}
ko(t);
break;
case 19:
- if (t.flags & 128) return al(e, t, n);
+ if (t.flags & 128) return ol(e, t, n);
if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (va(e, t, n, !1), (n & t.childLanes) !== 0), i) {
- if (r) return al(e, t, n);
+ if (r) return ol(e, t, n);
t.flags |= 128;
}
if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Fo(t, Po.current), r) break;
return null;
- case 22: return t.lanes = 0, Ic(e, t, n, t.pendingProps);
+ case 22: return t.lanes = 0, Lc(e, t, n, t.pendingProps);
case 24: ma(t, Da, e.memoizedState.cache);
}
- return sl(e, t, n);
+ return cl(e, t, n);
}
- function ul(e, t, n) {
+ function dl(e, t, n) {
if (e !== null) {
- if (e.memoizedProps !== t.pendingProps) Ac = !0;
+ if (e.memoizedProps !== t.pendingProps) jc = !0;
else {
- if (!cl(e, n) && !(t.flags & 128)) return Ac = !1, ll(e, t, n);
- Ac = !!(e.flags & 131072);
+ if (!ll(e, n) && !(t.flags & 128)) return jc = !1, ul(e, t, n);
+ jc = !!(e.flags & 131072);
}
- } else Ac = !1, U && t.flags & 1048576 && Yi(t, Hi, t.index);
+ } else jc = !1, U && t.flags & 1048576 && Yi(t, Hi, t.index);
switch (t.lanes = 0, t.tag) {
case 16:
a: {
var r = t.pendingProps;
- if (e = Za(t.elementType), t.type = e, typeof e == "function") ki(e) ? (r = yc(e, r), t.tag = 1, t = Gc(null, t, e, r, n)) : (t.tag = 0, t = Uc(null, t, e, r, n));
+ if (e = Za(t.elementType), t.type = e, typeof e == "function") ki(e) ? (r = bc(e, r), t.tag = 1, t = Kc(null, t, e, r, n)) : (t.tag = 0, t = Wc(null, t, e, r, n));
else {
if (e != null) {
var a = e.$$typeof;
- if (a === ee) {
+ if (a === te) {
t.tag = 11, t = Nc(null, t, e, r, n);
break a;
}
- if (a === ne) {
- t.tag = 14, t = Pc(null, t, e, r, n);
+ if (a === re) {
+ t.tag = 14, t = Fc(null, t, e, r, n);
break a;
}
- if (a === N) {
- t.tag = 10, t.type = e, t = ol(null, t, n);
+ if (a === M) {
+ t.tag = 10, t.type = e, t = sl(null, t, n);
break a;
}
}
- throw t = le(e) || e, Error(i(306, t, ""));
+ throw t = ue(e) || e, Error(i(306, t, ""));
}
}
return t;
- case 0: return Uc(e, t, t.type, t.pendingProps, n);
- case 1: return r = t.type, a = yc(r, t.pendingProps), Gc(e, t, r, a, n);
+ case 0: return Wc(e, t, t.type, t.pendingProps, n);
+ case 1: return r = t.type, a = bc(r, t.pendingProps), Kc(e, t, r, a, n);
case 3:
a: {
- if (be(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, fo(e, t), yo(t, r, null, n);
@@ -10158,11 +10158,11 @@ var jc = /* @__PURE__ */ l(((e) => {
isDehydrated: !1,
cache: s.cache
}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {
- t = Kc(e, t, r, n);
+ t = qc(e, t, r, n);
break a;
}
if (r !== a) {
- a = Ri(Error(i(424)), t), ua(a), t = Kc(e, t, r, n);
+ a = Ri(Error(i(424)), t), ua(a), t = qc(e, t, r, n);
break a;
}
switch (e = t.stateNode.containerInfo, e.nodeType) {
@@ -10174,52 +10174,52 @@ var jc = /* @__PURE__ */ l(((e) => {
for (ea = lm(e.firstChild), $i = t, U = !0, ta = null, na = !0, n = co(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
} else {
if (ca(), r === a) {
- t = sl(e, t, n);
+ t = cl(e, t, n);
break a;
}
- jc(e, t, r, n);
+ Mc(e, t, r, n);
}
t = t.child;
}
return t;
- case 26: return Hc(e, t), e === null ? (n = Nm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : U || (t.stateNode = fp(t.type, t.pendingProps, ve.current, t)) : t.memoizedState = Nm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
- case 27: return Se(t), e === null && U && (r = t.stateNode = hm(t.type, t.pendingProps, ve.current), $i = t, na = !0, a = ea, Sp(t.type) ? (um = a, ea = lm(r.firstChild)) : ea = a), jc(e, t, t.pendingProps.children, n), Hc(e, t), e === null && (t.flags |= 4194304), t.child;
- case 5: return e === null && U && ((a = r = ea) && (r = rm(r, t.type, t.pendingProps, na), r === null ? a = !1 : (t.stateNode = r, $i = t, ea = lm(r.firstChild), na = !1, a = !0)), a || ia(t)), Se(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, pp(a, o) ? r = null : s !== null && pp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Yo(e, t, Qo, null, null, n), sh._currentValue = a), Hc(e, t), jc(e, t, r, n), t.child;
+ case 26: return Uc(e, t), e === null ? (n = Nm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : U || (t.stateNode = fp(t.type, t.pendingProps, ye.current, t)) : t.memoizedState = Nm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
+ case 27: return Ce(t), e === null && U && (r = t.stateNode = hm(t.type, t.pendingProps, ye.current), $i = t, na = !0, a = ea, Sp(t.type) ? (um = a, ea = lm(r.firstChild)) : ea = a), Mc(e, t, t.pendingProps.children, n), Uc(e, t), e === null && (t.flags |= 4194304), t.child;
+ case 5: return e === null && U && ((a = r = ea) && (r = rm(r, t.type, t.pendingProps, na), r === null ? a = !1 : (t.stateNode = r, $i = t, ea = lm(r.firstChild), na = !1, a = !0)), a || ia(t)), Ce(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, pp(a, o) ? r = null : s !== null && pp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Xo(e, t, $o, null, null, n), sh._currentValue = a), Uc(e, t), Mc(e, t, r, n), t.child;
case 6: return e === null && U && ((e = n = ea) && (n = im(n, t.pendingProps, na), n === null ? e = !1 : (t.stateNode = n, $i = t, ea = null, e = !0)), e || ia(t)), null;
- case 13: return Xc(e, t, n);
- case 4: return be(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = so(t, null, r, n) : jc(e, t, r, n), t.child;
+ case 13: return Zc(e, t, n);
+ case 4: return xe(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = so(t, null, r, n) : Mc(e, t, r, n), t.child;
case 11: return Nc(e, t, t.type, t.pendingProps, n);
- case 7: return r = t.pendingProps, Hc(e, t), jc(e, t, r, n), t.child;
- case 8: return jc(e, t, t.pendingProps.children, n), t.child;
- case 12: return jc(e, t, t.pendingProps.children, n), t.child;
- case 10: return ol(e, t, n);
- case 9: return a = t.type._context, r = t.pendingProps.children, ba(t), a = xa(a), r = r(a), t.flags |= 1, jc(e, t, r, n), t.child;
- case 14: return Pc(e, t, t.type, t.pendingProps, n);
- case 15: return Fc(e, t, t.type, t.pendingProps, n);
- case 19: return al(e, t, n);
- case 31: return Vc(e, t, n);
- case 22: return Ic(e, t, n, t.pendingProps);
+ case 7: return r = t.pendingProps, Uc(e, t), Mc(e, t, r, n), t.child;
+ case 8: return Mc(e, t, t.pendingProps.children, n), t.child;
+ case 12: return Mc(e, t, t.pendingProps.children, n), t.child;
+ case 10: return sl(e, t, n);
+ case 9: return a = t.type._context, r = t.pendingProps.children, ba(t), a = xa(a), r = r(a), t.flags |= 1, Mc(e, t, r, n), t.child;
+ case 14: return Fc(e, t, t.type, t.pendingProps, n);
+ case 15: return Ic(e, t, t.type, t.pendingProps, n);
+ case 19: return ol(e, t, n);
+ case 31: return Hc(e, t, n);
+ case 22: return Lc(e, t, n, t.pendingProps);
case 24: return ba(t), r = xa(Da), e === null ? (a = Ha(), a === null && (a = Xu, o = Oa(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
parent: r,
cache: a
}, uo(t), ma(t, Da, a)) : ((e.lanes & n) !== 0 && (fo(e, t), yo(t, null, null, n), vo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ma(t, Da, r), r !== a.cache && _a(t, [Da], n, !0)) : (a = {
parent: r,
cache: r
- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ma(t, Da, r))), jc(e, t, t.pendingProps.children, n), t.child;
+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ma(t, Da, r))), Mc(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 : U && Xi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Hc(e, t), jc(e, t, r.children, n), t.child;
+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : U && Xi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Uc(e, t), Mc(e, t, r.children, n), t.child;
case 29: throw t.pendingProps;
}
throw Error(i(156, t.tag));
}
- function dl(e) {
+ function fl(e) {
e.flags |= 4;
}
- function fl(e, t, n, r, i) {
+ function pl(e, t, n, r, i) {
var a;
if ((a = !!(e.mode & 32)) && (a = n === null ? Jm(t, r) : Jm(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {
if (e.flags |= 16777216, (i & 335544128) === i) {
@@ -10229,17 +10229,17 @@ var jc = /* @__PURE__ */ l(((e) => {
}
} else e.flags &= -16777217;
}
- function pl(e, t) {
+ function ml(e, t) {
if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;
else if (e.flags |= 16777216, !Ym(t)) {
if (Vd()) e.flags |= 8192;
else throw Qa = Ja, Ka;
}
}
- function ml(e, t) {
- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ot(), e.lanes |= t, cd |= t);
- }
function hl(e, t) {
+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : st(), e.lanes |= t, cd |= t);
+ }
+ function gl(e, t) {
if (!U) switch (e.tailMode) {
case "visible": break;
case "collapsed":
@@ -10251,13 +10251,13 @@ var jc = /* @__PURE__ */ l(((e) => {
n === null ? e.tail = null : n.sibling = null;
}
}
- function gl(e) {
+ function _l(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 _l(e, t, n) {
+ function vl(e, t, n) {
var r = t.pendingProps;
switch (Zi(t), t.tag) {
case 16:
@@ -10268,32 +10268,32 @@ var jc = /* @__PURE__ */ l(((e) => {
case 8:
case 12:
case 9:
- case 14: return gl(t), null;
- case 1: return gl(t), null;
- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ha(Da), xe(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (sa(t) ? dl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, la())), gl(t), null;
+ case 14: return _l(t), null;
+ case 1: return _l(t), null;
+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ha(Da), Se(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (sa(t) ? fl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, la())), _l(t), null;
case 26:
var a = t.type, o = t.memoizedState;
- return e === null ? (dl(t), o === null ? (gl(t), fl(t, a, null, r, n)) : (gl(t), pl(t, o))) : o ? o === e.memoizedState ? (gl(t), t.flags &= -16777217) : (dl(t), gl(t), pl(t, o)) : (e = e.memoizedProps, e !== r && dl(t), gl(t), fl(t, a, e, r, n)), null;
+ return e === null ? (fl(t), o === null ? (_l(t), pl(t, a, null, r, n)) : (_l(t), ml(t, o))) : o ? o === e.memoizedState ? (_l(t), t.flags &= -16777217) : (fl(t), _l(t), ml(t, o)) : (e = e.memoizedProps, e !== r && fl(t), _l(t), pl(t, a, e, r, n)), null;
case 27:
- if (Ce(t), n = ve.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && dl(t);
+ if (we(t), n = ye.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && fl(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return gl(t), t.subtreeFlags &= -33554433, null;
+ return _l(t), t.subtreeFlags &= -33554433, null;
}
- e = ge.current, sa(t) ? aa(t, e) : (e = hm(a, r, n), t.stateNode = e, dl(t));
+ e = z.current, sa(t) ? aa(t, e) : (e = hm(a, r, n), t.stateNode = e, fl(t));
}
- return gl(t), t.subtreeFlags &= -33554433, null;
+ return _l(t), t.subtreeFlags &= -33554433, null;
case 5:
- if (Ce(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && dl(t);
+ if (we(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && fl(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return gl(t), t.subtreeFlags &= -33554433, null;
+ return _l(t), t.subtreeFlags &= -33554433, null;
}
- if (o = ge.current, sa(t)) aa(t, o);
+ if (o = z.current, sa(t)) aa(t, o);
else {
- var s = lp(ve.current);
+ var s = lp(ye.current);
switch (o) {
case 1:
o = s.createElementNS("http://www.w3.org/2000/svg", a);
@@ -10317,7 +10317,7 @@ var jc = /* @__PURE__ */ l(((e) => {
default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);
}
}
- o[vt] = t, o[yt] = 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) {
@@ -10344,71 +10344,71 @@ var jc = /* @__PURE__ */ l(((e) => {
break a;
default: r = !1;
}
- r && dl(t);
+ r && fl(t);
}
}
- return gl(t), t.subtreeFlags &= -33554433, fl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
+ return _l(t), t.subtreeFlags &= -33554433, pl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
case 6:
- if (e && t.stateNode != null) e.memoizedProps !== r && dl(t);
+ if (e && t.stateNode != null) e.memoizedProps !== r && fl(t);
else {
if (typeof r != "string" && t.stateNode === null) throw Error(i(166));
- if (e = ve.current, sa(t)) {
+ if (e = ye.current, sa(t)) {
if (e = t.stateNode, n = t.memoizedProps, r = null, a = $i, a !== null) switch (a.tag) {
case 27:
case 5: r = a.memoizedProps;
}
- e[vt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || $f(e.nodeValue, n)), e || ia(t, !0);
- } else e = lp(e).createTextNode(r), e[vt] = t, t.stateNode = e;
+ e[yt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || $f(e.nodeValue, n)), e || ia(t, !0);
+ } else e = lp(e).createTextNode(r), e[yt] = t, t.stateNode = e;
}
- return gl(t), null;
+ return _l(t), null;
case 31:
if (n = t.memoizedState, e === null || e.memoizedState !== null) {
if (r = sa(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[vt] = t;
+ e[yt] = t;
} else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- gl(t), e = !1;
+ _l(t), e = !1;
} else n = la(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
if (!e) return t.flags & 256 ? (No(t), t) : (No(t), null);
if (t.flags & 128) throw Error(i(558));
}
- return gl(t), null;
+ return _l(t), null;
case 13:
if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
if (a = sa(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[vt] = t;
+ a[yt] = t;
} else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- gl(t), a = !1;
+ _l(t), a = !1;
} else a = la(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
if (!a) return t.flags & 256 ? (No(t), t) : (No(t), null);
}
- return No(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), ml(t, t.updateQueue), gl(t), null);
- case 4: return xe(), e === null && Uf(t.stateNode.containerInfo), t.flags |= 67108864, gl(t), null;
- case 10: return ha(t.type), gl(t), null;
+ return No(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), hl(t, t.updateQueue), _l(t), null);
+ case 4: return Se(), e === null && Uf(t.stateNode.containerInfo), t.flags |= 67108864, _l(t), null;
+ case 10: return ha(t.type), _l(t), null;
case 19:
- if (Io(t), r = t.memoizedState, r === null) return gl(t), null;
+ if (Io(t), r = t.memoizedState, r === null) return _l(t), null;
if (a = !!(t.flags & 128), o = r.rendering, o === null) {
- if (a) hl(r, !1);
+ if (a) gl(r, !1);
else {
if (rd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
if (o = Lo(e), o !== null) {
- for (t.flags |= 128, hl(r, !1), e = o.updateQueue, t.updateQueue = e, ml(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) ji(n, e), n = n.sibling;
+ for (t.flags |= 128, gl(r, !1), e = o.updateQueue, t.updateQueue = e, hl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) ji(n, e), n = n.sibling;
return Fo(t, Po.current & 1 | 2), U && Ji(t, r.treeForkCount), t.child;
}
e = e.sibling;
}
- r.tail !== null && Ie() > md && (t.flags |= 128, a = !0, hl(r, !1), t.lanes = 4194304);
+ r.tail !== null && Le() > md && (t.flags |= 128, a = !0, gl(r, !1), t.lanes = 4194304);
}
} else {
if (!a) {
if (e = Lo(o), e !== null) {
- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, ml(t, e), hl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !U) return gl(t), null;
- } else 2 * Ie() - r.renderingStartTime > md && n !== 536870912 && (t.flags |= 128, a = !0, hl(r, !1), t.lanes = 4194304);
+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, hl(t, e), gl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !U) return _l(t), null;
+ } else 2 * Le() - r.renderingStartTime > md && n !== 536870912 && (t.flags |= 128, a = !0, gl(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);
}
@@ -10424,24 +10424,24 @@ var jc = /* @__PURE__ */ l(((e) => {
}
n = !0;
}
- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ie(), e.sibling = null, o = Po.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || U ? Fo(t, o) : (n = o, B(Do, t), B(Po, n), Oo === null && (Oo = t)), U && Ji(t, r.treeForkCount), e;
+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Le(), e.sibling = null, o = Po.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || U ? Fo(t, o) : (n = o, _e(Do, t), _e(Po, n), Oo === null && (Oo = t)), U && Ji(t, r.treeForkCount), e;
}
- return gl(t), null;
+ return _l(t), null;
case 22:
- case 23: return No(t), Eo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (gl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : gl(t), n = t.updateQueue, n !== null && ml(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(Va), null;
- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ha(Da), gl(t), null;
+ case 23: return No(t), Eo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (_l(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : _l(t), n = t.updateQueue, n !== null && hl(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(Va), null;
+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ha(Da), _l(t), null;
case 25: return null;
- case 30: return t.flags |= 33554432, gl(t), null;
+ case 30: return t.flags |= 33554432, _l(t), null;
}
throw Error(i(156, t.tag));
}
- function vl(e, t) {
+ function yl(e, t) {
switch (Zi(t), t.tag) {
case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 3: return ha(Da), xe(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
+ case 3: return ha(Da), Se(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
case 26:
case 27:
- case 5: return Ce(t), null;
+ case 5: return we(t), null;
case 31:
if (t.memoizedState !== null) {
if (No(t), t.alternate === null) throw Error(i(340));
@@ -10455,27 +10455,27 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
case 19: return Io(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 xe(), null;
+ case 4: return Se(), null;
case 10: return ha(t.type), null;
case 22:
- case 23: return No(t), Eo(), e !== null && he(Va), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
+ case 23: return No(t), Eo(), e !== null && ge(Va), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
case 24: return ha(Da), null;
case 25: return null;
default: return null;
}
}
- function yl(e, t) {
+ function bl(e, t) {
switch (Zi(t), t.tag) {
case 3:
- ha(Da), xe();
+ ha(Da), Se();
break;
case 26:
case 27:
case 5:
- Ce(t);
+ we(t);
break;
case 4:
- xe();
+ Se();
break;
case 31:
t.memoizedState !== null && No(t);
@@ -10491,12 +10491,12 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
case 22:
case 23:
- No(t), Eo(), e !== null && he(Va);
+ No(t), Eo(), e !== null && ge(Va);
break;
case 24: ha(Da);
}
}
- function bl(e, t) {
+ function xl(e, t) {
try {
var n = t.updateQueue, r = n === null ? null : n.lastEffect;
if (r !== null) {
@@ -10515,7 +10515,7 @@ var jc = /* @__PURE__ */ l(((e) => {
ff(t, t.return, e);
}
}
- function xl(e, t, n) {
+ function Sl(e, t, n) {
try {
var r = t.updateQueue, i = r === null ? null : r.lastEffect;
if (i !== null) {
@@ -10541,7 +10541,7 @@ var jc = /* @__PURE__ */ l(((e) => {
ff(t, t.return, e);
}
}
- function Sl(e) {
+ function Cl(e) {
var t = e.updateQueue;
if (t !== null) {
var n = e.stateNode;
@@ -10552,15 +10552,15 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
}
- function Cl(e, t, n) {
- n.props = yc(e.type, e.memoizedProps), n.state = e.memoizedState;
+ function wl(e, t, n) {
+ n.props = bc(e.type, e.memoizedProps), n.state = e.memoizedState;
try {
n.componentWillUnmount();
} catch (n) {
ff(e, t, n);
}
}
- function K(e, t) {
+ function Tl(e, t) {
try {
var n = e.ref;
if (n !== null) {
@@ -10589,7 +10589,7 @@ var jc = /* @__PURE__ */ l(((e) => {
ff(e, t, n);
}
}
- function wl(e, t) {
+ function G(e, t) {
var n = e.ref, r = e.refCleanup;
if (n !== null) {
if (typeof r == "function") try {
@@ -10607,22 +10607,22 @@ var jc = /* @__PURE__ */ l(((e) => {
else n.current = null;
}
}
- function Tl(e, t) {
+ function El(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++) em(e.stateNode, t[n]);
}
- function El(e) {
- for (var t = e.return; t !== null && (kl(t) && em(e.stateNode, t.stateNode), !Ol(t));) t = t.return;
- }
function Dl(e) {
- for (var t = e.return; t !== null && (kl(t) && tm(e.stateNode, t.stateNode), !Ol(t));) t = t.return;
+ for (var t = e.return; t !== null && (Al(t) && em(e.stateNode, t.stateNode), !kl(t));) t = t.return;
}
function Ol(e) {
- return e.tag === 5 || e.tag === 3 || e.tag === 27;
+ for (var t = e.return; t !== null && (Al(t) && tm(e.stateNode, t.stateNode), !kl(t));) t = t.return;
}
function kl(e) {
- return e && e.tag === 7 && e.stateNode !== null;
+ return e.tag === 5 || e.tag === 3 || e.tag === 27;
}
function Al(e) {
+ return e && e.tag === 7 && e.stateNode !== null;
+ }
+ function jl(e) {
var t = e.type, n = e.memoizedProps, r = e.stateNode;
try {
a: switch (t) {
@@ -10638,21 +10638,21 @@ var jc = /* @__PURE__ */ l(((e) => {
ff(e, e.return, t);
}
}
- function jl(e, t, n) {
+ function Ml(e, t, n) {
try {
var r = e.stateNode;
- ip(r, e.type, n, t), r[yt] = t;
+ ip(r, e.type, n, t), r[bt] = t;
} catch (t) {
ff(e, e.return, t);
}
}
- function Ml(e) {
+ function Nl(e) {
return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Sp(e.type) || e.tag === 4;
}
- function Nl(e) {
+ function Pl(e) {
a: for (;;) {
for (; e.sibling === null;) {
- if (e.return === null || Ml(e.return)) return null;
+ if (e.return === null || Nl(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;) {
@@ -10662,39 +10662,39 @@ var jc = /* @__PURE__ */ l(((e) => {
if (!(e.flags & 2)) return e.stateNode;
}
}
- function Pl(e, t, n, r) {
+ function Fl(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 = mn)), Tl(e, r), H = !0;
- else if (i !== 4 && (i === 27 && (Tl(e, r), r = null, Sp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Pl(e, t, n, r), e = e.sibling; e !== null;) Pl(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 = hn)), El(e, r), V = !0;
+ else if (i !== 4 && (i === 27 && (El(e, r), r = null, Sp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Fl(e, t, n, r), e = e.sibling; e !== null;) Fl(e, t, n, r), e = e.sibling;
}
- function q(e, t, n, r) {
+ function Il(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Tl(e, r), H = !0;
- else if (i !== 4 && (i === 27 && (Tl(e, r), r = null, Sp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (q(e, t, n, r), e = e.sibling; e !== null;) q(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), El(e, r), V = !0;
+ else if (i !== 4 && (i === 27 && (El(e, r), r = null, Sp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Il(e, t, n, r), e = e.sibling; e !== null;) Il(e, t, n, r), e = e.sibling;
}
- function Fl(e) {
+ function K(e) {
var t = e.stateNode, n = e.memoizedProps;
try {
for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);
- np(t, r, n), t[vt] = e, t[yt] = n;
+ np(t, r, n), t[yt] = e, t[bt] = n;
} catch (t) {
ff(e, e.return, t);
}
}
- var Il = !1, Ll = null;
- function Rl(e) {
- (e.tag === 30 || e.subtreeFlags & 33554432) && (Il = !0);
+ var Ll = !1, Rl = null;
+ function zl(e) {
+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Ll = !0);
}
- var zl = null;
- function Bl() {
- var e = zl;
- return zl = null, e;
+ var Bl = null;
+ function Vl() {
+ var e = Bl;
+ return Bl = null, e;
}
- var Vl = 0;
- function J(e, t, n, r, i) {
- return Vl = 0, Hl(e.child, t, n, r, i);
+ var Hl = 0;
+ function Ul(e, t, n, r, i) {
+ return Hl = 0, q(e.child, t, n, r, i);
}
- function Hl(e, t, n, r, i) {
+ function q(e, t, n, r, i) {
for (var a = !1; e !== null;) {
if (e.tag === 5) {
var o = e.stateNode;
@@ -10702,36 +10702,36 @@ var jc = /* @__PURE__ */ l(((e) => {
var s = Op(o);
r.push(s), s.view && (a = !0);
} else a || Op(o).view && (a = !0);
- Il = !0, Tp(o, Vl === 0 ? t : t + "_" + Vl, n), Vl++;
- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Hl(e.child, t, n, r, i) && (a = !0));
+ Ll = !0, Tp(o, Hl === 0 ? t : t + "_" + Hl, n), Hl++;
+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || q(e.child, t, n, r, i) && (a = !0));
e = e.sibling;
}
return a;
}
- function Ul(e, t) {
- for (; e !== null;) e.tag === 5 ? Ep(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Ul(e.child, t)), e = e.sibling;
+ function Wl(e, t) {
+ for (; e !== null;) e.tag === 5 ? Ep(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Wl(e.child, t)), e = e.sibling;
}
- function Wl(e) {
+ function Gl(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
- if ((e.tag !== 22 || e.memoizedState === null) && (Wl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
+ if ((e.tag !== 22 || e.memoizedState === null) && (Gl(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 = hi(t.default, t.share), t !== "none" && (J(e, n, t, null, !1) || Ul(e.child, !1));
+ t = hi(t.default, t.share), t !== "none" && (Ul(e, n, t, null, !1) || Wl(e.child, !1));
}
e = e.sibling;
}
}
- function Gl(e, t) {
+ function Kl(e, t) {
if (e.tag === 30) {
var n = e.stateNode, r = e.memoizedProps, i = pi(r, n), a = hi(r.default, n.paired ? r.share : r.enter);
- a === "none" ? Wl(e) : J(e, i, a, null, !1) ? (Wl(e), n.paired || t || jd(e, r.onEnter)) : Ul(e.child, !1);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Gl(e, t), e = e.sibling;
- else Wl(e);
+ a === "none" ? Gl(e) : Ul(e, i, a, null, !1) ? (Gl(e), n.paired || t || jd(e, r.onEnter)) : Wl(e.child, !1);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Kl(e, t), e = e.sibling;
+ else Gl(e);
}
- function Kl(e) {
- if (Ll !== null && Ll.size !== 0) {
- var t = Ll;
+ function ql(e) {
+ if (Rl !== null && Rl.size !== 0) {
+ var t = Rl;
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
@@ -10740,58 +10740,58 @@ var jc = /* @__PURE__ */ l(((e) => {
var i = t.get(r);
if (i !== void 0) {
var a = hi(n.default, n.share);
- if (a !== "none" && (J(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, jd(e, n.onShare)) : Ul(e.child, !1)), t.delete(r), t.size === 0) break;
+ if (a !== "none" && (Ul(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, jd(e, n.onShare)) : Wl(e.child, !1)), t.delete(r), t.size === 0) break;
}
}
}
- Kl(e);
+ ql(e);
}
e = e.sibling;
}
}
}
- function ql(e) {
+ function Jl(e) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = pi(t, e.stateNode), r = Ll === null ? void 0 : Ll.get(n), i = hi(t.default, r === void 0 ? t.exit : t.share);
- i !== "none" && (J(e, n, i, null, !1) ? r === void 0 ? jd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Ll.delete(n), jd(e, t.onShare)) : Ul(e.child, !1)), Ll !== null && Kl(e);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) ql(e), e = e.sibling;
- else Ll !== null && Kl(e);
+ var t = e.memoizedProps, n = pi(t, e.stateNode), r = Rl === null ? void 0 : Rl.get(n), i = hi(t.default, r === void 0 ? t.exit : t.share);
+ i !== "none" && (Ul(e, n, i, null, !1) ? r === void 0 ? jd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Rl.delete(n), jd(e, t.onShare)) : Wl(e.child, !1)), Rl !== null && ql(e);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Jl(e), e = e.sibling;
+ else Rl !== null && ql(e);
}
- function Jl(e) {
+ function Yl(e) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
var t = e.memoizedProps, n = pi(t, e.stateNode);
- t = hi(t.default, t.update), e.flags &= -5, t !== "none" && J(e, n, t, e.memoizedState = [], !1);
- } else e.subtreeFlags & 33554432 && Jl(e);
+ t = hi(t.default, t.update), e.flags &= -5, t !== "none" && Ul(e, n, t, e.memoizedState = [], !1);
+ } else e.subtreeFlags & 33554432 && Yl(e);
e = e.sibling;
}
}
- function Yl(e) {
+ function Xl(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, Ul(e.child, !1));
+ t.paired !== null && (t.paired = null, Wl(e.child, !1));
}
- Yl(e);
+ Xl(e);
}
e = e.sibling;
}
}
- function Xl(e) {
- if (e.tag === 30) e.stateNode.paired = null, Ul(e.child, !1), Yl(e);
- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e), e = e.sibling;
- else Yl(e);
- }
function Zl(e) {
- for (e = e.child; e !== null;) e.tag === 30 ? Ul(e.child, !1) : e.subtreeFlags & 33554432 && Zl(e), e = e.sibling;
+ if (e.tag === 30) e.stateNode.paired = null, Wl(e.child, !1), Xl(e);
+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e), e = e.sibling;
+ else Xl(e);
+ }
+ function Ql(e) {
+ for (e = e.child; e !== null;) e.tag === 30 ? Wl(e.child, !1) : e.subtreeFlags & 33554432 && Ql(e), e = e.sibling;
}
- function Ql(e, t, n, r, i, a, o) {
+ function $l(e, t, n, r, i, a, o) {
for (var s = !1; t !== null;) {
if (t.tag === 5) {
var c = t.stateNode;
- if (a !== null && Vl < a.length) {
- var l = a[Vl], u = Op(c);
+ if (a !== null && Hl < a.length) {
+ var l = a[Hl], u = Op(c);
(l.view || u.view) && (s = !0);
var d;
if (d = !(e.flags & 4)) {
@@ -10804,13 +10804,13 @@ var jc = /* @__PURE__ */ l(((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 && Tp(c, Vl === 0 ? n : n + "_" + Vl, i), s && e.flags & 4 || (zl === null && (zl = []), zl.push(c, Vl === 0 ? r : r + "_" + Vl, t.memoizedProps)), Vl++;
- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : Ql(e, t.child, n, r, i, a, o) && (s = !0));
+ e.flags & 4 && Tp(c, Hl === 0 ? n : n + "_" + Hl, i), s && e.flags & 4 || (Bl === null && (Bl = []), Bl.push(c, Hl === 0 ? r : r + "_" + Hl, t.memoizedProps)), Hl++;
+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : $l(e, t.child, n, r, i, a, o) && (s = !0));
t = t.sibling;
}
return s;
}
- function $l(e, t) {
+ function eu(e, t) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
var n = e.memoizedProps, r = e.stateNode, i = pi(n, r), a = hi(n.default, n.update);
@@ -10820,14 +10820,14 @@ var jc = /* @__PURE__ */ l(((e) => {
} else o = e.memoizedState, e.memoizedState = null;
r = e;
var s = e.child;
- Vl = 0, i = Ql(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || jd(e, n.onUpdate));
- } else e.subtreeFlags & 33554432 && $l(e, t);
+ Hl = 0, i = $l(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || jd(e, n.onUpdate));
+ } else e.subtreeFlags & 33554432 && eu(e, t);
e = e.sibling;
}
}
- var eu = !1, tu = !1, nu = !1, ru = !1, iu = typeof WeakSet == "function" ? WeakSet : Set, au = null, ou = !1, su = !1, cu = !1, lu = !1;
- function uu(e, t, n) {
- if (e = e.containerInfo, sp = gh, e = Ur(e), Wr(e)) {
+ var tu = !1, nu = !1, ru = !1, iu = !1, au = typeof WeakSet == "function" ? WeakSet : Set, ou = null, su = !1, cu = !1, lu = !1, uu = !1;
+ function du(e, t, n) {
+ if (e = e.containerInfo, sp = gh, e = Wr(e), Gr(e)) {
if ("selectionStart" in e) var r = {
start: e.selectionStart,
end: e.selectionEnd
@@ -10869,28 +10869,28 @@ var jc = /* @__PURE__ */ l(((e) => {
for (cp = {
focusedElem: e,
selectionRange: r
- }, gh = !1, n = (n & 335544064) === n, au = t, t = n ? 9270 : 1024; au !== null;) {
- if (e = au, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && ql(r[a]);
- if (e.alternate === null && e.flags & 2) n && Rl(e), du(n);
+ }, gh = !1, n = (n & 335544064) === n, ou = t, t = n ? 9270 : 1024; ou !== null;) {
+ if (e = ou, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Jl(r[a]);
+ if (e.alternate === null && e.flags & 2) n && zl(e), fu(n);
else {
if (e.tag === 22) {
if (r = e.alternate, e.memoizedState !== null) {
- r !== null && r.memoizedState === null && n && ql(r), du(n);
+ r !== null && r.memoizedState === null && n && Jl(r), fu(n);
continue;
}
if (r !== null && r.memoizedState !== null) {
- n && Rl(e), du(n);
+ n && zl(e), fu(n);
continue;
}
}
- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, au = r) : (n && Jl(e), du(n));
+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, ou = r) : (n && Yl(e), fu(n));
}
}
- Ll = null;
+ Rl = null;
}
- function du(e) {
- for (; au !== null;) {
- var t = au, n = e, r = t.alternate, a = t.flags;
+ function fu(e) {
+ for (; ou !== null;) {
+ var t = ou, n = e, r = t.alternate, a = t.flags;
switch (t.tag) {
case 0:
case 11:
@@ -10900,7 +10900,7 @@ var jc = /* @__PURE__ */ l(((e) => {
n = void 0, a = r.memoizedProps, r = r.memoizedState;
var o = t.stateNode;
try {
- var s = yc(t.type, a);
+ var s = bc(t.type, a);
n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;
} catch (e) {
ff(t, t.return, e);
@@ -10927,24 +10927,24 @@ var jc = /* @__PURE__ */ l(((e) => {
case 4:
case 17: break;
case 30:
- n && r !== null && (n = pi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = hi(a.default, a.update), a !== "none" && J(r, n, a, r.memoizedState = [], !0));
+ n && r !== null && (n = pi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = hi(a.default, a.update), a !== "none" && Ul(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, au = r;
+ r.return = t.return, ou = r;
break;
}
- au = t.return;
+ ou = t.return;
}
}
- function fu(e, t, n) {
+ function pu(e, t, n) {
var r = n.flags;
switch (n.tag) {
case 0:
case 11:
case 15:
- ju(e, n), r & 4 && bl(5, n);
+ ju(e, n), r & 4 && xl(5, n);
break;
case 1:
if (ju(e, n), r & 4) {
@@ -10954,7 +10954,7 @@ var jc = /* @__PURE__ */ l(((e) => {
ff(n, n.return, e);
}
else {
- var i = yc(n.type, t.memoizedProps);
+ var i = bc(n.type, t.memoizedProps);
t = t.memoizedState;
try {
e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);
@@ -10963,7 +10963,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
}
- r & 64 && Sl(n), r & 512 && K(n, n.return);
+ r & 64 && Cl(n), r & 512 && Tl(n, n.return);
break;
case 3:
if (ju(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
@@ -10981,37 +10981,37 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
break;
- case 27: t === null && r & 4 && Fl(n);
+ case 27: t === null && r & 4 && K(n);
case 26:
case 5:
- ju(e, n), t === null && r & 4 && Al(n), r & 512 && K(n, n.return);
+ ju(e, n), t === null && r & 4 && jl(n), r & 512 && Tl(n, n.return);
break;
case 12:
ju(e, n);
break;
case 31:
- ju(e, n), r & 4 && bu(e, n);
+ ju(e, n), r & 4 && xu(e, n);
break;
case 13:
- ju(e, n), r & 4 && xu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = gf.bind(null, n), cm(e, n))));
+ ju(e, n), r & 4 && Su(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = gf.bind(null, n), cm(e, n))));
break;
case 22:
- if (r = n.memoizedState !== null || eu, !r) {
- var a = t !== null && t.memoizedState !== null || tu;
- t = eu, i = tu, eu = r, (tu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Nu(e, n, r)) : ju(e, n), eu = t, tu = i;
+ if (r = n.memoizedState !== null || tu, !r) {
+ var a = t !== null && t.memoizedState !== null || nu;
+ t = tu, i = nu, tu = r, (nu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Nu(e, n, r)) : ju(e, n), tu = t, nu = i;
}
break;
case 30:
- ju(e, n), r & 512 && K(n, n.return);
+ ju(e, n), r & 512 && Tl(n, n.return);
break;
- case 7: r & 512 && K(n, n.return);
+ case 7: r & 512 && Tl(n, n.return);
default: ju(e, n);
}
}
- function pu(e, t) {
- for (e = e.child; e !== null;) mu(e, t), e = e.sibling;
- }
function mu(e, t) {
+ for (e = e.child; e !== null;) hu(e, t), e = e.sibling;
+ }
+ function hu(e, t) {
switch (e.tag) {
case 5:
case 26:
@@ -11027,11 +11027,11 @@ var jc = /* @__PURE__ */ l(((e) => {
} catch (t) {
ff(e, e.return, t);
}
- hu(e, t);
+ gu(e, t);
break;
case 6:
try {
- e.stateNode.nodeValue = t ? "" : e.memoizedProps, H = !0;
+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, V = !0;
} catch (t) {
ff(e, e.return, t);
}
@@ -11046,95 +11046,95 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
case 22:
case 23:
- e.memoizedState === null && pu(e, t);
+ e.memoizedState === null && mu(e, t);
break;
- default: pu(e, t);
+ default: mu(e, t);
}
}
- function hu(e, t) {
+ function gu(e, t) {
if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {
a: {
var n = e, r = t;
switch (n.tag) {
case 4:
- mu(n, r);
+ hu(n, r);
break a;
case 22:
- n.memoizedState === null && hu(n, r);
+ n.memoizedState === null && gu(n, r);
break a;
- default: hu(n, r);
+ default: gu(n, r);
}
}
e = e.sibling;
}
}
- function gu(e) {
+ function _u(e) {
var t = e.alternate;
- t !== null && (e.alternate = null, gu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Dt(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 Y = null, _u = !1;
- function vu(e, t, n) {
- for (n = n.child; n !== null;) yu(e, t, n), n = n.sibling;
+ t !== null && (e.alternate = null, _u(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 vu = null, J = !1;
function yu(e, t, n) {
- if (Ke && typeof Ke.onCommitFiberUnmount == "function") try {
- Ke.onCommitFiberUnmount(Ge, n);
+ for (n = n.child; n !== null;) bu(e, t, n), n = n.sibling;
+ }
+ function bu(e, t, n) {
+ if (qe && typeof qe.onCommitFiberUnmount == "function") try {
+ qe.onCommitFiberUnmount(Ke, n);
} catch {}
switch (n.tag) {
case 26:
- tu || wl(n, t), vu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !tu && (n = n.stateNode, n.parentNode.removeChild(n));
+ nu || G(n, t), yu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !nu && (n = n.stateNode, n.parentNode.removeChild(n));
break;
case 27:
- tu || wl(n, t), Dl(n);
- var r = Y, i = _u;
- Sp(n.type) && (Y = n.stateNode, _u = !1), vu(e, t, n), gm(n.stateNode, n.type, n.memoizedProps), Y = r, _u = i;
+ nu || G(n, t), Ol(n);
+ var r = vu, i = J;
+ Sp(n.type) && (vu = n.stateNode, J = !1), yu(e, t, n), gm(n.stateNode, n.type, n.memoizedProps), vu = r, J = i;
break;
- case 5: tu || wl(n, t), Dl(n);
+ case 5: nu || G(n, t), Ol(n);
case 6:
- if (n.tag === 6 && Dl(n), r = Y, i = _u, Y = null, vu(e, t, n), Y = r, _u = i, Y !== null) {
- if (_u) try {
- (Y.nodeType === 9 ? Y.body : Y.nodeName === "HTML" ? Y.ownerDocument.body : Y).removeChild(n.stateNode), H = !0;
+ if (n.tag === 6 && Ol(n), r = vu, i = J, vu = null, yu(e, t, n), vu = r, J = i, vu !== null) {
+ if (J) try {
+ (vu.nodeType === 9 ? vu.body : vu.nodeName === "HTML" ? vu.ownerDocument.body : vu).removeChild(n.stateNode), V = !0;
} catch (e) {
ff(n, t, e);
}
else try {
- Y.removeChild(n.stateNode), H = !0;
+ vu.removeChild(n.stateNode), V = !0;
} catch (e) {
ff(n, t, e);
}
}
break;
case 18:
- Y !== null && (_u ? (e = Y, Cp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Hh(e)) : Cp(Y, n.stateNode));
+ vu !== null && (J ? (e = vu, Cp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Hh(e)) : Cp(vu, n.stateNode));
break;
case 4:
- r = Y, i = _u, Y = n.stateNode.containerInfo, _u = !0, vu(e, t, n), Y = r, _u = i;
+ r = vu, i = J, vu = n.stateNode.containerInfo, J = !0, yu(e, t, n), vu = r, J = i;
break;
case 0:
case 11:
case 14:
case 15:
- xl(2, n, t), tu || xl(4, n, t), vu(e, t, n);
+ Sl(2, n, t), nu || Sl(4, n, t), yu(e, t, n);
break;
case 1:
- tu || (wl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Cl(n, t, r)), vu(e, t, n);
+ nu || (G(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && wl(n, t, r)), yu(e, t, n);
break;
case 21:
- vu(e, t, n);
+ yu(e, t, n);
break;
case 22:
- tu = (r = tu) || n.memoizedState !== null, vu(e, t, n), tu = r;
+ nu = (r = nu) || n.memoizedState !== null, yu(e, t, n), nu = r;
break;
case 30:
- wl(n, t), vu(e, t, n);
+ G(n, t), yu(e, t, n);
break;
case 7:
- tu || wl(n, t), vu(e, t, n);
+ nu || G(n, t), yu(e, t, n);
break;
- default: vu(e, t, n);
+ default: yu(e, t, n);
}
}
- function bu(e, t) {
+ function xu(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {
e = e.dehydrated;
try {
@@ -11144,26 +11144,26 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
}
- function xu(e, t) {
+ function Su(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {
Hh(e);
} catch (e) {
ff(t, t.return, e);
}
}
- function Su(e) {
+ function Cu(e) {
switch (e.tag) {
case 31:
case 13:
case 19:
var t = e.stateNode;
- return t === null && (t = e.stateNode = new iu()), t;
- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new iu()), t;
+ return t === null && (t = e.stateNode = new au()), t;
+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new au()), t;
default: throw Error(i(435, e.tag));
}
}
- function Cu(e, t) {
- var n = Su(e);
+ function wu(e, t) {
+ var n = Cu(e);
t.forEach(function(t) {
if (!n.has(t)) {
n.add(t);
@@ -11172,7 +11172,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
});
}
- function wu(e, t, n) {
+ function Tu(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;
@@ -11180,27 +11180,27 @@ var jc = /* @__PURE__ */ l(((e) => {
switch (l.tag) {
case 27:
if (Sp(l.type)) {
- Y = l.stateNode, _u = !1;
+ vu = l.stateNode, J = !1;
break a;
}
break;
case 5:
- Y = l.stateNode, _u = !1;
+ vu = l.stateNode, J = !1;
break a;
case 3:
case 4:
- Y = l.stateNode.containerInfo, _u = !0;
+ vu = l.stateNode.containerInfo, J = !0;
break a;
}
l = l.return;
}
- if (Y === null) throw Error(i(160));
- yu(s, c, o), Y = null, _u = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
+ if (vu === null) throw Error(i(160));
+ bu(s, c, o), vu = null, J = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
}
- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Eu(t, e, n), t = t.sibling;
+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Du(t, e, n), t = t.sibling;
}
- var Tu = null;
- function Eu(e, t, n) {
+ var Eu = null;
+ function Du(e, t, n) {
var r = e.alternate, a = e.flags;
switch (e.tag) {
case 0:
@@ -11211,23 +11211,23 @@ var jc = /* @__PURE__ */ l(((e) => {
var s = r[o];
s.ref.impl = s.nextImpl;
}
- wu(t, e, n), Du(e), a & 4 && (xl(3, e, e.return), bl(3, e), xl(5, e, e.return));
+ Tu(t, e, n), Y(e), a & 4 && (Sl(3, e, e.return), xl(3, e), Sl(5, e, e.return));
break;
case 1:
- wu(t, e, n), Du(e), a & 512 && (tu || r === null || wl(r, r.return)), a & 64 && eu && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
+ Tu(t, e, n), Y(e), a & 512 && (nu || r === null || G(r, r.return)), a & 64 && tu && (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 = Tu, wu(t, e, n), Du(e), a & 512 && (tu || r === null || wl(r, r.return)), a & 4) {
+ if (o = Eu, Tu(t, e, n), Y(e), a & 512 && (nu || r === null || G(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 (eu) e.stateNode = fp(e.type, e.memoizedProps, t.containerInfo, e);
+ if (tu) e.stateNode = fp(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[Tt] || r[vt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), np(r, t, n), r[vt] = e, Mt(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"))), np(r, t, n), r[yt] = e, Nt(r), t = r;
break a;
case "link":
if (o = Gm("link", "href", a).get(t + (n.href || ""))) {
@@ -11249,82 +11249,82 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
default: throw Error(i(468, t));
}
- r[vt] = e, Mt(r), t = r;
+ r[yt] = e, Nt(r), t = r;
}
e.stateNode = t;
}
- } else eu || Km(o, e.type, e.stateNode);
+ } else tu || Km(o, e.type, e.stateNode);
} else e.stateNode = Bm(o, n, e.memoizedProps);
- } else a === n ? n === null && e.stateNode !== null && jl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || tu || t.parentNode.removeChild(t)) : a.count--, n === null ? eu || Km(o, e.type, e.stateNode) : Bm(o, n, e.memoizedProps));
+ } else a === n ? n === null && e.stateNode !== null && Ml(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || nu || t.parentNode.removeChild(t)) : a.count--, n === null ? tu || Km(o, e.type, e.stateNode) : Bm(o, n, e.memoizedProps));
}
break;
case 27:
- wu(t, e, n), Du(e), a & 512 && (tu || r === null || wl(r, r.return)), r !== null && a & 4 && jl(e, e.memoizedProps, r.memoizedProps);
+ Tu(t, e, n), Y(e), a & 512 && (nu || r === null || G(r, r.return)), r !== null && a & 4 && Ml(e, e.memoizedProps, r.memoizedProps);
break;
case 5:
- if (o = nu, nu = !1, wu(t, e, n), nu = o, Du(e), a & 512 && (tu || r === null || wl(r, r.return)), e.flags & 32) {
+ if (o = ru, ru = !1, Tu(t, e, n), ru = o, Y(e), a & 512 && (nu || r === null || G(r, r.return)), e.flags & 32) {
t = e.stateNode;
try {
- an(t, ""), H = !0;
+ on(t, ""), V = !0;
} catch (t) {
ff(e, e.return, t);
}
}
- a & 4 && e.stateNode != null && (t = e.memoizedProps, jl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (ru = !0);
+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Ml(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (iu = !0);
break;
case 6:
- if (wu(t, e, n), Du(e), a & 4) {
+ if (Tu(t, e, n), Y(e), a & 4) {
if (e.stateNode === null) throw Error(i(162));
t = e.memoizedProps, n = e.stateNode;
try {
- n.nodeValue = t, H = !0;
+ n.nodeValue = t, V = !0;
} catch (t) {
ff(e, e.return, t);
}
}
break;
case 3:
- if (H = !1, Wm = null, o = Tu, Tu = bm(t.containerInfo), wu(t, e, n), Tu = o, Du(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
+ if (V = !1, Wm = null, o = Eu, Eu = bm(t.containerInfo), Tu(t, e, n), Eu = o, Y(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
Hh(t.containerInfo);
} catch (t) {
ff(e, e.return, t);
}
- ru && (ru = !1, Ou(e)), H = !1;
+ iu && (iu = !1, Ou(e)), V = !1;
break;
case 4:
- a = nu, nu = eu, r = Vt(), o = Tu, Tu = bm(e.stateNode.containerInfo), wu(t, e, n), Du(e), Tu = o, H && su && (cu = !0), H = r, nu = a;
+ a = ru, ru = tu, r = Ht(), o = Eu, Eu = bm(e.stateNode.containerInfo), Tu(t, e, n), Y(e), Eu = o, V && cu && (lu = !0), V = r, ru = a;
break;
case 12:
- wu(t, e, n), Du(e);
+ Tu(t, e, n), Y(e);
break;
case 31:
- wu(t, e, n), Du(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
+ Tu(t, e, n), Y(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, wu(e, t)));
break;
case 13:
- wu(t, e, n), Du(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (fd = Ie()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
+ Tu(t, e, n), Y(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (fd = Le()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, wu(e, t)));
break;
case 22:
o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;
- var c = eu, l = tu, u = nu;
- eu = c || o, nu = u || o, tu = l || s, wu(t, e, n), tu = l, nu = u, eu = c, Du(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || eu || tu || (t = s || tu, n = eu, r = tu, eu = o || eu, tu = t, Mu(e, 2), eu = n, tu = r), !o && nu || pu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Cu(e, n))));
+ var c = tu, l = nu, u = ru;
+ tu = c || o, ru = u || o, nu = l || s, Tu(t, e, n), nu = l, ru = u, tu = c, Y(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || tu || nu || (t = s || nu, n = tu, r = nu, tu = o || tu, nu = t, Mu(e, 2), tu = n, nu = r), !o && ru || mu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, wu(e, n))));
break;
case 19:
- wu(t, e, n), Du(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
+ Tu(t, e, n), Y(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, wu(e, t)));
break;
case 30:
- a & 512 && (tu || r === null || wl(r, r.return)), a = Vt(), o = su, s = (n & 335544064) === n, c = e.memoizedProps, su = s && hi(c.default, c.update) !== "none", wu(t, e, n), Du(e), s && r !== null && H && (e.flags |= 4), su = o, H = a;
+ a & 512 && (nu || r === null || G(r, r.return)), a = Ht(), o = cu, s = (n & 335544064) === n, c = e.memoizedProps, cu = s && hi(c.default, c.update) !== "none", Tu(t, e, n), Y(e), s && r !== null && V && (e.flags |= 4), cu = o, V = a;
break;
case 21: break;
- case 7: a & 512 && (tu || r === null || wl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
- default: wu(t, e, n), Du(e);
+ case 7: a & 512 && (nu || r === null || G(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
+ default: Tu(t, e, n), Y(e);
}
}
- function Du(e) {
+ function Y(e) {
var t = e.flags;
if (t & 2) {
try {
for (var n, r = e.return; r !== null;) {
- if (Ml(r)) {
+ if (Nl(r)) {
n = r;
break;
}
@@ -11332,11 +11332,11 @@ var jc = /* @__PURE__ */ l(((e) => {
}
r = null;
for (var a = e.return; a !== null;) {
- if (kl(a)) {
+ if (Al(a)) {
var o = a.stateNode;
r === null ? r = [o] : r.push(o);
}
- if (Ol(a)) break;
+ if (kl(a)) break;
a = a.return;
}
var s = r;
@@ -11344,16 +11344,16 @@ var jc = /* @__PURE__ */ l(((e) => {
switch (n.tag) {
case 27:
var c = n.stateNode;
- q(e, Nl(e), c, s);
+ Il(e, Pl(e), c, s);
break;
case 5:
var l = n.stateNode;
- n.flags & 32 && (an(l, ""), n.flags &= -33), q(e, Nl(e), l, s);
+ n.flags & 32 && (on(l, ""), n.flags &= -33), Il(e, Pl(e), l, s);
break;
case 3:
case 4:
var u = n.stateNode.containerInfo;
- Pl(e, Nl(e), u, s);
+ Fl(e, Pl(e), u, s);
break;
default: throw Error(i(161));
}
@@ -11372,15 +11372,15 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function ku(e, t) {
if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Au(t, e), t = t.sibling;
- else $l(t, !1);
+ else eu(t, !1);
}
function Au(e, t) {
var n = e.alternate;
- if (n === null) Gl(e, !1);
+ if (n === null) Kl(e, !1);
else switch (e.tag) {
case 3:
- if (lu = ou = !1, Bl(), ku(t, e), !ou && !cu) {
- if (e = zl, e !== null) for (var r = 0; r < e.length; r += 3) {
+ if (uu = su = !1, Vl(), ku(t, e), !su && !lu) {
+ if (e = Bl, e !== null) for (var r = 0; r < e.length; r += 3) {
n = e[r];
var i = e[r + 1];
Ep(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
@@ -11406,31 +11406,31 @@ var jc = /* @__PURE__ */ l(((e) => {
duration: 0,
fill: "forwards",
pseudoElement: "::view-transition"
- })), lu = !0;
+ })), uu = !0;
}
- zl = null;
+ Bl = null;
break;
case 5:
ku(t, e);
break;
case 4:
- r = ou, ou = !1, ku(t, e), ou && (cu = !0), ou = r;
+ r = su, su = !1, ku(t, e), su && (lu = !0), su = r;
break;
case 22:
- e.memoizedState === null && (n.memoizedState === null ? ku(t, e) : Gl(e, !1));
+ e.memoizedState === null && (n.memoizedState === null ? ku(t, e) : Kl(e, !1));
break;
case 30:
- r = ou, i = Bl(), ou = !1, ku(t, e), ou && (e.flags |= 4);
+ r = su, i = Vl(), su = !1, ku(t, e), su && (e.flags |= 4);
var a = e.memoizedProps, o = e.stateNode;
t = pi(a, o), o = pi(n.memoizedProps, o);
var s = hi(a.default, a.update);
- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Vl = 0, t = Ql(e, n, t, o, s, a, !0), Vl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (jd(e, e.memoizedProps.onUpdate), zl = i) : i !== null && (i.push.apply(i, zl), zl = i), ou = e.flags & 32 ? !0 : r;
+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Hl = 0, t = $l(e, n, t, o, s, a, !0), Hl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (jd(e, e.memoizedProps.onUpdate), Bl = i) : i !== null && (i.push.apply(i, Bl), Bl = i), su = e.flags & 32 ? !0 : r;
break;
default: ku(t, e);
}
}
function ju(e, t) {
- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) fu(e, t.alternate, t), t = t.sibling;
+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) pu(e, t.alternate, t), t = t.sibling;
}
function Mu(e, t) {
for (e = e.child; e !== null;) {
@@ -11440,30 +11440,30 @@ var jc = /* @__PURE__ */ l(((e) => {
case 11:
case 14:
case 15:
- xl(4, n, n.return), Mu(n, r);
+ Sl(4, n, n.return), Mu(n, r);
break;
case 1:
- wl(n, n.return);
+ G(n, n.return);
var i = n.stateNode;
- typeof i.componentWillUnmount == "function" && Cl(n, n.return, i), Mu(n, r);
+ typeof i.componentWillUnmount == "function" && wl(n, n.return, i), Mu(n, r);
break;
case 27: r & 2 && gm(n.stateNode, n.type, n.memoizedProps);
case 5:
- wl(n, n.return), n.tag !== 5 && n.tag !== 27 || Dl(n), Mu(n, r);
+ G(n, n.return), n.tag !== 5 && n.tag !== 27 || Ol(n), Mu(n, r);
break;
case 6:
- Dl(n);
+ Ol(n);
break;
case 26:
- wl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || tu || i.parentNode.removeChild(i), Mu(n, r);
+ G(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || nu || i.parentNode.removeChild(i), Mu(n, r);
break;
case 22:
n.memoizedState === null && Mu(n, r);
break;
case 30:
- wl(n, n.return), Mu(n, r);
+ G(n, n.return), Mu(n, r);
break;
- case 7: wl(n, n.return);
+ case 7: G(n, n.return);
default: Mu(n, r);
}
e = e.sibling;
@@ -11476,7 +11476,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case 0:
case 11:
case 15:
- Nu(i, a, n), bl(4, a);
+ Nu(i, a, n), xl(4, a);
break;
case 1:
if (Nu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
@@ -11493,34 +11493,34 @@ var jc = /* @__PURE__ */ l(((e) => {
ff(r, r.return, e);
}
}
- s && o & 64 && Sl(a), K(a, a.return);
+ s && o & 64 && Cl(a), Tl(a, a.return);
break;
- case 27: n & 2 && Fl(a);
+ case 27: n & 2 && K(a);
case 5:
- a.tag !== 5 && a.tag !== 27 || El(a), Nu(i, a, n), s && r === null && o & 4 && Al(a), K(a, a.return);
+ a.tag !== 5 && a.tag !== 27 || Dl(a), Nu(i, a, n), s && r === null && o & 4 && jl(a), Tl(a, a.return);
break;
case 6:
- El(a);
+ Dl(a);
break;
case 26:
- c = a.stateNode, a.memoizedState !== null || c === null || eu || Km(bm(c.ownerDocument), a.type, c), Nu(i, a, n), s && r === null && o & 4 && Al(a), K(a, a.return);
+ c = a.stateNode, a.memoizedState !== null || c === null || tu || Km(bm(c.ownerDocument), a.type, c), Nu(i, a, n), s && r === null && o & 4 && jl(a), Tl(a, a.return);
break;
case 12:
Nu(i, a, n);
break;
case 31:
- Nu(i, a, n), s && o & 4 && bu(i, a);
+ Nu(i, a, n), s && o & 4 && xu(i, a);
break;
case 13:
- Nu(i, a, n), s && o & 4 && xu(i, a);
+ Nu(i, a, n), s && o & 4 && Su(i, a);
break;
case 22:
- a.memoizedState === null && Nu(i, a, n), K(a, a.return);
+ a.memoizedState === null && Nu(i, a, n), Tl(a, a.return);
break;
case 30:
- Nu(i, a, n), K(a, a.return);
+ Nu(i, a, n), Tl(a, a.return);
break;
- case 7: K(a, a.return);
+ case 7: Tl(a, a.return);
default: Nu(i, a, n);
}
t = t.sibling;
@@ -11536,23 +11536,23 @@ var jc = /* @__PURE__ */ l(((e) => {
function Iu(e, t, n, r) {
var i = (n & 335544064) === n;
if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Lu(e, t, n, r), t = t.sibling;
- else i && Zl(t);
+ else i && Ql(t);
}
function Lu(e, t, n, r) {
var i = (n & 335544064) === n;
- i && t.alternate === null && t.return !== null && t.return.alternate !== null && Xl(t);
+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && Zl(t);
var a = t.flags;
switch (t.tag) {
case 0:
case 11:
case 15:
- Iu(e, t, n, r), a & 2048 && bl(9, t);
+ Iu(e, t, n, r), a & 2048 && xl(9, t);
break;
case 1:
Iu(e, t, n, r);
break;
case 3:
- Iu(e, t, n, r), i && lu && (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 && ka(a)));
+ Iu(e, t, n, r), i && uu && (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 && ka(a)));
break;
case 12:
if (a & 2048) {
@@ -11573,13 +11573,13 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
case 23: break;
case 22:
- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && Xl(t), o._visibility & 2 ? Iu(e, t, n, r) : (o._visibility |= 2, Ru(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Xl(s), o._visibility & 2 ? Iu(e, t, n, r) : zu(e, t)), a & 2048 && Pu(s, t);
+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && Zl(t), o._visibility & 2 ? Iu(e, t, n, r) : (o._visibility |= 2, Ru(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Zl(s), o._visibility & 2 ? Iu(e, t, n, r) : zu(e, t)), a & 2048 && Pu(s, t);
break;
case 24:
Iu(e, t, n, r), a & 2048 && Fu(t.alternate, t);
break;
case 30:
- i && (a = t.alternate, a !== null && (Ul(a.child, !0), Ul(t.child, !0))), Iu(e, t, n, r);
+ i && (a = t.alternate, a !== null && (Wl(a.child, !0), Wl(t.child, !0))), Iu(e, t, n, r);
break;
default: Iu(e, t, n, r);
}
@@ -11591,7 +11591,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case 0:
case 11:
case 15:
- Ru(a, o, s, c, i), bl(8, o);
+ Ru(a, o, s, c, i), xl(8, o);
break;
case 23: break;
case 22:
@@ -11628,15 +11628,15 @@ var jc = /* @__PURE__ */ l(((e) => {
function Hu(e, t, n) {
switch (e.tag) {
case 26:
- Vu(e, t, n), e.flags & Bu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && Zm(n, e)) : Qm(n, Tu, e.memoizedState, e.memoizedProps));
+ Vu(e, t, n), e.flags & Bu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && Zm(n, e)) : Qm(n, Eu, e.memoizedState, e.memoizedProps));
break;
case 5:
Vu(e, t, n), e.flags & Bu && (e = e.stateNode, (t & 335544128) === t && Zm(n, e));
break;
case 3:
case 4:
- var r = Tu;
- Tu = bm(e.stateNode.containerInfo), Vu(e, t, n), Tu = r;
+ var r = Eu;
+ Eu = bm(e.stateNode.containerInfo), Vu(e, t, n), Eu = r;
break;
case 22:
e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Bu, Bu = 16777216, Vu(e, t, n), Bu = r) : Vu(e, t, n));
@@ -11644,7 +11644,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case 30:
if ((e.flags & Bu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
var i = e.stateNode;
- i.paired = null, Ll === null && (Ll = /* @__PURE__ */ new Map()), Ll.set(r, i);
+ i.paired = null, Rl === null && (Rl = /* @__PURE__ */ new Map()), Rl.set(r, i);
}
Vu(e, t, n);
break;
@@ -11665,7 +11665,7 @@ var jc = /* @__PURE__ */ l(((e) => {
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- au = r, qu(r, e);
+ ou = r, qu(r, e);
}
Uu(e);
}
@@ -11676,7 +11676,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case 0:
case 11:
case 15:
- Wu(e), e.flags & 2048 && xl(9, e, e.return);
+ Wu(e), e.flags & 2048 && Sl(9, e, e.return);
break;
case 3:
Wu(e);
@@ -11696,7 +11696,7 @@ var jc = /* @__PURE__ */ l(((e) => {
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- au = r, qu(r, e);
+ ou = r, qu(r, e);
}
Uu(e);
}
@@ -11705,7 +11705,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case 0:
case 11:
case 15:
- xl(8, t, t.return), Ku(t);
+ Sl(8, t, t.return), Ku(t);
break;
case 22:
n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Ku(t));
@@ -11716,13 +11716,13 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
function qu(e, t) {
- for (; au !== null;) {
- var n = au;
+ for (; ou !== null;) {
+ var n = ou;
switch (n.tag) {
case 0:
case 11:
case 15:
- xl(8, n, t);
+ Sl(8, n, t);
break;
case 23:
case 22:
@@ -11733,19 +11733,19 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
case 24: ka(n.memoizedState.cache);
}
- if (r = n.child, r !== null) r.return = n, au = r;
- else a: for (n = e; au !== null;) {
- r = au;
+ if (r = n.child, r !== null) r.return = n, ou = r;
+ else a: for (n = e; ou !== null;) {
+ r = ou;
var i = r.sibling, a = r.return;
- if (gu(r), r === n) {
- au = null;
+ if (_u(r), r === n) {
+ ou = null;
break a;
}
if (i !== null) {
- i.return = a, au = i;
+ i.return = a, ou = i;
break a;
}
- au = a;
+ ou = a;
}
}
}
@@ -11759,13 +11759,13 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}, Yu = typeof WeakMap == "function" ? WeakMap : Map, X = 0, Xu = null, Z = null, Q = 0, Zu = 0, Qu = null, $u = !1, ed = !1, td = !1, nd = 0, rd = 0, id = 0, ad = 0, od = 0, sd = 0, cd = 0, ld = null, ud = null, dd = !1, fd = 0, pd = 0, md = Infinity, hd = null, gd = null, _d = 0, vd = null, yd = null, bd = 0, xd = 0, Sd = null, Cd = null, wd = null, Td = null, Ed = null, Dd = 0, Od = null;
function kd() {
- return X & 2 && Q !== 0 ? Q & -Q : R.T === null ? ht() : Nf();
+ return X & 2 && Q !== 0 ? Q & -Q : L.T === null ? gt() : Nf();
}
function Ad() {
if (sd === 0) {
if (!(Q & 536870912) || U) {
- var e = $e;
- $e <<= 1, !($e & 3932160) && ($e = 262144), sd = e;
+ var e = et;
+ et <<= 1, !(et & 3932160) && (et = 262144), sd = e;
} else sd = 536870912;
}
return e = Do.current, e !== null && (e.flags |= 32), sd;
@@ -11777,11 +11777,11 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
function Md(e, t, n) {
- (e === Xu && (Zu === 2 || Zu === 9) || e.cancelPendingCommit !== null) && (zd(e, 0), Id(e, Q, sd, !1)), ct(e, n), (!(X & 2) || e !== Xu) && (e === Xu && (!(X & 2) && (ad |= n), rd === 4 && Id(e, Q, sd, !1)), Tf(e));
+ (e === Xu && (Zu === 2 || Zu === 9) || e.cancelPendingCommit !== null) && (zd(e, 0), Id(e, Q, sd, !1)), lt(e, n), (!(X & 2) || e !== Xu) && (e === Xu && (!(X & 2) && (ad |= n), rd === 4 && Id(e, Q, sd, !1)), Tf(e));
}
function Nd(e, t, n) {
if (X & 6) throw Error(i(327));
- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || rt(e, t), a = r ? qd(e, t) : Gd(e, t, !0), o = r;
+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || it(e, t), a = r ? qd(e, t) : Gd(e, t, !0), o = r;
do {
if (a === 0) {
ed && !r && Id(e, t, 0, !1);
@@ -11831,8 +11831,8 @@ var jc = /* @__PURE__ */ l(((e) => {
case 5: break;
default: throw Error(i(329));
}
- if ((t & 62914560) === t && (a = fd + 300 - Ie(), 10 < a)) {
- if (Id(r, t, sd, !$u), nt(r, 0, !0) !== 0) break a;
+ if ((t & 62914560) === t && (a = fd + 300 - Le(), 10 < a)) {
+ if (Id(r, t, sd, !$u), rt(r, 0, !0) !== 0) break a;
bd = t, r.timeoutHandle = gp(Pd.bind(null, r, n, ud, hd, dd, t, sd, ad, cd, $u, o, "Throttled", -0, 0), a);
break a;
}
@@ -11853,8 +11853,8 @@ var jc = /* @__PURE__ */ l(((e) => {
suspenseyImages: [],
waitingForImages: !0,
waitingForViewTransition: !1,
- unsuspend: mn
- }, Ll = null, Hu(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 = nh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? fd - Ie() : (a & 4194048) === a ? pd - Ie() : 0, m = eh(d, m), m !== null)) {
+ unsuspend: hn
+ }, Rl = null, Hu(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 = nh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? fd - Le() : (a & 4194048) === a ? pd - Le() : 0, m = eh(d, m), m !== null)) {
bd = a, e.cancelPendingCommit = m(ef.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Id(e, a, o, !l);
return;
}
@@ -11867,7 +11867,7 @@ var jc = /* @__PURE__ */ l(((e) => {
var i = n[r], a = i.getSnapshot;
i = i.value;
try {
- if (!Lr(a(), i)) return !1;
+ if (!Rr(a(), i)) return !1;
} catch {
return !1;
}
@@ -11885,12 +11885,12 @@ var jc = /* @__PURE__ */ l(((e) => {
return !0;
}
function Id(e, t, n, r) {
- t = it(e, t), t &= ~od, t &= ~ad, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
+ t = at(e, t), t &= ~od, t &= ~ad, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
for (var i = t; 0 < i;) {
- var a = 31 - Je(i), o = 1 << a;
+ var a = 31 - Ye(i), o = 1 << a;
r[a] = -1, i &= ~o;
}
- n !== 0 && ut(e, n, t);
+ n !== 0 && dt(e, n, t);
}
function Ld() {
return X & 6 ? !0 : (Ef(0, !1), !1);
@@ -11898,29 +11898,29 @@ var jc = /* @__PURE__ */ l(((e) => {
function Rd() {
if (Z !== null) {
if (Zu === 0) var e = Z.return;
- else e = Z, pa = fa = null, ts(e), to = null, no = 0, e = Z;
- for (; e !== null;) yl(e.alternate, e), e = e.return;
+ else e = Z, pa = fa = null, ns(e), to = null, no = 0, e = Z;
+ for (; e !== null;) bl(e.alternate, e), e = e.return;
Z = null;
}
}
function zd(e, t) {
var n = e.timeoutHandle;
- return n !== -1 && (e.timeoutHandle = -1, _p(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), bd = 0, Rd(), Xu = e, Z = n = Ai(e.current, null), Q = t, Zu = 0, Qu = null, $u = !1, ed = rt(e, t), td = !1, cd = sd = od = ad = id = rd = 0, ud = ld = null, dd = !1, nd = it(e, t), bi(), n;
+ return n !== -1 && (e.timeoutHandle = -1, _p(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), bd = 0, Rd(), Xu = e, Z = n = Ai(e.current, null), Q = t, Zu = 0, Qu = null, $u = !1, ed = it(e, t), td = !1, cd = sd = od = ad = id = rd = 0, ud = ld = null, dd = !1, nd = at(e, t), bi(), n;
}
function Bd(e, t) {
- W = null, R.H = dc, t === Ga || t === qa ? (t = $a(), Zu = 3) : t === Ka ? (t = $a(), Zu = 4) : Zu = t === kc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, Qu = t, Z === null && (rd = 1, Cc(e, Ri(t, e.current)));
+ W = null, L.H = fc, t === Ga || t === qa ? (t = $a(), Zu = 3) : t === Ka ? (t = $a(), Zu = 4) : Zu = t === Ac ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, Qu = t, Z === null && (rd = 1, wc(e, Ri(t, e.current)));
}
function Vd() {
var e = Do.current;
return e === null ? !0 : (Q & 4194048) === Q ? Oo === null : (Q & 62914560) === Q || Q & 536870912 ? e === Oo : !1;
}
function Hd() {
- var e = R.H;
- return R.H = dc, e === null ? dc : e;
+ var e = L.H;
+ return L.H = fc, e === null ? fc : e;
}
function Ud() {
- var e = R.A;
- return R.A = Ju, e;
+ var e = L.A;
+ return L.A = Ju, e;
}
function Wd() {
rd = 4, $u || (Q & 4194048) !== Q && Do.current !== null || (ed = !0), !(id & 134217727) && !(ad & 134217727) || Xu === null || Id(Xu, Q, sd, !1);
@@ -11959,7 +11959,7 @@ var jc = /* @__PURE__ */ l(((e) => {
Bd(e, t);
}
while (1);
- return t && e.shellSuspendCounter++, pa = fa = null, X = r, R.H = i, R.A = a, Z === null && (Xu = null, Q = 0, bi()), o;
+ return t && e.shellSuspendCounter++, pa = fa = null, X = r, L.H = i, L.A = a, Z === null && (Xu = null, Q = 0, bi()), o;
}
function Kd() {
for (; Z !== null;) Yd(Z);
@@ -11968,7 +11968,7 @@ var jc = /* @__PURE__ */ l(((e) => {
var n = X;
X |= 2;
var r = Hd(), a = Ud();
- Xu !== e || Q !== t ? (hd = null, md = Ie() + 500, zd(e, t)) : ed = rt(e, t);
+ Xu !== e || Q !== t ? (hd = null, md = Le() + 500, zd(e, t)) : ed = it(e, t);
a: do
try {
if (Zu !== 0 && Z !== null) {
@@ -12032,13 +12032,13 @@ var jc = /* @__PURE__ */ l(((e) => {
Bd(e, t);
}
while (1);
- return pa = fa = null, R.H = r, R.A = a, X = n, Z === null ? (Xu = null, Q = 0, bi(), rd) : 0;
+ return pa = fa = null, L.H = r, L.A = a, X = n, Z === null ? (Xu = null, Q = 0, bi(), rd) : 0;
}
function Jd() {
- for (; Z !== null && !Pe();) Yd(Z);
+ for (; Z !== null && !Fe();) Yd(Z);
}
function Yd(e) {
- var t = ul(e.alternate, e, nd);
+ var t = dl(e.alternate, e, nd);
e.memoizedProps = e.pendingProps, t === null ? Qd(e) : Z = t;
}
function Xd(e) {
@@ -12046,30 +12046,30 @@ var jc = /* @__PURE__ */ l(((e) => {
switch (t.tag) {
case 15:
case 0:
- t = Wc(n, t, t.pendingProps, t.type, void 0, Q);
+ t = Gc(n, t, t.pendingProps, t.type, void 0, Q);
break;
case 11:
- t = Wc(n, t, t.pendingProps, t.type.render, t.ref, Q);
+ t = Gc(n, t, t.pendingProps, t.type.render, t.ref, Q);
break;
case 5:
- ts(t);
+ ns(t);
var r = t;
r === $i && (U ? (oa(r), r.tag === 5 && r.stateNode != null && (ea = r.stateNode)) : (oa(r), U = !0));
- default: yl(n, t), t = Z = ji(t, nd), t = ul(n, t, nd);
+ default: bl(n, t), t = Z = ji(t, nd), t = dl(n, t, nd);
}
e.memoizedProps = e.pendingProps, t === null ? Qd(e) : Z = t;
}
function Zd(e, t, n, r) {
- pa = fa = null, ts(t), to = null, no = 0;
+ pa = fa = null, ns(t), to = null, no = 0;
var i = t.return;
try {
- if (Oc(e, i, t, n, Q)) {
- rd = 1, Cc(e, Ri(n, e.current)), Z = null;
+ if (kc(e, i, t, n, Q)) {
+ rd = 1, wc(e, Ri(n, e.current)), Z = null;
return;
}
} catch (t) {
if (i !== null) throw Z = i, t;
- rd = 1, Cc(e, Ri(n, e.current)), Z = null;
+ rd = 1, wc(e, Ri(n, e.current)), Z = null;
return;
}
t.flags & 32768 ? (U || r === 1 ? e = !0 : ed || Q & 536870912 ? e = !1 : ($u = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Do.current, r !== null && r.tag === 13 && (r.flags |= 16384))), $d(t, e)) : Qd(t);
@@ -12082,7 +12082,7 @@ var jc = /* @__PURE__ */ l(((e) => {
return;
}
e = t.return;
- var n = _l(t.alternate, t, nd);
+ var n = vl(t.alternate, t, nd);
if (n !== null) {
Z = n;
return;
@@ -12097,7 +12097,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function $d(e, t) {
do {
- var n = vl(e.alternate, e);
+ var n = yl(e.alternate, e);
if (n !== null) {
n.flags &= 32767, Z = n;
return;
@@ -12123,17 +12123,17 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function tf(e, t, n, r, i, a, o) {
var s = t.lanes | t.childLanes;
- if (xd = s, s |= yi, lt(e, n, s, r, i, a), Td = null, (n & 335544064) === n ? (Ed = Ma(e), r = 10262) : (Ed = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, vf(Be, function() {
+ if (xd = s, s |= yi, ut(e, n, s, r, i, a), Td = null, (n & 335544064) === n ? (Ed = Ma(e), r = 10262) : (Ed = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, vf(Ve, function() {
return uf(), null;
- })) : (e.callbackNode = null, e.callbackPriority = 0), Il = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
- r = R.T, R.T = null, i = z.p, z.p = 2, a = X, X |= 4;
+ })) : (e.callbackNode = null, e.callbackPriority = 0), Ll = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
+ r = L.T, L.T = null, i = R.p, R.p = 2, a = X, X |= 4;
try {
- uu(e, t, n);
+ du(e, t, n);
} finally {
- X = a, z.p = i, R.T = r;
+ X = a, R.p = i, L.T = r;
}
}
- _d = 1, Il ? wd = Mp(o, e.containerInfo, Ed, af, of, rf, sf, uf, nf, null, null) : (af(), of(), sf());
+ _d = 1, Ll ? wd = Mp(o, e.containerInfo, Ed, af, of, rf, sf, uf, nf, null, null) : (af(), of(), sf());
}
function nf(e) {
if (_d !== 0) {
@@ -12149,16 +12149,16 @@ var jc = /* @__PURE__ */ l(((e) => {
_d = 0;
var e = vd, t = yd, n = bd, r = !!(t.flags & 13878);
if (t.subtreeFlags & 13878 || r) {
- r = R.T, R.T = null;
- var i = z.p;
- z.p = 2;
+ r = L.T, L.T = null;
+ var i = R.p;
+ R.p = 2;
var a = X;
X |= 4;
try {
- su = cu = !1, Eu(t, e, n), n = cp;
- var o = Ur(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
- if (o !== s && s && s.ownerDocument && Hr(s.ownerDocument.documentElement, s)) {
- if (c !== null && Wr(s)) {
+ cu = lu = !1, Du(t, e, n), n = cp;
+ 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 {
@@ -12166,7 +12166,7 @@ var jc = /* @__PURE__ */ l(((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 _ = Vr(s, h), v = Vr(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));
@@ -12186,7 +12186,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
gh = !!sp, cp = sp = null;
} finally {
- X = a, z.p = i, R.T = r;
+ X = a, R.p = i, L.T = r;
}
}
e.current = t, _d = 2;
@@ -12197,15 +12197,15 @@ var jc = /* @__PURE__ */ l(((e) => {
_d = 0;
var e = vd, t = yd, n = !!(t.flags & 8772);
if (t.subtreeFlags & 8772 || n) {
- n = R.T, R.T = null;
- var r = z.p;
- z.p = 2;
+ n = L.T, L.T = null;
+ var r = R.p;
+ R.p = 2;
var i = X;
X |= 4;
try {
- fu(e, t.alternate, t);
+ pu(e, t.alternate, t);
} finally {
- X = i, z.p = r, R.T = n;
+ X = i, R.p = r, L.T = n;
}
}
_d = 3;
@@ -12215,20 +12215,20 @@ var jc = /* @__PURE__ */ l(((e) => {
if (_d === 4 || _d === 3) {
_d = 0;
var e = wd;
- wd = null, Fe();
+ wd = null, Ie();
var t = vd, n = yd, r = bd, i = Cd, a = (r & 335544064) === r ? 10262 : 10256;
- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? _d = 5 : (_d = 0, yd = vd = null, cf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (gd = null), mt(r), n = n.stateNode, Ke && typeof Ke.onCommitFiberRoot == "function") try {
- Ke.onCommitFiberRoot(Ge, n, void 0, (n.current.flags & 128) == 128);
+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? _d = 5 : (_d = 0, yd = vd = null, cf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (gd = 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 = z.p, z.p = 2, R.T = null;
+ n = L.T, a = R.p, R.p = 2, L.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, z.p = a;
+ L.T = n, R.p = a;
}
}
if (i = Td, o = Ed, Ed = null, i !== null && (Td = 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);
@@ -12245,22 +12245,22 @@ var jc = /* @__PURE__ */ l(((e) => {
if (_d !== 5) return !1;
var e = vd, t = xd;
xd = 0;
- var n = mt(bd), r = R.T, a = z.p;
+ var n = ht(bd), r = L.T, a = R.p;
try {
- z.p = 32 > n ? 32 : n, R.T = null, n = Sd, Sd = null;
+ R.p = 32 > n ? 32 : n, L.T = null, n = Sd, Sd = null;
var o = vd, s = bd;
if (_d = 0, yd = vd = null, bd = 0, X & 6) throw Error(i(331));
var c = X;
- if (X |= 4, Gu(o.current), Lu(o, o.current, s, n), X = c, Ef(0, !1), Ke && typeof Ke.onPostCommitFiberRoot == "function") try {
- Ke.onPostCommitFiberRoot(Ge, o);
+ if (X |= 4, Gu(o.current), Lu(o, o.current, s, n), X = c, Ef(0, !1), qe && typeof qe.onPostCommitFiberRoot == "function") try {
+ qe.onPostCommitFiberRoot(Ke, o);
} catch {}
return !0;
} finally {
- z.p = a, R.T = r, cf(e, t);
+ R.p = a, L.T = r, cf(e, t);
}
}
function df(e, t, n) {
- t = Ri(n, t), t = Tc(e.stateNode, t, 2), e = mo(e, t, 2), e !== null && (ct(e, 2), Tf(e));
+ t = Ri(n, t), t = Ec(e.stateNode, t, 2), e = mo(e, t, 2), e !== null && (lt(e, 2), Tf(e));
}
function ff(e, t, n) {
if (e.tag === 3) df(e, e, n);
@@ -12272,7 +12272,7 @@ var jc = /* @__PURE__ */ l(((e) => {
if (t.tag === 1) {
var r = t.stateNode;
if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (gd === null || !gd.has(r))) {
- e = Ri(n, e), n = Ec(2), r = mo(t, n, 2), r !== null && (Dc(n, r, t, e), ct(r, 2), Tf(r));
+ e = Ri(n, e), n = Dc(2), r = mo(t, n, 2), r !== null && (Oc(n, r, t, e), lt(r, 2), Tf(r));
break;
}
}
@@ -12290,10 +12290,10 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function mf(e, t, n) {
var r = e.pingCache;
- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Xu === e && (Q & n) === n && (rd === 4 || rd === 3 && (Q & 62914560) === Q && 300 > Ie() - fd ? X & 2 ? od |= n : zd(e, 0) : od |= n, cd === Q && (cd = 0)), Tf(e);
+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Xu === e && (Q & n) === n && (rd === 4 || rd === 3 && (Q & 62914560) === Q && 300 > Le() - fd ? X & 2 ? od |= n : zd(e, 0) : od |= n, cd === Q && (cd = 0)), Tf(e);
}
function hf(e, t) {
- t === 0 && (t = ot()), e = Ci(e, t), e !== null && (ct(e, t), Tf(e));
+ t === 0 && (t = st()), e = Ci(e, t), e !== null && (lt(e, t), Tf(e));
}
function gf(e) {
var t = e.memoizedState, n = 0;
@@ -12318,7 +12318,7 @@ var jc = /* @__PURE__ */ l(((e) => {
r !== null && r.delete(t), hf(e, n);
}
function vf(e, t) {
- return Me(e, t);
+ return Ne(e, t);
}
var yf = null, bf = null, xf = !1, Sf = !1, Cf = !1, wf = 0;
function Tf(e) {
@@ -12335,10 +12335,10 @@ var jc = /* @__PURE__ */ l(((e) => {
if (i === 0) var a = 0;
else {
var o = r.suspendedLanes, s = r.pingedLanes;
- a = (1 << 31 - Je(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, jf(r, a));
- } else a = Q, a = nt(r, r === Xu ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || rt(r, a) || (n = !0, jf(r, a));
+ } else a = Q, a = rt(r, r === Xu ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || it(r, a) || (n = !0, jf(r, a));
}
r = r.next;
}
@@ -12353,7 +12353,7 @@ var jc = /* @__PURE__ */ l(((e) => {
Sf = xf = !1;
var e = 0;
wf !== 0 && hp() && (e = wf);
- for (var t = Ie(), n = null, r = yf; r !== null;) {
+ for (var t = Le(), n = null, r = yf; r !== null;) {
var i = r.next, a = kf(r, t);
a === 0 ? (r.next = null, n === null ? yf = i : n.next = i, i === null && (bf = n)) : (n = r, (e !== 0 || a & 3) && (Sf = !0)), r = i;
}
@@ -12361,35 +12361,35 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function kf(e, t) {
for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {
- var o = 31 - Je(a), s = 1 << o, c = i[o];
- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = at(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 = Xu, n = Q, n = nt(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (Zu === 2 || Zu === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Ne(r), e.callbackNode = null, e.callbackPriority = 0;
- if (!(n & 3) || rt(e, n)) {
+ if (t = Xu, n = Q, n = rt(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (Zu === 2 || Zu === 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 && Ne(r), mt(n)) {
+ switch (r !== null && Pe(r), ht(n)) {
case 2:
case 8:
- n = ze;
+ n = Be;
break;
case 32:
- n = Be;
+ n = Ve;
break;
case 268435456:
- n = He;
+ n = Ue;
break;
- default: n = Be;
+ default: n = Ve;
}
- return r = Af.bind(null, e), n = Me(n, r), e.callbackPriority = t, e.callbackNode = n, t;
+ return r = Af.bind(null, e), n = Ne(n, r), e.callbackPriority = t, e.callbackNode = n, t;
}
- return r !== null && r !== null && Ne(r), e.callbackPriority = 2, e.callbackNode = null, 2;
+ return r !== null && r !== null && Pe(r), e.callbackPriority = 2, e.callbackNode = null, 2;
}
function Af(e, t) {
if (_d !== 0 && _d !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
var n = e.callbackNode;
if (lf() && e.callbackNode !== n) return null;
var r = Q;
- return r = nt(e, e === Xu ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Nd(e, r, t), kf(e, Ie()), e.callbackNode != null && e.callbackNode === n ? Af.bind(null, e) : null);
+ return r = rt(e, e === Xu ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Nd(e, r, t), kf(e, Le()), e.callbackNode != null && e.callbackNode === n ? Af.bind(null, e) : null);
}
function jf(e, t) {
if (lf()) return null;
@@ -12397,24 +12397,24 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function Mf() {
bp(function() {
- X & 6 ? Me(Re, Df) : Of();
+ X & 6 ? Ne(ze, Df) : Of();
});
}
function Nf() {
if (wf === 0) {
var e = Fa;
- e === 0 && (e = Qe, Qe <<= 1, !(Qe & 261888) && (Qe = 256)), wf = e;
+ e === 0 && (e = $e, $e <<= 1, !($e & 261888) && ($e = 256)), wf = e;
}
return wf;
}
function Pf(e) {
- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : pn(e);
+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : mn(e);
}
function Ff(e, t, n, r, i) {
if (t === "submit" && n && n.stateNode === i) {
- var a = Pf((i[yt] || null).action), o = r.submitter;
- o && (t = (t = o[yt] || null) ? Pf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
- var s = new Fn("action", "action", null, r, i);
+ var a = Pf((i[bt] || null).action), o = r.submitter;
+ o && (t = (t = o[bt] || null) ? Pf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
+ var s = new In("action", "action", null, r, i);
e.push({
event: s,
listeners: [{
@@ -12423,14 +12423,14 @@ var jc = /* @__PURE__ */ l(((e) => {
if (r.defaultPrevented) {
if (wf !== 0) {
var e = new FormData(i, o);
- Zs(n, {
+ Qs(n, {
pending: !0,
data: e,
method: i.method,
action: a
}, null, e);
}
- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), Zs(n, {
+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), Qs(n, {
pending: !0,
data: e,
method: i.method,
@@ -12446,12 +12446,12 @@ var jc = /* @__PURE__ */ l(((e) => {
var Lf = ui[If];
di(Lf.toLowerCase(), "on" + (Lf[0].toUpperCase() + Lf.slice(1)));
}
- di(ni, "onAnimationEnd"), di(ri, "onAnimationIteration"), di(ii, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(ai, "onTransitionRun"), di(oi, "onTransitionStart"), di(si, "onTransitionCancel"), di(ci, "onTransitionEnd"), Lt("onMouseEnter", ["mouseout", "mouseover"]), Lt("onMouseLeave", ["mouseout", "mouseover"]), Lt("onPointerEnter", ["pointerout", "pointerover"]), Lt("onPointerLeave", ["pointerout", "pointerover"]), It("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), It("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), It("onBeforeInput", [
+ di(ni, "onAnimationEnd"), di(ri, "onAnimationIteration"), di(ii, "onAnimationStart"), di("dblclick", "onDoubleClick"), di("focusin", "onFocus"), di("focusout", "onBlur"), di(ai, "onTransitionRun"), di(oi, "onTransitionStart"), di(si, "onTransitionCancel"), di(ci, "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"
- ]), It("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), It("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), It("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
+ ]), 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 Rf = "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(" "), zf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Rf));
function Bf(e, t) {
t = !!(t & 4);
@@ -12485,8 +12485,8 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
function $(e, t) {
- var n = t[xt];
- n === void 0 && (n = t[xt] = /* @__PURE__ */ new Set());
+ var n = t[St];
+ n === void 0 && (n = t[St] = /* @__PURE__ */ new Set());
var r = e + "__bubble";
n.has(r) || (Wf(t, e, 2, !1), n.add(r));
}
@@ -12497,7 +12497,7 @@ var jc = /* @__PURE__ */ l(((e) => {
var Hf = "_reactListening" + Math.random().toString(36).slice(2);
function Uf(e) {
if (!e[Hf]) {
- e[Hf] = !0, Pt.forEach(function(t) {
+ e[Hf] = !0, Ft.forEach(function(t) {
t !== "selectionchange" && (zf.has(t) || Vf(t, !1, e), Vf(t, !0, e));
});
var t = e.nodeType === 9 ? e : e.ownerDocument;
@@ -12514,7 +12514,7 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
default: i = yh;
}
- n = i.bind(null, t, n, e), i = void 0, !wn || 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, !Tn || 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 });
@@ -12533,7 +12533,7 @@ var jc = /* @__PURE__ */ l(((e) => {
s = s.return;
}
for (; c !== null;) {
- if (s = Ot(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;
@@ -12543,27 +12543,27 @@ var jc = /* @__PURE__ */ l(((e) => {
}
r = r.return;
}
- xn(function() {
- var r = a, i = gn(n), s = [];
+ Sn(function() {
+ var r = a, i = _n(n), s = [];
a: {
var c = li.get(e);
if (c !== void 0) {
- var l = Fn, u = e;
+ var l = In, u = e;
switch (e) {
- case "keypress": if (An(n) === 0) break a;
+ case "keypress": if (jn(n) === 0) break a;
case "keydown":
case "keyup":
- l = $n;
+ l = er;
break;
case "focusin":
- u = "focus", l = Wn;
+ u = "focus", l = Gn;
break;
case "focusout":
- u = "blur", l = Wn;
+ u = "blur", l = Gn;
break;
case "beforeblur":
case "afterblur":
- l = Wn;
+ l = Gn;
break;
case "click": if (n.button === 2) break a;
case "auxclick":
@@ -12574,7 +12574,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case "mouseout":
case "mouseover":
case "contextmenu":
- l = Hn;
+ l = Un;
break;
case "drag":
case "dragend":
@@ -12584,33 +12584,33 @@ var jc = /* @__PURE__ */ l(((e) => {
case "dragover":
case "dragstart":
case "drop":
- l = Un;
+ l = Wn;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
- l = nr;
+ l = rr;
break;
case ni:
case ri:
case ii:
- l = Gn;
+ l = Kn;
break;
case ci:
- l = rr;
+ l = ir;
break;
case "scroll":
case "scrollend":
- l = Ln;
+ l = Rn;
break;
case "wheel":
- l = ir;
+ l = ar;
break;
case "copy":
case "cut":
case "paste":
- l = Kn;
+ l = qn;
break;
case "gotpointercapture":
case "lostpointercapture":
@@ -12620,19 +12620,19 @@ var jc = /* @__PURE__ */ l(((e) => {
case "pointerout":
case "pointerover":
case "pointerup":
- l = er;
+ l = tr;
break;
case "submit":
- l = tr;
+ l = nr;
break;
case "toggle":
- case "beforetoggle": l = ar;
+ 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 = Sn(m, p), g != null && d.push(Kf(m, g, h))), f) break;
+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Cn(m, p), g != null && d.push(Kf(m, g, h))), f) break;
m = m.return;
}
0 < d.length && (c = new l(c, u, null, n, i), s.push({
@@ -12643,45 +12643,45 @@ var jc = /* @__PURE__ */ l(((e) => {
}
if (!(t & 7)) {
a: {
- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== hn && (u = n.relatedTarget || n.fromElement) && (Ot(u) || u[bt])) 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 ? Ot(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 = Hn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = er, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : At(c), h = l == null ? u : At(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Ot(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, Jf) : null, c !== null && Yf(s, u, c, d, !1), l !== null && f !== null && Yf(s, f, l, d, !0)));
+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== gn && (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 ? w(c, l, Jf) : null, c !== null && Yf(s, u, c, d, !1), l !== null && f !== null && Yf(s, f, l, d, !0)));
}
a: {
- if (c = r ? At(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;
- else if (yr(c)) {
- if (Er) _ = Fr;
+ 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 {
- _ = Nr;
- var v = Mr;
+ _ = Pr;
+ var v = Nr;
}
- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && ln(r.elementType) && (_ = Tr) : _ = Pr;
+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && un(r.elementType) && (_ = Er) : _ = Fr;
if (_ &&= _(e, r)) {
- br(s, _, n, i);
+ xr(s, _, n, i);
break a;
}
v && v(e, c, r);
}
- switch (v = r ? At(r) : window, e) {
+ switch (v = r ? jt(r) : window, e) {
case "focusin":
- (yr(v) || v.contentEditable === "true") && (Kr = v, qr = r, Jr = null);
+ (br(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);
break;
case "focusout":
- Jr = qr = Kr = null;
+ Yr = Jr = qr = null;
break;
case "mousedown":
- Yr = !0;
+ Xr = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
- Yr = !1, Xr(s, n, i);
+ Xr = !1, Zr(s, n, i);
break;
- case "selectionchange": if (Gr) break;
+ case "selectionchange": if (Kr) break;
case "keydown":
- case "keyup": Xr(s, n, i);
+ case "keyup": Zr(s, n, i);
}
var y;
- if (sr) b: {
+ if (cr) b: {
switch (e) {
case "compositionstart":
var b = "onCompositionStart";
@@ -12695,11 +12695,11 @@ var jc = /* @__PURE__ */ l(((e) => {
}
b = void 0;
}
- else hr ? pr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
- b && (ur && n.locale !== "ko" && (hr || b !== "onCompositionStart" ? b === "onCompositionEnd" && hr && (y = kn()) : (En = i, Dn = "value" in En ? En.value : En.textContent, hr = !0)), v = qf(r, b), 0 < v.length && (b = new qn(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 = An()) : (Dn = i, On = "value" in Dn ? Dn.value : Dn.textContent, gr = !0)), v = qf(r, b), 0 < v.length && (b = new Jn(b, e, null, n, i), s.push({
event: b,
listeners: v
- }), y ? b.data = y : (y = mr(n), y !== null && (b.data = y)))), (y = lr ? gr(e, n) : _r(e, n)) && (b = qf(r, "onBeforeInput"), 0 < b.length && (v = new qn("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 = qf(r, "onBeforeInput"), 0 < b.length && (v = new Jn("onBeforeInput", "beforeinput", null, n, i), s.push({
event: v,
listeners: b
}), v.data = y)), Ff(s, e, r, n, i);
@@ -12717,7 +12717,7 @@ var jc = /* @__PURE__ */ l(((e) => {
function qf(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 = Sn(e, n), i != null && r.unshift(Kf(e, i, a)), i = Sn(e, t), i != null && r.push(Kf(e, i, a))), e.tag === 3) return r;
+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Cn(e, n), i != null && r.unshift(Kf(e, i, a)), i = Cn(e, t), i != null && r.push(Kf(e, i, a))), e.tag === 3) return r;
e = e.return;
}
return [];
@@ -12733,7 +12733,7 @@ var jc = /* @__PURE__ */ l(((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 = Sn(n, a), l != null && o.unshift(Kf(n, l, c))) : i || (l = Sn(n, a), l != null && o.push(Kf(n, l, c)))), n = n.return;
+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Cn(n, a), l != null && o.unshift(Kf(n, l, c))) : i || (l = Cn(n, a), l != null && o.push(Kf(n, l, c)))), n = n.return;
}
o.length !== 0 && e.push({
event: t,
@@ -12750,28 +12750,28 @@ var jc = /* @__PURE__ */ l(((e) => {
function ep(e, t, n, r, a, o) {
switch (n) {
case "children":
- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || an(e, r);
- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && an(e, "" + r);
+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || on(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && on(e, "" + r);
else return;
break;
case "className":
- Ut(e, "class", r);
+ Wt(e, "class", r);
break;
case "tabIndex":
- Ut(e, "tabindex", r);
+ Wt(e, "tabindex", r);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
- Ut(e, n, r);
+ Wt(e, n, r);
break;
case "style":
- cn(e, r, o);
+ ln(e, r, o);
return;
case "data": if (t !== "object") {
- Ut(e, "data", r);
+ Wt(e, "data", r);
break;
}
case "src":
@@ -12784,7 +12784,7 @@ var jc = /* @__PURE__ */ l(((e) => {
e.removeAttribute(n);
break;
}
- r = pn(r), e.setAttribute(n, r);
+ r = mn(r), e.setAttribute(n, r);
break;
case "action":
case "formAction":
@@ -12796,10 +12796,10 @@ var jc = /* @__PURE__ */ l(((e) => {
e.removeAttribute(n);
break;
}
- r = pn(r), e.setAttribute(n, r);
+ r = mn(r), e.setAttribute(n, r);
break;
case "onClick":
- r != null && (e.onclick = mn);
+ r != null && (e.onclick = hn);
return;
case "onScroll":
r != null && $("scroll", e);
@@ -12834,7 +12834,7 @@ var jc = /* @__PURE__ */ l(((e) => {
e.removeAttribute("xlink:href");
break;
}
- n = pn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
+ n = mn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
break;
case "contentEditable":
case "spellCheck":
@@ -12887,49 +12887,49 @@ var jc = /* @__PURE__ */ l(((e) => {
r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);
break;
case "popover":
- $("beforetoggle", e), $("toggle", e), Ht(e, "popover", r);
+ $("beforetoggle", e), $("toggle", e), Ut(e, "popover", r);
break;
case "xlinkActuate":
- Wt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
+ Gt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
break;
case "xlinkArcrole":
- Wt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
+ Gt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
break;
case "xlinkRole":
- Wt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
+ Gt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
break;
case "xlinkShow":
- Wt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
+ Gt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
break;
case "xlinkTitle":
- Wt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
+ Gt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
break;
case "xlinkType":
- Wt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
+ Gt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
break;
case "xmlBase":
- Wt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
+ Gt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
break;
case "xmlLang":
- Wt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
+ Gt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
break;
case "xmlSpace":
- Wt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
+ Gt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
break;
case "is":
- Ht(e, "is", r);
+ Ut(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 = un.get(n) || n, Ht(e, n, r);
+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = dn.get(n) || n, Ut(e, n, r);
else return;
}
- H = !0;
+ V = !0;
}
function tp(e, t, n, r, a, o) {
switch (n) {
case "style":
- cn(e, r, o);
+ ln(e, r, o);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -12941,8 +12941,8 @@ var jc = /* @__PURE__ */ l(((e) => {
}
break;
case "children":
- if (typeof r == "string") an(e, r);
- else if (typeof r == "number" || typeof r == "bigint") an(e, "" + r);
+ if (typeof r == "string") on(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") on(e, "" + r);
else return;
break;
case "onScroll":
@@ -12952,7 +12952,7 @@ var jc = /* @__PURE__ */ l(((e) => {
r != null && $("scrollend", e);
return;
case "onClick":
- r != null && (e.onclick = mn);
+ r != null && (e.onclick = hn);
return;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
@@ -12961,16 +12961,16 @@ var jc = /* @__PURE__ */ l(((e) => {
case "innerText":
case "textContent": return;
default:
- if (!Ft.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[yt] || 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;
}
- H = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Ht(e, n, r);
+ V = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Ut(e, n, r);
}
return;
}
- H = !0;
+ V = !0;
}
function np(e, t, n) {
switch (t) {
@@ -13032,7 +13032,7 @@ var jc = /* @__PURE__ */ l(((e) => {
default: ep(e, t, r, d, n, null);
}
}
- $t(e, o, c, l, u, s, a, !1);
+ en(e, o, c, l, u, s, a, !1);
return;
case "select":
for (a in $("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
@@ -13045,7 +13045,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case "multiple": r = c;
default: ep(e, t, a, c, n, null);
}
- t = o, n = s, e.multiple = !!r, t == null ? n != null && tn(e, !!r, n, !0) : tn(e, !!r, t, !1);
+ t = o, n = s, e.multiple = !!r, t == null ? n != null && nn(e, !!r, n, !0) : nn(e, !!r, t, !1);
return;
case "textarea":
for (s in $("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
@@ -13063,7 +13063,7 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
default: ep(e, t, s, c, n, null);
}
- rn(e, r, a, o);
+ an(e, r, a, o);
return;
case "option":
for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {
@@ -13110,7 +13110,7 @@ var jc = /* @__PURE__ */ l(((e) => {
default: ep(e, t, u, r, n, null);
}
return;
- default: if (ln(t)) {
+ default: if (un(t)) {
for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && tp(e, t, d, r, n, void 0));
return;
}
@@ -13143,22 +13143,22 @@ var jc = /* @__PURE__ */ l(((e) => {
var m = r[p];
if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {
case "type":
- m !== f && (H = !0), o = m;
+ m !== f && (V = !0), o = m;
break;
case "name":
- m !== f && (H = !0), a = m;
+ m !== f && (V = !0), a = m;
break;
case "checked":
- m !== f && (H = !0), u = m;
+ m !== f && (V = !0), u = m;
break;
case "defaultChecked":
- m !== f && (H = !0), d = m;
+ m !== f && (V = !0), d = m;
break;
case "value":
- m !== f && (H = !0), s = m;
+ m !== f && (V = !0), s = m;
break;
case "defaultValue":
- m !== f && (H = !0), c = m;
+ m !== f && (V = !0), c = m;
break;
case "children":
case "dangerouslySetInnerHTML":
@@ -13167,7 +13167,7 @@ var jc = /* @__PURE__ */ l(((e) => {
default: m !== f && ep(e, t, p, m, r, f);
}
}
- Qt(e, s, c, l, u, d, o, a);
+ $t(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) {
@@ -13177,15 +13177,15 @@ var jc = /* @__PURE__ */ l(((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 && (H = !0), p = o;
+ o !== l && (V = !0), p = o;
break;
case "defaultValue":
- o !== l && (H = !0), c = o;
+ o !== l && (V = !0), c = o;
break;
- case "multiple": o !== l && (H = !0), s = o;
+ case "multiple": o !== l && (V = !0), s = o;
default: o !== l && ep(e, t, a, o, r, l);
}
- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? tn(e, !!n, n ? [] : "", !1) : tn(e, !!n, t, !0)) : tn(e, !!n, p, !1);
+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? nn(e, !!n, n ? [] : "", !1) : nn(e, !!n, t, !0)) : nn(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) {
@@ -13195,10 +13195,10 @@ var jc = /* @__PURE__ */ l(((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 && (H = !0), p = a;
+ a !== o && (V = !0), p = a;
break;
case "defaultValue":
- a !== o && (H = !0), m = a;
+ a !== o && (V = !0), m = a;
break;
case "children": break;
case "dangerouslySetInnerHTML":
@@ -13206,7 +13206,7 @@ var jc = /* @__PURE__ */ l(((e) => {
break;
default: a !== o && ep(e, t, s, a, r, o);
}
- nn(e, p, m);
+ rn(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) {
@@ -13217,7 +13217,7 @@ var jc = /* @__PURE__ */ l(((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 && (H = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
+ p !== m && (V = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
break;
default: ep(e, t, l, p, r, m);
}
@@ -13246,7 +13246,7 @@ var jc = /* @__PURE__ */ l(((e) => {
default: ep(e, t, u, p, r, m);
}
return;
- default: if (ln(t)) {
+ default: if (un(t)) {
for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && tp(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 || tp(e, t, d, p, r, m);
return;
@@ -13305,7 +13305,7 @@ var jc = /* @__PURE__ */ l(((e) => {
return e === 1 && t === "foreignObject" ? 0 : e;
}
function fp(e, t, n, r) {
- return n = lp(n).createElement(e), n[vt] = r, n[yt] = t, np(n, e, t), Mt(n), n;
+ return n = lp(n).createElement(e), n[yt] = r, n[bt] = t, np(n, e, t), Nt(n), n;
}
function pp(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;
@@ -13343,7 +13343,7 @@ var jc = /* @__PURE__ */ l(((e) => {
n = e.ownerDocument.head, _m(n);
for (var a = n.firstChild; a;) {
var o = a.nextSibling, s = a.nodeName;
- a[Tt] || 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" && _m(e.ownerDocument.body);
}
@@ -13674,7 +13674,7 @@ var jc = /* @__PURE__ */ l(((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 || Xp(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
};
function Xp(e, t, n, r, i) {
- var a = Ot(i);
+ var a = kt(i);
if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {
if (n = !!a) a: {
for (; a !== null;) {
@@ -13702,7 +13702,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return a;
}
- return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = w(n, a, C), 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, C), 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 = 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;
}
function Zp(e, t) {
var n = e.ownerDocument.createRange();
@@ -13771,7 +13771,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case "HTML":
case "HEAD":
case "BODY":
- nm(n), Dt(n);
+ nm(n), Ot(n);
continue;
case "SCRIPT":
case "STYLE": continue;
@@ -13790,7 +13790,7 @@ var jc = /* @__PURE__ */ l(((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[Tt]) switch (t) {
+ } else if (!e[Et]) switch (t) {
case "meta":
if (!e.hasAttribute("itemprop")) break;
return e;
@@ -13914,11 +13914,11 @@ var jc = /* @__PURE__ */ l(((e) => {
var i = n[r];
n.hasOwnProperty(r) && i != null && ep(e, t, r, null, rp, i);
}
- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === mn && (e.onclick = null), Dt(e);
+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === hn && (e.onclick = null), Ot(e);
}
function _m(e) {
for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
- Dt(e);
+ Ot(e);
}
var vm = /* @__PURE__ */ new Map(), ym = /* @__PURE__ */ new Set();
function bm(e) {
@@ -13928,8 +13928,8 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return e.nodeType === 9 ? e : e.ownerDocument;
}
- var xm = z.d;
- z.d = {
+ var xm = R.d;
+ R.d = {
f: Sm,
r: Cm,
D: Em,
@@ -13945,19 +13945,19 @@ var jc = /* @__PURE__ */ l(((e) => {
return e || t;
}
function Cm(e) {
- var t = kt(e);
- t !== null && t.tag === 5 && t.type === "form" ? $s(t) : xm.r(e);
+ var t = At(e);
+ t !== null && t.tag === 5 && t.type === "form" ? ec(t) : xm.r(e);
}
var wm = typeof document > "u" ? null : document;
function Tm(e, t, n) {
var r = wm;
if (r && typeof t == "string" && t) {
- var i = Zt(t);
+ var i = Qt(t);
i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), ym.has(i) || (ym.add(i), e = {
rel: e,
crossOrigin: n,
href: t
- }, r.querySelector(i) === null && (t = r.createElement("link"), np(t, "link", e), Mt(t), r.head.appendChild(t)));
+ }, r.querySelector(i) === null && (t = r.createElement("link"), np(t, "link", e), Nt(t), r.head.appendChild(t)));
}
}
function Em(e) {
@@ -13970,8 +13970,8 @@ var jc = /* @__PURE__ */ l(((e) => {
xm.L(e, t, n);
var r = wm;
if (r && e && t) {
- var i = "link[rel=\"preload\"][as=\"" + Zt(t) + "\"]";
- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + Zt(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + Zt(n.imageSizes) + "\"]")) : i += "[href=\"" + Zt(e) + "\"]";
+ var i = "link[rel=\"preload\"][as=\"" + Qt(t) + "\"]";
+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + Qt(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + Qt(n.imageSizes) + "\"]")) : i += "[href=\"" + Qt(e) + "\"]";
var a = i;
switch (t) {
case "style":
@@ -13985,9 +13985,9 @@ var jc = /* @__PURE__ */ l(((e) => {
as: t
}, n), vm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Fm(a)) || t === "script" && r.querySelector(zm(a))))) {
var o = r.createElement("link");
- np(o, "link", e), t === "style" && (o[Et] = !0, o.onload = o.onerror = function() {
- Nt(o);
- }), Mt(o), r.head.appendChild(o);
+ np(o, "link", e), t === "style" && (o[Dt] = !0, o.onload = o.onerror = function() {
+ Pt(o);
+ }), Nt(o), r.head.appendChild(o);
}
}
}
@@ -13995,7 +13995,7 @@ var jc = /* @__PURE__ */ l(((e) => {
xm.m(e, t);
var n = wm;
if (n && e) {
- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + Zt(r) + "\"][href=\"" + Zt(e) + "\"]", a = i;
+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + Qt(r) + "\"][href=\"" + Qt(e) + "\"]", a = i;
switch (r) {
case "audioworklet":
case "paintworklet":
@@ -14016,7 +14016,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case "worker":
case "script": if (n.querySelector(zm(a))) return;
}
- r = n.createElement("link"), np(r, "link", e), Mt(r), n.head.appendChild(r);
+ r = n.createElement("link"), np(r, "link", e), Nt(r), n.head.appendChild(r);
}
}
}
@@ -14024,7 +14024,7 @@ var jc = /* @__PURE__ */ l(((e) => {
xm.S(e, t, n);
var r = wm;
if (r && e) {
- var i = jt(r).hoistableStyles, a = Pm(e);
+ var i = Mt(r).hoistableStyles, a = Pm(e);
t ||= "default";
var o = i.get(a);
if (!o) {
@@ -14040,7 +14040,7 @@ var jc = /* @__PURE__ */ l(((e) => {
"data-precedence": t
}, n), (n = vm.get(a)) && Hm(e, n);
var c = o = r.createElement("link");
- Mt(c), np(c, "link", e), c._p = new Promise(function(e, t) {
+ Nt(c), np(c, "link", e), c._p = new Promise(function(e, t) {
c.onload = e, c.onerror = t;
}), c.addEventListener("load", function() {
s.loading |= 1;
@@ -14061,11 +14061,11 @@ var jc = /* @__PURE__ */ l(((e) => {
xm.X(e, t);
var n = wm;
if (n && e) {
- var r = jt(n).hoistableScripts, i = Rm(e), a = r.get(i);
+ var r = Mt(n).hoistableScripts, i = Rm(e), a = r.get(i);
a || (a = n.querySelector(zm(i)), a || (e = T({
src: e,
async: !0
- }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), Mt(a), np(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), Nt(a), np(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -14077,12 +14077,12 @@ var jc = /* @__PURE__ */ l(((e) => {
xm.M(e, t);
var n = wm;
if (n && e) {
- var r = jt(n).hoistableScripts, i = Rm(e), a = r.get(i);
+ var r = Mt(n).hoistableScripts, i = Rm(e), a = r.get(i);
a || (a = n.querySelector(zm(i)), a || (e = T({
src: e,
async: !0,
type: "module"
- }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), Mt(a), np(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = vm.get(i)) && Um(e, t), a = n.createElement("script"), Nt(a), np(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -14091,12 +14091,12 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
function Nm(e, t, n, r) {
- var a = (a = ve.current) ? bm(a) : null;
+ var a = (a = ye.current) ? bm(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 = Pm(n.href), t = jt(a).hoistableStyles, r = t.get(n), r || (r = {
+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Pm(n.href), t = Mt(a).hoistableStyles, r = t.get(n), r || (r = {
type: "style",
instance: null,
count: 0,
@@ -14110,7 +14110,7 @@ var jc = /* @__PURE__ */ l(((e) => {
case "link":
if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
e = Pm(n.href);
- var o = jt(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,
@@ -14133,7 +14133,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
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 = Rm(n), t = jt(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 = Rm(n), t = Mt(a).hoistableScripts, r = t.get(n), r || (r = {
type: "script",
instance: null,
count: 0,
@@ -14148,7 +14148,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
function Pm(e) {
- return "href=\"" + Zt(e) + "\"";
+ return "href=\"" + Qt(e) + "\"";
}
function Fm(e) {
return "link[rel=\"stylesheet\"][" + e + "]";
@@ -14161,11 +14161,11 @@ var jc = /* @__PURE__ */ l(((e) => {
}
function Lm(e, t, n, r) {
if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {
- if (!0 !== t[Et]) {
+ if (!0 !== t[Dt]) {
r.loading = 1;
return;
}
- } else t = e.createElement("link"), t[Et] = !0, t.onload = t.onerror = Nt.bind(null, t), np(t, "link", n), Mt(t), e.head.appendChild(t);
+ } else t = e.createElement("link"), t[Dt] = !0, t.onload = t.onerror = Pt.bind(null, t), np(t, "link", n), Nt(t), e.head.appendChild(t);
r.preload = t, t.addEventListener("load", function() {
return r.loading |= 1;
}), t.addEventListener("error", function() {
@@ -14173,7 +14173,7 @@ var jc = /* @__PURE__ */ l(((e) => {
});
}
function Rm(e) {
- return "[src=\"" + Zt(e) + "\"]";
+ return "[src=\"" + Qt(e) + "\"]";
}
function zm(e) {
return "script[async]" + e;
@@ -14181,25 +14181,25 @@ var jc = /* @__PURE__ */ l(((e) => {
function Bm(e, t, n) {
if (t.count++, t.instance === null) switch (t.type) {
case "style":
- var r = e.querySelector("style[data-href~=\"" + Zt(n.href) + "\"]");
- if (r) return t.instance = r, Mt(r), r;
+ var r = e.querySelector("style[data-href~=\"" + Qt(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"), Mt(r), np(r, "style", a), Vm(r, n.precedence, e), t.instance = r;
+ return r = (e.ownerDocument || e).createElement("style"), Nt(r), np(r, "style", a), Vm(r, n.precedence, e), t.instance = r;
case "stylesheet":
a = Pm(n.href);
var o = e.querySelector(Fm(a));
- if (o) return t.state.loading |= 4, t.instance = o, Mt(o), o;
- r = Im(n), (a = vm.get(a)) && Hm(r, a), o = (e.ownerDocument || e).createElement("link"), Mt(o);
+ if (o) return t.state.loading |= 4, t.instance = o, Nt(o), o;
+ r = Im(n), (a = vm.get(a)) && Hm(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;
}), np(o, "link", r), t.state.loading |= 4, Vm(o, n.precedence, e), t.instance = o;
- case "script": return o = Rm(n.src), (a = e.querySelector(zm(o))) ? (t.instance = a, Mt(a), a) : (r = n, (a = vm.get(o)) && (r = T({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Mt(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);
+ case "script": return o = Rm(n.src), (a = e.querySelector(zm(o))) ? (t.instance = a, Nt(a), a) : (r = n, (a = vm.get(o)) && (r = T({}, n), Um(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Nt(a), np(a, "link", r), e.head.appendChild(a), t.instance = a);
case "void": return null;
default: throw Error(i(443, t.type));
}
@@ -14229,7 +14229,7 @@ var jc = /* @__PURE__ */ l(((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[Tt] || a[vt] || 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);
@@ -14276,10 +14276,10 @@ var jc = /* @__PURE__ */ l(((e) => {
if (n.instance === null) {
var i = Pm(r.href), a = t.querySelector(Fm(i));
if (a) {
- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = nh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Mt(a);
+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = nh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Nt(a);
return;
}
- a = t.ownerDocument || t, r = Im(r), (i = vm.get(i)) && Hm(r, i), a = a.createElement("link"), Mt(a);
+ a = t.ownerDocument || t, r = Im(r), (i = vm.get(i)) && Hm(r, i), a = a.createElement("link"), Nt(a);
var o = a;
o._p = new Promise(function(e, t) {
o.onload = e, o.onerror = t;
@@ -14344,15 +14344,15 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
var sh = {
- $$typeof: N,
+ $$typeof: M,
Provider: null,
Consumer: null,
- _currentValue: de,
- _currentValue2: de,
+ _currentValue: fe,
+ _currentValue2: fe,
_threadCount: 0
};
function ch(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 = st(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = st(0), this.hiddenUpdates = st(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 lh(e, t, n, r, i, a, o, s, c, l, u, d) {
return e = new ch(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Oi(3, null, null, t), e.current = a, a.stateNode = e, t = Oa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
@@ -14385,30 +14385,30 @@ var jc = /* @__PURE__ */ l(((e) => {
function hh(e) {
if (e.tag === 13 || e.tag === 31) {
var t = kd();
- t = pt(t);
+ t = mt(t);
var n = Ci(e, t);
n !== null && Md(n, e, t), ph(e, t);
}
}
var gh = !0;
function _h(e, t, n, r) {
- var i = R.T;
- R.T = null;
- var a = z.p;
+ var i = L.T;
+ L.T = null;
+ var a = R.p;
try {
- z.p = 2, yh(e, t, n, r);
+ R.p = 2, yh(e, t, n, r);
} finally {
- z.p = a, R.T = i;
+ R.p = a, L.T = i;
}
}
function vh(e, t, n, r) {
- var i = R.T;
- R.T = null;
- var a = z.p;
+ var i = L.T;
+ L.T = null;
+ var a = R.p;
try {
- z.p = 8, yh(e, t, n, r);
+ R.p = 8, yh(e, t, n, r);
} finally {
- z.p = a, R.T = i;
+ R.p = a, L.T = i;
}
}
function yh(e, t, n, r) {
@@ -14418,18 +14418,18 @@ var jc = /* @__PURE__ */ l(((e) => {
else if (Ph(i, e, t, n, r)) r.stopPropagation();
else if (Mh(e, r), t & 4 && -1 < jh.indexOf(e)) {
for (; i !== null;) {
- var a = kt(i);
+ var a = At(i);
if (a !== null) switch (a.tag) {
case 3:
if (a = a.stateNode, a.current.memoizedState.isDehydrated) {
- var o = tt(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 - Je(o);
+ var c = 1 << 31 - Ye(o);
s.entanglements[1] |= c, o &= ~c;
}
- Tf(a), !(X & 6) && (md = Ie() + 500, Ef(0, !1));
+ Tf(a), !(X & 6) && (md = Le() + 500, Ef(0, !1));
}
}
break;
@@ -14444,11 +14444,11 @@ var jc = /* @__PURE__ */ l(((e) => {
}
}
function bh(e) {
- return e = gn(e), Sh(e);
+ return e = _n(e), Sh(e);
}
var xh = null;
function Sh(e) {
- if (xh = null, e = Ot(e), e !== null) {
+ if (xh = null, e = kt(e), e !== null) {
var t = o(e);
if (t === null) e = null;
else {
@@ -14541,12 +14541,12 @@ var jc = /* @__PURE__ */ l(((e) => {
case "mouseleave":
case "pointerenter":
case "pointerleave": return 8;
- case "message": switch (Le()) {
- case Re: return 2;
- case ze: return 8;
- case Be:
- case Ve: return 32;
- case He: 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;
@@ -14582,7 +14582,7 @@ var jc = /* @__PURE__ */ l(((e) => {
eventSystemFlags: r,
nativeEvent: a,
targetContainers: [i]
- }, t !== null && (t = kt(t), t !== null && mh(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 && mh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
}
function Ph(e, t, n, r, i) {
switch (t) {
@@ -14597,20 +14597,20 @@ var jc = /* @__PURE__ */ l(((e) => {
return !1;
}
function Fh(e) {
- var t = Ot(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, gt(e.priority, function() {
+ e.blockedOn = t, _t(e.priority, function() {
hh(n);
});
return;
}
} else if (t === 31) {
if (t = c(n), t !== null) {
- e.blockedOn = t, gt(e.priority, function() {
+ e.blockedOn = t, _t(e.priority, function() {
hh(n);
});
return;
@@ -14630,8 +14630,8 @@ var jc = /* @__PURE__ */ l(((e) => {
if (n === null) {
n = e.nativeEvent;
var r = new n.constructor(n.type, n);
- hn = r, n.target.dispatchEvent(r), hn = null;
- } else return t = kt(n), t !== null && mh(t), e.blockedOn = n, !1;
+ gn = r, n.target.dispatchEvent(r), gn = null;
+ } else return t = At(n), t !== null && mh(t), e.blockedOn = n, !1;
t.shift();
}
return !0;
@@ -14655,8 +14655,8 @@ var jc = /* @__PURE__ */ l(((e) => {
if (Sh(r || n) === null) continue;
break;
}
- var a = kt(n);
- a !== null && (e.splice(t, 3), t -= 3, Zs(a, {
+ var a = At(n);
+ a !== null && (e.splice(t, 3), t -= 3, Qs(a, {
pending: !0,
data: i,
method: n.method,
@@ -14676,12 +14676,12 @@ var jc = /* @__PURE__ */ l(((e) => {
}
for (; 0 < Ah.length && (n = Ah[0], n.blockedOn === null);) Fh(n), n.blockedOn === null && Ah.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[yt] || null;
+ var i = n[r], a = n[r + 1], o = i[bt] || null;
if (typeof a == "function") o || Vh(n);
else if (o) {
var s = null;
if (a && a.hasAttribute("formAction")) {
- if (i = a, o = a[yt] || null) s = o.formAction;
+ if (i = a, o = a[bt] || null) s = o.formAction;
else if (Sh(i) !== null) continue;
} else s = o.action;
typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Vh(n);
@@ -14733,7 +14733,7 @@ var jc = /* @__PURE__ */ l(((e) => {
if (e !== null) {
this._internalRoot = null;
var t = e.containerInfo;
- dh(e.current, 2, null, e, null, null), Ld(), t[bt] = null;
+ dh(e.current, 2, null, e, null, null), Ld(), t[xt] = null;
}
};
function Gh(e) {
@@ -14741,7 +14741,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
Gh.prototype.unstable_scheduleHydration = function(e) {
if (e) {
- var t = ht();
+ var t = gt();
e = {
blockedOn: null,
target: e,
@@ -14753,7 +14753,7 @@ var jc = /* @__PURE__ */ l(((e) => {
};
var Kh = n.version;
if (Kh !== "19.3.0") throw Error(i(527, Kh, "19.3.0"));
- z.findDOMNode = function(e) {
+ R.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;
@@ -14762,21 +14762,21 @@ var jc = /* @__PURE__ */ l(((e) => {
bundleType: 0,
version: "19.3.0",
rendererPackageName: "react-dom",
- currentDispatcherRef: R,
+ currentDispatcherRef: L,
reconcilerVersion: "19.3.0"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
var Jh = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!Jh.isDisabled && Jh.supportsFiber) try {
- Ge = Jh.inject(qh), Ke = Jh;
+ Ke = Jh.inject(qh), qe = Jh;
} catch {}
}
e.createRoot = function(e, t) {
if (!a(e)) throw Error(i(299));
- var n = !1, r = "", o = bc, s = xc, c = Sc;
- 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 = lh(e, 1, !1, null, null, n, r, null, o, s, c, Uh), e[bt] = t.current, Uf(e), new Wh(t);
+ var n = !1, r = "", o = xc, s = Sc, c = Cc;
+ 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 = lh(e, 1, !1, null, null, n, r, null, o, s, c, Uh), e[xt] = t.current, Uf(e), new Wh(t);
};
-})), Pc = (/* @__PURE__ */ l(((e, t) => {
+})), Ic = (/* @__PURE__ */ u(((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);
@@ -14784,101 +14784,101 @@ var jc = /* @__PURE__ */ l(((e) => {
console.error(e);
}
}
- n(), t.exports = Nc();
-})))(), Fc = (e, t) => {
+ n(), t.exports = Fc();
+})))(), Lc = (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;
-}, Ic = (e, t) => ({
+}, Rc = (e, t) => ({
classGroupId: e,
validator: t
-}), Lc = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), zc = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), Rc = "-", zc = [], Bc = "arbitrary..", Vc = (e) => {
- let t = Wc(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), Bc = "-", Vc = [], Hc = "arbitrary..", Uc = (e) => {
+ let t = Kc(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Uc(e);
- let n = e.split(Rc);
- return Hc(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Gc(e);
+ let n = e.split(Bc);
+ return Wc(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Fc(i, t) : t : i || zc;
+ return t ? i ? Lc(i, t) : t : i || Vc;
}
- return n[e] || zc;
+ return n[e] || Vc;
}
};
-}, Hc = (e, t, n) => {
+}, Wc = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = Hc(e, t + 1, i);
+ let n = Wc(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(Rc) : e.slice(t).join(Rc), s = a.length;
+ let o = t === 0 ? e.join(Bc) : e.slice(t).join(Bc), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Uc = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Gc = (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 ? Bc + r : void 0;
-})(), Wc = (e) => {
+ return r ? Hc + r : void 0;
+})(), Kc = (e) => {
let { theme: t, classGroups: n } = e;
- return Gc(n, t);
-}, Gc = (e, t) => {
- let n = Lc();
+ return qc(n, t);
+}, qc = (e, t) => {
+ let n = zc();
for (let r in e) {
let i = e[r];
- Kc(i, n, r, t);
+ Jc(i, n, r, t);
}
return n;
-}, Kc = (e, t, n, r) => {
+}, Jc = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- qc(i, t, n, r);
+ Yc(i, t, n, r);
}
-}, qc = (e, t, n, r) => {
+}, Yc = (e, t, n, r) => {
if (typeof e == "string") {
- Jc(e, t, n);
+ Xc(e, t, n);
return;
}
if (typeof e == "function") {
- Yc(e, t, n, r);
+ Zc(e, t, n, r);
return;
}
- Xc(e, t, n, r);
-}, Jc = (e, t, n) => {
- let r = e === "" ? t : Zc(t, e);
+ Qc(e, t, n, r);
+}, Xc = (e, t, n) => {
+ let r = e === "" ? t : $c(t, e);
r.classGroupId = n;
-}, Yc = (e, t, n, r) => {
- if (Qc(e)) {
- Kc(e(r), t, n, r);
+}, Zc = (e, t, n, r) => {
+ if (el(e)) {
+ Jc(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(Ic(n, e));
-}, Xc = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(Rc(n, e));
+}, Qc = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- Kc(o, Zc(t, a), n, r);
+ Jc(o, $c(t, a), n, r);
}
-}, Zc = (e, t) => {
- let n = e, r = t.split(Rc), i = r.length;
+}, $c = (e, t) => {
+ let n = e, r = t.split(Bc), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = Lc(), n.nextPart.set(t, i)), n = i;
+ i || (i = zc(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Qc = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, $c = (e) => {
+}, el = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, tl = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -14896,19 +14896,19 @@ var jc = /* @__PURE__ */ l(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, el = "!", tl = ":", nl = [], rl = (e, t, n, r, i) => ({
+}, nl = "!", rl = ":", il = [], al = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), il = (e) => {
+}), ol = (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 === tl) {
+ if (o === rl) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -14920,13 +14920,13 @@ var jc = /* @__PURE__ */ l(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(el) ? (c = s.slice(0, -1), l = !0) : s.startsWith(el) && (c = s.slice(1), l = !0);
+ s.endsWith(nl) ? (c = s.slice(0, -1), l = !0) : s.startsWith(nl) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return rl(t, l, c, u);
+ return al(t, l, c, u);
};
if (t) {
- let e = t + tl, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : rl(nl, !1, t, void 0, !0);
+ let e = t + rl, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : al(il, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -14936,7 +14936,7 @@ var jc = /* @__PURE__ */ l(((e) => {
});
}
return r;
-}, al = (e) => {
+}, sl = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -14948,18 +14948,18 @@ var jc = /* @__PURE__ */ l(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, ol = (e) => ({
- cache: $c(e.cacheSize),
- parseClassName: il(e),
- sortModifiers: al(e),
- postfixLookupClassGroupIds: sl(e),
- ...Vc(e)
-}), sl = (e) => {
+}, cl = (e) => ({
+ cache: tl(e.cacheSize),
+ parseClassName: ol(e),
+ sortModifiers: sl(e),
+ postfixLookupClassGroupIds: ll(e),
+ ...Uc(e)
+}), ll = (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;
-}, cl = /\s+/, ll = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(cl), l = "";
+}, ul = /\s+/, dl = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(ul), 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) {
@@ -14983,7 +14983,7 @@ var jc = /* @__PURE__ */ l(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + el : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + nl : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -14994,34 +14994,34 @@ var jc = /* @__PURE__ */ l(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, ul = (...e) => {
+}, fl = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = dl(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = pl(n)) && (i && (i += " "), i += r);
return i;
-}, dl = (e) => {
+}, pl = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = dl(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = pl(e[r])) && (n && (n += " "), n += t);
return n;
-}, fl = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = ol(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, ml = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = cl(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 = ll(e, n);
+ let a = dl(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(ul(...e));
-}, pl = [], ml = (e) => {
- let t = (t) => t[e] || pl;
+ return a = o, (...e) => a(fl(...e));
+}, hl = [], gl = (e) => {
+ let t = (t) => t[e] || hl;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, hl = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, gl = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _l = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, vl = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yl = /\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$/, bl = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, xl = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Sl = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Cl = (e) => _l.test(e), K = (e) => !!e && !Number.isNaN(Number(e)), wl = (e) => !!e && Number.isInteger(Number(e)), Tl = (e) => e.endsWith("%") && K(e.slice(0, -1)), El = (e) => vl.test(e), Dl = () => !0, Ol = (e) => yl.test(e) && !bl.test(e), kl = () => !1, Al = (e) => xl.test(e), jl = (e) => Sl.test(e), Ml = (e) => !q(e) && !J(e), Nl = (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)), Pl = (e) => Yl(e, $l, kl), q = (e) => hl.test(e), Fl = (e) => Yl(e, eu, Ol), Il = (e) => Yl(e, tu, K), Ll = (e) => Yl(e, ru, Dl), Rl = (e) => Yl(e, nu, kl), zl = (e) => Yl(e, Zl, kl), Bl = (e) => Yl(e, Ql, jl), Vl = (e) => Yl(e, iu, Al), J = (e) => gl.test(e), Hl = (e) => Xl(e, eu), Ul = (e) => Xl(e, nu), Wl = (e) => Xl(e, Zl), Gl = (e) => Xl(e, $l), Kl = (e) => Xl(e, Ql), ql = (e) => Xl(e, iu, !0), Jl = (e) => Xl(e, ru, !0), Yl = (e, t, n) => {
- let r = hl.exec(e);
+}, _l = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, vl = /^\((?:(\w[\w-]*):)?(.+)\)$/i, yl = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, bl = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, xl = /\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$/, Sl = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Cl = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wl = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Tl = (e) => yl.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), El = (e) => !!e && Number.isInteger(Number(e)), Dl = (e) => e.endsWith("%") && G(e.slice(0, -1)), Ol = (e) => bl.test(e), kl = () => !0, Al = (e) => xl.test(e) && !Sl.test(e), jl = () => !1, Ml = (e) => Cl.test(e), Nl = (e) => wl.test(e), Pl = (e) => !K(e) && !q(e), Fl = (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)), Il = (e) => Zl(e, tu, jl), K = (e) => _l.test(e), Ll = (e) => Zl(e, nu, Al), Rl = (e) => Zl(e, ru, G), zl = (e) => Zl(e, au, kl), Bl = (e) => Zl(e, iu, jl), Vl = (e) => Zl(e, $l, jl), Hl = (e) => Zl(e, eu, Nl), Ul = (e) => Zl(e, ou, Ml), q = (e) => vl.test(e), Wl = (e) => Ql(e, nu), Gl = (e) => Ql(e, iu), Kl = (e) => Ql(e, $l), ql = (e) => Ql(e, tu), Jl = (e) => Ql(e, eu), Yl = (e) => Ql(e, ou, !0), Xl = (e) => Ql(e, au, !0), Zl = (e, t, n) => {
+ let r = _l.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, Xl = (e, t, n = !1) => {
- let r = gl.exec(e);
+}, Ql = (e, t, n = !1) => {
+ let r = vl.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, Zl = (e) => e === "position" || e === "percentage", Ql = (e) => e === "image" || e === "url", $l = (e) => e === "length" || e === "size" || e === "bg-size", eu = (e) => e === "length", tu = (e) => e === "number", nu = (e) => e === "family-name", ru = (e) => e === "number" || e === "weight", iu = (e) => e === "shadow", au = () => {
- let e = ml("color"), t = ml("font"), n = ml("text"), r = ml("font-weight"), i = ml("tracking"), a = ml("leading"), o = ml("breakpoint"), s = ml("container"), c = ml("spacing"), l = ml("radius"), u = ml("shadow"), d = ml("inset-shadow"), f = ml("text-shadow"), p = ml("drop-shadow"), m = ml("blur"), h = ml("perspective"), g = ml("aspect"), _ = ml("ease"), v = ml("animate"), y = () => [
+}, $l = (e) => e === "position" || e === "percentage", eu = (e) => e === "image" || e === "url", tu = (e) => e === "length" || e === "size" || e === "bg-size", nu = (e) => e === "length", ru = (e) => e === "number", iu = (e) => e === "family-name", au = (e) => e === "number" || e === "weight", ou = (e) => e === "shadow", su = () => {
+ let e = gl("color"), t = gl("font"), n = gl("text"), r = gl("font-weight"), i = gl("tracking"), a = gl("leading"), o = gl("breakpoint"), s = gl("container"), c = gl("spacing"), l = gl("radius"), u = gl("shadow"), d = gl("inset-shadow"), f = gl("text-shadow"), p = gl("drop-shadow"), m = gl("blur"), h = gl("perspective"), g = gl("aspect"), _ = gl("ease"), v = gl("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -15046,8 +15046,8 @@ var jc = /* @__PURE__ */ l(((e) => {
"left-bottom"
], x = () => [
...b(),
- J,
- q
+ q,
+ K
], S = () => [
"auto",
"hidden",
@@ -15059,44 +15059,44 @@ var jc = /* @__PURE__ */ l(((e) => {
"contain",
"none"
], w = () => [
- J,
q,
+ K,
c
], T = () => [
- Cl,
+ Tl,
"full",
"auto",
...w()
- ], E = () => [
- wl,
+ ], ee = () => [
+ El,
"none",
"subgrid",
- J,
- q
- ], D = () => [
+ q,
+ K
+ ], E = () => [
"auto",
{ span: [
"full",
- wl,
- J,
- q
+ El,
+ q,
+ K
] },
- wl,
- J,
- q
- ], O = () => [
- wl,
+ El,
+ q,
+ K
+ ], D = () => [
+ El,
"auto",
- J,
- q
- ], k = () => [
+ q,
+ K
+ ], O = () => [
"auto",
"min",
"max",
"fr",
- J,
- q
- ], A = () => [
+ q,
+ K
+ ], k = () => [
"start",
"end",
"center",
@@ -15107,15 +15107,15 @@ var jc = /* @__PURE__ */ l(((e) => {
"baseline",
"center-safe",
"end-safe"
- ], j = () => [
+ ], A = () => [
"start",
"end",
"center",
"stretch",
"center-safe",
"end-safe"
- ], M = () => ["auto", ...w()], N = () => [
- Cl,
+ ], j = () => ["auto", ...w()], M = () => [
+ Tl,
"auto",
"full",
"dvw",
@@ -15128,9 +15128,9 @@ var jc = /* @__PURE__ */ l(((e) => {
"max",
"fit",
...w()
- ], ee = () => [
+ ], te = () => [
s,
- Cl,
+ Tl,
"screen",
"full",
"dvw",
@@ -15140,8 +15140,8 @@ var jc = /* @__PURE__ */ l(((e) => {
"max",
"fit",
...w()
- ], te = () => [
- Cl,
+ ], ne = () => [
+ Tl,
"screen",
"full",
"lh",
@@ -15152,50 +15152,50 @@ var jc = /* @__PURE__ */ l(((e) => {
"max",
"fit",
...w()
- ], P = () => [
+ ], N = () => [
e,
- J,
- q
- ], ne = () => [
+ q,
+ K
+ ], re = () => [
...b(),
- Wl,
- zl,
- { position: [J, q] }
- ], re = () => ["no-repeat", { repeat: [
+ Kl,
+ Vl,
+ { position: [q, K] }
+ ], ie = () => ["no-repeat", { repeat: [
"",
"x",
"y",
"space",
"round"
- ] }], ie = () => [
+ ] }], ae = () => [
"auto",
"cover",
"contain",
- Gl,
- Pl,
- { size: [J, q] }
- ], ae = () => [
- Tl,
- Hl,
- Fl
- ], F = () => [
+ ql,
+ Il,
+ { size: [q, K] }
+ ], oe = () => [
+ Dl,
+ Wl,
+ Ll
+ ], P = () => [
"",
"none",
"full",
l,
- J,
- q
- ], I = () => [
+ q,
+ K
+ ], F = () => [
"",
- K,
- Hl,
- Fl
- ], L = () => [
+ G,
+ Wl,
+ Ll
+ ], se = () => [
"solid",
"dashed",
"dotted",
"double"
- ], oe = () => [
+ ], I = () => [
"normal",
"multiply",
"screen",
@@ -15212,33 +15212,33 @@ var jc = /* @__PURE__ */ l(((e) => {
"saturation",
"color",
"luminosity"
- ], se = () => [
- K,
- Tl,
- Wl,
- zl
], ce = () => [
+ G,
+ Dl,
+ Kl,
+ Vl
+ ], le = () => [
"",
"none",
m,
- J,
- q
- ], le = () => [
- "none",
- K,
- J,
- q
+ q,
+ K
], ue = () => [
"none",
- K,
- J,
- q
+ G,
+ q,
+ K
+ ], de = () => [
+ "none",
+ G,
+ q,
+ K
+ ], L = () => [
+ G,
+ q,
+ K
], R = () => [
- K,
- J,
- q
- ], z = () => [
- Cl,
+ Tl,
"full",
...w()
];
@@ -15252,17 +15252,17 @@ var jc = /* @__PURE__ */ l(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [El],
- breakpoint: [El],
- color: [Dl],
- container: [El],
- "drop-shadow": [El],
+ blur: [Ol],
+ breakpoint: [Ol],
+ color: [kl],
+ container: [Ol],
+ "drop-shadow": [Ol],
ease: [
"in",
"out",
"in-out"
],
- font: [Ml],
+ font: [Pl],
"font-weight": [
"thin",
"extralight",
@@ -15274,7 +15274,7 @@ var jc = /* @__PURE__ */ l(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [El],
+ "inset-shadow": [Ol],
leading: [
"none",
"tight",
@@ -15291,11 +15291,11 @@ var jc = /* @__PURE__ */ l(((e) => {
"distant",
"none"
],
- radius: [El],
- shadow: [El],
- spacing: ["px", K],
- text: [El],
- "text-shadow": [El],
+ radius: [Ol],
+ shadow: [Ol],
+ spacing: ["px", G],
+ text: [Ol],
+ "text-shadow": [Ol],
tracking: [
"tighter",
"tight",
@@ -15309,9 +15309,9 @@ var jc = /* @__PURE__ */ l(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- Cl,
+ Tl,
+ K,
q,
- J,
g
] }],
container: ["container"],
@@ -15319,15 +15319,15 @@ var jc = /* @__PURE__ */ l(((e) => {
"",
"normal",
"size",
- J,
- q
+ q,
+ K
] }],
- "container-named": [Nl],
+ "container-named": [Fl],
columns: [{ columns: [
- K,
+ G,
"auto",
+ K,
q,
- J,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -15424,13 +15424,13 @@ var jc = /* @__PURE__ */ l(((e) => {
"collapse"
],
z: [{ z: [
- wl,
+ El,
"auto",
- J,
- q
+ q,
+ K
] }],
basis: [{ basis: [
- Cl,
+ Tl,
"full",
"auto",
s,
@@ -15448,41 +15448,41 @@ var jc = /* @__PURE__ */ l(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- K,
- Cl,
+ G,
+ Tl,
"auto",
"initial",
"none",
- q
+ K
] }],
grow: [{ grow: [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
shrink: [{ shrink: [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
order: [{ order: [
- wl,
+ El,
"first",
"last",
"none",
- J,
- q
+ q,
+ K
] }],
- "grid-cols": [{ "grid-cols": E() }],
- "col-start-end": [{ col: D() }],
- "col-start": [{ "col-start": O() }],
- "col-end": [{ "col-end": O() }],
- "grid-rows": [{ "grid-rows": E() }],
- "row-start-end": [{ row: D() }],
- "row-start": [{ "row-start": O() }],
- "row-end": [{ "row-end": O() }],
+ "grid-cols": [{ "grid-cols": ee() }],
+ "col-start-end": [{ col: E() }],
+ "col-start": [{ "col-start": D() }],
+ "col-end": [{ "col-end": D() }],
+ "grid-rows": [{ "grid-rows": ee() }],
+ "row-start-end": [{ row: E() }],
+ "row-start": [{ "row-start": D() }],
+ "row-end": [{ "row-end": D() }],
"grid-flow": [{ "grid-flow": [
"row",
"col",
@@ -15490,24 +15490,24 @@ var jc = /* @__PURE__ */ l(((e) => {
"row-dense",
"col-dense"
] }],
- "auto-cols": [{ "auto-cols": k() }],
- "auto-rows": [{ "auto-rows": k() }],
+ "auto-cols": [{ "auto-cols": O() }],
+ "auto-rows": [{ "auto-rows": O() }],
gap: [{ gap: w() }],
"gap-x": [{ "gap-x": w() }],
"gap-y": [{ "gap-y": w() }],
- "justify-content": [{ justify: [...A(), "normal"] }],
- "justify-items": [{ "justify-items": [...j(), "normal"] }],
- "justify-self": [{ "justify-self": ["auto", ...j()] }],
- "align-content": [{ content: ["normal", ...A()] }],
- "align-items": [{ items: [...j(), { baseline: ["", "last"] }] }],
+ "justify-content": [{ justify: [...k(), "normal"] }],
+ "justify-items": [{ "justify-items": [...A(), "normal"] }],
+ "justify-self": [{ "justify-self": ["auto", ...A()] }],
+ "align-content": [{ content: ["normal", ...k()] }],
+ "align-items": [{ items: [...A(), { baseline: ["", "last"] }] }],
"align-self": [{ self: [
"auto",
- ...j(),
+ ...A(),
{ baseline: ["", "last"] }
] }],
- "place-content": [{ "place-content": A() }],
- "place-items": [{ "place-items": [...j(), "baseline"] }],
- "place-self": [{ "place-self": ["auto", ...j()] }],
+ "place-content": [{ "place-content": k() }],
+ "place-items": [{ "place-items": [...A(), "baseline"] }],
+ "place-self": [{ "place-self": ["auto", ...A()] }],
p: [{ p: w() }],
px: [{ px: w() }],
py: [{ py: w() }],
@@ -15519,38 +15519,38 @@ var jc = /* @__PURE__ */ l(((e) => {
pr: [{ pr: w() }],
pb: [{ pb: w() }],
pl: [{ pl: w() }],
- m: [{ m: M() }],
- mx: [{ mx: M() }],
- my: [{ my: M() }],
- ms: [{ ms: M() }],
- me: [{ me: M() }],
- mbs: [{ mbs: M() }],
- mbe: [{ mbe: M() }],
- mt: [{ mt: M() }],
- mr: [{ mr: M() }],
- mb: [{ mb: M() }],
- ml: [{ ml: M() }],
+ m: [{ m: j() }],
+ mx: [{ mx: j() }],
+ my: [{ my: j() }],
+ ms: [{ ms: j() }],
+ me: [{ me: j() }],
+ mbs: [{ mbs: j() }],
+ mbe: [{ mbe: j() }],
+ mt: [{ mt: j() }],
+ mr: [{ mr: j() }],
+ mb: [{ mb: j() }],
+ ml: [{ ml: j() }],
"space-x": [{ "space-x": w() }],
"space-x-reverse": ["space-x-reverse"],
"space-y": [{ "space-y": w() }],
"space-y-reverse": ["space-y-reverse"],
- size: [{ size: N() }],
- "inline-size": [{ inline: ["auto", ...ee()] }],
- "min-inline-size": [{ "min-inline": ["auto", ...ee()] }],
- "max-inline-size": [{ "max-inline": ["none", ...ee()] }],
- "block-size": [{ block: ["auto", ...te()] }],
- "min-block-size": [{ "min-block": ["auto", ...te()] }],
- "max-block-size": [{ "max-block": ["none", ...te()] }],
+ size: [{ size: M() }],
+ "inline-size": [{ inline: ["auto", ...te()] }],
+ "min-inline-size": [{ "min-inline": ["auto", ...te()] }],
+ "max-inline-size": [{ "max-inline": ["none", ...te()] }],
+ "block-size": [{ block: ["auto", ...ne()] }],
+ "min-block-size": [{ "min-block": ["auto", ...ne()] }],
+ "max-block-size": [{ "max-block": ["none", ...ne()] }],
w: [{ w: [
s,
"screen",
- ...N()
+ ...M()
] }],
"min-w": [{ "min-w": [
s,
"screen",
"none",
- ...N()
+ ...M()
] }],
"max-w": [{ "max-w": [
s,
@@ -15558,37 +15558,37 @@ var jc = /* @__PURE__ */ l(((e) => {
"none",
"prose",
{ screen: [o] },
- ...N()
+ ...M()
] }],
h: [{ h: [
"screen",
"lh",
- ...N()
+ ...M()
] }],
"min-h": [{ "min-h": [
"screen",
"lh",
"none",
- ...N()
+ ...M()
] }],
"max-h": [{ "max-h": [
"screen",
"lh",
"none",
- ...N()
+ ...M()
] }],
"font-size": [{ text: [
"base",
n,
- Hl,
- Fl
+ Wl,
+ Ll
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Jl,
- Ll
+ Xl,
+ zl
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -15600,15 +15600,15 @@ var jc = /* @__PURE__ */ l(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- Tl,
- q
+ Dl,
+ K
] }],
"font-family": [{ font: [
- Ul,
- Rl,
+ Gl,
+ Bl,
t
] }],
- "font-features": [{ "font-features": [q] }],
+ "font-features": [{ "font-features": [K] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -15617,14 +15617,14 @@ var jc = /* @__PURE__ */ l(((e) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- J,
- q
+ q,
+ K
] }],
"line-clamp": [{ "line-clamp": [
- K,
+ G,
"none",
- J,
- Il
+ q,
+ Rl
] }],
leading: [{ leading: [
"none",
@@ -15633,16 +15633,16 @@ var jc = /* @__PURE__ */ l(((e) => {
] }],
"list-image": [{ "list-image": [
"none",
- J,
- q
+ q,
+ K
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- J,
- q
+ q,
+ K
] }],
"text-alignment": [{ text: [
"left",
@@ -15652,28 +15652,28 @@ var jc = /* @__PURE__ */ l(((e) => {
"start",
"end"
] }],
- "placeholder-color": [{ placeholder: P() }],
- "text-color": [{ text: P() }],
+ "placeholder-color": [{ placeholder: N() }],
+ "text-color": [{ text: N() }],
"text-decoration": [
"underline",
"overline",
"line-through",
"no-underline"
],
- "text-decoration-style": [{ decoration: [...L(), "wavy"] }],
+ "text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- K,
+ G,
"from-font",
"auto",
- J,
- Fl
+ q,
+ Ll
] }],
- "text-decoration-color": [{ decoration: P() }],
+ "text-decoration-color": [{ decoration: N() }],
"underline-offset": [{ "underline-offset": [
- K,
+ G,
"auto",
- J,
- q
+ q,
+ K
] }],
"text-transform": [
"uppercase",
@@ -15694,9 +15694,9 @@ var jc = /* @__PURE__ */ l(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- wl,
- J,
- q
+ El,
+ q,
+ K
] }],
"vertical-align": [{ align: [
"baseline",
@@ -15707,8 +15707,8 @@ var jc = /* @__PURE__ */ l(((e) => {
"text-bottom",
"sub",
"super",
- J,
- q
+ q,
+ K
] }],
whitespace: [{ whitespace: [
"normal",
@@ -15736,8 +15736,8 @@ var jc = /* @__PURE__ */ l(((e) => {
] }],
content: [{ content: [
"none",
- J,
- q
+ q,
+ K
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -15755,9 +15755,9 @@ var jc = /* @__PURE__ */ l(((e) => {
"padding",
"content"
] }],
- "bg-position": [{ bg: ne() }],
- "bg-repeat": [{ bg: re() }],
- "bg-size": [{ bg: ie() }],
+ "bg-position": [{ bg: re() }],
+ "bg-repeat": [{ bg: ie() }],
+ "bg-size": [{ bg: ae() }],
"bg-image": [{ bg: [
"none",
{
@@ -15772,142 +15772,142 @@ var jc = /* @__PURE__ */ l(((e) => {
"l",
"tl"
] },
- wl,
- J,
- q
+ El,
+ q,
+ K
],
radial: [
"",
- J,
- q
+ q,
+ K
],
conic: [
"",
- wl,
- J,
- q
+ El,
+ q,
+ K
]
},
- Kl,
- Bl
+ Jl,
+ Hl
] }],
- "bg-color": [{ bg: P() }],
- "gradient-from-pos": [{ from: ae() }],
- "gradient-via-pos": [{ via: ae() }],
- "gradient-to-pos": [{ to: ae() }],
- "gradient-from": [{ from: P() }],
- "gradient-via": [{ via: P() }],
- "gradient-to": [{ to: P() }],
- rounded: [{ rounded: F() }],
- "rounded-s": [{ "rounded-s": F() }],
- "rounded-e": [{ "rounded-e": F() }],
- "rounded-t": [{ "rounded-t": F() }],
- "rounded-r": [{ "rounded-r": F() }],
- "rounded-b": [{ "rounded-b": F() }],
- "rounded-l": [{ "rounded-l": F() }],
- "rounded-ss": [{ "rounded-ss": F() }],
- "rounded-se": [{ "rounded-se": F() }],
- "rounded-ee": [{ "rounded-ee": F() }],
- "rounded-es": [{ "rounded-es": F() }],
- "rounded-tl": [{ "rounded-tl": F() }],
- "rounded-tr": [{ "rounded-tr": F() }],
- "rounded-br": [{ "rounded-br": F() }],
- "rounded-bl": [{ "rounded-bl": F() }],
- "border-w": [{ border: I() }],
- "border-w-x": [{ "border-x": I() }],
- "border-w-y": [{ "border-y": I() }],
- "border-w-s": [{ "border-s": I() }],
- "border-w-e": [{ "border-e": I() }],
- "border-w-bs": [{ "border-bs": I() }],
- "border-w-be": [{ "border-be": I() }],
- "border-w-t": [{ "border-t": I() }],
- "border-w-r": [{ "border-r": I() }],
- "border-w-b": [{ "border-b": I() }],
- "border-w-l": [{ "border-l": I() }],
- "divide-x": [{ "divide-x": I() }],
+ "bg-color": [{ bg: N() }],
+ "gradient-from-pos": [{ from: oe() }],
+ "gradient-via-pos": [{ via: oe() }],
+ "gradient-to-pos": [{ to: oe() }],
+ "gradient-from": [{ from: N() }],
+ "gradient-via": [{ via: N() }],
+ "gradient-to": [{ to: N() }],
+ rounded: [{ rounded: P() }],
+ "rounded-s": [{ "rounded-s": P() }],
+ "rounded-e": [{ "rounded-e": P() }],
+ "rounded-t": [{ "rounded-t": P() }],
+ "rounded-r": [{ "rounded-r": P() }],
+ "rounded-b": [{ "rounded-b": P() }],
+ "rounded-l": [{ "rounded-l": P() }],
+ "rounded-ss": [{ "rounded-ss": P() }],
+ "rounded-se": [{ "rounded-se": P() }],
+ "rounded-ee": [{ "rounded-ee": P() }],
+ "rounded-es": [{ "rounded-es": P() }],
+ "rounded-tl": [{ "rounded-tl": P() }],
+ "rounded-tr": [{ "rounded-tr": P() }],
+ "rounded-br": [{ "rounded-br": P() }],
+ "rounded-bl": [{ "rounded-bl": P() }],
+ "border-w": [{ border: F() }],
+ "border-w-x": [{ "border-x": F() }],
+ "border-w-y": [{ "border-y": F() }],
+ "border-w-s": [{ "border-s": F() }],
+ "border-w-e": [{ "border-e": F() }],
+ "border-w-bs": [{ "border-bs": F() }],
+ "border-w-be": [{ "border-be": F() }],
+ "border-w-t": [{ "border-t": F() }],
+ "border-w-r": [{ "border-r": F() }],
+ "border-w-b": [{ "border-b": F() }],
+ "border-w-l": [{ "border-l": F() }],
+ "divide-x": [{ "divide-x": F() }],
"divide-x-reverse": ["divide-x-reverse"],
- "divide-y": [{ "divide-y": I() }],
+ "divide-y": [{ "divide-y": F() }],
"divide-y-reverse": ["divide-y-reverse"],
"border-style": [{ border: [
- ...L(),
+ ...se(),
"hidden",
"none"
] }],
"divide-style": [{ divide: [
- ...L(),
+ ...se(),
"hidden",
"none"
] }],
- "border-color": [{ border: P() }],
- "border-color-x": [{ "border-x": P() }],
- "border-color-y": [{ "border-y": P() }],
- "border-color-s": [{ "border-s": P() }],
- "border-color-e": [{ "border-e": P() }],
- "border-color-bs": [{ "border-bs": P() }],
- "border-color-be": [{ "border-be": P() }],
- "border-color-t": [{ "border-t": P() }],
- "border-color-r": [{ "border-r": P() }],
- "border-color-b": [{ "border-b": P() }],
- "border-color-l": [{ "border-l": P() }],
- "divide-color": [{ divide: P() }],
+ "border-color": [{ border: N() }],
+ "border-color-x": [{ "border-x": N() }],
+ "border-color-y": [{ "border-y": N() }],
+ "border-color-s": [{ "border-s": N() }],
+ "border-color-e": [{ "border-e": N() }],
+ "border-color-bs": [{ "border-bs": N() }],
+ "border-color-be": [{ "border-be": N() }],
+ "border-color-t": [{ "border-t": N() }],
+ "border-color-r": [{ "border-r": N() }],
+ "border-color-b": [{ "border-b": N() }],
+ "border-color-l": [{ "border-l": N() }],
+ "divide-color": [{ divide: N() }],
"outline-style": [{ outline: [
- ...L(),
+ ...se(),
"none",
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"outline-w": [{ outline: [
"",
- K,
- Hl,
- Fl
+ G,
+ Wl,
+ Ll
] }],
- "outline-color": [{ outline: P() }],
+ "outline-color": [{ outline: N() }],
shadow: [{ shadow: [
"",
"inner",
"none",
u,
- ql,
- Vl
+ Yl,
+ Ul
] }],
- "shadow-color": [{ shadow: P() }],
+ "shadow-color": [{ shadow: N() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- ql,
- Vl
+ Yl,
+ Ul
] }],
- "inset-shadow-color": [{ "inset-shadow": P() }],
- "ring-w": [{ ring: I() }],
+ "inset-shadow-color": [{ "inset-shadow": N() }],
+ "ring-w": [{ ring: F() }],
"ring-w-inset": ["ring-inset"],
- "ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [K, Fl] }],
- "ring-offset-color": [{ "ring-offset": P() }],
- "inset-ring-w": [{ "inset-ring": I() }],
- "inset-ring-color": [{ "inset-ring": P() }],
+ "ring-color": [{ ring: N() }],
+ "ring-offset-w": [{ "ring-offset": [G, Ll] }],
+ "ring-offset-color": [{ "ring-offset": N() }],
+ "inset-ring-w": [{ "inset-ring": F() }],
+ "inset-ring-color": [{ "inset-ring": N() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- ql,
- Vl
+ Yl,
+ Ul
] }],
- "text-shadow-color": [{ "text-shadow": P() }],
+ "text-shadow-color": [{ "text-shadow": N() }],
opacity: [{ opacity: [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"mix-blend": [{ "mix-blend": [
- ...oe(),
+ ...I(),
"plus-darker",
"plus-lighter"
] }],
- "bg-blend": [{ "bg-blend": oe() }],
+ "bg-blend": [{ "bg-blend": I() }],
"mask-clip": [{ "mask-clip": [
"border",
"padding",
@@ -15922,51 +15922,51 @@ var jc = /* @__PURE__ */ l(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [K] }],
- "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": P() }],
- "mask-image-linear-to-color": [{ "mask-linear-to": P() }],
- "mask-image-t-from-pos": [{ "mask-t-from": se() }],
- "mask-image-t-to-pos": [{ "mask-t-to": se() }],
- "mask-image-t-from-color": [{ "mask-t-from": P() }],
- "mask-image-t-to-color": [{ "mask-t-to": P() }],
- "mask-image-r-from-pos": [{ "mask-r-from": se() }],
- "mask-image-r-to-pos": [{ "mask-r-to": se() }],
- "mask-image-r-from-color": [{ "mask-r-from": P() }],
- "mask-image-r-to-color": [{ "mask-r-to": P() }],
- "mask-image-b-from-pos": [{ "mask-b-from": se() }],
- "mask-image-b-to-pos": [{ "mask-b-to": se() }],
- "mask-image-b-from-color": [{ "mask-b-from": P() }],
- "mask-image-b-to-color": [{ "mask-b-to": P() }],
- "mask-image-l-from-pos": [{ "mask-l-from": se() }],
- "mask-image-l-to-pos": [{ "mask-l-to": se() }],
- "mask-image-l-from-color": [{ "mask-l-from": P() }],
- "mask-image-l-to-color": [{ "mask-l-to": P() }],
- "mask-image-x-from-pos": [{ "mask-x-from": se() }],
- "mask-image-x-to-pos": [{ "mask-x-to": se() }],
- "mask-image-x-from-color": [{ "mask-x-from": P() }],
- "mask-image-x-to-color": [{ "mask-x-to": P() }],
- "mask-image-y-from-pos": [{ "mask-y-from": se() }],
- "mask-image-y-to-pos": [{ "mask-y-to": se() }],
- "mask-image-y-from-color": [{ "mask-y-from": P() }],
- "mask-image-y-to-color": [{ "mask-y-to": P() }],
- "mask-image-radial": [{ "mask-radial": [J, q] }],
- "mask-image-radial-from-pos": [{ "mask-radial-from": se() }],
- "mask-image-radial-to-pos": [{ "mask-radial-to": se() }],
- "mask-image-radial-from-color": [{ "mask-radial-from": P() }],
- "mask-image-radial-to-color": [{ "mask-radial-to": P() }],
+ "mask-image-linear-pos": [{ "mask-linear": [G] }],
+ "mask-image-linear-from-pos": [{ "mask-linear-from": ce() }],
+ "mask-image-linear-to-pos": [{ "mask-linear-to": ce() }],
+ "mask-image-linear-from-color": [{ "mask-linear-from": N() }],
+ "mask-image-linear-to-color": [{ "mask-linear-to": N() }],
+ "mask-image-t-from-pos": [{ "mask-t-from": ce() }],
+ "mask-image-t-to-pos": [{ "mask-t-to": ce() }],
+ "mask-image-t-from-color": [{ "mask-t-from": N() }],
+ "mask-image-t-to-color": [{ "mask-t-to": N() }],
+ "mask-image-r-from-pos": [{ "mask-r-from": ce() }],
+ "mask-image-r-to-pos": [{ "mask-r-to": ce() }],
+ "mask-image-r-from-color": [{ "mask-r-from": N() }],
+ "mask-image-r-to-color": [{ "mask-r-to": N() }],
+ "mask-image-b-from-pos": [{ "mask-b-from": ce() }],
+ "mask-image-b-to-pos": [{ "mask-b-to": ce() }],
+ "mask-image-b-from-color": [{ "mask-b-from": N() }],
+ "mask-image-b-to-color": [{ "mask-b-to": N() }],
+ "mask-image-l-from-pos": [{ "mask-l-from": ce() }],
+ "mask-image-l-to-pos": [{ "mask-l-to": ce() }],
+ "mask-image-l-from-color": [{ "mask-l-from": N() }],
+ "mask-image-l-to-color": [{ "mask-l-to": N() }],
+ "mask-image-x-from-pos": [{ "mask-x-from": ce() }],
+ "mask-image-x-to-pos": [{ "mask-x-to": ce() }],
+ "mask-image-x-from-color": [{ "mask-x-from": N() }],
+ "mask-image-x-to-color": [{ "mask-x-to": N() }],
+ "mask-image-y-from-pos": [{ "mask-y-from": ce() }],
+ "mask-image-y-to-pos": [{ "mask-y-to": ce() }],
+ "mask-image-y-from-color": [{ "mask-y-from": N() }],
+ "mask-image-y-to-color": [{ "mask-y-to": N() }],
+ "mask-image-radial": [{ "mask-radial": [q, K] }],
+ "mask-image-radial-from-pos": [{ "mask-radial-from": ce() }],
+ "mask-image-radial-to-pos": [{ "mask-radial-to": ce() }],
+ "mask-image-radial-from-color": [{ "mask-radial-from": N() }],
+ "mask-image-radial-to-color": [{ "mask-radial-to": N() }],
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
"mask-image-radial-size": [{ "mask-radial": [{
closest: ["side", "corner"],
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [K] }],
- "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": P() }],
- "mask-image-conic-to-color": [{ "mask-conic-to": P() }],
+ "mask-image-conic-pos": [{ "mask-conic": [G] }],
+ "mask-image-conic-from-pos": [{ "mask-conic-from": ce() }],
+ "mask-image-conic-to-pos": [{ "mask-conic-to": ce() }],
+ "mask-image-conic-from-color": [{ "mask-conic-from": N() }],
+ "mask-image-conic-to-color": [{ "mask-conic-to": N() }],
"mask-mode": [{ mask: [
"alpha",
"luminance",
@@ -15980,117 +15980,117 @@ var jc = /* @__PURE__ */ l(((e) => {
"stroke",
"view"
] }],
- "mask-position": [{ mask: ne() }],
- "mask-repeat": [{ mask: re() }],
- "mask-size": [{ mask: ie() }],
+ "mask-position": [{ mask: re() }],
+ "mask-repeat": [{ mask: ie() }],
+ "mask-size": [{ mask: ae() }],
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- J,
- q
+ q,
+ K
] }],
filter: [{ filter: [
"",
"none",
- J,
- q
+ q,
+ K
] }],
- blur: [{ blur: ce() }],
+ blur: [{ blur: le() }],
brightness: [{ brightness: [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
contrast: [{ contrast: [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- ql,
- Vl
+ Yl,
+ Ul
] }],
- "drop-shadow-color": [{ "drop-shadow": P() }],
+ "drop-shadow-color": [{ "drop-shadow": N() }],
grayscale: [{ grayscale: [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"hue-rotate": [{ "hue-rotate": [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
invert: [{ invert: [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
saturate: [{ saturate: [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
sepia: [{ sepia: [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- J,
- q
+ q,
+ K
] }],
- "backdrop-blur": [{ "backdrop-blur": ce() }],
+ "backdrop-blur": [{ "backdrop-blur": le() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -16106,56 +16106,56 @@ var jc = /* @__PURE__ */ l(((e) => {
"shadow",
"transform",
"none",
- J,
- q
+ q,
+ K
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- K,
+ G,
"initial",
- J,
- q
+ q,
+ K
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- J,
- q
+ q,
+ K
] }],
delay: [{ delay: [
- K,
- J,
- q
+ G,
+ q,
+ K
] }],
animate: [{ animate: [
"none",
v,
- J,
- q
+ q,
+ K
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- J,
- q
+ q,
+ K
] }],
"perspective-origin": [{ "perspective-origin": x() }],
- rotate: [{ rotate: le() }],
- "rotate-x": [{ "rotate-x": le() }],
- "rotate-y": [{ "rotate-y": le() }],
- "rotate-z": [{ "rotate-z": le() }],
- scale: [{ scale: ue() }],
- "scale-x": [{ "scale-x": ue() }],
- "scale-y": [{ "scale-y": ue() }],
- "scale-z": [{ "scale-z": ue() }],
+ rotate: [{ rotate: ue() }],
+ "rotate-x": [{ "rotate-x": ue() }],
+ "rotate-y": [{ "rotate-y": ue() }],
+ "rotate-z": [{ "rotate-z": ue() }],
+ scale: [{ scale: de() }],
+ "scale-x": [{ "scale-x": de() }],
+ "scale-y": [{ "scale-y": de() }],
+ "scale-z": [{ "scale-z": de() }],
"scale-3d": ["scale-3d"],
- skew: [{ skew: R() }],
- "skew-x": [{ "skew-x": R() }],
- "skew-y": [{ "skew-y": R() }],
+ skew: [{ skew: L() }],
+ "skew-x": [{ "skew-x": L() }],
+ "skew-y": [{ "skew-y": L() }],
transform: [{ transform: [
- J,
q,
+ K,
"",
"none",
"gpu",
@@ -16163,19 +16163,19 @@ var jc = /* @__PURE__ */ l(((e) => {
] }],
"transform-origin": [{ origin: x() }],
"transform-style": [{ transform: ["3d", "flat"] }],
- translate: [{ translate: z() }],
- "translate-x": [{ "translate-x": z() }],
- "translate-y": [{ "translate-y": z() }],
- "translate-z": [{ "translate-z": z() }],
+ translate: [{ translate: R() }],
+ "translate-x": [{ "translate-x": R() }],
+ "translate-y": [{ "translate-y": R() }],
+ "translate-z": [{ "translate-z": R() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- wl,
- J,
- q
+ El,
+ q,
+ K
] }],
- accent: [{ accent: P() }],
+ accent: [{ accent: N() }],
appearance: [{ appearance: ["none", "auto"] }],
- "caret-color": [{ caret: P() }],
+ "caret-color": [{ caret: N() }],
"color-scheme": [{ scheme: [
"normal",
"dark",
@@ -16221,8 +16221,8 @@ var jc = /* @__PURE__ */ l(((e) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- J,
- q
+ q,
+ K
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -16233,8 +16233,8 @@ var jc = /* @__PURE__ */ l(((e) => {
"x"
] }],
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
- "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],
- "scrollbar-track-color": [{ "scrollbar-track": P() }],
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],
+ "scrollbar-track-color": [{ "scrollbar-track": N() }],
"scrollbar-gutter": [{ "scrollbar-gutter": [
"auto",
"stable",
@@ -16308,17 +16308,17 @@ var jc = /* @__PURE__ */ l(((e) => {
"scroll",
"contents",
"transform",
- J,
- q
+ q,
+ K
] }],
- fill: [{ fill: ["none", ...P()] }],
+ fill: [{ fill: ["none", ...N()] }],
"stroke-w": [{ stroke: [
- K,
- Hl,
- Fl,
- Il
+ G,
+ Wl,
+ Ll,
+ Rl
] }],
- stroke: [{ stroke: ["none", ...P()] }],
+ stroke: [{ stroke: ["none", ...N()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
},
conflictingClassGroups: {
@@ -16574,16 +16574,16 @@ var jc = /* @__PURE__ */ l(((e) => {
"selection"
]
};
-}, ou = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (su(e, "cacheSize", t), su(e, "prefix", n), su(e, "experimentalParseClassName", r), cu(e.theme, a.theme), cu(e.classGroups, a.classGroups), cu(e.conflictingClassGroups, a.conflictingClassGroups), cu(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), su(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), su(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), lu(e.theme, i.theme), lu(e.classGroups, i.classGroups), lu(e.conflictingClassGroups, i.conflictingClassGroups), lu(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), uu(e, i, "postfixLookupClassGroups"), uu(e, i, "orderSensitiveModifiers"), e), su = (e, t, n) => {
+}, cu = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (lu(e, "cacheSize", t), lu(e, "prefix", n), lu(e, "experimentalParseClassName", r), uu(e.theme, a.theme), uu(e.classGroups, a.classGroups), uu(e.conflictingClassGroups, a.conflictingClassGroups), uu(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), lu(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), lu(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), du(e.theme, i.theme), du(e.classGroups, i.classGroups), du(e.conflictingClassGroups, i.conflictingClassGroups), du(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), fu(e, i, "postfixLookupClassGroups"), fu(e, i, "orderSensitiveModifiers"), e), lu = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, cu = (e, t) => {
- if (t) for (let n in t) su(e, n, t[n]);
-}, lu = (e, t) => {
- if (t) for (let n in t) uu(e, t, n);
-}, uu = (e, t, n) => {
+}, uu = (e, t) => {
+ if (t) for (let n in t) lu(e, n, t[n]);
+}, du = (e, t) => {
+ if (t) for (let n in t) fu(e, t, n);
+}, fu = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, du = (e, ...t) => typeof e == "function" ? fl(au, e, ...t) : fl(() => ou(au(), e), ...t), fu = [
+}, pu = (e, ...t) => typeof e == "function" ? ml(su, e, ...t) : ml(() => cu(su(), e), ...t), mu = [
"large-title",
"display-1",
"display-2",
@@ -16597,18 +16597,18 @@ var jc = /* @__PURE__ */ l(((e) => {
"body-2",
"caption-1",
"caption-2"
-], pu = [
+], hu = [
"regular",
"medium",
"semibold",
"bold"
-], mu = du({ extend: { classGroups: { "font-size": [{ text: fu.flatMap((e) => pu.map((t) => `${e}-${t}`)) }] } } });
-function hu(e) {
+], gu = pu({ extend: { classGroups: { "font-size": [{ text: mu.flatMap((e) => hu.map((t) => `${e}-${t}`)) }] } } });
+function _u(e) {
return e;
}
//#endregion
//#region node_modules/react/cjs/react-jsx-runtime.production.js
-var gu = /* @__PURE__ */ l(((e) => {
+var vu = /* @__PURE__ */ u(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
function r(e, n, r) {
var i = null;
@@ -16623,30 +16623,30 @@ var gu = /* @__PURE__ */ l(((e) => {
};
}
e.Fragment = n, e.jsx = r, e.jsxs = r;
-})), Y = (/* @__PURE__ */ l(((e, t) => {
- t.exports = gu();
+})), J = (/* @__PURE__ */ u(((e, t) => {
+ t.exports = vu();
})))();
-function _u({ className: e, children: t }) {
- return /* @__PURE__ */ (0, Y.jsx)("div", {
- className: mu("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+function yu({ className: e, children: t }) {
+ return /* @__PURE__ */ (0, J.jsx)("div", {
+ className: gu("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function vu({ className: e, children: t }) {
- return /* @__PURE__ */ (0, Y.jsx)("p", {
- className: mu("w-full px-3 text-body-2-medium text-text-secondary", e),
+function bu({ className: e, children: t }) {
+ return /* @__PURE__ */ (0, J.jsx)("p", {
+ className: gu("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function yu({ label: e, description: t, children: n }) {
- return /* @__PURE__ */ (0, Y.jsxs)("div", {
- className: mu("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, Y.jsxs)("div", {
+function xu({ label: e, description: t, children: n }) {
+ return /* @__PURE__ */ (0, J.jsxs)("div", {
+ className: gu("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, J.jsxs)("div", {
className: "flex min-w-0 flex-col",
- children: [/* @__PURE__ */ (0, Y.jsx)("p", {
+ children: [/* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-regular text-text-primary",
children: e
- }), t && /* @__PURE__ */ (0, Y.jsx)("p", {
+ }), t && /* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: t
})]
@@ -16655,7 +16655,7 @@ function yu({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var bu = hu({
+var Su = _u({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -16710,23 +16710,23 @@ var bu = hu({
].join(" ")
}
});
-function xu({ 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, Y.jsxs)("button", {
+function Cu({ 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, J.jsxs)("button", {
ref: c,
type: s,
- className: mu(bu.base, bu.size[t], bu.variant[e], n && bu.iconOnlySize[t], o),
+ className: gu(Su.base, Su.size[t], Su.variant[e], n && Su.iconOnlySize[t], o),
...l,
children: [
- r ? /* @__PURE__ */ (0, Y.jsx)(r, {
- className: bu.icon[t],
+ r ? /* @__PURE__ */ (0, J.jsx)(r, {
+ className: Su.icon[t],
"aria-hidden": !0
}) : null,
- !n && a != null && /* @__PURE__ */ (0, Y.jsx)("span", {
- className: bu.label[t],
+ !n && a != null && /* @__PURE__ */ (0, J.jsx)("span", {
+ className: Su.label[t],
children: a
}),
- !n && i ? /* @__PURE__ */ (0, Y.jsx)(i, {
- className: bu.icon[t],
+ !n && i ? /* @__PURE__ */ (0, J.jsx)(i, {
+ className: Su.icon[t],
"aria-hidden": !0
}) : null
]
@@ -16734,14 +16734,14 @@ function xu({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var Su = Symbol("default");
-function Cu({ values: e, children: t }) {
- for (let [n, r] of e) t = /*#__PURE__*/ C.createElement(n.Provider, { value: r }, t);
+var wu = Symbol("default");
+function Tu({ values: e, children: t }) {
+ for (let [n, r] of e) t = /*#__PURE__*/ w.createElement(n.Provider, { value: r }, t);
return t;
}
-function wu(e) {
+function Eu(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
- return (0, C.useMemo)(() => {
+ return (0, w.useMemo)(() => {
let e, l, u;
return e = typeof t == "function" ? t({
...s,
@@ -16773,11 +16773,11 @@ function wu(e) {
c
]);
}
-function Tu(e, t) {
- let n = (0, C.useContext)(e);
+function Du(e, t) {
+ let n = (0, w.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || Su;
+ let e = t || wu;
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}.`);
@@ -16786,8 +16786,8 @@ function Tu(e, t) {
}
return n;
}
-function Eu(e, t, n) {
- let { ref: r, ...i } = Tu(n, e.slot) || {}, a = en((0, C.useMemo)(() => It(t, r), [t, r])), o = V(i, e);
+function Y(e, t, n) {
+ let { ref: r, ...i } = Du(n, e.slot) || {}, a = nn((0, w.useMemo)(() => Rt(t, r), [t, r])), o = B(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,
@@ -16805,56 +16805,56 @@ function Eu(e, t, n) {
...e.style
}), [o, a];
}
-function Du(e = !0) {
- let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(!1), i = (0, C.useCallback)((e) => {
+function Ou(e = !0) {
+ let [t, n] = (0, w.useState)(e), r = (0, w.useRef)(!1), i = (0, w.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return B(() => {
+ return z(() => {
r.current || n(!1);
}, []), [i, t];
}
-function Ou(e) {
+function ku(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function ku(e, t, n) {
- let { render: r, ...i } = t, a = (0, C.useRef)(null), o = (0, C.useMemo)(() => It(n, a), [n, a]);
- B(() => {}, [e, r]);
+function Au(e, t, n) {
+ let { render: r, ...i } = t, a = (0, w.useRef)(null), o = (0, w.useMemo)(() => Rt(n, a), [n, a]);
+ z(() => {}, [e, r]);
let s = {
...i,
ref: o
};
- return r ? r(s, void 0) : /*#__PURE__*/ C.createElement(e, s);
+ return r ? r(s, void 0) : /*#__PURE__*/ w.createElement(e, s);
}
-var Au = {}, ju = new Proxy({}, { get(e, t) {
+var ju = {}, Mu = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = Au[t];
- return n || (n = /*#__PURE__*/ (0, C.forwardRef)(ku.bind(null, t)), Au[t] = n), n;
-} }), Mu = /*#__PURE__*/ (0, C.createContext)(null), Nu = /*#__PURE__*/ (0, C.createContext)(null), Pu = /*#__PURE__*/ (0, C.createContext)(null), Fu = {
+ let n = ju[t];
+ return n || (n = /*#__PURE__*/ (0, w.forwardRef)(Au.bind(null, t)), ju[t] = n), n;
+} }), Nu = /*#__PURE__*/ (0, w.createContext)(null), Pu = /*#__PURE__*/ (0, w.createContext)(null), Fu = /*#__PURE__*/ (0, w.createContext)(null), Iu = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return Iu(e, null, t);
+ return Lu(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return Iu(e, t, n);
+ return Lu(e, t, n);
}
};
-function Iu(e, t, n) {
- return w({
+function Lu(e, t, n) {
+ return T({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
- if (t.type === "content") return /*#__PURE__*/ C.createElement(C.Fragment, null);
+ if (t.type === "content") return /*#__PURE__*/ w.createElement(w.Fragment, null);
let r = t.render(t);
- return !n || t.type !== "item" ? r : /*#__PURE__*/ C.createElement(C.Fragment, null, n({
+ return !n || t.type !== "item" ? r : /*#__PURE__*/ w.createElement(w.Fragment, null, n({
type: "item",
key: t.key,
dropPosition: "before"
- }), r, Lu(e, t, n));
+ }), r, Ru(e, t, n));
}
});
}
-function Lu(e, t, n) {
+function Ru(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);
@@ -16868,24 +16868,24 @@ function Lu(e, t, n) {
key: r.key,
dropPosition: "after"
});
- /*#__PURE__*/ (0, C.isValidElement)(t) && s.push(/*#__PURE__*/ (0, C.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);
+ /*#__PURE__*/ (0, w.isValidElement)(t) && s.push(/*#__PURE__*/ (0, w.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);
}
}
return s;
}
-var Ru = /*#__PURE__*/ (0, C.createContext)(Fu), zu = /*#__PURE__*/ (0, C.createContext)({}), Bu = /*#__PURE__*/ cn(function(e, t) {
- [e, t] = Eu(e, t, zu);
- let { elementType: n = "label", ...r } = e, i = ju[n];
- return /*#__PURE__*/ C.createElement(i, {
+var zu = /*#__PURE__*/ (0, w.createContext)(Iu), Bu = /*#__PURE__*/ (0, w.createContext)({}), Vu = /*#__PURE__*/ un(function(e, t) {
+ [e, t] = Y(e, t, Bu);
+ let { elementType: n = "label", ...r } = e, i = Mu[n];
+ return /*#__PURE__*/ w.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Vu = /*#__PURE__*/ (0, C.createContext)(null), Hu = /*#__PURE__*/ (0, C.createContext)({}), Uu = /*#__PURE__*/ cn(function(e, t) {
- [e, t] = Eu(e, t, Hu);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Gr(e, t);
- i = Gu(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = G(e), { hoverProps: l, isHovered: u } = Go({
+}), Hu = /*#__PURE__*/ (0, w.createContext)(null), Uu = /*#__PURE__*/ (0, w.createContext)({}), Wu = /*#__PURE__*/ un(function(e, t) {
+ [e, t] = Y(e, t, Uu);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = qr(e, t);
+ i = Ku(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = Bo(e), { hoverProps: l, isHovered: u } = qo({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -16895,25 +16895,25 @@ var Ru = /*#__PURE__*/ (0, C.createContext)(Fu), zu = /*#__PURE__*/ (0, C.create
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = wu({
+ }, f = Eu({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Nt(i.id), m = Nt(), h = i["aria-labelledby"];
+ }), p = Ft(i.id), m = Ft(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
- let g = (0, C.useRef)(r);
- (0, C.useEffect)(() => {
+ let g = (0, w.useRef)(r);
+ (0, w.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && Ci(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && wi(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = xr(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ C.createElement(ju.button, {
- ...V(_, f, i, o, l),
+ let _ = Cr(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ w.createElement(Mu.button, {
+ ...B(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
ref: t,
@@ -16926,62 +16926,62 @@ var Ru = /*#__PURE__*/ (0, C.createContext)(Fu), zu = /*#__PURE__*/ (0, C.create
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ C.createElement(Vu.Provider, { value: { id: m } }, f.children));
-}), Wu = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Gu(e, t) {
+ }, /*#__PURE__*/ w.createElement(Hu.Provider, { value: { id: m } }, f.children));
+}), Gu = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Ku(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Wu.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Gu.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 Ku = /*#__PURE__*/ (0, C.createContext)({}), qu = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- [e, t] = Eu(e, t, Ku);
- let { children: n, level: r = 3, className: i, ...a } = e, o = ju[`h${r}`];
- return /*#__PURE__*/ C.createElement(o, {
+var qu = /*#__PURE__*/ (0, w.createContext)({}), Ju = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
+ [e, t] = Y(e, t, qu);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = Mu[`h${r}`];
+ return /*#__PURE__*/ w.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), Ju = /*#__PURE__*/ (0, C.createContext)({}), Yu = /*#__PURE__*/ cn(function(e, t) {
- [e, t] = Eu(e, t, Ju);
- let { elementType: n = "span", ...r } = e, i = ju[n];
- return /*#__PURE__*/ C.createElement(i, {
+}), Yu = /*#__PURE__*/ (0, w.createContext)({}), X = /*#__PURE__*/ un(function(e, t) {
+ [e, t] = Y(e, t, Yu);
+ let { elementType: n = "span", ...r } = e, i = Mu[n];
+ return /*#__PURE__*/ w.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), X = /*#__PURE__*/ (0, C.createContext)(null), Xu = /*#__PURE__*/ (0, C.createContext)(null), Z = /*#__PURE__*/ (0, C.createContext)(null), Q = /*#__PURE__*/ (0, C.createContext)(null), Zu = /*#__PURE__*/ (0, C.createContext)(null);
-function Qu(e, t) {
- let { validationBehavior: n } = Tu(Xu) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useContext)(Q), a = en((0, C.useMemo)(() => It(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...Ou(e),
+}), Xu = /*#__PURE__*/ (0, w.createContext)(null), Z = /*#__PURE__*/ (0, w.createContext)(null), Q = /*#__PURE__*/ (0, w.createContext)(null), Zu = /*#__PURE__*/ (0, w.createContext)(null), Qu = /*#__PURE__*/ (0, w.createContext)(null);
+function $u(e, t) {
+ let { validationBehavior: n } = Du(Z) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, w.useContext)(Zu), a = nn((0, w.useMemo)(() => Rt(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...ku(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? oa(o, i, a) : $i(o, aa(e), a), a];
+ return [i ? sa(o, i, a) : ea(o, oa(e), a), a];
}
-var $u = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
+var ed = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Eu(r, t, Z);
- let [i, a] = Qu(e, n);
- return /*#__PURE__*/ C.createElement(Zu.Provider, { value: {
+ [e, t] = Y(r, t, Q);
+ let [i, a] = $u(e, n);
+ return /*#__PURE__*/ w.createElement(Qu.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ C.createElement(ed, {
+ } }, /*#__PURE__*/ w.createElement(td, {
...e,
ref: t
}));
-}), ed = /*#__PURE__*/ (0, C.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, C.useContext)(Zu), { isFocused: p, isFocusVisible: m, focusProps: h } = G(), g = a || o, { hoverProps: _, isHovered: v } = Go({
+}), td = /*#__PURE__*/ (0, w.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, w.useContext)(Qu), { isFocused: p, isFocusVisible: m, focusProps: h } = Bo(), g = a || o, { hoverProps: _, isHovered: v } = qo({
...e,
isDisabled: g
- }), y = wu({
+ }), y = Eu({
...e,
defaultClassName: u,
values: {
@@ -16996,9 +16996,9 @@ var $u = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = xr(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ C.createElement(ju.label, {
- ...V(b, n, _, y),
+ }), b = Cr(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ w.createElement(Mu.label, {
+ ...B(b, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -17011,20 +17011,20 @@ var $u = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ C.createElement(ua, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
- ...V(r, h),
+ }, /*#__PURE__*/ w.createElement(da, { elementType: "span" }, /*#__PURE__*/ w.createElement("input", {
+ ...B(r, h),
ref: l
})), y.children);
-}), td = /*#__PURE__*/ (0, C.createContext)({}), nd = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- [e, t] = Eu(e, t, td);
+}), nd = /*#__PURE__*/ (0, w.createContext)({}), rd = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
+ [e, t] = Y(e, t, nd);
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 } = Go({
+ let { hoverProps: l, isHovered: u } = qo({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = G({ within: !0 }), m = wu({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Bo({ within: !0 }), m = Eu({
...e,
values: {
isHovered: u,
@@ -17035,8 +17035,8 @@ var $u = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ C.createElement(ju.div, {
- ...V(c, p, l),
+ return /*#__PURE__*/ w.createElement(Mu.div, {
+ ...B(c, p, l),
...m,
ref: t,
role: e.role ?? "group",
@@ -17048,18 +17048,18 @@ var $u = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), rd = /*#__PURE__*/ (0, C.createContext)({}), id = (e) => {
+}), id = /*#__PURE__*/ (0, w.createContext)({}), ad = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, ad = /*#__PURE__*/ cn(function(e, t) {
- [e, t] = Eu(e, t, rd);
- let { hoverProps: n, isHovered: r } = Go({
+}, od = /*#__PURE__*/ un(function(e, t) {
+ [e, t] = Y(e, t, id);
+ let { hoverProps: n, isHovered: r } = qo({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = G({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = Bo({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = wu({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Eu({
...e,
values: {
isHovered: r,
@@ -17070,8 +17070,8 @@ var $u = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ C.createElement(ju.input, {
- ...V(id(e), o, n),
+ return /*#__PURE__*/ w.createElement(Mu.input, {
+ ...B(ad(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -17080,8 +17080,8 @@ var $u = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), od = {};
-od = {
+}), sd = {};
+sd = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -17089,8 +17089,8 @@ od = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var sd = {};
-sd = {
+var cd = {};
+cd = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -17098,8 +17098,8 @@ sd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var cd = {};
-cd = {
+var ld = {};
+ld = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -17107,8 +17107,8 @@ cd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var ld = {};
-ld = {
+var ud = {};
+ud = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -17116,8 +17116,8 @@ ld = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var ud = {};
-ud = {
+var dd = {};
+dd = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -17125,8 +17125,8 @@ ud = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var dd = {};
-dd = {
+var fd = {};
+fd = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -17134,8 +17134,8 @@ dd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var fd = {};
-fd = {
+var pd = {};
+pd = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -17143,8 +17143,8 @@ fd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var pd = {};
-pd = {
+var md = {};
+md = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -17152,8 +17152,8 @@ pd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var md = {};
-md = {
+var hd = {};
+hd = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -17161,8 +17161,8 @@ md = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var hd = {};
-hd = {
+var gd = {};
+gd = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -17170,8 +17170,8 @@ hd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var gd = {};
-gd = {
+var _d = {};
+_d = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -17179,8 +17179,8 @@ gd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var _d = {};
-_d = {
+var vd = {};
+vd = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -17188,8 +17188,8 @@ _d = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var vd = {};
-vd = {
+var yd = {};
+yd = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -17197,8 +17197,8 @@ vd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var yd = {};
-yd = {
+var bd = {};
+bd = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -17206,8 +17206,8 @@ yd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var bd = {};
-bd = {
+var xd = {};
+xd = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -17215,8 +17215,8 @@ bd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var xd = {};
-xd = {
+var Sd = {};
+Sd = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -17224,8 +17224,8 @@ xd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var Sd = {};
-Sd = {
+var Cd = {};
+Cd = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -17233,8 +17233,8 @@ Sd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var Cd = {};
-Cd = {
+var wd = {};
+wd = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -17242,8 +17242,8 @@ Cd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var wd = {};
-wd = {
+var Td = {};
+Td = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -17251,8 +17251,8 @@ wd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var Td = {};
-Td = {
+var Ed = {};
+Ed = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -17260,8 +17260,8 @@ Td = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var Ed = {};
-Ed = {
+var Dd = {};
+Dd = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -17269,8 +17269,8 @@ Ed = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var Dd = {};
-Dd = {
+var Od = {};
+Od = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -17278,8 +17278,8 @@ Dd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var Od = {};
-Od = {
+var kd = {};
+kd = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -17287,8 +17287,8 @@ Od = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var kd = {};
-kd = {
+var Ad = {};
+Ad = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -17296,8 +17296,8 @@ kd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var Ad = {};
-Ad = {
+var jd = {};
+jd = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -17305,8 +17305,8 @@ Ad = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var jd = {};
-jd = {
+var Md = {};
+Md = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -17314,8 +17314,8 @@ jd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var Md = {};
-Md = {
+var Nd = {};
+Nd = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -17323,8 +17323,8 @@ Md = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var Nd = {};
-Nd = {
+var Pd = {};
+Pd = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -17332,8 +17332,8 @@ Nd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var Pd = {};
-Pd = {
+var Fd = {};
+Fd = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -17341,8 +17341,8 @@ Pd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var Fd = {};
-Fd = {
+var Id = {};
+Id = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -17350,8 +17350,8 @@ Fd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var Id = {};
-Id = {
+var Ld = {};
+Ld = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -17359,8 +17359,8 @@ Id = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var Ld = {};
-Ld = {
+var Rd = {};
+Rd = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -17368,8 +17368,8 @@ Ld = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var Rd = {};
-Rd = {
+var zd = {};
+zd = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -17377,8 +17377,8 @@ Rd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var zd = {};
-zd = {
+var Bd = {};
+Bd = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -17386,52 +17386,52 @@ zd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var Bd = {};
-Bd = {
- "ar-AE": od,
- "bg-BG": sd,
- "cs-CZ": cd,
- "da-DK": ld,
- "de-DE": ud,
- "el-GR": dd,
- "en-US": fd,
- "es-ES": pd,
- "et-EE": md,
- "fi-FI": hd,
- "fr-FR": gd,
- "he-IL": _d,
- "hr-HR": vd,
- "hu-HU": yd,
- "it-IT": bd,
- "ja-JP": xd,
- "ko-KR": Sd,
- "lt-LT": Cd,
- "lv-LV": wd,
- "nb-NO": Td,
- "nl-NL": Ed,
- "pl-PL": Dd,
- "pt-BR": Od,
- "pt-PT": kd,
- "ro-RO": Ad,
- "ru-RU": jd,
- "sk-SK": Md,
- "sl-SI": Nd,
- "sr-SP": Pd,
- "sv-SE": Fd,
- "tr-TR": Id,
- "uk-UA": Ld,
- "zh-CN": Rd,
- "zh-TW": zd
+var Vd = {};
+Vd = {
+ "ar-AE": sd,
+ "bg-BG": cd,
+ "cs-CZ": ld,
+ "da-DK": ud,
+ "de-DE": dd,
+ "el-GR": fd,
+ "en-US": pd,
+ "es-ES": md,
+ "et-EE": hd,
+ "fi-FI": gd,
+ "fr-FR": _d,
+ "he-IL": vd,
+ "hr-HR": yd,
+ "hu-HU": bd,
+ "it-IT": xd,
+ "ja-JP": Sd,
+ "ko-KR": Cd,
+ "lt-LT": wd,
+ "lv-LV": Td,
+ "nb-NO": Ed,
+ "nl-NL": Dd,
+ "pl-PL": Od,
+ "pt-BR": kd,
+ "pt-PT": Ad,
+ "ro-RO": jd,
+ "ru-RU": Md,
+ "sk-SK": Nd,
+ "sl-SI": Pd,
+ "sr-SP": Fd,
+ "sv-SE": Id,
+ "tr-TR": Ld,
+ "uk-UA": Rd,
+ "zh-CN": zd,
+ "zh-TW": Bd
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var Vd = /*#__PURE__*/ (0, C.createContext)({}), Hd = /*#__PURE__*/ (0, C.createContext)(null), Ud = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- let { render: n } = (0, C.useContext)(Hd);
- return /*#__PURE__*/ C.createElement(C.Fragment, null, n(e, t));
+var Hd = /*#__PURE__*/ (0, w.createContext)({}), Ud = /*#__PURE__*/ (0, w.createContext)(null), Wd = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
+ let { render: n } = (0, w.useContext)(Ud);
+ return /*#__PURE__*/ w.createElement(w.Fragment, null, n(e, t));
});
-function Wd(e, t) {
- let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, C.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ C.createElement(Ud, { target: e });
+function Gd(e, t) {
+ let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, w.useCallback)((e) => {
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ w.createElement(Wd, { target: e });
}, [
t?.target,
r,
@@ -17439,7 +17439,7 @@ function Wd(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function Gd(e, t, n) {
+function Kd(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;
@@ -17458,19 +17458,19 @@ function Gd(e, t, n) {
}
i = e ?? t ?? i;
}
- return (0, C.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
+ return (0, w.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var Kd = /*#__PURE__*/ (0, C.createContext)({}), qd = /*#__PURE__*/ (0, C.createContext)(null);
-function Jd(e) {
- let t = (0, C.useRef)({});
- return /*#__PURE__*/ C.createElement(qd.Provider, { value: t }, e.children);
+var qd = /*#__PURE__*/ (0, w.createContext)({}), Jd = /*#__PURE__*/ (0, w.createContext)(null);
+function Yd(e) {
+ let t = (0, w.useRef)({});
+ return /*#__PURE__*/ w.createElement(Jd.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var Yd = /*#__PURE__*/ (0, C.createContext)({ isSelected: !1 }), Xd = /*#__PURE__*/ (0, C.createContext)({});
-(class extends f {
+var Xd = /*#__PURE__*/ (0, w.createContext)({ isSelected: !1 }), Zd = /*#__PURE__*/ (0, w.createContext)({});
+(class extends p {
static {
this.type = "separator";
}
@@ -17485,13 +17485,13 @@ var Yd = /*#__PURE__*/ (0, C.createContext)({ isSelected: !1 }), Xd = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function Zd(e) {
- let t = C.version.split(".");
+function Qd(e) {
+ let t = w.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 Qd = class {
+var $d = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -17535,23 +17535,23 @@ var Qd = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, $d = class e extends Set {
+}, ef = 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 ef(e, t) {
+function tf(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function tf(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, C.useRef)(!1), [, s] = (0, C.useState)(!1), c = (0, C.useRef)(null), l = (0, C.useRef)(null), [, u] = (0, C.useState)(null), [d, f] = ia((0, C.useMemo)(() => nf(e.selectedKeys), [e.selectedKeys]), (0, C.useMemo)(() => nf(e.defaultSelectedKeys, new $d()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, C.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, C.useState)(i);
+function nf(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, w.useRef)(!1), [, s] = (0, w.useState)(!1), c = (0, w.useRef)(null), l = (0, w.useRef)(null), [, u] = (0, w.useState)(null), [d, f] = aa((0, w.useMemo)(() => rf(e.selectedKeys), [e.selectedKeys]), (0, w.useMemo)(() => rf(e.defaultSelectedKeys, new ef()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, w.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, w.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
- let g = (0, C.useRef)(i);
- return (0, C.useEffect)(() => {
+ let g = (0, w.useRef)(i);
+ return (0, w.useEffect)(() => {
i !== g.current && (h(i), g.current = i);
}, [i]), {
selectionMode: t,
@@ -17575,18 +17575,18 @@ function tf(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !ef(e, d)) && f(e);
+ (r || !tf(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function nf(e, t) {
- return e ? e === "all" ? "all" : new $d(e) : t;
+function rf(e, t) {
+ return e ? e === "all" ? "all" : new ef(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var rf = class e {
+var af = 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;
}
@@ -17642,7 +17642,7 @@ var rf = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Eo(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Do(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -17650,7 +17650,7 @@ var rf = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Eo(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Do(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -17669,10 +17669,10 @@ var rf = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new $d([t], t, t);
+ if (this.state.selectedKeys === "all") n = new ef([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new $d(e, r, t);
+ n = new ef(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);
}
@@ -17680,7 +17680,7 @@ var rf = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Eo(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Do(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);
@@ -17706,19 +17706,19 @@ var rf = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new $d(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new ef(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 $d([t], t, t) : new $d();
+ let n = this.canSelectItem(t) ? new ef([t], t, t) : new ef();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new $d();
+ let t = new ef();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -17730,7 +17730,7 @@ var rf = 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(wo(Co(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(To(wo(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -17741,7 +17741,7 @@ var rf = 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 $d());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new ef());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -17782,13 +17782,13 @@ var rf = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, af = class {
+}, of = class {
build(e, t) {
- return this.context = t, of(() => this.iterateCollection(e));
+ return this.context = t, sf(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
- if (C.isValidElement(t) && t.type === C.Fragment) yield* this.iterateCollection({
+ if (w.isValidElement(t) && t.type === w.Fragment) yield* this.iterateCollection({
children: t.props.children,
items: n
});
@@ -17801,7 +17801,7 @@ var rf = class e {
}, { renderer: t }), e++;
} else {
let e = [];
- C.Children.forEach(t, (t) => {
+ w.Children.forEach(t, (t) => {
t && e.push(t);
});
let n = 0;
@@ -17829,9 +17829,9 @@ var rf = class e {
return { renderer: t.renderer || e.renderer };
}
*getFullNode(e, t, n, r) {
- if (C.isValidElement(e.element) && e.element.type === C.Fragment) {
+ if (w.isValidElement(e.element) && e.element.type === w.Fragment) {
let i = [];
- C.Children.forEach(e.element.props.children, (e) => {
+ w.Children.forEach(e.element.props.children, (e) => {
i.push(e);
});
let a = e.index ?? 0;
@@ -17850,7 +17850,7 @@ var rf = class e {
}
i = t.renderer(e.value);
}
- if (C.isValidElement(i)) {
+ if (w.isValidElement(i)) {
let a = i.type;
if (typeof a != "function" && typeof a.getCollectionNode != "function") {
let e = i.type;
@@ -17866,10 +17866,10 @@ var rf = class e {
...a,
key: l,
index: s,
- wrapper: sf(e.wrapper, a.wrapper)
+ wrapper: cf(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 <${cf(t.type)}> in <${cf(r?.type ?? "unknown parent type")}>. Only <${cf(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 <${lf(t.type)}> in <${lf(r?.type ?? "unknown parent type")}>. Only <${lf(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -17891,7 +17891,7 @@ var rf = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: of(function* () {
+ childNodes: sf(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -17910,7 +17910,7 @@ var rf = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function of(e) {
+function sf(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -17918,19 +17918,19 @@ function of(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function sf(e, t) {
+function cf(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function cf(e) {
+function lf(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function lf(e, t, n) {
- let r = (0, C.useMemo)(() => new af(), []), { children: i, items: a, collection: o } = e;
- return (0, C.useMemo)(() => o || t(r.build({
+function uf(e, t, n) {
+ let r = (0, w.useMemo)(() => new of(), []), { children: i, items: a, collection: o } = e;
+ return (0, w.useMemo)(() => o || t(r.build({
children: i,
items: a
}, n)), [
@@ -17944,29 +17944,29 @@ function lf(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function uf(e) {
- let { filter: t, layoutDelegate: n } = e, r = tf(e), i = (0, C.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = lf(e, (0, C.useCallback)((e) => t ? new Qd(t(e)) : new Qd(e), [t]), (0, C.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, C.useMemo)(() => new rf(a, r, { layoutDelegate: n }), [
+function df(e) {
+ let { filter: t, layoutDelegate: n } = e, r = nf(e), i = (0, w.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = uf(e, (0, w.useCallback)((e) => t ? new $d(t(e)) : new $d(e), [t]), (0, w.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, w.useMemo)(() => new af(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return ff(a, o), {
+ return pf(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function df(e, t) {
- let n = (0, C.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return ff(n, r), {
+function ff(e, t) {
+ let n = (0, w.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
+ return pf(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function ff(e, t) {
- let n = (0, C.useRef)(null);
- (0, C.useEffect)(() => {
+function pf(e, t) {
+ let n = (0, w.useRef)(null);
+ (0, w.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
let r = n.current.getKeyAfter(t.focusedKey), i = null;
for (; r != null;) {
@@ -17992,15 +17992,15 @@ function ff(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function pf(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, C.useRef)(null), s = Vn((e) => {
+function mf(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, w.useRef)(null), s = Un((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- B(() => {
+ z(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: Ei(t?.current),
+ root: Di(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -18016,42 +18016,42 @@ function pf(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var mf = /*#__PURE__*/ (0, C.createContext)(null), hf = /*#__PURE__*/ (0, C.createContext)(null), gf = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- [e, t] = Eu(e, t, mf);
- let n = (0, C.useContext)(hf);
- return n ? /*#__PURE__*/ C.createElement(vf, {
+var hf = /*#__PURE__*/ (0, w.createContext)(null), gf = /*#__PURE__*/ (0, w.createContext)(null), _f = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
+ [e, t] = Y(e, t, hf);
+ let n = (0, w.useContext)(gf);
+ return n ? /*#__PURE__*/ w.createElement(yf, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ C.createElement(vn, { content: /*#__PURE__*/ C.createElement(kn, e) }, (n) => /*#__PURE__*/ C.createElement(_f, {
+ }) : /*#__PURE__*/ w.createElement(bn, { content: /*#__PURE__*/ w.createElement(jn, e) }, (n) => /*#__PURE__*/ w.createElement(vf, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function _f({ props: e, listBoxRef: t, collection: n }) {
+function vf({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, C.useContext)(Ru), i = uf({
+ let { layoutDelegate: r } = (0, w.useContext)(zu), i = df({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ C.createElement(vf, {
+ return /*#__PURE__*/ w.createElement(yf, {
state: i,
props: e,
listBoxRef: t
});
}
-function vf({ state: e, props: t, listBoxRef: n }) {
- [t, n] = Eu(t, n, Mu);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = df(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = er(), { disabledBehavior: p, disabledKeys: m } = l, h = jo({
+function yf({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = Y(t, n, Nu);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = ff(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = nr(), { disabledBehavior: p, disabledKeys: m } = l, h = Mo({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, C.useContext)(Ru), b = (0, C.useMemo)(() => t.keyboardDelegate || new Da({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, w.useContext)(zu), b = (0, w.useMemo)(() => t.keyboardDelegate || new Oa({
collection: c,
collator: h,
ref: n,
@@ -18072,25 +18072,25 @@ function vf({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Qo({
+ ]), { listBoxProps: x } = es({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
isVirtualized: g
}, s, n);
- (0, C.useRef)(u), (0, C.useRef)(d), (0, C.useEffect)(() => {}, [u, d]);
- let S, w, T, E = !1, D = null, O = (0, C.useRef)(null);
+ (0, w.useRef)(u), (0, w.useRef)(d), (0, w.useEffect)(() => {}, [u, d]);
+ let S, C, T, ee = !1, E = null, D = (0, w.useRef)(null);
if (u && r) {
S = r.useDraggableCollectionState({
collection: c,
selectionManager: l,
- preview: r.renderDragPreview ? O : void 0
+ preview: r.renderDragPreview ? D : void 0
}), r.useDraggableCollection({}, S, n);
let e = r.DragPreview;
- D = r.renderDragPreview ? /*#__PURE__*/ C.createElement(e, { ref: O }, r.renderDragPreview) : null;
+ E = r.renderDragPreview ? /*#__PURE__*/ w.createElement(e, { ref: D }, r.renderDragPreview) : null;
}
if (d && r) {
- w = r.useDroppableCollectionState({
+ C = r.useDroppableCollectionState({
collection: c,
selectionManager: l
});
@@ -18102,92 +18102,92 @@ function vf({ state: e, props: t, listBoxRef: n }) {
T = r.useDroppableCollection({
keyboardDelegate: b,
dropTargetDelegate: e
- }, w, n), E = w.isDropTarget({ type: "root" });
+ }, C, n), ee = C.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = G(), M = s.collection.size === 0, N = {
- isDropTarget: E,
- isEmpty: M,
- isFocused: A,
- isFocusVisible: j,
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = Bo(), j = s.collection.size === 0, M = {
+ isDropTarget: ee,
+ isEmpty: j,
+ isFocused: k,
+ isFocusVisible: A,
layout: t.layout || "stack",
orientation: a,
state: s
- }, ee = wu({
+ }, te = Eu({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
- values: N
- }), te = null;
- M && t.renderEmptyState && (te = /*#__PURE__*/ C.createElement("div", {
+ values: M
+ }), ne = null;
+ j && t.renderEmptyState && (ne = /*#__PURE__*/ w.createElement("div", {
role: "option",
style: { display: "contents" }
- }, t.renderEmptyState(N)));
- let P = xr(t, { global: !0 });
- return /*#__PURE__*/ C.createElement(Zr, null, /*#__PURE__*/ C.createElement(ju.div, {
- ...V(P, ee, x, k, T?.collectionProps),
+ }, t.renderEmptyState(M)));
+ let N = Cr(t, { global: !0 });
+ return /*#__PURE__*/ w.createElement(Qr, null, /*#__PURE__*/ w.createElement(Mu.div, {
+ ...B(N, te, x, O, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
onScroll: t.onScroll,
- "data-drop-target": E || void 0,
- "data-empty": M || void 0,
- "data-focused": A || void 0,
- "data-focus-visible": j || void 0,
+ "data-drop-target": ee || void 0,
+ "data-empty": j || void 0,
+ "data-focused": k || void 0,
+ "data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ C.createElement(Cu, { values: [
- [mf, t],
- [hf, s],
- [Vd, {
+ }, /*#__PURE__*/ w.createElement(Tu, { values: [
+ [hf, t],
+ [gf, s],
+ [Hd, {
dragAndDropHooks: r,
dragState: S,
- dropState: w
+ dropState: C
}],
- [Xd, { elementType: "div" }],
- [Hd, { render: xf }],
- [Pu, {
+ [Zd, { elementType: "div" }],
+ [Ud, { render: Sf }],
+ [Fu, {
name: "ListBoxSection",
- render: yf
+ render: bf
}]
- ] }, /*#__PURE__*/ C.createElement(Jd, null, /*#__PURE__*/ C.createElement(y, {
+ ] }, /*#__PURE__*/ w.createElement(Yd, null, /*#__PURE__*/ w.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: Gd(l, r, w),
- renderDropIndicator: Wd(r, w)
- }))), te, D));
+ persistedKeys: Kd(l, r, C),
+ renderDropIndicator: Gd(r, C)
+ }))), ne, E));
}
-function yf(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, C.useContext)(hf), { dragAndDropHooks: a, dropState: o } = (0, C.useContext)(Vd), { CollectionBranch: s } = (0, C.useContext)(Ru), [c, l] = Du(), { headingProps: u, groupProps: d } = $o({
+function bf(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, w.useContext)(gf), { dragAndDropHooks: a, dropState: o } = (0, w.useContext)(Hd), { CollectionBranch: s } = (0, w.useContext)(zu), [c, l] = Ou(), { headingProps: u, groupProps: d } = ts({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = wu({
+ }), f = Eu({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = xr(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ C.createElement(ju.section, {
- ...V(p, f, d),
+ }), p = Cr(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ w.createElement(Mu.section, {
+ ...B(p, f, d),
ref: t
- }, /*#__PURE__*/ C.createElement(Kd.Provider, { value: {
+ }, /*#__PURE__*/ w.createElement(qd.Provider, { value: {
...u,
ref: c
- } }, /*#__PURE__*/ C.createElement(s, {
+ } }, /*#__PURE__*/ w.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: Wd(a, o)
+ renderDropIndicator: Gd(a, o)
})));
}
-var bf = /*#__PURE__*/ En(h, function(e, t, n) {
- let r = en(t), i = (0, C.useContext)(hf), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(Vd), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = es({
+var xf = /*#__PURE__*/ On(g, function(e, t, n) {
+ let r = nn(t), i = (0, w.useContext)(gf), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, w.useContext)(Hd), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = ns({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = Go({
+ }, i, r), { hoverProps: p, isHovered: m } = qo({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = $t(e), { focusProps: g } = Bt(e), _ = null;
+ }), { keyboardProps: h } = tn(e), { focusProps: g } = V(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -18198,7 +18198,7 @@ var bf = /*#__PURE__*/ En(h, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = wu({
+ let y = o && o.isDragging(n.key), b = Eu({
...e,
id: void 0,
children: e.children,
@@ -18213,12 +18213,12 @@ var bf = /*#__PURE__*/ En(h, function(e, t, n) {
isDropTarget: v?.isDropTarget
}
});
- (0, C.useEffect)(() => {
+ (0, w.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? ju.a : ju.div, S = xr(e, { global: !0 });
- return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ C.createElement(x, {
- ...V(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
+ let x = e.href ? Mu.a : Mu.div, S = Cr(e, { global: !0 });
+ return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ w.createElement(x, {
+ ...B(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
"data-allows-dragging": !!o || void 0,
"data-selected": f.isSelected || void 0,
@@ -18230,29 +18230,29 @@ var bf = /*#__PURE__*/ En(h, 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__*/ C.createElement(Cu, { values: [[Ju, { slots: {
- [Su]: u,
+ }, /*#__PURE__*/ w.createElement(Tu, { values: [[Yu, { slots: {
+ [wu]: u,
label: u,
description: d
- } }], [Yd, { isSelected: f.isSelected }]] }, b.children));
+ } }], [Xd, { isSelected: f.isSelected }]] }, b.children));
});
-function xf(e, t) {
- t = en(t);
- let { dragAndDropHooks: n, dropState: r } = (0, C.useContext)(Vd), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ C.createElement(Cf, {
+function Sf(e, t) {
+ t = nn(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, w.useContext)(Hd), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ w.createElement(wf, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Sf(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = wu({
+function Cf(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Eu({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(ju.div, {
+ return /*#__PURE__*/ w.createElement(w.Fragment, null, /*#__PURE__*/ w.createElement(Mu.div, {
...n,
...a,
role: "option",
@@ -18260,10 +18260,10 @@ function Sf(e, t) {
"data-drop-target": r || void 0
}));
}
-var Cf = /*#__PURE__*/ (0, C.forwardRef)(Sf);
-En(m, function(e, t, n) {
- let r = (0, C.useContext)(hf), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, C.useRef)(null);
- pf((0, C.useMemo)(() => ({
+var wf = /*#__PURE__*/ (0, w.forwardRef)(Cf);
+On(h, function(e, t, n) {
+ let r = (0, w.useContext)(gf), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, w.useRef)(null);
+ mf((0, w.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -18273,21 +18273,21 @@ En(m, function(e, t, n) {
o,
r?.collection
]), c);
- let l = wu({
+ let l = Eu({
...s,
id: void 0,
children: n.rendered,
defaultClassName: "react-aria-ListBoxLoadingIndicator",
values: void 0
});
- return /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement("div", {
+ return /*#__PURE__*/ w.createElement(w.Fragment, null, /*#__PURE__*/ w.createElement("div", {
style: {
position: "relative",
width: 0,
height: 0
},
- inert: Zd(!0)
- }, /*#__PURE__*/ C.createElement("div", {
+ inert: Qd(!0)
+ }, /*#__PURE__*/ w.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
style: {
@@ -18295,8 +18295,8 @@ En(m, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(ju.div, {
- ...V(xr(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ w.createElement(w.Fragment, null, /*#__PURE__*/ w.createElement(Mu.div, {
+ ...B(Cr(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -18304,21 +18304,21 @@ En(m, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var wf = /*#__PURE__*/ (0, C.createContext)({ placement: "bottom" });
+var Tf = /*#__PURE__*/ (0, w.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function Tf(e) {
- let [t, n] = ia(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, C.useState)(null);
+function Ef(e) {
+ let [t, n] = aa(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, w.useState)(null);
return {
isOpen: t,
setOpen: n,
- open: (0, C.useCallback)(() => {
+ open: (0, w.useCallback)(() => {
n(!0);
}, [n]),
- close: (0, C.useCallback)(() => {
+ close: (0, w.useCallback)(() => {
n(!1);
}, [n]),
- toggle: (0, C.useCallback)(() => {
+ toggle: (0, w.useCallback)(() => {
n(!t);
}, [n, t]),
point: r,
@@ -18327,14 +18327,14 @@ function Tf(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function Ef(e, t = !0) {
- let [n, r] = (0, C.useState)(!0), i = n && t;
- return B(() => {
+function Df(e, t = !0) {
+ let [n, r] = (0, w.useState)(!0), i = n && t;
+ return z(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), Of(e, i, (0, C.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), kf(e, i, (0, w.useCallback)(() => r(!1), [])), i;
}
-function Df(e, t) {
- let [n, r] = (0, C.useState)(t ? "open" : "closed");
+function Of(e, t) {
+ let [n, r] = (0, w.useState)(t ? "open" : "closed");
switch (n) {
case "open":
t || r("exiting");
@@ -18343,12 +18343,12 @@ function Df(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return Of(e, i, (0, C.useCallback)(() => {
+ return kf(e, i, (0, w.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function Of(e, t, n) {
- B(() => {
+function kf(e, t, n) {
+ z(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
n();
@@ -18361,7 +18361,7 @@ function Of(e, t, n) {
}
let r = !1;
return Promise.allSettled(t.map((e) => e.finished)).then(() => {
- r || (0, mn.flushSync)(() => {
+ r || (0, gn.flushSync)(() => {
n();
});
}), () => {
@@ -18376,9 +18376,9 @@ function Of(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var kf = /*#__PURE__*/ (0, C.createContext)(null), Af = /*#__PURE__*/ (0, C.createContext)(null), jf = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- [e, t] = Eu(e, t, kf);
- let n = (0, C.useContext)(Pf), r = Tf(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Df(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ln(), { direction: c } = er();
+var Af = /*#__PURE__*/ (0, w.createContext)(null), jf = /*#__PURE__*/ (0, w.createContext)(null), Mf = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
+ [e, t] = Y(e, t, Af);
+ let n = (0, w.useContext)(Ff), r = Ef(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Of(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = dn(), { direction: c } = nr();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -18387,9 +18387,9 @@ var kf = /*#__PURE__*/ (0, C.createContext)(null), Af = /*#__PURE__*/ (0, C.crea
isEntering: !1,
isExiting: !1,
defaultChildren: null
- })), /*#__PURE__*/ C.createElement(C.Fragment, null, t);
+ })), /*#__PURE__*/ w.createElement(w.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ C.createElement(Mf, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ w.createElement(Nf, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -18398,13 +18398,13 @@ var kf = /*#__PURE__*/ (0, C.createContext)(null), Af = /*#__PURE__*/ (0, C.crea
dir: c
});
});
-function Mf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useContext)(Af), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Sc({
+function Nf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, w.useRef)(null), o = (0, w.useRef)(null), s = (0, w.useContext)(jf), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = wc({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = Ef(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = wu({
+ }, e), m = i.popoverRef, h = Df(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Eu({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -18413,34 +18413,34 @@ function Mf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
isEntering: g,
isExiting: t
}
- }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, C.useState)(i.trigger === "PreviewTrigger");
- B(() => {
+ }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, w.useState)(i.trigger === "PreviewTrigger");
+ z(() => {
m.current && b(v && !m.current.querySelector("[role=dialog]"));
- }, [m, v]), (0, C.useEffect)(() => {
- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || gt() !== "pointer") && m.current && !se(m.current) && Et(m.current);
+ }, [m, v]), (0, w.useEffect)(() => {
+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || vt() !== "pointer") && m.current && !le(m.current) && Ot(m.current);
}, [
y,
m,
i.trigger
]);
- let x = (0, C.useMemo)(() => {
+ let x = (0, w.useMemo)(() => {
let e = _.children;
- if (r) for (let t of r) e = /*#__PURE__*/ C.createElement(t.Provider, { value: null }, e);
+ if (r) for (let t of r) e = /*#__PURE__*/ w.createElement(t.Provider, { value: null }, e);
return e;
- }, [_.children, r]), [S, w] = (0, C.useState)(null), T = (0, C.useCallback)(() => {
- i.triggerRef.current && w(i.triggerRef.current.getBoundingClientRect().width + "px");
+ }, [_.children, r]), [S, C] = (0, w.useState)(null), T = (0, w.useCallback)(() => {
+ i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- B(T, [T]), ns({
+ z(T, [T]), is({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: T
});
- let E = {
+ let ee = {
...l.style,
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, D = /*#__PURE__*/ C.createElement(ju.div, {
- ...V(xr(i, { global: !0 }), l),
+ }, E = /*#__PURE__*/ w.createElement(Mu.div, {
+ ...B(Cr(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -18449,81 +18449,81 @@ function Mf({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
"aria-labelledby": i["aria-labelledby"],
ref: m,
slot: i.slot || void 0,
- style: E,
+ style: ee,
dir: i.dir,
"data-trigger": i.trigger,
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ C.createElement(zs, { onDismiss: e.close }), /*#__PURE__*/ C.createElement(wf.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ w.createElement(Vs, { onDismiss: e.close }), /*#__PURE__*/ w.createElement(Tf.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ C.createElement(zs, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ C.createElement(Lo, {
+ } }, x), /*#__PURE__*/ w.createElement(Vs, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ w.createElement(Ro, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, D) : /*#__PURE__*/ C.createElement(Lo, {
+ }, E) : /*#__PURE__*/ w.createElement(Ro, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n
- }, !i.isNonModal && e.isOpen && /*#__PURE__*/ C.createElement("div", {
+ }, !i.isNonModal && e.isOpen && /*#__PURE__*/ w.createElement("div", {
"data-testid": "underlay",
...u,
style: {
position: "fixed",
inset: 0
}
- }), /*#__PURE__*/ C.createElement("div", {
+ }), /*#__PURE__*/ w.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ C.createElement(Af.Provider, { value: o }, D)));
+ }, /*#__PURE__*/ w.createElement(jf.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var Nf = /*#__PURE__*/ (0, C.createContext)(null), Pf = /*#__PURE__*/ (0, C.createContext)(null), Ff = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
+var Pf = /*#__PURE__*/ (0, w.createContext)(null), Ff = /*#__PURE__*/ (0, w.createContext)(null), If = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = Eu(e, t, Nf);
- let { dialogProps: r, titleProps: i, contentProps: a } = W({
+ [e, t] = Y(e, t, Pf);
+ let { dialogProps: r, titleProps: i, contentProps: a } = zo({
...e,
"aria-labelledby": n
- }, t), o = (0, C.useContext)(Pf);
+ }, t), o = (0, w.useContext)(Ff);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = wu({
+ let s = Eu({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = xr(e, { global: !0 });
- return /*#__PURE__*/ C.createElement(ju.section, {
- ...V(c, s, r),
+ }), c = Cr(e, { global: !0 });
+ return /*#__PURE__*/ w.createElement(Mu.section, {
+ ...B(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ C.createElement(Cu, { values: [
- [Ku, { slots: {
- [Su]: {},
+ }, /*#__PURE__*/ w.createElement(Tu, { values: [
+ [qu, { slots: {
+ [wu]: {},
title: {
...i,
level: 2
}
} }],
- [Ju, { slots: {
- [Su]: {},
+ [Yu, { slots: {
+ [wu]: {},
description: a
} }],
- [Hu, { slots: {
- [Su]: {},
+ [Uu, { slots: {
+ [wu]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), If = Math.round(Math.random() * 1e10), Lf = 0;
-function Rf(e) {
- let t = (0, C.useMemo)(() => e.name || `radio-group-${If}-${++Lf}`, [e.name]), [n, r] = ia(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, C.useState)(n), [a, o] = (0, C.useState)(null), s = Ki({
+}), Lf = Math.round(Math.random() * 1e10), Rf = 0;
+function zf(e) {
+ let t = (0, w.useMemo)(() => e.name || `radio-group-${Lf}-${++Rf}`, [e.name]), [n, r] = aa(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, w.useState)(n), [a, o] = (0, w.useState)(null), s = qi({
...e,
value: n
}), c = (t) => {
@@ -18546,16 +18546,16 @@ function Rf(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var zf = /*#__PURE__*/ (0, C.createContext)(null), Bf = /*#__PURE__*/ (0, C.createContext)(null), $ = /*#__PURE__*/ (0, C.createContext)(null), Vf = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- [e, t] = Eu(e, t, zf);
- let { validationBehavior: n } = Tu(Xu) || {}, r = e.validationBehavior ?? n ?? "native", i = Rf({
+var Bf = /*#__PURE__*/ (0, w.createContext)(null), $ = /*#__PURE__*/ (0, w.createContext)(null), Vf = /*#__PURE__*/ (0, w.createContext)(null), Hf = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
+ [e, t] = Y(e, t, Bf);
+ let { validationBehavior: n } = Du(Z) || {}, r = e.validationBehavior ?? n ?? "native", i = zf({
...e,
validationBehavior: r
- }), [a, o] = Du(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Tc({
+ }), [a, o] = Ou(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Dc({
...e,
label: o,
validationBehavior: r
- }, i), f = wu({
+ }, i), f = Eu({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -18566,9 +18566,9 @@ var zf = /*#__PURE__*/ (0, C.createContext)(null), Bf = /*#__PURE__*/ (0, C.crea
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = xr(e, { global: !0 });
- return /*#__PURE__*/ C.createElement(ju.div, {
- ...V(p, f, s),
+ }), p = Cr(e, { global: !0 });
+ return /*#__PURE__*/ w.createElement(Mu.div, {
+ ...B(p, f, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": e.orientation || "vertical",
@@ -18576,39 +18576,39 @@ var zf = /*#__PURE__*/ (0, C.createContext)(null), Bf = /*#__PURE__*/ (0, C.crea
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ C.createElement(Cu, { values: [
- [$, i],
- [zu, {
+ }, /*#__PURE__*/ w.createElement(Tu, { values: [
+ [Vf, i],
+ [Bu, {
...c,
ref: a,
elementType: "span"
}],
- [Ju, { slots: {
+ [Yu, { slots: {
description: l,
errorMessage: u
} }],
- [X, d]
- ] }, /*#__PURE__*/ C.createElement(Jd, null, f.children)));
-}), Hf = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
+ [Xu, d]
+ ] }, /*#__PURE__*/ w.createElement(Yd, null, f.children)));
+}), Uf = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Eu(r, t, Bf);
- let i = C.useContext($), a = en((0, C.useMemo)(() => It(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = wc({
- ...Ou(e),
+ [e, t] = Y(r, t, $);
+ let i = w.useContext(Vf), a = nn((0, w.useMemo)(() => Rt(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Ec({
+ ...ku(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ C.createElement(Uf.Provider, { value: {
+ return /*#__PURE__*/ w.createElement(Wf.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ C.createElement(Wf, {
+ } }, /*#__PURE__*/ w.createElement(Gf, {
...e,
ref: t
}));
-}), Uf = /*#__PURE__*/ (0, C.createContext)(null), Wf = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, C.useContext)(Uf), l = C.useContext($), { isFocused: u, isFocusVisible: d, focusProps: f } = G(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Go({
+}), Wf = /*#__PURE__*/ (0, w.createContext)(null), Gf = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, w.useContext)(Wf), l = w.useContext(Vf), { isFocused: u, isFocusVisible: d, focusProps: f } = Bo(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = qo({
...e,
isDisabled: p
- }), g = wu({
+ }), g = Eu({
...e,
defaultClassName: s,
values: {
@@ -18622,9 +18622,9 @@ var zf = /*#__PURE__*/ (0, C.createContext)(null), Bf = /*#__PURE__*/ (0, C.crea
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = xr(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ C.createElement(ju.label, {
- ...V(_, n, m, g),
+ }), _ = Cr(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ w.createElement(Mu.label, {
+ ...B(_, n, m, g),
ref: t,
"data-selected": i || void 0,
"data-pressed": o || void 0,
@@ -18635,19 +18635,19 @@ var zf = /*#__PURE__*/ (0, C.createContext)(null), Bf = /*#__PURE__*/ (0, C.crea
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ C.createElement(ua, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
- ...V(r, f),
+ }, /*#__PURE__*/ w.createElement(da, { elementType: "span" }, /*#__PURE__*/ w.createElement("input", {
+ ...B(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function Gf(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = Tf(e), [i, a] = (0, C.useState)(null), o = (0, C.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Kf(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = Ef(e), [i, a] = (0, w.useState)(null), o = (0, w.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = ia((0, C.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = aa((0, w.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -18659,12 +18659,12 @@ function Gf(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = uf({
+ }, d = df({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, C.useMemo)(() => Kf(l), [l]),
+ selectedKeys: (0, w.useMemo)(() => qf(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -18674,10 +18674,10 @@ function Gf(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, C.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = Ki({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, w.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = qi({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
- }), [h, g] = (0, C.useState)(!1), [_] = (0, C.useState)(l);
+ }), [h, g] = (0, w.useState)(!1), [_] = (0, w.useState)(l);
return {
...m,
...d,
@@ -18701,17 +18701,17 @@ function Gf(e) {
setFocused: g
};
}
-function Kf(e) {
+function qf(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 qf(e) {
+function Jf(e) {
return e && e.__esModule ? e.default : e;
}
-var Jf = /*#__PURE__*/ (0, C.createContext)(null), Yf = /*#__PURE__*/ (0, C.createContext)(null), Xf = /*#__PURE__*/ cn(function(e, t) {
- [e, t] = Eu(e, t, Jf);
- let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, C.useMemo)(() => typeof n == "function" ? n({
+var Yf = /*#__PURE__*/ (0, w.createContext)(null), Xf = /*#__PURE__*/ (0, w.createContext)(null), Zf = /*#__PURE__*/ un(function(e, t) {
+ [e, t] = Y(e, t, Yf);
+ let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, w.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
isInvalid: i,
@@ -18725,27 +18725,27 @@ var Jf = /*#__PURE__*/ (0, C.createContext)(null), Yf = /*#__PURE__*/ (0, C.crea
i,
a
]);
- return /*#__PURE__*/ C.createElement(vn, { content: o }, (n) => /*#__PURE__*/ C.createElement(Qf, {
+ return /*#__PURE__*/ w.createElement(bn, { content: o }, (n) => /*#__PURE__*/ w.createElement($f, {
props: e,
collection: n,
selectRef: t
}));
-}), Zf = [
- zu,
- Hu,
- Ju
+}), Qf = [
+ Bu,
+ Uu,
+ Yu
];
-function Qf({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = Tu(Xu) || {}, i = e.validationBehavior ?? r ?? "native", a = Gf({
+function $f({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = Du(Z) || {}, i = e.validationBehavior ?? r ?? "native", a = Kf({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = G({ within: !0 }), c = (0, C.useRef)(null), [l, u] = Du(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Dc({
- ...Ou(e),
+ }), { isFocusVisible: o, focusProps: s } = Bo({ within: !0 }), c = (0, w.useRef)(null), [l, u] = Ou(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = kc({
+ ...ku(e),
label: u,
validationBehavior: i
- }, a, c), y = (0, C.useMemo)(() => ({
+ }, a, c), y = (0, w.useMemo)(() => ({
isOpen: a.isOpen,
isFocused: a.isFocused,
isFocusVisible: o,
@@ -18759,49 +18759,49 @@ function Qf({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = wu({
+ ]), b = Eu({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = xr(e, { global: !0 });
+ }), x = Cr(e, { global: !0 });
delete x.id;
- let S = (0, C.useRef)(null);
- return /*#__PURE__*/ C.createElement(Cu, { values: [
- [Jf, e],
- [Yf, a],
- [$f, p],
- [zu, {
+ let S = (0, w.useRef)(null);
+ return /*#__PURE__*/ w.createElement(Tu, { values: [
+ [Yf, e],
+ [Xf, a],
+ [ep, p],
+ [Bu, {
...d,
ref: l,
elementType: "span"
}],
- [Hu, {
+ [Uu, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [Pf, a],
- [kf, {
+ [Ff, a],
+ [Af, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Zf
+ clearContexts: Qf
}],
- [mf, {
+ [hf, {
...m,
ref: S
}],
- [hf, a],
- [Ju, { slots: {
+ [gf, a],
+ [Yu, { slots: {
description: h,
errorMessage: g
} }],
- [X, v]
- ] }, /*#__PURE__*/ C.createElement(ju.div, {
- ...V(x, b, s),
+ [Xu, v]
+ ] }, /*#__PURE__*/ w.createElement(Mu.div, {
+ ...B(x, b, s),
ref: t,
slot: e.slot || void 0,
"data-focused": a.isFocused || void 0,
@@ -18810,14 +18810,14 @@ function Qf({ 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__*/ C.createElement(kc, {
+ }, b.children, /*#__PURE__*/ w.createElement(jc, {
..._,
autoComplete: e.autoComplete
})));
}
-var $f = /*#__PURE__*/ (0, C.createContext)(null), ep = /*#__PURE__*/ cn(function(e, t) {
- [e, t] = Eu(e, t, $f);
- let n = (0, C.useContext)(Yf), { placeholder: r } = Tu(Jf), i = n.selectedItems.map((e) => {
+var ep = /*#__PURE__*/ (0, w.createContext)(null), tp = /*#__PURE__*/ un(function(e, t) {
+ [e, t] = Y(e, t, ep);
+ let n = (0, w.useContext)(Xf), { placeholder: r } = Du(Yf), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -18829,59 +18829,59 @@ var $f = /*#__PURE__*/ (0, C.createContext)(null), ep = /*#__PURE__*/ cn(functio
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = zo(), o = (0, C.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, C.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Vo(), o = (0, w.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, w.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
- ]), l = (0, C.useMemo)(() => {
+ ]), l = (0, w.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__*/ C.createElement(C.Fragment, { key: t }, i[t++]) : e.value);
+ return e.map((e) => e.type === "element" ? /*#__PURE__*/ w.createElement(w.Fragment, { key: t }, i[t++]) : e.value);
}, [
s,
a,
o,
i
- ]), u = mr(qf(Bd), "react-aria-components"), d = wu({
+ ]), u = gr(Jf(Vd), "react-aria-components"), d = Eu({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
values: {
selectedItem: n.selectedItems[0]?.value ?? null,
- selectedItems: (0, C.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),
+ selectedItems: (0, w.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),
selectedText: c,
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = xr(e, { global: !0 });
- return /*#__PURE__*/ C.createElement(ju.span, {
+ }), f = Cr(e, { global: !0 });
+ return /*#__PURE__*/ w.createElement(Mu.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ C.createElement(Ju.Provider, { value: void 0 }, d.children));
-}), tp = /*#__PURE__*/ (0, C.createContext)(null), np = /*#__PURE__*/ (0, C.createContext)(null), rp = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ w.createElement(Yu.Provider, { value: void 0 }, d.children));
+}), np = /*#__PURE__*/ (0, w.createContext)(null), rp = /*#__PURE__*/ (0, w.createContext)(null), ip = /*#__PURE__*/ (0, w.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Eu(r, t, tp);
- let i = en((0, C.useMemo)(() => It(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = aa(e), o = Ac({
- ...Ou(e),
+ [e, t] = Y(r, t, np);
+ let i = nn((0, w.useMemo)(() => Rt(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = oa(e), o = Mc({
+ ...ku(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ C.createElement(Cu, { values: [[np, a], [ip, {
+ return /*#__PURE__*/ w.createElement(Tu, { values: [[rp, a], [ap, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ C.createElement(ap, {
+ }]] }, /*#__PURE__*/ w.createElement(op, {
...e,
ref: t
}));
-}), ip = /*#__PURE__*/ (0, C.createContext)(null), ap = /*#__PURE__*/ (0, C.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, C.useContext)(ip), { isFocused: f, isFocusVisible: p, focusProps: m } = G(), h = a || o, g = (0, C.useContext)(np), { hoverProps: _, isHovered: v } = Go({
+}), ap = /*#__PURE__*/ (0, w.createContext)(null), op = /*#__PURE__*/ (0, w.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, w.useContext)(ap), { isFocused: f, isFocusVisible: p, focusProps: m } = Bo(), h = a || o, g = (0, w.useContext)(rp), { hoverProps: _, isHovered: v } = qo({
...e,
isDisabled: h
- }), y = wu({
+ }), y = Eu({
...e,
defaultClassName: u,
values: {
@@ -18896,9 +18896,9 @@ var $f = /*#__PURE__*/ (0, C.createContext)(null), ep = /*#__PURE__*/ cn(functio
isRequired: d || !1,
state: g
}
- }), b = xr(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ C.createElement(ju.label, {
- ...V(b, n, _, y),
+ }), b = Cr(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ w.createElement(Mu.label, {
+ ...B(b, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -18910,22 +18910,22 @@ var $f = /*#__PURE__*/ (0, C.createContext)(null), ep = /*#__PURE__*/ cn(functio
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ C.createElement(ua, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
- ...V(r, m),
+ }, /*#__PURE__*/ w.createElement(da, { elementType: "span" }, /*#__PURE__*/ w.createElement("input", {
+ ...B(r, m),
ref: l
})), y.children);
-}), op = /*#__PURE__*/ (0, C.createContext)({}), sp = /*#__PURE__*/ (0, C.createContext)(null), cp = /*#__PURE__*/ cn(function(e, t) {
- [e, t] = Eu(e, t, sp);
- let { validationBehavior: n } = Tu(Xu) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useRef)(null);
- [e, i] = Eu(e, i, Nu);
- let [a, o] = Du(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, C.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = da({
- ...Ou(e),
+}), sp = /*#__PURE__*/ (0, w.createContext)({}), cp = /*#__PURE__*/ (0, w.createContext)(null), lp = /*#__PURE__*/ un(function(e, t) {
+ [e, t] = Y(e, t, cp);
+ let { validationBehavior: n } = Du(Z) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, w.useRef)(null);
+ [e, i] = Y(e, i, Pu);
+ let [a, o] = Ou(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, w.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = fa({
+ ...ku(e),
inputElementType: s,
label: o,
validationBehavior: r
- }, i), m = (0, C.useCallback)((e) => {
+ }, i), m = (0, w.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = wu({
+ }, [i]), h = Eu({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -18934,8 +18934,8 @@ var $f = /*#__PURE__*/ (0, C.createContext)(null), ep = /*#__PURE__*/ cn(functio
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = xr(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ C.createElement(ju.div, {
+ }), g = Cr(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ w.createElement(Mu.div, {
...g,
...h,
ref: t,
@@ -18944,31 +18944,31 @@ var $f = /*#__PURE__*/ (0, C.createContext)(null), ep = /*#__PURE__*/ cn(functio
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ C.createElement(Cu, { values: [
- [zu, {
+ }, /*#__PURE__*/ w.createElement(Tu, { values: [
+ [Bu, {
...l,
ref: a
}],
- [rd, {
+ [id, {
...u,
ref: m
}],
- [op, {
+ [sp, {
...u,
ref: m
}],
- [td, {
+ [nd, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [Ju, { slots: {
+ [Yu, { slots: {
description: d,
errorMessage: f
} }],
- [X, p]
+ [Xu, p]
] }, h.children));
-}), lp = hu({
+}), up = _u({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -19030,27 +19030,27 @@ var $f = /*#__PURE__*/ (0, C.createContext)(null), ep = /*#__PURE__*/ cn(functio
}
}
});
-function up({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = lp[t];
- return /* @__PURE__ */ (0, Y.jsx)("span", {
+function dp({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = up[t];
+ return /* @__PURE__ */ (0, J.jsx)("span", {
"aria-hidden": !0,
- className: mu("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? mu("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, Y.jsx)("span", {
- className: mu("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, Y.jsx)("span", { className: mu("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: gu("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? gu("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, J.jsx)("span", {
+ className: gu("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, J.jsx)("span", { className: gu("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 dp({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, Y.jsx)(rp, {
+function fp({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, J.jsx)(ip, {
ref: i,
...a,
- className: (t) => mu("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, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(up, {
+ className: (t) => gu("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, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(dp, {
state: e,
size: n,
shape: r
- }), t != null && t !== !1 && /* @__PURE__ */ (0, Y.jsx)("span", {
+ }), t != null && t !== !1 && /* @__PURE__ */ (0, J.jsx)("span", {
className: "text-body-medium text-text-primary",
children: t
})] })
@@ -19058,13 +19058,13 @@ function dp({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/api.ts
-var fp = class extends Error {
+var pp = class extends Error {
status;
body;
constructor(t, n, r = null) {
super(e(t, n)), this.name = "ApiError", this.status = n, this.body = r;
}
-}, pp = (e) => {
+}, mp = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -19076,8 +19076,8 @@ var fp = class extends Error {
if (typeof n == "string" && n) return n;
}
return "";
-}, mp = (t) => e(t);
-async function hp(e, t) {
+}, hp = (t) => e(t);
+async function gp(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -19086,10 +19086,10 @@ async function hp(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new fp(pp(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new pp(mp(r) || `请求失败(${n.status})`, n.status);
return r;
}
-async function gp(e, t, n = "POST", r) {
+async function _p(e, t, n = "POST", r) {
let i = await fetch(e, {
method: n,
...r ? { signal: r } : {},
@@ -19103,12 +19103,12 @@ async function gp(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new fp(pp(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new pp(mp(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var _p = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+var vp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => w.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -19116,7 +19116,7 @@ var _p = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.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" })), vp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, w.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" })), yp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => w.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -19124,7 +19124,7 @@ var _p = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.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" })), yp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, w.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" })), bp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => w.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -19132,7 +19132,7 @@ var _p = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.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" })), bp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, w.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" })), xp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => w.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -19140,7 +19140,7 @@ var _p = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.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" })), xp = hu({
+}, w.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" })), Sp = _u({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -19164,21 +19164,21 @@ var _p = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function Sp({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = mu(xp.base, xp.size[t], xp.variant[e], a), l = /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
- n ? /* @__PURE__ */ (0, Y.jsx)(n, {
- className: xp.icon[t],
+function Cp({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = gu(Sp.base, Sp.size[t], Sp.variant[e], a), l = /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
+ n ? /* @__PURE__ */ (0, J.jsx)(n, {
+ className: Sp.icon[t],
"aria-hidden": !0
}) : null,
- i != null && /* @__PURE__ */ (0, Y.jsx)("span", { children: i }),
- r ? /* @__PURE__ */ (0, Y.jsx)(r, {
- className: xp.icon[t],
+ i != null && /* @__PURE__ */ (0, J.jsx)("span", { children: i }),
+ r ? /* @__PURE__ */ (0, J.jsx)(r, {
+ className: Sp.icon[t],
"aria-hidden": !0
}) : null
] });
if (s.href !== void 0) {
let { ref: e, href: t, ...n } = s;
- return /* @__PURE__ */ (0, Y.jsx)("a", {
+ return /* @__PURE__ */ (0, J.jsx)("a", {
ref: e,
href: o ? void 0 : t,
"aria-disabled": o || void 0,
@@ -19188,7 +19188,7 @@ function Sp({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
});
}
let { ref: u, type: d = "button", ...f } = s;
- return /* @__PURE__ */ (0, Y.jsx)("button", {
+ return /* @__PURE__ */ (0, J.jsx)("button", {
ref: u,
type: d,
disabled: o,
@@ -19199,133 +19199,133 @@ function Sp({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function Cp({ title: e, id: t, onSubmit: n, children: r }) {
- let i = /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(vu, { children: e }), /* @__PURE__ */ (0, Y.jsx)(_u, { children: r })] });
- return n ? /* @__PURE__ */ (0, Y.jsx)("form", {
+function wp({ title: e, id: t, onSubmit: n, children: r }) {
+ let i = /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(bu, { children: e }), /* @__PURE__ */ (0, J.jsx)(yu, { children: r })] });
+ return n ? /* @__PURE__ */ (0, J.jsx)("form", {
id: t,
"aria-label": e,
noValidate: !0,
onSubmit: n,
className: "flex w-full flex-col gap-2",
children: i
- }) : /* @__PURE__ */ (0, Y.jsx)("section", {
+ }) : /* @__PURE__ */ (0, J.jsx)("section", {
id: t,
"aria-label": e,
className: "flex w-full flex-col gap-2",
children: i
});
}
-function wp({ children: e }) {
- return /* @__PURE__ */ (0, Y.jsx)("div", {
+function Tp({ children: e }) {
+ return /* @__PURE__ */ (0, J.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function Tp({ divided: e = !1, children: t }) {
- return e ? /* @__PURE__ */ (0, Y.jsx)("div", {
+function Ep({ divided: e = !1, children: t }) {
+ return e ? /* @__PURE__ */ (0, J.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
- }) : /* @__PURE__ */ (0, Y.jsx)("div", {
+ }) : /* @__PURE__ */ (0, J.jsx)("div", {
className: "flex flex-col gap-4 py-4 pr-3",
children: t
});
}
-function Ep({ status: e, children: t }) {
- return /* @__PURE__ */ (0, Y.jsxs)("div", {
+function Dp({ status: e, children: t }) {
+ return /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-wrap items-center justify-end gap-3 border-t border-separator-border py-3 pr-3",
- children: [e ? /* @__PURE__ */ (0, Y.jsx)("div", {
+ children: [e ? /* @__PURE__ */ (0, J.jsx)("div", {
className: "mr-auto min-w-0 text-body-2-regular text-text-secondary",
children: e
}) : null, t]
});
}
-function Dp({ role: e, children: t }) {
- return /* @__PURE__ */ (0, Y.jsx)("p", {
+function Op({ role: e, children: t }) {
+ return /* @__PURE__ */ (0, J.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function Op({ children: e }) {
- return /* @__PURE__ */ (0, Y.jsx)("p", {
+function kp({ children: e }) {
+ return /* @__PURE__ */ (0, J.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function kp({ children: e }) {
- return /* @__PURE__ */ (0, Y.jsx)("p", {
+function Ap({ children: e }) {
+ return /* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function Ap({ tone: e, title: t, children: n }) {
- let r = /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [t ? /* @__PURE__ */ (0, Y.jsx)("p", {
+function jp({ tone: e, title: t, children: n }) {
+ let r = /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [t ? /* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-medium",
children: t
- }) : null, /* @__PURE__ */ (0, Y.jsx)("p", {
+ }) : null, /* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-2-regular",
children: n
})] });
switch (e) {
- case "info": return /* @__PURE__ */ (0, Y.jsx)("div", {
+ case "info": return /* @__PURE__ */ (0, J.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: r
});
- case "success": return /* @__PURE__ */ (0, Y.jsx)("div", {
+ case "success": return /* @__PURE__ */ (0, J.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: r
});
- case "warning": return /* @__PURE__ */ (0, Y.jsx)("div", {
+ case "warning": return /* @__PURE__ */ (0, J.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: r
});
- case "error": return /* @__PURE__ */ (0, Y.jsx)("div", {
+ case "error": return /* @__PURE__ */ (0, J.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: r
});
- default: return /* @__PURE__ */ (0, Y.jsx)("div", {
+ default: return /* @__PURE__ */ (0, J.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: r
});
}
}
-function jp({ href: e, children: t }) {
- return /* @__PURE__ */ (0, Y.jsx)(Sp, {
+function Mp({ href: e, children: t }) {
+ return /* @__PURE__ */ (0, J.jsx)(Cp, {
href: e,
target: "_blank",
rel: "noreferrer",
size: "small",
- trailingIcon: yp,
+ trailingIcon: bp,
children: t
});
}
-function Mp({ children: e }) {
- return /* @__PURE__ */ (0, Y.jsx)("dl", {
+function Np({ children: e }) {
+ return /* @__PURE__ */ (0, J.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function Np({ term: e, children: t }) {
- return /* @__PURE__ */ (0, Y.jsxs)("div", {
+function Pp({ term: e, children: t }) {
+ return /* @__PURE__ */ (0, J.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, Y.jsx)("dt", {
+ children: [/* @__PURE__ */ (0, J.jsx)("dt", {
className: "flex shrink-0 items-center gap-2 text-body-regular text-text-secondary",
children: e
- }), /* @__PURE__ */ (0, Y.jsx)("dd", {
+ }), /* @__PURE__ */ (0, J.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 Pp({ label: e, value: t, max: n = 100, stops: r = [] }) {
+function Fp({ label: e, value: t, max: n = 100, stops: r = [] }) {
let i = Math.min(Math.max(t, 0), n);
- return /* @__PURE__ */ (0, Y.jsxs)("svg", {
+ return /* @__PURE__ */ (0, J.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
@@ -19335,17 +19335,17 @@ function Pp({ label: e, value: t, max: n = 100, stops: r = [] }) {
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
- /* @__PURE__ */ (0, Y.jsx)("rect", {
+ /* @__PURE__ */ (0, J.jsx)("rect", {
width: n,
height: 1,
className: "fill-background-tertiary-default"
}),
- /* @__PURE__ */ (0, Y.jsx)("rect", {
+ /* @__PURE__ */ (0, J.jsx)("rect", {
width: i,
height: 1,
className: "fill-border-focus-ring"
}),
- r.map((e) => /* @__PURE__ */ (0, Y.jsx)("rect", {
+ r.map((e) => /* @__PURE__ */ (0, J.jsx)("rect", {
x: e,
width: .4,
height: 1,
@@ -19354,44 +19354,55 @@ function Pp({ label: e, value: t, max: n = 100, stops: r = [] }) {
]
});
}
-function Fp({ summary: e, children: t }) {
- return /* @__PURE__ */ (0, Y.jsxs)("details", {
- className: "group",
- children: [/* @__PURE__ */ (0, Y.jsxs)("summary", {
+function Ip({ summary: e, children: t }) {
+ let n = (0, w.useId)(), i = (0, w.useRef)(null), a = (0, w.useRef)(null), [o, s] = (0, w.useState)(!1);
+ return /* @__PURE__ */ (0, J.jsxs)("details", {
+ ref: i,
+ children: [/* @__PURE__ */ (0, J.jsxs)("summary", {
+ "aria-expanded": o,
+ "aria-controls": n,
+ onClick: (e) => {
+ e.preventDefault(), !(!i.current || !a.current) && (r(i.current, a.current, !o), s(!o));
+ },
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, Y.jsx)(_p, {
+ children: [/* @__PURE__ */ (0, J.jsx)(vp, {
"aria-hidden": !0,
- className: "size-4 shrink-0 transition-transform group-open:rotate-90"
+ className: o ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
- }), /* @__PURE__ */ (0, Y.jsx)("div", {
- className: "flex flex-col gap-2 pt-3",
- children: t
+ }), /* @__PURE__ */ (0, J.jsx)("div", {
+ ref: a,
+ id: n,
+ inert: !o,
+ children: /* @__PURE__ */ (0, J.jsx)("div", {
+ className: "flex flex-col gap-2 pt-3",
+ children: t
+ })
})]
});
}
-function Ip({ name: e }) {
- return /* @__PURE__ */ (0, Y.jsx)("svg", {
+function Lp({ name: e }) {
+ return /* @__PURE__ */ (0, J.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
fill: "none",
className: "size-4 shrink-0 stroke-current stroke-2",
- children: /* @__PURE__ */ (0, Y.jsx)("use", { href: `#i-${e}` })
+ children: /* @__PURE__ */ (0, J.jsx)("use", { href: `#i-${e}` })
});
}
-function Lp({ mark: e }) {
- return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, Y.jsx)("img", {
+function Rp({ mark: e }) {
+ return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, J.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, Y.jsx)(Ip, { name: e });
+ }) : /* @__PURE__ */ (0, J.jsx)(Lp, { name: e });
}
//#endregion
//#region src/react/settings/use-action.ts
-function Rp(e = "") {
- let t = (0, C.useRef)(null), [n, r] = (0, C.useState)(""), [i, a] = (0, C.useState)(e);
- (0, C.useEffect)(() => () => t.current?.abort(), []);
+function zp(e = "") {
+ let t = (0, w.useRef)(null), [n, r] = (0, w.useState)(""), [i, a] = (0, w.useState)(e);
+ (0, w.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
if (t.current) return;
let s = new AbortController();
@@ -19401,7 +19412,7 @@ function Rp(e = "") {
s.signal.aborted || i(e);
} catch (e) {
if (s.signal.aborted) return;
- o ? o(e) : a(mp(e));
+ o ? o(e) : a(hp(e));
} finally {
t.current === s && (t.current = null), s.signal.aborted || r("");
}
@@ -19413,7 +19424,7 @@ function Rp(e = "") {
setError: a
};
}
-function zp(e) {
+function Bp(e) {
return e ? {
"aria-busy": !0,
"aria-disabled": !0
@@ -19421,48 +19432,48 @@ function zp(e) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Bp({ data: e, receipt: t }) {
- return e.startup ? /* @__PURE__ */ (0, Y.jsx)(Vp, {
+function Vp({ data: e, receipt: t }) {
+ return e.startup ? /* @__PURE__ */ (0, J.jsx)(Hp, {
startup: e.startup,
receipt: t
}) : null;
}
-function Vp({ startup: e, receipt: t }) {
- let [n, r] = (0, C.useState)(e.enabled), [i, a] = (0, C.useState)(e.silent), [o, s] = (0, C.useState)(e.desktop), c = Rp(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+function Hp({ startup: e, receipt: t }) {
+ let [n, r] = (0, w.useState)(e.enabled), [i, a] = (0, w.useState)(e.silent), [o, s] = (0, w.useState)(e.desktop), c = zp(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, J.jsxs)(wp, {
title: "开机自启",
onSubmit: (r) => {
- r.preventDefault(), e.available && c.run("save", (e) => gp("/api/configuration/startup", {
+ r.preventDefault(), e.available && c.run("save", (e) => _p("/api/configuration/startup", {
enabled: n,
silent: i,
desktop: o
}, "POST", e), () => t("已保存开机自启"));
},
children: [
- /* @__PURE__ */ (0, Y.jsxs)(wp, { children: [
- /* @__PURE__ */ (0, Y.jsx)(yu, {
+ /* @__PURE__ */ (0, J.jsxs)(Tp, { children: [
+ /* @__PURE__ */ (0, J.jsx)(xu, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, Y.jsx)(dp, {
+ children: /* @__PURE__ */ (0, J.jsx)(fp, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, Y.jsx)(yu, {
+ /* @__PURE__ */ (0, J.jsx)(xu, {
label: "静默启动",
description: "静默启动仅显示托盘,开机后启动 Peach 打开时生效。",
- children: /* @__PURE__ */ (0, Y.jsx)(dp, {
+ children: /* @__PURE__ */ (0, J.jsx)(fp, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, Y.jsx)(yu, {
+ /* @__PURE__ */ (0, J.jsx)(xu, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, Y.jsx)(dp, {
+ children: /* @__PURE__ */ (0, J.jsx)(fp, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -19470,14 +19481,14 @@ function Vp({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, Y.jsxs)(Tp, {
+ e.message || c.error ? /* @__PURE__ */ (0, J.jsxs)(Ep, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, Y.jsx)(Dp, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, Y.jsx)(Op, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, J.jsx)(Op, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, J.jsx)(kp, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, Y.jsx)(Ep, { children: /* @__PURE__ */ (0, Y.jsx)(xu, {
+ /* @__PURE__ */ (0, J.jsx)(Dp, { children: /* @__PURE__ */ (0, J.jsx)(Cu, {
type: "submit",
disabled: !e.available,
- ...zp(c.busy === "save"),
+ ...Bp(c.busy === "save"),
children: "保存配置"
}) })
]
@@ -19485,7 +19496,7 @@ function Vp({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var Hp = {
+var Up = {
md: {
box: "size-4",
glyph: "size-4",
@@ -19499,21 +19510,21 @@ var Hp = {
gap: "gap-1.5"
}
};
-function Up({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Hp[t], c = n || r, l = o && !a;
- return /* @__PURE__ */ (0, Y.jsx)("span", {
+function Wp({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Up[t], c = n || r, l = o && !a;
+ return /* @__PURE__ */ (0, J.jsx)("span", {
"aria-hidden": !0,
- className: mu("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? mu("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : mu("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, Y.jsx)("svg", {
+ className: gu("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? gu("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : gu("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, J.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
className: s.glyph,
- children: r ? /* @__PURE__ */ (0, Y.jsx)("path", {
+ children: r ? /* @__PURE__ */ (0, J.jsx)("path", {
d: "M4.5 8H8H11.5",
stroke: "white",
strokeWidth: "2",
strokeLinecap: "round"
- }) : n ? /* @__PURE__ */ (0, Y.jsx)("path", {
+ }) : n ? /* @__PURE__ */ (0, J.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",
@@ -19527,24 +19538,24 @@ function Up({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function Wp({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = Hp[n];
- return /* @__PURE__ */ (0, Y.jsx)($u, {
+function Gp({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = Up[n];
+ return /* @__PURE__ */ (0, J.jsx)(ed, {
ref: r,
...i,
- className: (t) => mu("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, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(Up, {
+ className: (t) => gu("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, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(Wp, {
state: e,
size: n
- }), t != null && /* @__PURE__ */ (0, Y.jsx)("span", {
- className: mu(a.label, "text-text-primary"),
+ }), t != null && /* @__PURE__ */ (0, J.jsx)("span", {
+ className: gu(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var Gp = [
+var Kp = [
"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",
@@ -19552,16 +19563,16 @@ var Gp = [
"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(" "), Kp = "w-[266px]", qp = "flex w-full flex-col gap-1 outline-none", Jp = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" ");
+].join(" "), qp = "w-[266px]", Jp = "flex w-full flex-col gap-1 outline-none", Yp = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" ");
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Yp(e) {
- return /* @__PURE__ */ (0, Y.jsx)("svg", {
+function Xp(e) {
+ return /* @__PURE__ */ (0, J.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
"aria-hidden": !0,
...e,
- children: /* @__PURE__ */ (0, Y.jsx)("path", {
+ children: /* @__PURE__ */ (0, J.jsx)("path", {
d: "M4 7L7.29289 10.2929C7.68342 10.6834 8.31658 10.6834 8.70711 10.2929L12 7",
stroke: "currentColor",
strokeWidth: "2",
@@ -19571,8 +19582,8 @@ function Yp(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Xp(e, t, n) {
- (0, C.useEffect)(() => {
+function Zp(e, t, n) {
+ (0, w.useEffect)(() => {
if (!e) return;
let r = (e) => {
let r = e.target;
@@ -19585,9 +19596,9 @@ function Xp(e, t, n) {
n
]);
}
-function Zp(e, t) {
- let n = (0, C.useRef)(!1);
- return (0, C.useEffect)(() => {
+function Qp(e, t) {
+ let n = (0, w.useRef)(!1);
+ return (0, w.useEffect)(() => {
if (!e) return;
let r = (e) => {
t.current?.contains(e.target) && (n.current = !0, setTimeout(() => {
@@ -19599,33 +19610,33 @@ function Zp(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Qp = (0, C.createContext)("md");
-function $p({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
- let l = (0, C.useRef)(null), u = (0, C.useRef)(null), [d, f] = (0, C.useState)(!1);
- Xp(d, () => f(!1), [l, u]);
- let p = Zp(d, l);
- return /* @__PURE__ */ (0, Y.jsx)(Xf, {
+var $p = (0, w.createContext)("md");
+function em({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+ let l = (0, w.useRef)(null), u = (0, w.useRef)(null), [d, f] = (0, w.useState)(!1);
+ Zp(d, () => f(!1), [l, u]);
+ let p = Qp(d, l);
+ return /* @__PURE__ */ (0, J.jsx)(Zf, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: mu("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsxs)(Uu, {
+ className: gu("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsxs)(Wu, {
ref: l,
- className: mu("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, Y.jsx)(ep, {
- className: mu("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: gu("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, J.jsx)(tp, {
+ className: gu("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, Y.jsx)(Yp, { className: mu("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, Y.jsx)(jf, {
+ }), /* @__PURE__ */ (0, J.jsx)(Xp, { className: gu("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, J.jsx)(Mf, {
ref: u,
isNonModal: !0,
offset: 4,
- className: mu(Kp, Gp, "p-2", n),
- children: /* @__PURE__ */ (0, Y.jsx)(gf, {
+ className: gu(qp, Kp, "p-2", n),
+ children: /* @__PURE__ */ (0, J.jsx)(_f, {
items: a,
- className: mu(qp, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, Y.jsx)(Qp.Provider, {
+ className: gu(Jp, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, J.jsx)($p.Provider, {
value: r,
children: i
})
@@ -19633,38 +19644,38 @@ function $p({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function em({ className: e, children: t, ...n }) {
- let r = (0, C.useContext)(Qp);
- return /* @__PURE__ */ (0, Y.jsx)(bf, {
+function tm({ className: e, children: t, ...n }) {
+ let r = (0, w.useContext)($p);
+ return /* @__PURE__ */ (0, J.jsx)(xf, {
...n,
- className: (t) => mu(Jp, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => gu(Yp, 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/settings/release-updates.tsx
-var tm = /* @__PURE__ */ new Set([
+var nm = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), nm = [
+]), rm = [
65,
67,
90
-], rm = 120;
-function im({ initial: e, initialJob: t }) {
- let [r, i] = (0, C.useState)(e), [a, o] = (0, C.useState)(t || {
+], im = 120;
+function am({ initial: e, initialJob: t }) {
+ let [r, i] = (0, w.useState)(e), [a, o] = (0, w.useState)(t || {
state: "idle",
progress: 0
- }), [s, c] = (0, C.useState)(""), l = Rp(), u = (0, C.useRef)(!1), d = (0, C.useRef)(!0), f = tm.has(a.state);
- (0, C.useEffect)(() => (d.current = !0, () => {
+ }), [s, c] = (0, w.useState)(""), l = zp(), u = (0, w.useRef)(!1), d = (0, w.useRef)(!0), f = nm.has(a.state);
+ (0, w.useEffect)(() => (d.current = !0, () => {
d.current = !1;
}), []);
let p = async () => {
- let e = await gp("/api/configuration/update-restart", {});
+ let e = await _p("/api/configuration/update-restart", {});
d.current && o(e);
}, m = () => void n({
title: "更新已准备好",
@@ -19673,12 +19684,12 @@ function im({ initial: e, initialJob: t }) {
cancelLabel: "稍后",
onConfirm: p
});
- (0, C.useEffect)(() => {
+ (0, w.useEffect)(() => {
a.state !== "ready" || u.current || (u.current = !0, m());
- }, [a.state]), (0, C.useEffect)(() => {
- let e = new AbortController(), t = tm.has(a.state) ? 1e3 : 3e4, n, r = 0, s = async () => {
+ }, [a.state]), (0, w.useEffect)(() => {
+ let e = new AbortController(), t = nm.has(a.state) ? 1e3 : 3e4, n, r = 0, s = async () => {
try {
- let t = await hp("/api/configuration/update-status", e.signal);
+ let t = await gp("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
o(t), r = 0, t.state === "complete" && i((e) => ({
...e,
@@ -19686,94 +19697,94 @@ function im({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await hp("/api/configuration/automatic-updates", e.signal);
+ let n = await gp("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && i(n.result);
} catch {
- r += 1, r >= rm && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");
+ r += 1, r >= im && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && r < rm && (n = setTimeout(s, t));
+ !e.signal.aborted && r < im && (n = setTimeout(s, t));
};
return n = setTimeout(s, t), () => {
e.abort(), clearTimeout(n);
};
}, [a.state]);
let h = () => {
- f || (u.current = !1, c(""), l.run("download", (e) => gp("/api/configuration/update", {}, "POST", e), o));
- }, g = () => void l.run("check", (e) => hp("/api/configuration/updates", e), i, (t) => {
+ f || (u.current = !1, c(""), l.run("download", (e) => _p("/api/configuration/update", {}, "POST", e), o));
+ }, g = () => void l.run("check", (e) => gp("/api/configuration/updates", e), i, (t) => {
i({
...e,
state: "error"
- }), l.setError(mp(t));
+ }), l.setError(hp(t));
}), _ = l.error || s, v = a.state === "downloading" && a.total ? `${((a.downloaded || 0) / 1048576).toFixed(1)} / ${(a.total / 1048576).toFixed(1)} MB` : `${a.progress}%`;
- return /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+ return /* @__PURE__ */ (0, J.jsxs)(wp, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, Y.jsxs)(Mp, { children: [
- /* @__PURE__ */ (0, Y.jsx)(Np, {
+ /* @__PURE__ */ (0, J.jsxs)(Np, { children: [
+ /* @__PURE__ */ (0, J.jsx)(Pp, {
term: "当前版本",
children: r.current_version
}),
- /* @__PURE__ */ (0, Y.jsx)(Np, {
+ /* @__PURE__ */ (0, J.jsx)(Pp, {
term: "安装方式",
children: r.installation
}),
- /* @__PURE__ */ (0, Y.jsx)(Np, {
+ /* @__PURE__ */ (0, J.jsx)(Pp, {
term: "更新通道",
children: r.channel
}),
- /* @__PURE__ */ (0, Y.jsx)(Np, {
+ /* @__PURE__ */ (0, J.jsx)(Pp, {
term: "最新版本",
children: r.latest_version || (r.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, Y.jsxs)(Tp, {
+ /* @__PURE__ */ (0, J.jsxs)(Ep, {
divided: !0,
children: [
- r.checked_at ? /* @__PURE__ */ (0, Y.jsxs)(Dp, { children: ["检查于 ", (/* @__PURE__ */ new Date(r.checked_at * 1e3)).toLocaleString()] }) : null,
- r.state === "available" && !_ ? /* @__PURE__ */ (0, Y.jsx)(Ap, {
+ r.checked_at ? /* @__PURE__ */ (0, J.jsxs)(Op, { children: ["检查于 ", (/* @__PURE__ */ new Date(r.checked_at * 1e3)).toLocaleString()] }) : null,
+ r.state === "available" && !_ ? /* @__PURE__ */ (0, J.jsx)(jp, {
tone: "info",
title: "有可用更新",
children: r.message
- }) : _ || r.state === "error" ? /* @__PURE__ */ (0, Y.jsx)(Op, { children: _ || r.message }) : /* @__PURE__ */ (0, Y.jsx)(Dp, {
+ }) : _ || r.state === "error" ? /* @__PURE__ */ (0, J.jsx)(kp, { children: _ || r.message }) : /* @__PURE__ */ (0, J.jsx)(Op, {
role: "status",
children: r.message
}),
- a.state === "error" ? /* @__PURE__ */ (0, Y.jsx)(Op, { children: a.message }) : null,
- a.state !== "idle" && a.state !== "error" ? /* @__PURE__ */ (0, Y.jsxs)("div", {
+ a.state === "error" ? /* @__PURE__ */ (0, J.jsx)(kp, { children: a.message }) : null,
+ a.state !== "idle" && a.state !== "error" ? /* @__PURE__ */ (0, J.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, Y.jsx)(Pp, {
+ /* @__PURE__ */ (0, J.jsx)(Fp, {
label: "更新准备进度:下载、校验、解压、准备安装",
value: a.progress,
- stops: nm
+ stops: rm
}),
- /* @__PURE__ */ (0, Y.jsxs)(Dp, { children: ["下载 → 校验 → 解压 → 准备安装 · ", a.message] }),
- /* @__PURE__ */ (0, Y.jsx)(Dp, { children: v })
+ /* @__PURE__ */ (0, J.jsxs)(Op, { children: ["下载 → 校验 → 解压 → 准备安装 · ", a.message] }),
+ /* @__PURE__ */ (0, J.jsx)(Op, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, Y.jsxs)(Ep, {
- status: /* @__PURE__ */ (0, Y.jsx)(jp, {
+ /* @__PURE__ */ (0, J.jsxs)(Dp, {
+ status: /* @__PURE__ */ (0, J.jsx)(Mp, {
href: r.release_url,
children: "查看发布页"
}),
children: [
- a.state === "ready" ? /* @__PURE__ */ (0, Y.jsx)(xu, {
+ a.state === "ready" ? /* @__PURE__ */ (0, J.jsx)(Cu, {
onClick: m,
children: "重启安装"
}) : null,
- r.state === "available" && r.installation === "独立测试包" && a.state !== "ready" ? /* @__PURE__ */ (0, Y.jsx)(xu, {
+ r.state === "available" && r.installation === "独立测试包" && a.state !== "ready" ? /* @__PURE__ */ (0, J.jsx)(Cu, {
onClick: h,
- ...zp(f || l.busy === "download"),
+ ...Bp(f || l.busy === "download"),
children: "下载并安装"
}) : null,
- /* @__PURE__ */ (0, Y.jsx)(xu, {
+ /* @__PURE__ */ (0, J.jsx)(Cu, {
variant: "secondary",
disabled: f,
onClick: g,
- ...zp(l.busy === "check"),
+ ...Bp(l.busy === "check"),
children: "检查更新"
})
]
@@ -19783,138 +19794,139 @@ function im({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var am = [
+var om = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function om({ data: e, receipt: t }) {
- return /* @__PURE__ */ (0, Y.jsxs)("div", {
+function sm({ data: e, receipt: t }) {
+ return /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, Y.jsx)(sm, {
+ e.automatic_updates ? /* @__PURE__ */ (0, J.jsx)(cm, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, Y.jsx)(im, {
+ e.updates ? /* @__PURE__ */ (0, J.jsx)(am, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, Y.jsx)(cm, { facts: e.facts }),
- e.uninstall ? /* @__PURE__ */ (0, Y.jsx)(lm, { uninstall: e.uninstall }) : null
+ /* @__PURE__ */ (0, J.jsx)(lm, { facts: e.facts }),
+ e.uninstall ? /* @__PURE__ */ (0, J.jsx)(um, { uninstall: e.uninstall }) : null
]
});
}
-function sm({ initial: e, receipt: t }) {
- let [n, r] = (0, C.useState)(e.mode), [i, a] = (0, C.useState)(e.interval_hours), o = Rp(e.error), s = (r) => {
- r.preventDefault(), e.available && o.run("save", (e) => gp("/api/configuration/automatic-updates", {
+function cm({ initial: e, receipt: t }) {
+ let [n, r] = (0, w.useState)(e.mode), [i, a] = (0, w.useState)(e.interval_hours), o = zp(e.error), s = (r) => {
+ r.preventDefault(), e.available && o.run("save", (e) => _p("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存自动更新设置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行请前往发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+ return /* @__PURE__ */ (0, J.jsxs)(wp, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, Y.jsxs)(wp, { children: [
- /* @__PURE__ */ (0, Y.jsx)(yu, {
+ /* @__PURE__ */ (0, J.jsxs)(Tp, { children: [
+ /* @__PURE__ */ (0, J.jsx)(xu, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, Y.jsx)(dp, {
+ children: /* @__PURE__ */ (0, J.jsx)(fp, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, Y.jsx)(yu, {
+ /* @__PURE__ */ (0, J.jsx)(xu, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, Y.jsx)(dp, {
+ children: /* @__PURE__ */ (0, J.jsx)(fp, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, Y.jsx)(yu, {
+ /* @__PURE__ */ (0, J.jsx)(xu, {
label: "检查频率",
- children: /* @__PURE__ */ (0, Y.jsx)($p, {
+ description: c,
+ children: /* @__PURE__ */ (0, J.jsx)(em, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: am.map(([e, t]) => /* @__PURE__ */ (0, Y.jsx)(em, {
+ children: om.map(([e, t]) => /* @__PURE__ */ (0, J.jsx)(tm, {
id: e,
children: t
}, e))
})
})
] }),
- /* @__PURE__ */ (0, Y.jsxs)(Tp, {
+ o.error ? /* @__PURE__ */ (0, J.jsx)(Ep, {
divided: !0,
- children: [/* @__PURE__ */ (0, Y.jsx)(Dp, { children: c }), o.error ? /* @__PURE__ */ (0, Y.jsx)(Op, { children: o.error }) : null]
- }),
- /* @__PURE__ */ (0, Y.jsx)(Ep, { children: /* @__PURE__ */ (0, Y.jsx)(xu, {
+ children: /* @__PURE__ */ (0, J.jsx)(kp, { children: o.error })
+ }) : null,
+ /* @__PURE__ */ (0, J.jsx)(Dp, { children: /* @__PURE__ */ (0, J.jsx)(Cu, {
variant: "secondary",
type: "submit",
disabled: !e.available,
- ...zp(o.busy === "save"),
+ ...Bp(o.busy === "save"),
children: "保存自动更新"
}) })
]
});
}
-function cm({ facts: e }) {
- return /* @__PURE__ */ (0, Y.jsx)(Cp, {
+function lm({ facts: e }) {
+ return /* @__PURE__ */ (0, J.jsx)(wp, {
title: "运行信息",
- children: /* @__PURE__ */ (0, Y.jsx)(Mp, { children: e.map((e) => /* @__PURE__ */ (0, Y.jsxs)(Np, {
+ children: /* @__PURE__ */ (0, J.jsx)(Np, { children: e.map((e) => /* @__PURE__ */ (0, J.jsxs)(Pp, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, Y.jsx)(jp, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, J.jsx)(Mp, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function lm({ uninstall: e }) {
- let [t, r] = (0, C.useState)(!1), [i, a] = (0, C.useState)(""), o = () => void n({
+function um({ uninstall: e }) {
+ let [t, r] = (0, w.useState)(!1), [i, a] = (0, w.useState)(""), o = () => void n({
title: "卸载 Peach",
danger: !0,
body: t ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",
confirmLabel: "卸载 Peach",
onConfirm: async () => {
- let e = await gp("/api/configuration/uninstall", {
+ let e = await _p("/api/configuration/uninstall", {
delete_data: t,
confirmation: "卸载 Peach"
});
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+ return /* @__PURE__ */ (0, J.jsxs)(wp, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, Y.jsxs)(Tp, { children: [
- e.available ? /* @__PURE__ */ (0, Y.jsx)(Dp, { children: "卸载会退出 Peach、移除程序、开机自启和桌面图标。原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, Y.jsx)(Wp, {
+ children: [/* @__PURE__ */ (0, J.jsxs)(Ep, { children: [
+ e.available ? /* @__PURE__ */ (0, J.jsx)(Op, { children: "卸载会退出 Peach、移除程序、开机自启和桌面图标。原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, J.jsx)(Gp, {
isSelected: t,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, Y.jsx)(Fp, {
+ /* @__PURE__ */ (0, J.jsx)(Ip, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, Y.jsx)("p", {
+ children: c.map((e) => /* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-2-regular break-all text-text-secondary",
children: e
}, e))
})
- ] }), /* @__PURE__ */ (0, Y.jsx)(Ep, {
- status: s ? /* @__PURE__ */ (0, Y.jsx)("p", {
+ ] }), /* @__PURE__ */ (0, J.jsx)(Dp, {
+ status: s ? /* @__PURE__ */ (0, J.jsx)("p", {
role: i ? "status" : void 0,
children: s
}) : null,
- children: /* @__PURE__ */ (0, Y.jsx)(xu, {
+ children: /* @__PURE__ */ (0, J.jsx)(Cu, {
variant: "danger",
disabled: !e.available || !!i,
onClick: o,
@@ -19925,7 +19937,7 @@ function lm({ uninstall: e }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var um = hu({
+var dm = _u({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -19946,33 +19958,33 @@ var um = hu({
small: "size-4 shrink-0"
}
});
-function dm({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
- return /* @__PURE__ */ (0, Y.jsx)("button", {
+function fm({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, J.jsx)("button", {
ref: i,
type: r,
- className: mu(um.base, um.size[t], n),
+ className: gu(dm.base, dm.size[t], n),
...a,
- children: /* @__PURE__ */ (0, Y.jsx)(e, {
- className: um.icon[t],
+ children: /* @__PURE__ */ (0, J.jsx)(e, {
+ className: dm.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function fm({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, Y.jsxs)(Bu, {
+function pm({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, J.jsxs)(Vu, {
"data-label": "true",
...a,
- className: mu("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: gu("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
- e && /* @__PURE__ */ (0, Y.jsx)("span", {
+ e && /* @__PURE__ */ (0, J.jsx)("span", {
"aria-hidden": "true",
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, Y.jsx)(bp, {
+ n && /* @__PURE__ */ (0, J.jsx)(xp, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -19981,33 +19993,33 @@ function fm({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function pm({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, Y.jsx)(Yu, {
+function mm({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, J.jsx)(X, {
slot: e ? "errorMessage" : "description",
...n,
- className: mu("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: gu("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 mm = (0, C.createContext)({});
-function hm({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, Y.jsx)(mm.Provider, {
+var hm = (0, w.createContext)({});
+function gm({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, J.jsx)(hm.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, Y.jsx)(cp, {
+ children: /* @__PURE__ */ (0, J.jsx)(lp, {
...a,
"data-input-size": e,
- className: mu("group flex h-max w-full flex-col items-start gap-1", r),
+ className: gu("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-hm.displayName = "TextField";
-var gm = hu({
+gm.displayName = "TextField";
+var _m = _u({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -20036,44 +20048,44 @@ var gm = hu({
].join(" "),
icon: "size-5 shrink-0"
});
-function _m({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, C.useContext)(mm), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, Y.jsx)(nd, {
+function vm({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, w.useContext)(hm), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, J.jsx)(rd, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => mu(gm.field, d ? gm.fieldWithAddonSize[u] : gm.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, Y.jsxs)("div", {
- className: gm.content,
- children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
- className: gm.leftSection,
- children: [d ? r : t ? /* @__PURE__ */ (0, Y.jsx)(t, {
- className: gm.icon,
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => gu(_m.field, d ? _m.fieldWithAddonSize[u] : _m.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, J.jsxs)("div", {
+ className: _m.content,
+ children: [/* @__PURE__ */ (0, J.jsxs)("div", {
+ className: _m.leftSection,
+ children: [d ? r : t ? /* @__PURE__ */ (0, J.jsx)(t, {
+ className: _m.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, Y.jsx)(ad, {
+ }) : null, /* @__PURE__ */ (0, J.jsx)(od, {
ref: o,
...c,
- className: mu(gm.input, l.inputClassName, a)
+ className: gu(_m.input, l.inputClassName, a)
})]
- }), n ? /* @__PURE__ */ (0, Y.jsx)(n, {
- className: gm.icon,
+ }), n ? /* @__PURE__ */ (0, J.jsx)(n, {
+ className: _m.icon,
"aria-hidden": !0
}) : null]
})
});
}
-_m.displayName = "InputBase";
-function vm({ 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, Y.jsx)(hm, {
+vm.displayName = "InputBase";
+function ym({ 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, J.jsx)(gm, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
- children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
- e && /* @__PURE__ */ (0, Y.jsx)(fm, {
+ children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
+ e && /* @__PURE__ */ (0, J.jsx)(pm, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, Y.jsx)(_m, {
+ /* @__PURE__ */ (0, J.jsx)(vm, {
ref: c,
groupRef: l,
placeholder: r,
@@ -20082,17 +20094,17 @@ function vm({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, Y.jsx)(pm, {
+ t && /* @__PURE__ */ (0, J.jsx)(mm, {
isInvalid: d,
children: t
})
] })
});
}
-vm.displayName = "Input";
+ym.displayName = "Input";
//#endregion
//#region src/configuration-endpoints.ts
-var ym = "/api/configuration", bm = "/api/pick-folder", xm = [
+var bm = "/api/configuration", xm = "/api/pick-folder", Sm = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -20111,37 +20123,37 @@ var ym = "/api/configuration", bm = "/api/pick-folder", xm = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Sm = [
+], Cm = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Cm() {
- return /* @__PURE__ */ (0, Y.jsxs)("div", {
+function wm() {
+ return /* @__PURE__ */ (0, J.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, Y.jsxs)(Dp, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, Y.jsx)(jp, {
+ children: [/* @__PURE__ */ (0, J.jsxs)(Op, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, J.jsx)(Mp, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, Y.jsxs)(Fp, {
+ })] }), /* @__PURE__ */ (0, J.jsxs)(Ip, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, Y.jsx)(Dp, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,填得越大不一定越快。" }),
- /* @__PURE__ */ (0, Y.jsx)("ul", {
+ /* @__PURE__ */ (0, J.jsx)(Op, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,填得越大不一定越快。" }),
+ /* @__PURE__ */ (0, J.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: xm.map((e) => /* @__PURE__ */ (0, Y.jsxs)("li", {
+ children: Sm.map((e) => /* @__PURE__ */ (0, J.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
- children: [/* @__PURE__ */ (0, Y.jsx)("p", {
+ children: [/* @__PURE__ */ (0, J.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
- }), /* @__PURE__ */ (0, Y.jsx)("dl", {
+ }), /* @__PURE__ */ (0, J.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Sm.map(([t, n]) => /* @__PURE__ */ (0, Y.jsxs)("div", {
+ children: Cm.map(([t, n]) => /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col",
- children: [/* @__PURE__ */ (0, Y.jsx)("dt", {
+ children: [/* @__PURE__ */ (0, J.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
children: n
- }), /* @__PURE__ */ (0, Y.jsx)("dd", {
+ }), /* @__PURE__ */ (0, J.jsx)("dd", {
className: "text-body-regular text-text-primary",
children: e[t]
})]
@@ -20149,17 +20161,17 @@ function Cm() {
})]
}, e.name))
}),
- /* @__PURE__ */ (0, Y.jsxs)("ul", {
+ /* @__PURE__ */ (0, J.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, Y.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),
- /* @__PURE__ */ (0, Y.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),
- /* @__PURE__ */ (0, Y.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
+ /* @__PURE__ */ (0, J.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),
+ /* @__PURE__ */ (0, J.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),
+ /* @__PURE__ */ (0, J.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, Y.jsxs)(Dp, { children: [
+ /* @__PURE__ */ (0, J.jsxs)(Op, { children: [
"三处缓存分别管什么、这几个值怎么往上调、码率和速度怎么换算、线程上限与直链代理怎么取舍,以及这些起步值的来源,都在",
- /* @__PURE__ */ (0, Y.jsx)(jp, {
+ /* @__PURE__ */ (0, J.jsx)(Mp, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -20171,7 +20183,7 @@ function Cm() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var wm = [
+var Tm = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -20215,14 +20227,14 @@ var wm = [
["star", "收藏"],
["tags", "主题"]
];
-function Tm(e) {
+function Em(e) {
let n = e === "local" ? "" : t[e];
return n ? [n, "自动识别"] : ["hard-drive", "默认"];
}
-var Em = "auto";
-function Dm({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, C.useRef)(null), [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(e), [l, u] = Tm(n);
- return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(xu, {
+var Dm = "auto";
+function Om({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, w.useRef)(null), [a, o] = (0, w.useState)(!1), [s, c] = (0, w.useState)(e), [l, u] = Em(n);
+ return /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(Cu, {
ref: i,
variant: "secondary",
className: "self-start",
@@ -20232,46 +20244,46 @@ function Dm({ value: e, label: t, kind: n = "local", onChange: r }) {
onClick: () => {
c(e), o(!0);
},
- children: /* @__PURE__ */ (0, Y.jsxs)("span", {
+ children: /* @__PURE__ */ (0, J.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, Y.jsx)(Lp, { mark: e || l }), ((e) => e && wm.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, J.jsx)(Rp, { mark: e || l }), ((e) => e && Tm.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, Y.jsx)(jf, {
+ }), /* @__PURE__ */ (0, J.jsx)(Mf, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: Gp,
- children: /* @__PURE__ */ (0, Y.jsxs)(Ff, {
+ className: Kp,
+ children: /* @__PURE__ */ (0, J.jsxs)(If, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, Y.jsx)(qu, {
+ /* @__PURE__ */ (0, J.jsx)(Ju, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, Y.jsx)(Vf, {
+ /* @__PURE__ */ (0, J.jsx)(Hf, {
"aria-label": "候选图标",
- value: s || Em,
- onChange: (e) => c(e === Em ? "" : e),
+ value: s || Dm,
+ onChange: (e) => c(e === Dm ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: wm.map(([e, t]) => /* @__PURE__ */ (0, Y.jsx)(Hf, {
- value: e || Em,
+ children: Tm.map(([e, t]) => /* @__PURE__ */ (0, J.jsx)(Uf, {
+ value: e || Dm,
"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, Y.jsx)(Lp, { mark: e || l })
- }, e || Em))
+ children: /* @__PURE__ */ (0, J.jsx)(Rp, { mark: e || l })
+ }, e || Dm))
}),
- /* @__PURE__ */ (0, Y.jsxs)("div", {
+ /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
- children: [/* @__PURE__ */ (0, Y.jsx)(xu, {
+ children: [/* @__PURE__ */ (0, J.jsx)(Cu, {
variant: "secondary",
onClick: () => o(!1),
children: "取消"
- }), /* @__PURE__ */ (0, Y.jsx)(xu, {
+ }), /* @__PURE__ */ (0, J.jsx)(Cu, {
disabled: s === e,
onClick: () => {
r(s), o(!1);
@@ -20285,9 +20297,9 @@ function Dm({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Om = 8e3;
-function km({ className: e }) {
- return /* @__PURE__ */ (0, Y.jsx)("svg", {
+var km = 8e3;
+function Am({ className: e }) {
+ return /* @__PURE__ */ (0, J.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
fill: "none",
@@ -20296,78 +20308,78 @@ function km({ className: e }) {
strokeLinecap: "round",
strokeLinejoin: "round",
className: e,
- children: /* @__PURE__ */ (0, Y.jsx)("use", { href: "#i-folder-search" })
+ children: /* @__PURE__ */ (0, J.jsx)("use", { href: "#i-folder-search" })
});
}
-var Am = [
+var jm = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], jm = (e) => Am.find(([t]) => t === e)?.[1] ?? e, Mm = (e) => t[e] || "database", Nm = (e = "") => ({
+], Mm = (e) => jm.find(([t]) => t === e)?.[1] ?? e, Nm = (e) => t[e] || "database", Pm = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function Pm(e) {
- let t = e.media_sources?.filter((e) => Am.some(([t]) => t === e.location));
+function Fm(e) {
+ let t = e.media_sources?.filter((e) => jm.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) => Nm(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => Pm(e));
}
-var Fm = (e) => !(e instanceof fp) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Im({ data: e, receipt: t }) {
- return /* @__PURE__ */ (0, Y.jsxs)("div", {
+var Im = (e) => !(e instanceof pp) || e.status !== 400 ? null : e.body?.errors ?? null;
+function Lm({ data: e, receipt: t }) {
+ return /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.editable ? /* @__PURE__ */ (0, Y.jsx)(Lm, {
+ children: [e.editable ? /* @__PURE__ */ (0, J.jsx)(Rm, {
data: e,
receipt: t
- }) : /* @__PURE__ */ (0, Y.jsx)(Ap, {
+ }) : /* @__PURE__ */ (0, J.jsx)(jp, {
tone: "neutral",
title: "只读",
children: e.notice
- }), /* @__PURE__ */ (0, Y.jsx)(zm, { data: e })]
+ }), /* @__PURE__ */ (0, J.jsx)(Bm, { data: e })]
});
}
-function Lm({ data: e, receipt: t }) {
- let [n, r] = (0, C.useState)(() => Pm(e)), [i, a] = (0, C.useState)(String(e.port)), [o, s] = (0, C.useState)(!1), [c, l] = (0, C.useState)([]), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), [m, h] = (0, C.useState)(null), [g, _] = (0, C.useState)(null), [v, y] = (0, C.useState)(null), b = (0, C.useRef)(!1), x = (0, C.useRef)(e.revision), S = (0, C.useRef)([]), w = Rp();
- (0, C.useLayoutEffect)(() => {
+function Rm({ data: e, receipt: t }) {
+ let [n, r] = (0, w.useState)(() => Fm(e)), [i, a] = (0, w.useState)(String(e.port)), [o, s] = (0, w.useState)(!1), [c, l] = (0, w.useState)([]), [u, d] = (0, w.useState)(""), [f, p] = (0, w.useState)(""), [m, h] = (0, w.useState)(null), [g, _] = (0, w.useState)(null), [v, y] = (0, w.useState)(null), b = (0, w.useRef)(!1), x = (0, w.useRef)(e.revision), S = (0, w.useRef)([]), C = zp();
+ (0, w.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
- }, [g]), (0, C.useEffect)(() => {
+ }, [g]), (0, w.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Om);
+ let e = setTimeout(() => location.assign(m.url), km);
return () => clearTimeout(e);
}, [m]);
let T = (e, t) => r((n) => n.map((n, r) => r === e ? {
...n,
...t
- } : n)), E = (e, t) => l((n) => {
+ } : n)), ee = (e, t) => l((n) => {
let r = [...n];
for (; r.length <= e;) r.push("");
return r[e] = t, r;
- }), D = () => {
- _(n.length), r((e) => [...e, Nm()]);
- }, O = (e) => {
+ }), E = () => {
+ _(n.length), r((e) => [...e, Pm()]);
+ }, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
- }, k = async (e) => {
+ }, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await gp(bm, { initial: n[e]?.path ?? "" });
- t && (T(e, { path: t }), E(e, ""));
+ let { path: t } = await _p(xm, { initial: n[e]?.path ?? "" });
+ t && (T(e, { path: t }), ee(e, ""));
} catch (t) {
- E(e, mp(t));
+ ee(e, hp(t));
} finally {
b.current = !1, y(null);
}
}
- }, A = (r) => {
- r.preventDefault(), p(""), w.run("save", (t) => gp(ym, {
+ }, k = (r) => {
+ r.preventDefault(), p(""), C.run("save", (t) => _p(bm, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -20376,18 +20388,18 @@ function Lm({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = Fm(e);
- l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(mp(e));
+ let t = Im(e);
+ l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(hp(e));
});
};
- if (m) return /* @__PURE__ */ (0, Y.jsx)(Cp, {
+ if (m) return /* @__PURE__ */ (0, J.jsx)(wp, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, Y.jsx)(Tp, { children: /* @__PURE__ */ (0, Y.jsxs)(Ap, {
+ children: /* @__PURE__ */ (0, J.jsx)(Ep, { children: /* @__PURE__ */ (0, J.jsxs)(jp, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, Y.jsx)(Sp, {
+ /* @__PURE__ */ (0, J.jsx)(Cp, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -20396,26 +20408,26 @@ function Lm({ data: e, receipt: t }) {
]
}) })
});
- let j = n.some((e) => e.location === "115" || e.location === "pikpak"), M = j ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+ let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, J.jsxs)(wp, {
title: "这台电脑",
- onSubmit: A,
- children: [/* @__PURE__ */ (0, Y.jsxs)(Tp, { children: [
- /* @__PURE__ */ (0, Y.jsxs)("div", {
+ onSubmit: k,
+ children: [/* @__PURE__ */ (0, J.jsxs)(Ep, { children: [
+ /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, Y.jsx)(kp, { children: "媒体文件夹" }),
- /* @__PURE__ */ (0, Y.jsx)("div", {
+ /* @__PURE__ */ (0, J.jsx)(Ap, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, J.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, r) => /* @__PURE__ */ (0, Y.jsxs)("div", {
+ children: n.map((t, r) => /* @__PURE__ */ (0, J.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, Y.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, Y.jsx)(vm, {
+ /* @__PURE__ */ (0, J.jsx)(ym, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -20428,53 +20440,53 @@ function Lm({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, Y.jsx)(dm, {
- icon: km,
+ /* @__PURE__ */ (0, J.jsx)(fm, {
+ icon: Am,
"aria-label": "选择文件夹",
- onClick: () => void k(r),
- ...zp(v === r)
+ onClick: () => void O(r),
+ ...Bp(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, Y.jsx)(dm, {
- icon: vp,
+ n.length > 1 ? /* @__PURE__ */ (0, J.jsx)(fm, {
+ icon: yp,
"aria-label": "移除这个文件夹",
- onClick: () => O(r)
+ onClick: () => D(r)
}) : null
]
- }), /* @__PURE__ */ (0, Y.jsxs)("div", {
+ }), /* @__PURE__ */ (0, J.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, Y.jsx)(vm, {
+ /* @__PURE__ */ (0, J.jsx)(ym, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
value: t.library,
onChange: (e) => T(r, { library: e })
}),
- /* @__PURE__ */ (0, Y.jsxs)("div", {
+ /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, Y.jsx)(kp, { children: "媒体库图标" }), /* @__PURE__ */ (0, Y.jsx)(Dm, {
+ children: [/* @__PURE__ */ (0, J.jsx)(Ap, { children: "媒体库图标" }), /* @__PURE__ */ (0, J.jsx)(Om, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => T(r, { library_icon: e })
})]
}),
- /* @__PURE__ */ (0, Y.jsxs)("div", {
+ /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, Y.jsx)(kp, { children: "媒体来源" }), /* @__PURE__ */ (0, Y.jsx)($p, {
+ children: [/* @__PURE__ */ (0, J.jsx)(Ap, { children: "媒体来源" }), /* @__PURE__ */ (0, J.jsx)(em, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && T(r, { location: String(e) });
},
- children: Am.map(([e, t]) => /* @__PURE__ */ (0, Y.jsxs)(em, {
+ children: jm.map(([e, t]) => /* @__PURE__ */ (0, J.jsxs)(tm, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, Y.jsx)(Lp, { mark: Mm(e) }), t]
+ children: [/* @__PURE__ */ (0, J.jsx)(Rp, { mark: Nm(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, Y.jsx)(vm, {
+ e.windows === !1 ? /* @__PURE__ */ (0, J.jsx)(ym, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -20484,26 +20496,26 @@ function Lm({ data: e, receipt: t }) {
})]
}, r))
}),
- /* @__PURE__ */ (0, Y.jsx)(xu, {
+ /* @__PURE__ */ (0, J.jsx)(Cu, {
variant: "secondary",
className: "self-start",
- onClick: D,
+ onClick: E,
children: "添加文件夹"
})
]
}),
- j ? /* @__PURE__ */ (0, Y.jsx)(Cm, {}) : null,
- M.map((e) => /* @__PURE__ */ (0, Y.jsxs)(Dp, { children: [
+ A ? /* @__PURE__ */ (0, J.jsx)(wm, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, J.jsxs)(Op, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, Y.jsxs)(jp, {
+ /* @__PURE__ */ (0, J.jsxs)(Mp, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, Y.jsx)(Dp, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, Y.jsx)(vm, {
+ e.windows === !1 ? /* @__PURE__ */ (0, J.jsx)(Op, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, J.jsx)(ym, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -20513,67 +20525,67 @@ function Lm({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, Y.jsx)(Wp, {
+ /* @__PURE__ */ (0, J.jsx)(Gp, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
}),
- f ? /* @__PURE__ */ (0, Y.jsx)(Ap, {
+ f ? /* @__PURE__ */ (0, J.jsx)(jp, {
tone: "error",
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, Y.jsx)(Ep, {
+ ] }), /* @__PURE__ */ (0, J.jsx)(Dp, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
- children: /* @__PURE__ */ (0, Y.jsx)(xu, {
+ children: /* @__PURE__ */ (0, J.jsx)(Cu, {
type: "submit",
- ...zp(w.busy === "save"),
+ ...Bp(C.busy === "save"),
children: "保存配置"
})
})]
});
}
-function Rm({ online: e }) {
- return e === !0 ? /* @__PURE__ */ (0, Y.jsxs)("span", {
+function zm({ online: e }) {
+ return e === !0 ? /* @__PURE__ */ (0, J.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
- children: [/* @__PURE__ */ (0, Y.jsx)("span", {
+ children: [/* @__PURE__ */ (0, J.jsx)("span", {
"aria-hidden": !0,
className: "size-1.5 rounded-full bg-current"
}), "在线"]
- }) : e === !1 ? /* @__PURE__ */ (0, Y.jsxs)("span", {
+ }) : e === !1 ? /* @__PURE__ */ (0, J.jsxs)("span", {
"data-mount": "offline",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-error-primary",
- children: [/* @__PURE__ */ (0, Y.jsx)("span", {
+ children: [/* @__PURE__ */ (0, J.jsx)("span", {
"aria-hidden": !0,
className: "size-1.5 rounded-full bg-current"
}), "离线"]
- }) : /* @__PURE__ */ (0, Y.jsxs)("span", {
+ }) : /* @__PURE__ */ (0, J.jsxs)("span", {
"data-mount": "unknown",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-secondary",
- children: [/* @__PURE__ */ (0, Y.jsx)("span", {
+ children: [/* @__PURE__ */ (0, J.jsx)("span", {
"aria-hidden": !0,
className: "size-1.5 rounded-full bg-current"
}), "未检测"]
});
}
-function zm({ data: e }) {
- let [t, n] = (0, C.useState)(e.media_sources), r = Rp();
- return t ? /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+function Bm({ data: e }) {
+ let [t, n] = (0, w.useState)(e.media_sources), r = zp();
+ return t ? /* @__PURE__ */ (0, J.jsxs)(wp, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, Y.jsx)(Mp, { children: t.map((e, t) => /* @__PURE__ */ (0, Y.jsxs)(Np, {
- term: /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(Lp, { mark: Mm(e.location) }), jm(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, Y.jsx)(Rm, { online: e.online })]
+ /* @__PURE__ */ (0, J.jsx)(Np, { children: t.map((e, t) => /* @__PURE__ */ (0, J.jsxs)(Pp, {
+ term: /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(Rp, { mark: Nm(e.location) }), Mm(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, J.jsx)(zm, { online: e.online })]
}, t)) }),
- r.error ? /* @__PURE__ */ (0, Y.jsx)(Tp, {
+ r.error ? /* @__PURE__ */ (0, J.jsx)(Ep, {
divided: !0,
- children: /* @__PURE__ */ (0, Y.jsx)(Op, { children: r.error })
+ children: /* @__PURE__ */ (0, J.jsx)(kp, { children: r.error })
}) : null,
- /* @__PURE__ */ (0, Y.jsx)(Ep, { children: /* @__PURE__ */ (0, Y.jsx)(xu, {
+ /* @__PURE__ */ (0, J.jsx)(Dp, { children: /* @__PURE__ */ (0, J.jsx)(Cu, {
variant: "secondary",
- onClick: () => void r.run("refresh", (e) => hp(ym, e), (e) => n(e.media_sources)),
- ...zp(r.busy === "refresh"),
+ onClick: () => void r.run("refresh", (e) => gp(bm, e), (e) => n(e.media_sources)),
+ ...Bp(r.busy === "refresh"),
children: "刷新挂载状态"
}) })
]
@@ -20581,20 +20593,20 @@ function zm({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Bm = {
+var Vm = {
legacy: "当前使用系统生成的访问口令。你可以设置自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,保持登录时间在登录页选择。"
};
-function Vm({ initial: e, receipt: t }) {
- let [n, r] = (0, C.useState)(e), [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), [c, l] = (0, C.useState)(""), [u, d] = (0, C.useState)(!1), [f, p] = (0, C.useState)({}), m = (0, C.useRef)(null), h = Rp(), g = (e) => {
+function Hm({ initial: e, receipt: t }) {
+ let [n, r] = (0, w.useState)(e), [i, a] = (0, w.useState)(""), [o, s] = (0, w.useState)(""), [c, l] = (0, w.useState)(""), [u, d] = (0, w.useState)(!1), [f, p] = (0, w.useState)({}), m = (0, w.useRef)(null), h = zp(), 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) => gp("/api/configuration/access", {
+ h.run("save", (e) => _p("/api/configuration/access", {
revision: n.revision,
action: u ? "disable" : "set",
confirm_disable: u,
@@ -20604,28 +20616,28 @@ function Vm({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存访问密码");
}, (e) => {
- let t = e instanceof fp ? e.body : null, n = t?.errors || t?.detail?.errors;
- n ? p(n) : h.setError(mp(e));
+ let t = e instanceof pp ? e.body : null, n = t?.errors || t?.detail?.errors;
+ n ? p(n) : h.setError(hp(e));
});
- }, _ = Bm[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+ }, _ = Vm[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, J.jsxs)(wp, {
title: "访问密码",
onSubmit: g,
- children: [/* @__PURE__ */ (0, Y.jsx)("div", {
+ children: [/* @__PURE__ */ (0, J.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, Y.jsxs)(Tp, { children: [
- _ ? /* @__PURE__ */ (0, Y.jsx)(Dp, { children: _ }) : null,
- n.mode === "open" ? /* @__PURE__ */ (0, Y.jsx)(Ap, {
+ children: /* @__PURE__ */ (0, J.jsxs)(Ep, { children: [
+ _ ? /* @__PURE__ */ (0, J.jsx)(Op, { children: _ }) : null,
+ n.mode === "open" ? /* @__PURE__ */ (0, J.jsx)(jp, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, Y.jsx)(Wp, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, J.jsx)(Gp, {
isSelected: u,
onChange: d,
children: "关闭访问密码,允许能连接到 Peach 的设备直接访问"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, Y.jsx)(vm, {
+ n.mode === "password" ? /* @__PURE__ */ (0, J.jsx)(ym, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -20638,7 +20650,7 @@ function Vm({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(vm, {
+ v ? /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(ym, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -20651,7 +20663,7 @@ function Vm({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, Y.jsx)(vm, {
+ }), /* @__PURE__ */ (0, J.jsx)(ym, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -20665,18 +20677,18 @@ function Vm({ initial: e, receipt: t }) {
isInvalid: !u && !!f.confirmation,
hint: u ? void 0 : f.confirmation
})] }) : null,
- u ? /* @__PURE__ */ (0, Y.jsx)(Ap, {
+ u ? /* @__PURE__ */ (0, J.jsx)(jp, {
tone: "warning",
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, Y.jsx)(Op, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, J.jsx)(kp, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, Y.jsx)(Ep, {
+ }), v ? /* @__PURE__ */ (0, J.jsx)(Dp, {
status: "保存后立即生效。",
- children: /* @__PURE__ */ (0, Y.jsx)(xu, {
+ children: /* @__PURE__ */ (0, J.jsx)(Cu, {
type: "submit",
- ...zp(h.busy === "save"),
+ ...Bp(h.busy === "save"),
children: "保存配置"
})
}) : null]
@@ -20684,30 +20696,30 @@ function Vm({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Hm = [
+var Um = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Um({ data: e, receipt: t }) {
- return /* @__PURE__ */ (0, Y.jsxs)("div", {
+function Wm({ data: e, receipt: t }) {
+ return /* @__PURE__ */ (0, J.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.peach_proxy ? /* @__PURE__ */ (0, Y.jsx)(Wm, {
+ children: [e.peach_proxy ? /* @__PURE__ */ (0, J.jsx)(Gm, {
initial: e.peach_proxy,
receipt: t
- }) : null, e.access ? /* @__PURE__ */ (0, Y.jsx)(Vm, {
+ }) : null, e.access ? /* @__PURE__ */ (0, J.jsx)(Hm, {
initial: e.access,
receipt: t
}) : null]
});
}
-function Wm({ initial: e, receipt: t }) {
- let [n, r] = (0, C.useState)(e), [i, a] = (0, C.useState)(e.mode), [o, s] = (0, C.useState)(""), c = Rp();
- return /* @__PURE__ */ (0, Y.jsxs)(Cp, {
+function Gm({ initial: e, receipt: t }) {
+ let [n, r] = (0, w.useState)(e), [i, a] = (0, w.useState)(e.mode), [o, s] = (0, w.useState)(""), c = zp();
+ return /* @__PURE__ */ (0, J.jsxs)(wp, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
- e.preventDefault(), c.run("save", (e) => gp("/api/configuration/peach-proxy", {
+ e.preventDefault(), c.run("save", (e) => _p("/api/configuration/peach-proxy", {
mode: i,
proxy: o
}, "POST", e), (e) => {
@@ -20715,25 +20727,25 @@ function Wm({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, Y.jsx)(wp, { children: /* @__PURE__ */ (0, Y.jsx)(yu, {
+ /* @__PURE__ */ (0, J.jsx)(Tp, { children: /* @__PURE__ */ (0, J.jsx)(xu, {
label: "连接方式",
description: "采集来源选择“Peach 代理”时共用此设置。",
- children: /* @__PURE__ */ (0, Y.jsx)($p, {
+ children: /* @__PURE__ */ (0, J.jsx)(em, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Hm.map(([e, t]) => /* @__PURE__ */ (0, Y.jsx)(em, {
+ children: Um.map(([e, t]) => /* @__PURE__ */ (0, J.jsx)(tm, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, Y.jsxs)(Tp, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, J.jsxs)(Ep, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, Y.jsx)(vm, {
+ i === "proxy" ? /* @__PURE__ */ (0, J.jsx)(ym, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -20742,17 +20754,17 @@ function Wm({ initial: e, receipt: t }) {
onChange: s,
placeholder: n.proxy_saved ? "已保存,留空保留" : "http://127.0.0.1:7890"
}) : null,
- n.needs_selection ? /* @__PURE__ */ (0, Y.jsx)(Ap, {
+ n.needs_selection ? /* @__PURE__ */ (0, J.jsx)(jp, {
tone: "warning",
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, Y.jsx)(Op, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, J.jsx)(kp, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, Y.jsx)(Ep, { children: /* @__PURE__ */ (0, Y.jsx)(xu, {
+ /* @__PURE__ */ (0, J.jsx)(Dp, { children: /* @__PURE__ */ (0, J.jsx)(Cu, {
type: "submit",
- ...zp(c.busy === "save"),
+ ...Bp(c.busy === "save"),
children: "保存代理"
}) })
]
@@ -20760,15 +20772,15 @@ function Wm({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/entry.tsx
-var Gm = null;
-function Km() {
- return Gm?.isConnected || (Gm = document.createElement("div"), Gm.className = "peach-react", Gm.dataset.reactOverlays = "", document.body.append(Gm)), Gm;
+var Km = null;
+function qm() {
+ return Km?.isConnected || (Km = document.createElement("div"), Km.className = "peach-react", Km.dataset.reactOverlays = "", document.body.append(Km)), Km;
}
-function qm(e) {
+function Jm(e) {
return (t, n) => {
- let r = (0, Pc.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, Y.jsx)(Po, {
- getContainer: Km,
- children: /* @__PURE__ */ (0, Y.jsx)(e, { ...t })
+ let r = (0, Ic.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, J.jsx)(Fo, {
+ getContainer: qm,
+ children: /* @__PURE__ */ (0, J.jsx)(e, { ...t })
}));
return i(n), {
update: i,
@@ -20776,6 +20788,6 @@ function qm(e) {
};
};
}
-var Jm = qm(Bp), Ym = qm(Im), Xm = qm(Um), Zm = qm(om);
+var Ym = Jm(Vp), Xm = Jm(Lm), Zm = Jm(Wm), Qm = Jm(sm);
//#endregion
-export { Jm as mountGeneralSettings, Zm as mountMaintenanceSettings, Ym as mountMediaSettings, Xm as mountNetworkSettings };
+export { Ym as mountGeneralSettings, Qm as mountMaintenanceSettings, Xm as mountMediaSettings, Zm as mountNetworkSettings };
diff --git a/web/js/ui-components.js b/web/js/ui-components.js
index 506263110..6b42df4c1 100644
--- a/web/js/ui-components.js
+++ b/web/js/ui-components.js
@@ -707,7 +707,7 @@ export function wireCollapse(root,selector,idPrefix,triggerSelector='summary'){
body.appendChild(inner);details.appendChild(body);
const summary=details.querySelector(triggerSelector);
if(triggerSelector!=='summary')details.querySelector('summary').addEventListener('click',event=>event.preventDefault());
- let expanded=details.open,transitionRun=0;
+ let expanded=details.open;
body.id=`${idPrefix}-${index}`;
body.inert=!expanded;
/* 高度过渡要 `overflow:hidden`,可展开着不动时它还在裁——里面最后那一行卡片的落影
@@ -718,23 +718,35 @@ export function wireCollapse(root,selector,idPrefix,triggerSelector='summary'){
summary.setAttribute('aria-expanded',String(expanded));
summary.addEventListener('click',event=>{
event.preventDefault();
- expanded=!expanded;const run=++transitionRun;
+ expanded=!expanded;
summary.setAttribute('aria-expanded',String(expanded));
- if(expanded){
- body.inert=false;
- const start=details.open?body.getBoundingClientRect().height:0;
- details.open=true;
- growCollapse(body,start,()=>run===transitionRun);
- }else{
- body.inert=true;body.classList.remove('fcollapse-settled');
- body.style.height=body.getBoundingClientRect().height+'px';body.getBoundingClientRect();
- body.style.height='0px';
- settleHeight(body,()=>{if(run===transitionRun){details.open=false;body.style.height=''}});
- }
+ setCollapseOpen(details,body,expanded);
});
});
}
+/**
+ * 把一个 Collapse 开到或收到 `expanded`,`body` 是 summary 后面那层容器,`.fcollapse` 由这里挂上。
+ * `wireCollapse` 与 React 设置页的 `Disclosure` 共用这一份;过渡途中又被反向点按时,前一次的收尾不再做。
+ */
+const collapseRuns=new WeakMap();
+export function setCollapseOpen(details,body,expanded){
+ body.classList.add('fcollapse');
+ const run=(collapseRuns.get(body)||0)+1;collapseRuns.set(body,run);
+ const isCurrent=()=>collapseRuns.get(body)===run;
+ if(expanded){
+ body.inert=false;
+ const start=details.open?body.getBoundingClientRect().height:0;
+ details.open=true;
+ growCollapse(body,start,isCurrent);
+ }else{
+ body.inert=true;body.classList.remove('fcollapse-settled');
+ body.style.height=body.getBoundingClientRect().height+'px';body.getBoundingClientRect();
+ body.style.height='0px';
+ settleHeight(body,()=>{if(isCurrent()){details.open=false;body.style.height=''}});
+ }
+}
+
/* 高度过渡跑完再收尾;减少动效时没有 transitionend,260ms 兜底。 */
function settleHeight(body,fn){
let done=false,timer;